/* 2. CSS Styling (style.css) 
    Note: For simplicity, this uses a single main color and assumes a large desktop view.
*/

@font-face {
    font-family: 'Axiforma';
    src: url('fonts/baloo.ttf') format('truetype');
}

@font-face {
    font-family: 'Polly';
    src: url('fonts/arimo.ttf') format('truetype');
}

:root {
    --primary-color: #d1004f; /* A deep pink/red for CTA and accents */
    --secondary-color: rgba(249, 196, 206, 0.5); /* Lighter pink for highlights */
    --text-color: #333;
    --background-color: #fff;
    --gray-light: #f4f4f4;
    --font-family: 'Polly', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 50px;
    padding-right: 50px;
    max-width: 1400px;
}

/* --- Header & Navigation --- */
.header {
    border-bottom: 1px solid var(--gray-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--background-color);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
}

.navbar ul {
    list-style: none;
    display: flex;
    align-items: center;
}


.navbar li {
    margin-left: 30px;
}

.navbar a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.navbar a:hover, .navbar a.active {
    color: var(--primary-color);
}

.login-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 20px;
    transition: background-color 0.2s;
}

.login-btn:hover {
    background-color: #a8003a;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--secondary-color);
    min-height: 80vh; 
    display: flex;
    align-items: center;
}

main section:nth-child(even) {
    background-color: var(--secondary-color);
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    z-index: -1;
}

