@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --amber-gold: #c5a059;
    --amber-gold-hover: #d4af37;
    --dark-bg: #121212;
    --card-bg: #1c1c1c;
    --card-border: #2e2e2e;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.container-full {
    background-color: var(--dark-bg);
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

::selection {
    background-color: var(--amber-gold);
    color: #000;
}

.font-serif-custom {
    font-family: 'Cormorant Garamond', serif;
}

.gold-gradient-text {
    background: linear-gradient(135deg, #f3e7e1 0%, #c5a059 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-border-glow:hover {
    border-color: var(--amber-gold);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.2);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.hero-section {
    position: relative;
    background-color: #000;
    padding: 6rem 0;
    overflow: hidden;
    border-bottom: 1px solid var(--card-border);
    text-align: center;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 8rem 0;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--dark-bg), rgba(0,0,0,0.7), rgba(0,0,0,0.9));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.badge {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.25rem 1rem;
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 9999px;
    background-color: rgba(197, 160, 89, 0.1);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--amber-gold);
    font-weight: 500;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .main-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.job-card {
    background-color: var(--card-bg);
    border-radius: 2px;
    border: 1px solid var(--card-border);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .job-card {
        padding: 2rem;
    }
}

.wage-box {
    margin-bottom: 1.5rem;
    background-color: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 0.75rem;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.req-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #d1d5db;
}

@media (min-width: 640px) {
    .req-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.req-item {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--amber-gold);
    color: #000;
    text-align: center;
    padding: 0.625rem 1rem;
    border-radius: 2px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--amber-gold-hover);
}

.btn-outline {
    border: 1px solid var(--card-border);
    color: #d1d5db;
    text-align: center;
    padding: 0.625rem 1rem;
    border-radius: 2px;
    font-size: 0.75rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: var(--amber-gold);
    color: #fff;
}

.form-input {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--card-border);
    color: #fff;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: var(--amber-gold);
}
    
/* Obsługa modala za pomocą JavaScript i klasy .active */
.css-modal {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex; 
    align-items: center; 
    justify-content: center;
    opacity: 0; 
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

/* Pokazujemy modal, gdy posiada klasę active */
.css-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: #111827; 
    border: 1px solid var(--amber-gold, #d97706);
    padding: 2rem; 
    border-radius: 8px; 
    width: 100%; 
    max-width: 500px;
    position: relative; 
    color: #fff;
}
