/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, var(--color-turquoise-light) 0%, rgba(255,255,255,0) 70%);
    z-index: -2;
    border-radius: 50%;
    filter: blur(60px);
}

.hero::before {
    content: '';
    position: absolute;
    /* 50vh (not 50%) so the logo sits at the same spot as .logo-bg on every
       other page — the hero can be taller than 100vh, which would push a %
       value down and break the uniform placement. */
    top: 50vh;
    right: 5%;
    transform: translateY(-50%);
    width: min(500px, 80vw);
    height: min(500px, 80vw);
    background: url('../images/image.png') no-repeat center center;
    background-size: contain;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    animation: floatLogo 8s ease-in-out infinite;
}

/* floatLogo keyframe + .logo-bg watermark now live in global.css
   (loaded on every page) so the animation is shared with the hero. */

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.hero-text-box {
    max-width: 650px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.hero-text-box .subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--color-text-light);
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Tighten the hero buttons so "Book via WhatsApp" + "Call directly" fit
       side by side on a single row on typical phones. */
    .hero-actions {
        gap: 10px;
    }

    .hero-actions .btn {
        padding: 11px 14px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .opening-hours-box {
        padding: 12px 16px !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    .opening-hours-list li {
        gap: 15px !important;
        font-size: 0.9rem;
    }
    
    .opening-hours-list li span:last-child {
        white-space: nowrap;
    }
}

.service-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-turquoise);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(20, 184, 166, 0.12);
    border-color: rgba(20, 184, 166, 0.3);
}

.service-card:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.service-icon {
    margin-bottom: 24px;
    background: var(--color-turquoise-light);
    color: var(--color-turquoise-dark);
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(20, 184, 166, 0.2);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.12);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-icon {
    transform: scale(1.15) translateY(-5px);
    background: var(--color-turquoise);
    color: var(--color-white);
    box-shadow: 0 10px 20px -5px rgba(20, 184, 166, 0.4);
    border-color: var(--color-turquoise);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* =========================================
   CAROUSEL (INFINITE MARQUEE)
   ========================================= */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: transparent;
    /* For seamless marquee, container must wrap tightly or hide overflow */
    white-space: nowrap;
}

.carousel-track.marquee {
    display: inline-flex;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.carousel-track.marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.carousel-slide {
    width: 85vw;
    height: 300px;
    flex-shrink: 0;
    margin-right: 16px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

@media (min-width: 768px) {
    .carousel-slide {
        width: 350px;
        height: 350px;
    }
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* =========================================
   HOVER ANIMATIONS
   ========================================= */
.carousel-slide img, .about-image img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide:hover img, .about-image:hover img {
    transform: scale(1.08);
}

.interactive-panel {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.interactive-panel:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(20, 184, 166, 0.15);
}
