/* =========================================
   CONTACT PAGE — POSH & CINEMATIC VERSION
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Montserrat:wght@300;400;600&display=swap');

:root {
    --posh-gold: linear-gradient(135deg, #f8f5f2 0%, #faf9f8 50%, #f0eeeb 100%);
    --midnight:#3a395f;
    --glass-white: rgba(255, 255, 255, 0.95);
    --soft-cream: #fdfaf1;
}

/* Main Section with Animated Background */
.contact-page {
    padding: 120px 5% 80px;
    background: var(--midnight);
    background-image: radial-gradient(circle at 20% 30%, rgba(181, 155, 124, 0.15) 0%, transparent 40%),
                      radial-gradient(circle at 80% 70%, rgba(181, 155, 124, 0.1) 0%, transparent 40%);
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Container with "Floating" Shadow */
.contact-container {
    max-width: 1470px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
    background: var(--white);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    overflow: hidden;
    animation: slideUpFade 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-top: 40px;
}

/* ===============================
   LEFT PANEL (The "Elite" Info)
   =============================== */
.contact-info-panel {
    background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 80px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Decorative Gold Trim */
.contact-info-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 5px; height: 100%;
    background: var(--posh-gold);
}

.shining-title-small {
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 25px;
    background: var(--posh-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineSweep 3s infinite linear;
}

.contact-desc {
    font-family: "Montserrat", sans-serif;
    margin-bottom: 50px;
    opacity: 0.7;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.info-item {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    align-items: center;
    transition: 0.3s;
}

.info-item:hover { transform: translateX(10px); }

.info-item i {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(181, 155, 124, 0.1);
    border: 1px solid rgba(181, 155, 124, 0.3);
    color: #d4af37;
    font-size: 1.3rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.info-item h4 {
    margin: 0 0 5px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b59b7c;
}

.info-item p {
    margin: 0;
    font-size: 1.1rem;
    font-family: "Playfair Display", serif;
}

/* Map with High-End Border */
.map-container {
    margin-top: 50px;
    border-radius: 15px;
    overflow: hidden;
    filter: grayscale(1) contrast(1.2);
    transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 280px;
    border: 1px solid rgba(181, 155, 124, 0.2);
}

.map-container:hover {
    filter: grayscale(0) contrast(1);
    transform: scale(1.02);
}

/* ===============================
   RIGHT PANEL (The Luxury Form)
   =============================== */
.contact-form-panel {
    padding: 80px;
    background: var(--soft-cream);
    display: flex;
    flex-direction: column;
    font-weight: bold;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 0;
    border: none;
    border-bottom: 1px solid #d1d5db;
    background: transparent;
    border-radius: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    transition: 0.4s;
     font-weight: bold;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom: 1px solid #b59b7c;
    outline: none;
     font-weight: bold;
}


/* Custom Floating Label Effect placeholder */
.form-group input::placeholder {
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
     font-weight: bold;

}

.submit-btn {
    background: var(--midnight);
    color: #ffffff;
    padding: 22px 40px;
    border: none;
    border-radius: 0; /* Sharp corners for professional look */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: 0.5s;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: var(--posh-gold);
    transition: 0.5s;
    z-index: -1;
}

.submit-btn:hover {
    color: var(--midnight);
}

.submit-btn:hover::before {
    left: 0;
}

/* ===============================
   ANIMATIONS
   =============================== */
@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shineSweep {
    0% { background-position: -200%; }
    100% { background-position: 200%; }
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 992px) {
    .contact-container { grid-template-columns: 1fr; }
    .contact-info-panel, .contact-form-panel { padding: 50px; }
}

@media (max-width: 768px) {
    .shining-title-small { font-size: 2.2rem; }
    .contact-info-panel { padding: 40px 25px; }
    .contact-form-panel { padding: 40px 25px; }
}
/* ===========mv */
/* =========================================
   📱 MOBILE FIX (STRONG VERSION)
   ========================================= */
@media (max-width: 768px) {

    .contact-page {
        padding: 70px 15px 40px;
        display: block; /* FIX flex issue */
    }

    .contact-container {
        display: block;   /* force stacking */
        width: 100%;
        margin-top: 20px;
        border-radius: 10px;
    }

    .contact-info-panel,
    .contact-form-panel {
        width: 100%;
        padding: 25px 18px;
    }

    .shining-title-small {
        font-size: 1.7rem;
        text-align: center;
    }

    .contact-desc {
        font-size: 0.85rem;
        text-align: center;
    }

    .info-item {
        flex-direction: row;
        gap: 12px;
        margin-bottom: 18px;
    }

    .info-item i {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .info-item p {
        font-size: 0.9rem;
    }

    .map-container {
        height: 180px;
        margin-top: 30px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px 0;
        font-size: 0.9rem;
    }

    .submit-btn {
        width: 100%;
        padding: 14px;
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
}