/* Contact Page – dark theme, aligned with Figma design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.contact-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #2d3540 0%, #252b33 50%, #1e2329 100%);
    color: #FBFBFB;
    font-family: 'Aeroport', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
}

img {
    display: block;
}

/* ========== Header ========== */

.contact-page .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px;
    padding-top: 50px;
    z-index: 100;
}

.contact-page .header .logo {
    text-decoration: none;
    color: inherit;
}

.contact-page .header .logo img {
    width: 50px;
    height: auto;
}

.contact-page .menu {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.contact-page .menu:hover {
    opacity: 0.7;
}

/* ========== Main ========== */

.contact-main {
    padding: 40px 85px clamp(80px, 10vw, 140px);
    padding-top: 120px;
}

.contact-title {
    font-size: clamp(40px, 8vw, 93px);
    font-weight: 700;
    color: #FBFBFB;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: clamp(48px, 6vw, 80px);
    line-height: 0.95;
}

.contact-message {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 4px;
    font-size: 1rem;
}
.contact-message--success {
    background: rgba(76, 175, 80, 0.2);
    color: #a5d6a7;
    border: 1px solid rgba(76, 175, 80, 0.4);
}
.contact-message--error {
    background: rgba(244, 67, 54, 0.2);
    color: #ef9a9a;
    border: 1px solid rgba(244, 67, 54, 0.4);
}

/* ========== Two columns: Contact info + Form ========== */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

/* ========== Contact info (left) ========== */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info-heading {
    font-size: 18px;
    font-weight: 500;
    color: #FBFBFB;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.contact-info-text {
    font-size: 16px;
    font-weight: 400;
    color: #A4A4A4;
    line-height: 1.5;
    margin: 0;
}

/* ========== Form (right) ========== */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row-message {
    gap: 10px;
}

.form-label {
    font-size: 14px;
    font-weight: 400;
    color: #A4A4A4;
    letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
    width: 100%;
    font-family: 'Aeroport', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #FBFBFB;
    background: transparent;
    border: none;
    border-bottom: 1px solid #4a4a4a;
    padding: 10px 0 12px;
    outline: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #6a6a6a;
}

.form-input:hover,
.form-textarea:hover {
    border-bottom-color: #6a6a6a;
}

.form-input:focus,
.form-textarea:focus {
    border-bottom-color: #A4A4A4;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    border: none;
    border-bottom: 1px solid #4a4a4a;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.form-submit {
    font-family: 'Aeroport', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #2a2a2a;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: #c8c8c8;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.form-submit:hover {
    background: #d8d8d8;
}

.form-submit:active {
    opacity: 0.9;
}

/* ========== Footer social (YOUTUBE | INSTAGRAM | SPOTIFY) ========== */

.contact-footer {
    margin-top: clamp(60px, 10vw, 100px);
    padding-top: 40px;
    border-top: 1px solid #2a2a2a;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    flex-wrap: wrap;
}

.contact-social-link {
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 700;
    color: #FBFBFB;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.contact-social-link:hover {
    color: #A4A4A4;
}

/* ========== Sidebar menu (same behavior as home) ========== */

.contact-page .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.contact-page .menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-page .sidebar-menu {
    position: fixed;
    top: 25px;
    right: -100%;
    width: min(650px, calc(100% - 50px));
    max-height: calc(100vh - 50px);
    height: calc(100vh - 50px);
    background: #1a1a1a;
    z-index: 1000;
    transition: right 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
}

.contact-page .sidebar-menu.active {
    right: 25px;
}

.contact-page .sidebar-menu-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.contact-page .menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 30px 35px;
}

.contact-page .close-btn {
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    background: none;
    border: none;
    transition: opacity 0.3s ease;
}

.contact-page .close-btn:hover {
    opacity: 0.7;
}

.contact-page .menu-items {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0 35px;
    gap: 18px;
}

.contact-page .menu-item {
    cursor: pointer;
    transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateX(50px);
    text-decoration: none;
    color: inherit;
}

.contact-page .sidebar-menu.active .menu-item {
    opacity: 1;
    transform: translateX(0);
}

.contact-page .sidebar-menu.active .menu-item:nth-child(1) { transition-delay: 0.1s; }
.contact-page .sidebar-menu.active .menu-item:nth-child(2) { transition-delay: 0.15s; }
.contact-page .sidebar-menu.active .menu-item:nth-child(3) { transition-delay: 0.2s; }
.contact-page .sidebar-menu.active .menu-item:nth-child(4) { transition-delay: 0.25s; }
.contact-page .sidebar-menu.active .menu-item:nth-child(5) { transition-delay: 0.3s; }
.contact-page .sidebar-menu.active .menu-item:nth-child(6) { transition-delay: 0.35s; }

.contact-page .menu-item:hover {
    color: #A4A4A4;
}

.contact-page .social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 0 35px;
    margin-bottom: 10px;
    justify-content: flex-end;
}

.contact-page .social-icon {
    width: 64px;
    height: 64px;
    background: #2a2a2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-page .social-icon:hover {
    transform: translateY(-3px);
}

.contact-page .social-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    opacity: 0.7;
}

.contact-page .social-icon:hover img {
    opacity: 1;
}

.contact-page .menu-contact {
    padding: 10px 35px 25px;
    flex-shrink: 0;
}

.contact-page .contact-image-wrapper {
    position: relative;
    display: block;
    width: 100%;
    height: min(360px, 28vh);
    min-height: 140px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.contact-page .contact-label {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 11px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
    font-weight: 500;
}

.contact-page .contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-page .arrow-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 64px;
    height: 64px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.contact-page .arrow-btn img {
    width: 30px;
    height: 30px;
}

/* ========== Responsive ========== */

@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        order: 1;
    }

    .contact-form {
        order: 2;
    }

    .form-row-double {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-page .header {
        padding: 20px 16px;
    }

    .contact-main {
        padding: 24px 16px 60px;
        padding-top: 100px;
    }

    .contact-title {
        font-size: clamp(32px, 9.3vw, 53px);
        margin-bottom: 40px;
    }

    .contact-page .sidebar-menu.active {
        right: 15px;
    }

    .contact-page .sidebar-menu {
        width: calc(100% - 30px);
        top: 15px;
        height: calc(100vh - 30px);
    }

    .contact-page .menu-items,
    .contact-page .social-icons,
    .contact-page .menu-contact {
        padding-left: 25px;
        padding-right: 25px;
    }

    .contact-page .social-icon {
        width: 48px;
        height: 48px;
    }

    .contact-page .social-icon img {
        width: 24px;
        height: 24px;
    }
}
