/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Carousel Logo */
.carousel-logo {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 20;
}

.logo-image {
    height: 240px;
    width: auto;
    display: block;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.slide-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.slide-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

.booking-btn {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, #7FB069, #52A3A1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(127, 176, 105, 0.3);
    text-transform: uppercase;
    border: none;
}

.booking-btn:hover {
    background: linear-gradient(135deg, #6B9A56, #478A88);
}

.booking-btn.secondary {
    background: linear-gradient(135deg, #87CEEB, #98D8C8);
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.3);
}

.booking-btn.secondary:hover {
    background: linear-gradient(135deg, #75B8D1, #7EC4B5);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    bottom: 65px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.nav-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.nav-dot.active,
.nav-dot:hover {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Content Section */
.content-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #F0F8F0 0%, #F8FDFD 100%);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    color: #3A5F4F;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #7FB069, #52A3A1);
    border-radius: 2px;
}

.content-text {
    text-align: left;
    margin-bottom: 4rem;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

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

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    position: relative;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #52A3A1;
    margin-bottom: 1rem;
    line-height: 1.3;
    min-height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-item h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #7FB069, #52A3A1);
    border-radius: 1px;
}

.service-item p {
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.cta-container {
    margin-top: 3rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #3A5F4F, #4A6B5A);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #E8F4F8;
}

.footer-section p {
    line-height: 1.8;
    color: #C8E6C9;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #C8E6C9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #87CEEB;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4A6B5A;
    color: #A8C8A8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-carousel {
        height: 100vh;
    }
    
    .carousel-logo {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo-image {
        height: 200px;
    }
    
    .slide-content {
        padding: 0 30px;
        margin-top: 120px;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .booking-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .carousel-logo {
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo-image {
        height: 180px;
    }
    
    .slide-content {
        padding: 0 20px;
        margin-top: 120px;
    }
    
    .booking-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .service-item {
        padding: 1.5rem;
    }
    
    .carousel-nav {
        bottom: 30px;
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.carousel-slide {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Loading states to prevent image pop-in */
body.loading .hero-carousel {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.loaded .hero-carousel {
    opacity: 1;
}

/* Ensure images don't show until fully loaded */
body.loading .slide-background {
    opacity: 0;
}

body.loaded .slide-background {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}