/* =========================================
   1. SCROLL ANIMATION UTILITIES
   ========================================= */
/* Fade Up Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide Right from Left Animation */
.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Animated Gold Underline for Hero */
.hero-heading-line::after {
    content: '';
    display: block;
    width: 0; 
    height: 3px;
    background: #D4AF37; 
    margin: 15px auto 0; 
    transition: width 1s cubic-bezier(0.25, 1, 0.5, 1) 0.5s; 
}
.visible .hero-heading-line::after,
.visible.hero-heading-line::after {
    width: 100px; 
}

/* Animated Gold Underline for Left Content */
.heading-line::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: #D4AF37;
    margin: 15px 0 0 0; 
    transition: width 1s cubic-bezier(0.25, 1, 0.5, 1) 0.5s;
}
.visible .heading-line::after,
.visible.heading-line::after {
    width: 80px; 
}

/* Animation Delays for sequence loading */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }


/* =========================================
   2. CONTACT HERO SECTION
   ========================================= */
.contact-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.contact-hero-video {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    z-index: 0;
    object-fit: cover;
    opacity: 0.6;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(to bottom, rgba(0,0,0,0.3), #0A1120); */
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 60px;
}

/* --- STRICT DESKTOP TYPOGRAPHY --- */
.contact-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 50px !important; 
    color: #fff;
    margin: 0;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.contact-hero-content p {
    font-family: 'Work Sans', sans-serif;
    font-size: 18px !important; 
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #D4AF37; 
    font-weight: 700;
    margin-top: 15px;
}


/* =========================================
   3. MAIN CONTACT CONTAINER 
   ========================================= */
.contact-main-wrapper {
    background-color: #0a0a0a; 
    padding: 100px 5%;
    display: flex;
    flex-wrap: wrap;
    gap: 80px; 
    justify-content: center;
}

/* --- LEFT SIDE: INFO --- */
.contact-details {
    flex: 1;
    min-width: 300px;
    max-width: 500px; 
}

/* STRICT DESKTOP TYPOGRAPHY */
.contact-details h2 {
    font-family: 'Playfair Display', serif;
    font-size: 50px !important; 
    color: #fff;
    margin: 0 0 20px 0;
    line-height: 1.1;
}
.contact-details h2 span { 
    color: #D4AF37; 
    font-style: italic; 
}

.contact-desc {
    color: #bbb;
    font-family: 'Work Sans', sans-serif;
    font-size: 18px !important; 
    line-height: 1.6;
    margin: 0 0 40px 0;
}

/* Info Boxes */
.detail-box {
    margin-bottom: 30px;
    border-left: 3px solid #D4AF37;
    padding-left: 20px;
}

.detail-label {
    display: block;
    font-family: 'Work Sans', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #D4AF37;
    margin-bottom: 5px;
    font-weight: 700;
}

.detail-value {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #fff;
}
.detail-value a { 
    color: #fff; 
    text-decoration: none; 
    transition: 0.3s; 
}
.detail-value a:hover { 
    color: #D4AF37; 
}

/* Social Icons */
.contact-socials { 
    display: flex; 
    gap: 15px; 
    margin-top: 40px; 
}
.c-social-icon {
    width: 45px; 
    height: 45px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: #fff; 
    text-decoration: none; 
    transition: 0.3s;
}
.c-social-icon:hover {
    background: #D4AF37; 
    border-color: #D4AF37; 
    color: #000;
    transform: translateY(-3px);
}

/* --- RIGHT SIDE: FORM --- */
.contact-form-box {
    flex: 1.5;
    background: #161616; 
    padding: 60px; 
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    max-width: 700px; 
}

.contact-form-box::before {
    content: ''; 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 3px;
    background: linear-gradient(90deg, #D4AF37, transparent);
}

.c-form-group { margin-bottom: 30px; }

.c-label {
    display: block; 
    font-family: 'Work Sans', sans-serif;
    font-size: 12px; 
    color: #888; 
    margin-bottom: 8px;
    text-transform: uppercase; 
    letter-spacing: 1px;
}

.c-input {
    width: 100%; 
    background: transparent; 
    border: none;
    border-bottom: 1px solid #444;
    padding: 12px 0; 
    color: #fff; 
    font-size: 16px;
    font-family: 'Work Sans', sans-serif; 
    transition: 0.3s;
    outline: none;
}
.c-input:focus { border-bottom-color: #D4AF37; }

.c-btn {
    width: 100%; 
    padding: 18px;
    background: transparent; 
    border: 1px solid #555;
    color: #fff; 
    font-family: 'Work Sans', sans-serif;
    text-transform: uppercase; 
    font-weight: 700; 
    letter-spacing: 2px;
    cursor: pointer; 
    transition: 0.3s; 
    margin-top: 20px;
}
.c-btn:hover { 
    background: #D4AF37; 
    border-color: #D4AF37; 
    color: #000; 
}

/* =========================================
   4. MAP SECTION (WITH COLOR OVERLAY)
   ========================================= */
.map-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
}

/* The Color Overlay */
.map-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    /* This creates a luxury dark overlay (40% opacity). 
       You can change the color or opacity (0.4) to anything you like! */
    background: rgba(10, 17, 32, 0.4); 
    
    /* CRITICAL: pointer-events 'none' allows the user to click right 
       through the color overlay to drag and zoom the map! */
    pointer-events: none; 
}

.full-map { 
    width: 100%; 
    height: 100%; 
    border: 0; 
    display: block; 
}

/* Map Mobile Fix */
@media (max-width: 425px) {
    .map-wrapper, .full-map {
        height: 300px;
    }
}


/* =========================================
   5. RESPONSIVE: TABLET (Max 1024px)
   ========================================= */
@media (max-width: 1024px) {
    .contact-main-wrapper { 
        flex-direction: column; 
        padding: 80px 5%; 
        align-items: center; 
    }
    .contact-details, 
    .contact-form-box { 
        max-width: 100%; 
        width: 100%;
    }
}

/* =========================================
   6. RESPONSIVE: MOBILE (Max 425px & 320px)
   ========================================= */
@media (max-width: 425px) {
    
    .contact-hero { height: 40vh; min-height: 300px; }
    
    /* --- STRICT MOBILE TYPOGRAPHY --- */
    .contact-hero-content h1,
    .contact-details h2 {
        font-size: 36px !important; 
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .contact-hero-content p,
    .contact-desc {
        font-size: 16px !important; 
        line-height: 1.6;
    }
    
    .contact-hero-content p {
        letter-spacing: 2px;
    }

    .contact-main-wrapper { padding: 50px 20px; gap: 40px; }
    .contact-details { text-align: left; }
    
    .detail-box { margin-bottom: 20px; padding-left: 15px; }
    .detail-value { font-size: 20px; } 
    .contact-socials { margin-top: 30px; }
    .contact-form-box { padding: 30px 20px; }
    .full-map { height: 300px; }
}


/* Fix Select & Date Styling Same as Input */
select.c-input,
input[type="date"].c-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #444;
    padding: 12px 0;
    color: #888888;
    font-size: 16px;
    font-family: 'Work Sans', sans-serif;
    transition: 0.3s;
    outline: none;
}

select.c-input:focus,
input[type="date"].c-input:focus {
    border-bottom-color: #D4AF37;
}

/* Make dropdown arrow white */
select.c-input {
    appearance: none;
    background: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right;
    background-size: 18px;
}

/* extra add css for two column */
/* ===== FORM GRID 2 COLUMN ===== */
.c-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 40px;
}

/* Full width items */
.c-form-grid .full-width {
    grid-column: span 2;
}

/* Reduce form padding to make compact */
.contact-form-box {
    padding: 40px 45px;
}

/* Reduce input spacing */
.c-form-group {
    margin-bottom: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .c-form-grid {
        grid-template-columns: 1fr;
    }

    .c-form-grid .full-width {
        grid-column: span 1;
    }
}


