/* Beaches Page Specific Styles */
/* Original .beaches-hero style block starts here */
.beaches-hero {
    height: 60vh;
    /* background-image, background-size, and background-position removed for slideshow */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 0 !important; /* Forcing no top margin */
    /* padding-top: 0 !important; removed to allow flex centering */
    position: relative;
    overflow: hidden;
}

/* .beaches-hero::before removed, replaced by .hero-overlay div */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    animation: fadeInDown 1.2s ease-out;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 0;
    animation: fadeInUp 1.4s ease-out;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem; /* Reduced font size for mobile */
        margin-bottom: 0.5rem; /* Reduced margin for mobile */
    }
    .hero-content p {
        font-size: 1.1rem; /* Reduced font size for mobile */
    }
}

/* Hero Slideshow Styles */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind overlay and content */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: heroFade 15s infinite; /* 5s per image, 3 images total */
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 5s; /* Start after first image's effective duration */
}

.hero-slide:nth-child(3) {
    animation-delay: 10s; /* Start after second image's effective duration */
}

@keyframes heroFade {
    0% { opacity: 0; }
    10% { opacity: 1; } /* Fade in (0.5s of 5s cycle) */
    33.33% { opacity: 1; } /* Hold (approx 1.17s of 5s cycle) */
    43.33% { opacity: 0; } /* Fade out (0.5s of 5s cycle) */
    100% { opacity: 0; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 1, 1, 0.5), rgba(255, 69, 0, 0.5)); /* Adjusted from ::before for potentially better contrast */
    z-index: 1; /* Above slideshow, below content */
}

.beaches-intro, .beaches-faq, .beach-cta {
    background: #fff;
    padding: 3.5rem 0;
}

.beaches-intro {
    background: linear-gradient(to bottom, #fff, #f9f9f9);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.beaches-regions {
    background-color: #f9f9f9;
    padding: 3rem 0;
}

.beaches-regions h2 {
    margin-top: 2.5rem;
    font-family: 'Playfair Display', serif;
    color: #8a0101;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.beaches-regions h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #8a0101, #FF4500);
}

.beach-card {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    margin: 2.5rem 0;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.beach-image {
    flex: 1 1 300px;
    min-width: 260px;
    max-width: 400px;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.beach-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, rgba(0,0,0,0.4));
    z-index: 1;
}

.beach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.beach-card:hover .beach-image img {
    transform: scale(1.05);
}

.beach-details {
    flex: 2 1 400px;
    padding: 2rem 2.5rem;
}

.beach-details h3 {
    margin-top: 0;
    color: #FF4500;
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.beach-highlights {
    margin-bottom: 1.2rem;
    background: rgba(255, 219, 197, 0.3);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #FF4500;
}

.highlight {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
}

.highlight-label {
    font-weight: 600;
    color: #8a0101;
    min-width: 80px;
    position: relative;
}

.highlight-label::after {
    content: ':';
    position: absolute;
    right: 5px;
}

.highlight-text {
    flex: 1;
    padding-left: 10px;
}

.beach-details p {
    line-height: 1.7;
    color: #333;
    margin-bottom: 1rem;
}

.beaches-faq {
    background: linear-gradient(to bottom, #f9f9f9, #fff);
}

.beaches-faq h2 {
    text-align: center;
    color: #8a0101;
    font-family: 'Playfair Display', serif;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.beaches-faq h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #8a0101, #FF4500);
}

.faq-container {
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateX(5px);
}

.faq-question {
    font-size: 1.2rem;
    color: #8a0101;
    margin-bottom: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-left: 25px;
}

.faq-question::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #FF4500;
}

.faq-answer {
    color: #333;
    font-size: 1rem;
    line-height: 1.7;
    padding-left: 25px;
}

.faq-answer ul {
    padding-left: 20px;
    margin: 10px 0;
}

.faq-answer li {
    margin-bottom: 5px;
}

.beach-cta {
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    color: #fff;
}

.beach-cta .container {
    position: relative;
    z-index: 5;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.beach-cta h2 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.beach-cta p {
    color: #fff;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.beach-cta .beaches-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.beach-cta .beaches-bg-video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.beach-cta .beaches-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 1, 1, 0.7), rgba(255, 69, 0, 0.7));
    z-index: 1;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #8a0101;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.cta-button:hover {
    background: #ffdbc5;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #FF4500;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .beach-card {
        flex-direction: column;
    }
    .beach-image, .beach-details {
        max-width: 100%;
        min-width: 0;
    }
    .beach-image {
        height: 250px;
    }
    .beach-details {
        padding: 1.5rem;
    }
    .beach-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .beaches-hero {
        height: 40vh;
        margin-top: 60px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .beach-details h3 {
        font-size: 1.3rem;
    }
    .container {
        padding: 0 1rem;
    }
    .beaches-regions h2, 
    .beaches-faq h2 {
        font-size: 1.8rem;
    }
    .beach-cta {
        padding: 3rem 1rem;
    }
    .beach-cta h2 {
        font-size: 1.7rem;
    }
    .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }
}