/* ===================================
   PlayThora - Children's Activity Center
   Main Stylesheet
   =================================== */

/* CSS Variables - Logo Colors */
:root {
    --primary-purple: #5B4B8A;
    --bright-yellow: #FFD93D;
    --bright-blue: #4D96FF;
    --bright-orange: #FFA500;
    --bright-green: #6BCB77;
    --bright-red: #FF6B6B;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Fredoka', sans-serif;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
}

/* CSS-based Logo Circle */
.logo-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    position: relative;
}

.puzzle-letters {
    display: flex;
    gap: 2px;
    justify-content: center;
}

.puzzle-piece {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    position: relative;
}

/* Puzzle piece colors matching the logo */
.puzzle-piece.p1 { background: #FFD93D; } /* Yellow - P */
.puzzle-piece.p2 { background: #4D96FF; } /* Blue - L */
.puzzle-piece.p3 { background: #FFA500; } /* Orange - A */
.puzzle-piece.p4 { background: #6BCB77; } /* Green - Y */
.puzzle-piece.p5 { background: #FFA07A; } /* Light Orange - T */
.puzzle-piece.p6 { background: #6BCB77; } /* Green - H */
.puzzle-piece.p7 { background: #FF6B6B; } /* Red - O */
.puzzle-piece.p8 { background: #FFD93D; } /* Yellow - R */
.puzzle-piece.p9 { background: #4D96FF; } /* Blue - A */

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--primary-purple);
    color: var(--white);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-purple);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.slide-placeholder {
    text-align: center;
    color: white;
}

.placeholder-icon {
    font-size: 120px;
    display: block;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.slide-placeholder p {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Slider Overlay */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider-title {
    font-size: 3rem;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Slider Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 20;
    transition: background 0.3s ease;
    border-radius: 5px;
    font-weight: bold;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--bright-yellow);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--bright-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-purple);
}

.btn-white {
    background: var(--white);
    color: var(--primary-purple);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-full {
    width: 100%;
}

/* Sections */
section {
    padding: 30px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-purple);
}

.text-center {
    text-align: center;
}

/* Features Section */
.features {
    background: var(--bg-light);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-purple);
}

/* Activities Preview */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.activity-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.activity-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-emoji {
    font-size: 4rem;
}

.activity-card h3 {
    padding: 1rem 1.5rem 0.5rem;
    color: var(--primary-purple);
}

.activity-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--bright-blue), var(--primary-purple));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fredoka', sans-serif;
    margin-bottom: 1rem;
}

.footer-logo .puzzle-piece {
    font-size: 14px;
    width: 28px;
    height: 28px;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--bright-yellow);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--bright-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-purple), var(--bright-blue));
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Page Styles */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.about-intro h2 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.about-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.mv-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.mv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.mv-card h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.values-section {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.value-item h4 {
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.team-section {
    margin-bottom: 4rem;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.team-member {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.team-member h4 {
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--bright-orange);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-purple), var(--bright-blue));
    padding: 3rem;
    border-radius: 20px;
    color: var(--white);
}

.stats-section .section-title {
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bright-yellow);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
}

/* Activities Page Styles */
.activities-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.age-groups {
    margin-bottom: 3rem;
}

.age-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.age-tab {
    padding: 10px 25px;
    border: 2px solid var(--primary-purple);
    background: var(--white);
    color: var(--primary-purple);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.age-tab:hover,
.age-tab.active {
    background: var(--primary-purple);
    color: var(--white);
}

.detailed-activities {
    display: grid;
    gap: 2rem;
}

.activity-detail-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.activity-detail-card:hover {
    box-shadow: var(--shadow-lg);
}

.activity-detail-header {
    padding: 2rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.activity-detail-icon {
    font-size: 3rem;
}

.activity-detail-header h3 {
    color: var(--white);
    font-size: 1.8rem;
}

.activity-detail-body {
    padding: 2rem;
}

.activity-detail-body p {
    margin-bottom: 1rem;
}

.activity-benefits {
    list-style: none;
    margin-top: 1rem;
}

.activity-benefits li {
    padding: 0.5rem 0;
    color: var(--bright-green);
    font-weight: 500;
}

.schedule-info {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 3rem;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    color: var(--primary-purple);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    background: #D4EDDA;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #F8D7DA;
    color: #721C24;
    display: block;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    gap: 1rem;
}

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.info-card h4 {
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links h4 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

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

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.map-section {
    margin-bottom: 3rem;
}

.map-placeholder {
    height: 400px;
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.map-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.faq-section {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
}

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

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.faq-item h4 {
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .puzzle-piece {
        font-size: 14px;
        width: 28px;
        height: 28px;
    }

    /* Hero Slider Responsive */
    .hero-slider {
        height: 600px;
    }

    .slider-title {
        font-size: 2rem;
        padding: 0 20px;
    }

    .placeholder-icon {
        font-size: 80px;
    }

    .slide-placeholder p {
        font-size: 1.5rem;
    }

    .slider-nav {
        font-size: 1.5rem;
        padding: 10px 15px;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .floating-shapes {
        height: 200px;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }

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

    .btn {
        width: 100%;
    }
}

