/* public/css/contact.css */

/* =========================================
   CONTACT PAGE - REDESIGN
   Giữ nguyên chức năng, làm mới giao diện
========================================= */

:root {
    --contact-orange: #e0592a;
    --contact-purple: #6f42c1;
    --contact-purple-dark: #56309a;
    --contact-yellow: #f8c84e;
    --contact-dark: #111111;
    --contact-bg: #f7f7f4;
    --contact-cream: #fff7e6;
    --contact-white: #ffffff;
    --contact-text: #444444;
    --contact-muted: #777777;
    --contact-border: rgba(17, 17, 17, 0.12);
    --contact-shadow: 0 18px 45px rgba(0, 0, 0, 0.09);
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background: var(--contact-bg);
}

.contact-page {
    width: 100%;
    overflow: hidden;
    background: var(--contact-bg);
    color: var(--contact-dark);
    font-family: var(--beer-font-family, Arial, sans-serif);
}

.contact-container,
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
}

.text-center {
    text-align: center;
}

.max-width-800 {
    max-width: 800px;
    margin: 0 auto;
}

.w-100 {
    width: 100%;
}

/* =========================================
   HERO
========================================= */

.contact-hero-image {
    position: relative;
    min-height: 55vh;
    background:
        url('https://images.unsplash.com/photo-1596464716127-f2a82984de30?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80')
        center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(111, 66, 193, 0.24), transparent 42%),
        linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.78));
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 22px;
}

.contact-eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    color: var(--contact-orange);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.6px;
}

.contact-hero-image .contact-eyebrow {
    color: var(--contact-yellow);
}

.secondary-pagers-hero-header {
    margin: 0;
    color: inherit;
    font-size: clamp(44px, 8vw, 104px);
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-family: var(--beer-font-family, Arial, sans-serif);
}

.contact-hero-content p:last-child {
    max-width: 720px;
    margin: 22px auto 0;
    color: rgba(255,255,255,0.9);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 700;
}

/* =========================================
   MAIN CONTACT SECTION
========================================= */

.contact-main-section {
    padding: 80px 0;
    background:
        radial-gradient(circle at top left, rgba(111, 66, 193, 0.08), transparent 34%),
        var(--contact-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 44px;
    align-items: start;
}

.section-title {
    margin: 0;
    color: var(--contact-dark);
    font-size: clamp(30px, 4.6vw, 56px);
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-family: var(--beer-font-family, Arial, sans-serif);
}

.contact-paragraph {
    margin: 20px 0 0;
    color: var(--contact-text);
    font-size: 17px;
    line-height: 1.8;
    font-weight: 650;
}

.contact-info-panel {
    position: sticky;
    top: 30px;
}

.contact-info-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--contact-border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.contact-info-item span {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--contact-purple);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--contact-dark);
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-info-item p {
    margin: 0;
    color: var(--contact-text);
    line-height: 1.6;
    font-weight: 600;
}

/* =========================================
   FORM
========================================= */

.contact-form-panel {
    min-width: 0;
}

.form-container {
    background: #fff;
    padding: 36px;
    text-align: left;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    border: 1px solid var(--contact-border);
    border-radius: 28px;
    box-shadow: var(--contact-shadow);
}

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #222;
    font-weight: 900;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.form-input {
    width: 100%;
    min-height: 48px;
    padding: 13px 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    background: #f7f7f4;
    color: #111;
    transition: 0.2s ease;
}

.form-input:focus {
    border-color: var(--contact-purple);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(111, 66, 193, 0.1);
}

.message-box {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    margin-top: 10px;
}

/* =========================================
   BUTTON
========================================= */

.main-red-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    background: var(--contact-purple);
    color: #fff;
    border: 2px solid var(--contact-purple);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.25s ease;
}

.main-red-button:hover {
    background: var(--contact-purple-dark);
    border-color: var(--contact-purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(111, 66, 193, 0.28);
}

/* =========================================
   CTA PRIVATE HIRE
========================================= */

.contact-cta-section {
    padding: 70px 0;
    background: #fff;
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(111, 66, 193, 0.1), transparent 34%),
        var(--contact-dark);
    color: #fff;
    border-radius: 30px;
    padding: 42px;
    box-shadow: var(--contact-shadow);
    overflow: hidden;
}

.cta-card .section-title {
    color: #fff;
}

.cta-card .contact-paragraph {
    color: rgba(255,255,255,0.82);
}

.cta-block-link {
    min-height: 150px;
    background:
        linear-gradient(135deg, rgba(111,66,193,0.92), rgba(224,89,42,0.9));
    color: white;
    text-decoration: none;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-block-link span {
    color: #fff;
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
}

.cta-block-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(111, 66, 193, 0.28);
}

/* =========================================
   WAVE
========================================= */

.wave-div {
    width: 100%;
    background: #fff;
    line-height: 0;
}

.wave-div img {
    width: 100%;
    display: block;
}

/* =========================================
   MAP
========================================= */

.contact-map-section {
    padding: 70px 0 90px;
    background: var(--contact-bg);
}

.map-card {
    background: #fff;
    border: 1px solid var(--contact-border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--contact-shadow);
}

.map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 32px;
    border-bottom: 1px solid #eee;
}

.map-header .section-title {
    font-size: clamp(28px, 3.4vw, 42px);
}

.google-map-container {
    line-height: 0;
}

.google-map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

.inline-btn {
    white-space: nowrap;
}

/* =========================================
   OLD CLASS COMPATIBILITY
========================================= */

.section-with-margin {
    padding: 60px 0;
}

.cta-section {
    background-color: #fff;
    padding-bottom: 80px;
}

.map-section {
    padding-top: 40px;
    padding-bottom: 80px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 950px) {
    .contact-grid,
    .cta-card {
        grid-template-columns: 1fr;
    }

    .contact-info-panel {
        position: static;
    }

    .contact-main-section,
    .contact-cta-section,
    .contact-map-section {
        padding: 60px 0;
    }

    .cta-block-link {
        min-height: 120px;
    }

    .map-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 650px) {
    .contact-container,
    .container {
        padding: 0 16px;
    }

    .contact-hero-image {
        min-height: 50vh;
    }

    .secondary-pagers-hero-header {
        font-size: clamp(40px, 15vw, 70px);
        letter-spacing: -0.5px;
    }

    .contact-hero-content p:last-child {
        font-size: 15px;
    }

    .section-title {
        font-size: clamp(30px, 12vw, 44px);
    }

    .contact-paragraph {
        font-size: 15px;
        line-height: 1.7;
    }

    .form-container {
        padding: 24px;
        border-radius: 22px;
    }

    .contact-info-item {
        padding: 18px;
        border-radius: 18px;
    }

    .cta-card {
        padding: 28px;
        border-radius: 22px;
    }

    .cta-block-link {
        border-radius: 18px;
    }

    .cta-block-link span {
        font-size: 24px;
    }

    .map-header {
        padding: 24px;
    }

    .google-map-container iframe {
        height: 340px;
    }

    .main-red-button {
        width: 100%;
    }
}