.badges {
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    background-color: var(--gray-light);
    color: var(--text-color);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 10px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.badge::after {
    content: '★';
    color: gold;
    margin-left: 5px;
}

.hero-content h1 {
    font-family: 'Axiforma', sans-serif;
    font-size: 68px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    
}

.play-word { color: var(--text-color); }
.wellness-word { color: var(--text-color); }
.joyful-word { color: var(--primary-color); }

.subtext {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
    max-width: 85%;
}

.cta-buttons button {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.cta-contact {
    background-color: var(--primary-color);
    color: white;
    margin-right: 15px;
}

.cta-contact:hover {
    background-color: #a8003a;
}

.cta-explore {
    background-color: transparent;
    color: var(--text-color);
    border: 3px solid var(--primary-color);
}

.cta-explore:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.social-proof {
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.proof-avatars {
    display: flex;
    margin-right: 15px;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
    background-color: var(--secondary-color);
}

.avatar:first-child {
    margin-left: 0;
}

.social-proof p {
    font-size: 14px;
    color: #666;
    font-weight: 500;

}

.social-proof p strong {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    background-image: radial-gradient(circle, var(--gray-light) 1px, transparent 1px);
    background-size: 20px 20px;
}

.image-card {
    background-color: white;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 600px;
    height: 600px;
    position: relative;
}

.main-playzone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    display: block;
}

.open-today-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: white;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.open-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 2px;
}

.open-hours {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
}


/* --- Section Headline (Shared) --- */
.section-headline {
    width: 100%;
    text-align: center;
    font-family: 'Axiforma', sans-serif;
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 40px;
}

/* --- Features Section --- */
.features-section {
    padding: 60px 0;
}

.feature-items-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-item {
    flex-basis: 30%;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    background-color: #fff;
    position: relative;
}

.feature-item:hover .feature-video {
    opacity: 1;
}

.feature-item:hover .feature-img {
    opacity: 0;
}

.feature-img, .feature-video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

.feature-video {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.feature-content {
    padding: 20px;
}

.feature-item h2 {
    font-family: 'Axiforma', sans-serif;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-item h3 {
    font-family: 'Axiforma', sans-serif;
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.feature-item ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.feature-item ul li {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.feature-item ul li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* --- Parent Section --- */
.parent-section {
    padding: 60px 0;
}

.parent-feature-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.parent-feature {
    flex-basis: 30%;
    text-align: left;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    overflow: hidden;
    position: relative;
}

.parent-feature:hover .parent-feature-video {
    opacity: 1;
}

.parent-feature:hover .parent-feature-img {
    opacity: 0;
}

.parent-feature-img, .parent-feature-video {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

.parent-feature-video {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.parent-feature-content {
    padding: 25px;
}

.parent-feature h3 {
    font-family: 'Axiforma', sans-serif;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.parent-feature h4 {
    font-family: 'Axiforma', sans-serif;
    font-size: 22px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.parent-feature p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.parent-feature ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.parent-feature ul li {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.parent-feature ul li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* --- Expandable Content --- */
.expand-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.expand-btn {
    display: none; /* Hidden by default */
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    right: 10px;
    transition: transform 0.3s ease;
}

.feature-item.expanded .expand-content, .parent-feature.expanded .expand-content {
    max-height: 200px; /* Adjust as needed */
}

.feature-item.expanded .expand-btn, .parent-feature.expanded .expand-btn {
    transform: rotate(180deg);
}



/* --- Pricing Section --- */
.pricing-section {
    padding: 60px 0;
}

.pricing-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.pricing-card {
    flex-basis: 30%;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    background-color: #fff;
    padding: 30px;
}

.pricing-card h3 {
    font-family: 'Axiforma', sans-serif;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-card .price {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.pricing-card .price span {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-card ul li {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.pricing-card ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.pricing-card .btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

.pricing-card .btn:hover {
    background-color: #a8003a;
}

/* --- Founder Section --- */
.founder-section {
    padding: 60px 0;
}

.founder-section .container {
    max-width: 1200px;
}

.founder-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.founder-image {
    flex-basis: 40%;
}

.founder-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.founder-info {
    flex-basis: 60%;
}

.founder-info h3 {
    font-family: 'Axiforma', sans-serif;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.founder-info h4 {
    font-size: 20px;
    font-weight: 600;
    color: #555;
    margin-bottom: 20px;
}

.founder-info p {
    font-size: 18px;
    line-height: 1.7;
    color: #666;
}

.motto {
    font-style: italic;
    margin-top: 20px;
    font-size: 18px;
    color: #555;
    
    border-left: 4px solid var(--primary-color);
    padding-left: 12px; /* optional, but recommended */
}

/* --- Tour Section --- */
.tour-section {
    padding: 60px 0;
}

.video-container {
    max-width: 960px;
    margin: 0 auto;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-radius: 15px;
    overflow: hidden;
}

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

/* --- Amenities Section --- */
.amenities-section {
    padding: 60px 0;
}

.amenities-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.amenity-item {
    flex-basis: 45%;
    text-align: center;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    overflow: hidden;
    padding: 30px;
}

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

.amenity-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.amenity-item h3 {
    font-family: 'Axiforma', sans-serif;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.amenity-item p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

/* --- Guidelines Section --- */
.guidelines-section {
    padding: 60px 0;
   
}

.guidelines-container {
    max-width: 1400px;
    margin: 0 auto;
}

.guidelines-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0;
}

.guidelines-list li {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    flex-basis: 48%;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 18px;
    color: #555;
    transition: transform 0.3s ease;
}

.guidelines-list li:hover {
    transform: translateY(-5px);
}

.guidelines-list li i {
    font-size: 30px;
    color: var(--primary-color);
}

/* --- Mobile Navigation --- */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001; 
    }

    .navbar {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default */
        width: 70%;
        height: 100vh;
        background-color: #fff;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        padding-top: 80px; 
    }

    .navbar.active {
        right: 0;
    }

    .navbar ul {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 30px;
    }

    .navbar li {
        margin: 20px 0;
        margin-left: 0; 
    }
    
    .navbar a {
        font-size: 18px;
    }
    
    /* Optional: Fix body flow when menu is open */
    .navbar.active ~ body {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .guidelines-list li {
        flex-basis: 100%;
    }
}


/* --- Franchise Section --- */
.franchise-section {
    padding: 60px 0;
}

.franchise-intro {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: #555;
}

.franchise-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.franchise-item {
    flex-basis: 45%;
    text-align: center;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    overflow: hidden;
    padding: 30px;
}

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

.franchise-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.franchise-item h3 {
    font-family: 'Axiforma', sans-serif;
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.franchise-item p {
    font-size: 16px;
    color: #666;
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-col h3 {
    font-family: 'Axiforma', sans-serif;
    font-size: 28px;
    margin-bottom: 15px;
}
/* --- Slideshow Container --- */
.slideshow-container {
    max-width: 1000px; /* Adjust as needed */
    position: relative;
    margin: auto;
    overflow: hidden; /* Ensures content outside is clipped */
}

/* --- Individual Slides --- */
.mySlides {
    display: none; /* Hide all slides by default */
    position: absolute; /* Position slides on top of each other */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Image within Slides --- */
.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images cover the container without distortion */
    border-radius: 15px; /* Assuming image-card provides this, but good to ensure */
}

/* --- Fade animation (if not already defined) --- */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

.footer-col h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

.footer-col p, .footer-col address {
    font-size: 16px;
    line-height: 1.7;
    font-style: normal;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li i {
    margin-right: 10px;
}

/* Responsive Styles */
@media (max-width: 1205px) and (min-width: 1100px) {
    .open-today-card {
        left: -20px;
        bottom: -20px;
    }
}


@media (max-width: 1100px) and (min-width: 769px) {
    .open-today-card {
        left: -5%;
        bottom: 5%;
    }
}

@media (max-width: 1385px) {
    .hero-content h1 {
        font-size: 58px;
    }

    .subtext {
        font-size: 18px;
    }

    .image-card {
        width: 500px;
        height: 500px;
    }

    .feature-item,
    .parent-feature {
        flex-basis: 48%;
    }

    .founder-container {
        gap: 40px;
    }

    .amenity-item {
        flex-basis: 48%;
    }

    .franchise-item {
        flex-basis: 48%;
    }
}

@media (max-width: 1024px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .hero-content h1 {
        font-size: 56px;
    }

    .subtext {
        font-size: 18px;
    }

    .feature-item,
    .parent-feature,
    .pricing-card,
    .franchise-item {
        flex-basis: 48%;
    }

    .founder-container {
        flex-direction: column;
        gap: 30px;
    }

    .founder-image,
    .founder-info {
        flex-basis: 100%;
    }
}

@media (max-width: 943px) {
    .hero-content h1 {
        font-size: 40px;
    }

    .image-card {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }



    .hero-container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .subtext {
        max-width: 100%;
    }

    .cta-buttons {
        justify-content: center;
    }

    .social-proof {
        justify-content: center;
    }

    .hero-image-container {
        margin-top: 40px;
    }

    .image-card {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
    }
    .open-hours {
        font-size: 12px;
        font-weight: 700;
        color: var(--text-color);
    }

    .open-today-card {
        left: 20%;
        transform: translateX(-50%);
        bottom: -20px;
    }

    .feature-items-container,
    .parent-feature-container,
    .amenities-container,
    .pricing-container,
    .franchise-container {
        flex-direction: column;
        gap: 20px;
    }

    .feature-item,
    .parent-feature,
    .amenity-item,
    .pricing-card,
    .franchise-item {
        flex-basis: 100%;
    }

    .expand-btn {
        display: block; /* Show on mobile */
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}

.h-grow {
    transition: transform 0.3s ease-in-out;
}

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



.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}
