/**
 * File: contact.css
 * Description: Premium resort-style layout styles for the contact page and Leaflet maps.
 * Version: 1.0.0
 */

/* ================================================================
   1. HERO SECTION
   ================================================================ */
.contact-hero {
    position: relative;
    min-height: 740px;
    background: url('/images/contact-hero-bg.jpg') center center / cover no-repeat;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(30,41,59,0.72) 50%, rgba(15,23,42,0.60) 100%);
    z-index: 1;
}

.contact-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 70px 36px 60px;
    display: grid;
    grid-template-columns: 1.2fr 500px;
    gap: 48px;
    align-items: start;
}

/* ================================================================
   2. LEFT COLUMN (HERO INFO & ADDRESSES)
   ================================================================ */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 600px;
}

.hero-left h1 {
    font-size: clamp(42px, 5.5vw, 68px);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.hero-left .subtitle {
    margin-top: 26px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.75;
    color: rgba(255,255,255,0.7);
    max-width: 520px;
}

/* BOTTOM INFO GRID */
.hero-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-top: 48px;
}

.hero-info-grid h4 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.hero-info-grid p,
.hero-info-grid a {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

.hero-info-grid a {
    display: block;
    text-decoration: none;
    transition: color 0.2s;
}

.hero-info-grid a:hover {
    color: #ffffff;
}

.hero-info-divider {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 36px;
}

.hero-info-divider h4 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.hero-info-divider a,
.hero-info-divider span {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.hero-info-divider a:hover {
    color: #3b82f6;
}

/* ================================================================
   3. RIGHT COLUMN — FORM CARD
   ================================================================ */
.contact-form-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 40px 36px 36px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.contact-form-card h2 {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.contact-form-card .form-desc {
    margin-top: 10px;
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.6;
}

/* FORM INPUTS */
.cf-input {
    width: 100%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 10px;
    padding: 15px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    transition: all 0.2s;
    font-family: inherit;
}

.cf-input:focus {
    border-color: #94a3b8;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(148,163,184,0.15);
}

.cf-input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

/* INQUIRY PILLS */
.inquiry-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pill-label {
    display: inline-block;
    padding: 10px 20px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.pill-radio:checked + .pill-label {
    background: #ffffff;
    border-color: #0f172a;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(15,23,42,0.06);
}

/* SUBMIT BUTTON */
.cf-submit {
    width: 100%;
    padding: 16px 20px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.25s;
}

.cf-submit:hover {
    background: #1e293b;
    box-shadow: 0 8px 24px rgba(15,23,42,0.12);
}

/* ================================================================
   4. MAPS SECTION — LEAFLET MAP CONTAINERS & PINS
   ================================================================ */
.maps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.map-box {
    height: 380px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    background: #0f172a;
}

.leaflet-tile-container img {
    filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%) saturate(0.8) !important;
}

.custom-glow-pin {
    background: #2563eb;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 15px #3b82f6, 0 0 25px #2563eb;
}

/* ================================================================
   5. RESPONSIVE & ANIMATIONS
   ================================================================ */
@media (max-width: 1200px) {
    .maps-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 1024px) {
    .contact-hero-inner {
        grid-template-columns: 1fr;
        padding: 40px 20px 30px;
    }
    .hero-left {
        min-height: auto;
    }
    .hero-info-grid {
        grid-template-columns: 1fr;
    }
    .hero-info-divider {
        grid-template-columns: 1fr;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
