/* ===== CONTACT PAGE STYLES ===== */

/* ==========================================================================
   TRANSPARENT HEADER & NAVIGATION (СКОПИРОВАНО С ЭБАУТ)
   ========================================================================== */

/* 1. Делаем шапку прозрачной и накладываем поверх фото */
.site-header--transparent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent !important;
    z-index: 100;
}

/* 2. Светлые (белые) пункты меню */
.nav-menu--light a {
    color: rgba(255, 255, 255, 0.7) !important;
}

.nav-menu--light a:hover,
.nav-menu--light a.active {
    color: var(--color-white) !important;
    border-bottom-color: var(--color-white) !important;
}

/* 3. Переключатель языков: темный текст в белом кружочке */
.lang-switch--light .lang-switch-current {
    background: #ffffff !important;
    color: #444444 !important;

    /* Дополнительная подстраховка для идеальной формы круга */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    width: 32px; /* подстройте размеры, если в оригинале они другие */
    height: 32px;
}

/* Белая стрелочка выбора языка */
.lang-switch--light .lang-switch-toggle {
    color: #ffffff !important; /* Красит SVG-стрелку, так как у нее fill="currentColor" */
}
.lang-switch--light .lang-switch-arrow {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* 4. Кнопка Let's Talk: белая с подчеркиванием */
.btn-text-white {
    background: transparent !important;
    color: #ffffff !important;
    padding: 0;
    border: none;
    border-radius: 0;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.8) !important;
    font-weight: 400;
    transition: 0.3s;
}

.btn-text-white:hover {
    color: #ffffff !important;
    border-bottom-color: #ffffff !important;
}

/* 5. Иконка мобильного меню (гамбургер) — делаем белой, чтобы не терялась на фото */
.site-header--transparent .hamburger span {
    background-color: #ffffff !important;
}

/* ----- HERO WITH BACKGROUND PHOTO ----- */
.contact-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 70vh;
}
.contact-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}
.contact-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: var(--section-padding-x);
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}
.contact-hero-plate {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: auto;
    padding: 48px;
    background: rgba(20, 20, 20, 0.42);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: none;
    border-radius: 0;
    color: white;
    margin-left: 0;
}
.contact-hero-plate h1 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 2rem;
}
.contact-hero-plate p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* ----- SECTION SPACING ----- */
.contact-section {
    padding: 80px 0;
    background: var(--color-white);
}
.contact-section--bg {
    background: var(--color-bg);
}

/* ----- SEND ME A MESSAGE (form grid) ----- */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}
.contact-form-left h2 {
    font-size: 2.4rem;
    line-height: 1.15;
}
.contact-form-right {
    width: 100%;
}

/* Form styles */
.contact-form {
    width: 100%;
}
.form-row {
    margin-bottom: 1.5rem;
}
.form-row--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.form-group label .required {
    color: #c0392b;
}
.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-dark);
    outline: none;
    transition: border-color var(--transition-fast);
    width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-dark);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit button */
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-button);
    font-weight: 600;
    font-size: 0.93rem;
    line-height: 1;
    text-transform: capitalize;
    letter-spacing: 0;
    padding: 14px 48px;
    border: none;
    border-bottom: 2px solid var(--color-dark);
    background: transparent;
    color: var(--color-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.btn-submit:hover {
    background: var(--color-dark);
    color: var(--color-white);
}

/* ----- CONTACT DETAILS + MAP ----- */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}
.contact-info-left h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.contact-info-left h5 {
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.contact-info-left p {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.contact-info-left p strong {
    color: var(--color-dark);
}
.contact-social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.contact-social-links a {
    color: var(--color-dark);
    transition: color var(--transition-fast);
}
.contact-social-links a:hover {
    color: var(--color-text);
}
.contact-info-right {
    width: 100%;
}
.contact-map {
    width: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.contact-map iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .contact-form-grid,
    .contact-info-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 400px;
    }
    .contact-hero-plate {
        width: 100%;
        max-width: 100%;
    }
    .contact-section {
        padding: 50px 0;
    }
    .contact-form-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-form-left h2 {
        font-size: 2rem;
    }
    .contact-form-left h2 br {
        display: none;
    }
    .form-row--split {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .contact-map iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-hero-plate {
        padding: 24px;
    }
    .contact-section {
        padding: 40px 0;
    }
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}
