/* Reset and Base Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #17a2b8;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem;
}

.language-selector {
    text-align: right;
    padding: 0.5rem 2rem;
}

.language-selector a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.3rem 0.6rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.language-selector a.active {
    color: var(--primary-color);
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 60px; /* Add padding to account for fixed header */
    position: relative;
    overflow: hidden;
    background: #000;
}

.swiper-container {
    width: 100%;
    height: calc(100vh - 60px); /* Subtract header height */
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tagline {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.2rem;
}

.hero-features i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: #25D366;
    color: white;
}

.cta-button.primary:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: white;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.8;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-content {
        padding: 2rem;
        margin: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.4rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-features span {
        font-size: 1.1rem;
    }
}

/* Global Styles */
body {
    margin: 0;
    padding: 0;
    background: url('../images/beach-background.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* Header and Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/beach-header.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Special Events Section */
.highlight-section {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.event-card {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.event-card img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.event-card h3 {
    color: #2c3e50;
    margin: 1rem 0;
}

.event-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.event-card .cta-button {
    display: inline-block;
    margin-top: 1rem;
}

/* Reviews Section */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.review-content {
    position: relative;
    padding-left: 2rem;
}

.review-content i {
    position: absolute;
    left: 0;
    top: 0;
    color: #007bff;
    font-size: 1.5rem;
}

.review-content p {
    font-style: italic;
    margin-bottom: 1rem;
}

.review-content footer {
    margin-top: 1rem;
    font-style: italic;
    color: #666;
    background: none;
    padding: 0;
}

.review-content footer strong {
    color: #333;
    font-weight: bold;
    background: none;
}

/* Contact Section */
.contact-info {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
}

.contact-info h3 {
    color: white;
    margin-bottom: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

.contact-info a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #007bff;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
}

.language-switcher a {
    color: #333;
    text-decoration: none;
    margin: 0 5px;
}

.language-switcher a:hover {
    color: #007bff;
}

/* Container and Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.5rem;
}

/* Apartments Section */
#apartments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    padding: 2rem;
}

.apartment {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.apartment:hover {
    transform: translateY(-5px);
}

.apartment img,
.apartment video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.apartment h3 {
    padding: 1rem;
    color: #2c3e50;
}

.apartment p {
    padding: 0.5rem 1rem;
    color: #666;
}

.apartment .cta-button {
    margin: 1rem;
    display: inline-block;
}

.apartment-type {
    margin-bottom: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.apartment-type.highlight {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    padding: 3rem 2rem;
    text-align: center;
}

.apartment-type h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.apartment-type h4 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin: 1rem 0;
}

.apartment-description {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.features p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
}

.features i {
    color: #2c3e50;
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-items: center;
    text-align: center;
}

.feature-item {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 300px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item p {
    margin: 0;
    color: var(--text-color);
}

.apartment {
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.apartment:last-child {
    margin-bottom: 0;
}

/* Amenities Section */
#amenities ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

#amenities li {
    padding: 1rem;
    background: white;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#amenities i {
    color: #007bff;
    margin-right: 0.5rem;
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.amenities-column {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.amenities-column h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.amenities-column ul {
    list-style: none;
    padding: 0;
}

.amenities-column li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #555;
}

.amenities-column i {
    color: #2c3e50;
    font-size: 1.2rem;
}

.highlight {
    background: linear-gradient(to bottom right, #ffffff, #f8f9fa);
    border: 2px solid #e9ecef;
}

/* Location Section */
.location-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.map-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
}

.location-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.location-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.directions {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.directions h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.directions p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.directions .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Media Queries */
@media (min-width: 768px) {
    .location-container {
        grid-template-columns: 3fr 2fr;
    }
}

@media (max-width: 768px) {
    .location-info {
        gap: 1rem;
    }
    
    .directions {
        padding: 1rem;
    }
}

/* Gallery Section */
.gallery {
    padding: 2rem 0;
}

.gallery h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.gallery-item {
    width: 100%;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: auto;
    max-height: 40vh;
    object-fit: cover;
}

.gallery-item video {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

footer p {
    margin: 0.5rem 0;
}

.social-links {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    color: #007bff;
}

.social-link i {
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    section {
        padding: 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .review-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .apartment-type {
        padding: 1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item video {
        max-height: 280px;
    }
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr); /* Single column on mobile */
        gap: 1rem;
    }

    .gallery-item video {
        max-height: 280px;
    }
}

/* Attractions Section */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.attraction-category {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.attraction-category h3 {
    color: #2c3e50;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.attraction-category h3 i {
    color: #007bff;
}

.attraction-items {
    display: grid;
    gap: 1.5rem;
}

.attraction-item {
    background: linear-gradient(to bottom right, #ffffff, #f8f9fa);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease;
}

.attraction-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.attraction-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.attraction-item p {
    color: #666;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.attraction-item p:last-child {
    margin-bottom: 0;
    color: #007bff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.attraction-item i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .attractions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .attraction-category {
        padding: 1rem;
    }
    
    .attraction-item {
        padding: 1rem;
    }
}

/* Pricing Section */
.pricing-section {
    text-align: center;
    margin: 4rem auto;
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.pricing-section h2 {
    margin-bottom: 1rem;
}

.pricing-section p {
    margin-bottom: 1.5rem;
}

.pricing-section .cta-button {
    display: inline-block;
    margin-top: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
}

.featured-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.price {
    margin: 2rem 0;
}

.amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.period {
    display: block;
    color: #666;
    font-size: 0.9rem;
}

.features {
    list-style: none;
    margin: 2rem 0;
}

.features li {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.features i {
    color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
    margin-top: 4rem;
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.faq-item {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Section Headers */
section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark-bg);
}

/* Media Queries */
@media (max-width: 768px) {
    .pricing-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    section h2 {
        font-size: 2rem;
    }

    .amount {
        font-size: 2rem;
    }
}

/* Media Gallery Styles */
.media-gallery {
    position: relative;
    margin-bottom: 1rem;
}

.main-media-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.main-media.active {
    display: block;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.gallery-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.gallery-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.media-thumbnails {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.media-thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.media-thumbnails img:hover {
    opacity: 0.8;
}

.media-thumbnails img.active {
    border: 2px solid var(--primary-color);
}

@media (max-width: 768px) {
    .main-media-container {
        height: 300px;
    }
    
    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .gallery-close {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .media-thumbnails img {
        width: 60px;
        height: 45px;
    }
}

/* Popup Gallery Styles */
.popup-gallery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
}

.popup-gallery.active {
    display: block;
}

.popup-gallery-content {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
}

.popup-gallery-close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
}

.popup-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.popup-gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.popup-gallery-item img,
.popup-gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popup-gallery-item:hover img,
.popup-gallery-item:hover video {
    transform: scale(1.05);
}

.view-more-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.view-more-btn:hover {
    background: var(--secondary-color);
}

/* Add styles for media thumbnail and popup gallery */
.media-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}

.media-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-gallery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
}

.popup-gallery-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-gallery-main {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
}

.media-container {
    width: 100%;
    height: 100%;
}

.media-container video,
.media-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.gallery-nav.prev {
    left: -60px;
}

.gallery-nav.next {
    right: -60px;
}

.popup-gallery-close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

#availability-section {
    text-align: center;
    margin: 0 auto;
}

#availability-section .cta-button {
    display: inline-block;
    margin-top: 10px;
} 