/* ══════════════════════════════════════════
   LOCATION PAGE STYLES (Modern Redesign)
   ══════════════════════════════════════════ */

:root {
    --primary-color: #1a4d2e;
    /* Deep Jungle Green */
    --accent-color: #d4a373;
    /* Sand/Gold Accent */
    --secondary-color: #4f6f52;
    /* Soft Olive */
    --text-dark: #2c3e50;
    --text-light: #f8f9fa;
    --bg-light: #fdfdfd;
    --section-spacing: 50px;
    --transition-standard: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Base Overrides for Locations */
.location-page {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Raleway', sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
.serif-font {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

/* Utility Classes for Inline Style Removal */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.text-accent-custom {
    color: var(--accent-color) !important;
}

.opacity-9 {
    opacity: 0.9;
}

.ls-1 {
    letter-spacing: 1px;
}

.intro-lead-text {
    font-size: 1.5rem;
    line-height: 1.6;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.map-cta-container {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/map.jpg') center/cover;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ═══ HERO SECTION ═══ */
.location-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 100%), url('../img/location_hero_new.png') center/cover fixed;
    margin-bottom: var(--section-spacing);
}

.location-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
}

/* ═══ INTRO SECTION ═══ */
.location-intro {
    padding-bottom: var(--section-spacing);
}

.intro-badge {
    text-align: center;
    margin-bottom: 30px;
}

.badge-text {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ═══ PROPERTY CARDS ═══ */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.location-card {
    background: white;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition-standard);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.card-img-placeholder {
    height: 300px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ccc;
}

.card-tucana {
    background: url('../img/tucana.jpg') center/cover !important;
}

.card-estates {
    background: url('../img/h1.jpg') center/cover !important;
}

.card-body-custom {
    padding: 40px;
}

.card-tag {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
}

.card-title-custom {
    font-size: 2rem;
    margin-bottom: 20px;
}

.card-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.card-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
}

.card-list i {
    color: var(--primary-color);
    margin-top: 4px;
}

/* ═══ STATS & INFO BAR ═══ */
.info-strip {
    background: var(--primary-color);
    color: white;
    padding: 80px 0;
    margin: var(--section-spacing) 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    font-family: 'Cormorant Garamond', serif;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* ═══ BEACH SECTION ═══ */
.beach-section {
    padding: var(--section-spacing) 0;
}

.beach-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.beach-pill {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-standard);
}

.beach-pill:hover {
    border-color: var(--primary-color);
    background: #f8fbf9;
}

.beach-name {
    font-size: 1.4rem;
    margin-bottom: 8px;
    display: block;
}

.beach-desc {
    font-size: 0.9rem;
    color: #666;
}

/* ═══ CALLOUT BOX ═══ */
.callout-box {
    background: #fff5eb;
    border-left: 5px solid #ffa500;
    padding: 40px;
    border-radius: 0 20px 20px 0;
    margin: 60px 0;
}

.callout-title {
    color: #d35400;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* ═══ AIRPORT SECTION ═══ */
.airport-card {
    background: linear-gradient(135deg, #1a4d2e 0%, #2c5e3f 100%);
    color: white;
    padding: 60px;
    border-radius: 30px;
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.airport-card::after {
    content: '\F104';
    /* plane icon */
    font-family: 'bootstrap-icons';
    position: absolute;
    right: -40px;
    bottom: -40px;
    font-size: 20rem;
    opacity: 0.05;
}

.airport-icon-large i {
    font-size: 8rem;
    opacity: 0.2;
}

.airport-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-standard);
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.airport-btn:hover {
    background: white;
    color: var(--primary-color);
}

/* ═══ TRANSPORTATION OPTIONS ═══ */
.transport-options-container {
    padding: var(--section-spacing) 0;
    background: #fdfdfd;
}

.transport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.transport-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: var(--transition-standard);
    height: 100%;
}

.transport-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: var(--transition-standard);
    height: 100%;
}

.transport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.transport-card.highlighted {
    background: #f8fbf9;
    border-color: var(--primary-color);
}

.transport-card.highlighted .transport-icon {
    background: var(--primary-color);
    color: white;
}

.transport-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f0f7f2 0%, #e0efe5 100%);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 2rem;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(26, 77, 46, 0.05);
}

.transport-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.transport-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* ═══ DRIVING DIRECTIONS TIMELINE ═══ */
.directions-section {
    padding: var(--section-spacing) 0;
    background-color: white;
}

.directions-timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.directions-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 30px 40px;
    margin-bottom: 40px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    top: 40px;
    z-index: 2;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item.left::after {
    right: -8px;
}

.timeline-item.right::after {
    left: -8px;
}

.timeline-content {
    background: #fcfcfc;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content .step-num {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Special alert in directions */
.directions-alert {
    padding: 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-top: 15px;
    border: 1px solid transparent;
}

.directions-alert.alert-warning {
    background: #fff9e6;
    border-color: #ffeeba;
    color: #856404;
}

.directions-alert.alert-danger {
    background: #fffafa;
    border-color: #ffeded;
    color: #e74c3c;
}

@media (max-width: 768px) {
    .directions-timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-item::after {
        left: 22px !important;
    }
}

/* ═══ FOOTER OVERRIDES ═══ */
.site-footer {
    margin-top: 0;
}

/* ═══ SERVICE HIGHLIGHTS ═══ */
.service-highlight-section {
    padding: var(--section-spacing) 0;
    background: #f8fbf9;
}

.service-card {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    margin-bottom: 40px;
    border-left: 8px solid var(--primary-color);
    transition: var(--transition-standard);
}

.service-card:hover {
    transform: translateX(10px);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card .highlight-price {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.cta-box {
    background: var(--primary-color);
    color: white;
    padding: 60px;
    border-radius: 30px;
    text-align: center;
    margin-top: 60px;
}

.cta-box h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-luxury {
    background: var(--accent-color);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-standard);
}

.btn-luxury-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 13px 33px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-standard);
}

.btn-luxury:hover,
.btn-luxury-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 991px) {
    .airport-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .location-hero {
        height: 60vh;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 80px;
    }

    .card-body-custom {
        padding: 30px 20px;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}