/* ══════════════════════════════════════════
   BEACHES PAGE STYLES - PREMIUM REDESIGN
   ══════════════════════════════════════════ */

:root {
    --primary-color: #1a4d2e;
    --accent-color: #d4a373;
    --secondary-color: #4f6f52;
    --text-dark: #2c3e50;
    --text-light: #f8f9fa;
    --bg-light: #fdfdfd;
    --section-spacing: 80px;
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --transition-standard: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.beaches-page {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Raleway', sans-serif;

}

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

/* ═══ HERO SECTION ═══ */
.beaches-hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), url('../img/beaches-bg.jpg') center/cover fixed;
}

.beaches-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15vh;
    background: linear-gradient(to top, var(--bg-light), transparent);
}

.hero-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px 80px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: inline-block;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.hero-box h1 {
    font-size: 3.5rem;
    letter-spacing: 4px;
    margin: 0;
    text-transform: uppercase;
}

/* ═══ INTRO SECTION ═══ */
.beaches-intro {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.intro-badge {
    display: inline-block;
    padding: 8px 24px;
    background: #eef3f0;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.intro-title {
    color: var(--primary-color);
    font-size: 4rem;
    margin-bottom: 45px;
}

.intro-text p {
    font-size: 1.25rem;
    line-height: 1.9;
    color: #4a5568;
    max-width: 1000px;
    margin: 0 auto 30px;
    font-weight: 300;
}

/* Safety Links */
.safety-link {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: var(--transition-standard);
    border: 1px solid rgba(0, 0, 0, 0.03);
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
}

.safety-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    color: var(--primary-color);
}

.safety-link i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 15px;
}

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

.beach-section:nth-child(even) {
    background-color: #f0f7f2;
}

.beach-header {
    text-align: center;
    margin-bottom: 80px;
}

.beach-header h2 {
    font-size: 4.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.beach-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

/* Photo Gallery Grid */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    /* Ensures all boxes in a row have identical height */
    gap: 30px;
    margin-bottom: 80px;
}

.photo-item {
    position: relative;
    aspect-ratio: 4/3;
    /* Standard photographic ratio */
    overflow: hidden;
    border-radius: 12px;
    background: #f0f0f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition-standard);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.photo-item::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    pointer-events: none;
    z-index: 2;
    transition: var(--transition-standard);
}

.photo-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.photo-item:hover::after {
    border-color: rgba(255, 255, 255, 0.4);
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.photo-item:hover img {
    transform: scale(1.1);
}

/* Content Area (Side-by-side) */
.beach-content-row {
    display: flex;
    align-items: stretch;
    gap: 80px;
    margin-top: 60px;
}

.beach-map {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    background: white;
    min-height: 450px;
}

.beach-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: 0;
    filter: grayscale(0.2) contrast(1.1);
}

.beach-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.beach-details h3 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.beach-details p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: #444;
    margin-bottom: 20px;
}

.beach-details .highlight-box {
    background: white;
    border-left: 6px solid var(--accent-color);
    padding: 35px;
    margin-top: 20px;
    border-radius: 4px 20px 20px 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.highlight-box strong {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Text-only sections styling */
.text-only-content {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.9;
    text-align: center;
    color: #333;
}

/* ═══ CTA SECTION ═══ */
.cta-overlay {
    background: linear-gradient(rgba(26, 77, 46, 0.9), rgba(26, 77, 46, 0.95)), url('../img/location_hero.png') center/cover fixed;
    color: white;
    padding: 120px 0;
    margin-top: 100px;
    text-align: center;
}

.btn-luxury {
    display: inline-block;
    padding: 20px 50px;
    background: var(--accent-color);
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    border-radius: 4px;
    transition: var(--transition-standard);
    text-decoration: none;
    font-size: 0.9rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-luxury:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    background: #c39466;
    color: white;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1199px) {
    .beach-content-row {
        gap: 40px;
    }

    .intro-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 991px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .beach-content-row {
        flex-direction: column;
    }

    .beach-content-row.reverse {
        flex-direction: column-reverse;
    }

    .beach-header h2 {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .photo-gallery {
        grid-template-columns: 1fr;
    }

    .beaches-hero {
        height: 60vh;
    }

    .hero-box {
        padding: 30px 40px;
    }

    .hero-box h1 {
        font-size: 2rem;
    }

    .intro-title {
        font-size: 2.5rem;
    }

    .beach-header h2 {
        font-size: 2.2rem;
    }
}

/* ═══ REVEAL ANIMATIONS ═══ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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