/* ============================================
   Kinderoase - Kindergarten Stylesheet
   ============================================ */

/* === Reset & Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #5A5A5A;
    background-color: #FFF9F0;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    color: #4A4A4A;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.8rem; margin-bottom: 1rem; }
h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }

/* === Navigation === */
.main-nav {
    background: linear-gradient(135deg, #FFB347 0%, #FFCC99 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 179, 71, 0.3);
    clip-path: ellipse(150% 100% at 50% 0%);
    padding-bottom: 2rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.logo-icon {
    font-size: 2rem;
    animation: gentle-bounce 2s ease-in-out infinite;
}

@keyframes gentle-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.nav-icon {
    font-size: 1.2rem;
}

/* === Hero Section === */
.hero {
    background: linear-gradient(135deg, #87CEEB 0%, #98D8C8 100%);
    padding: 8rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    clip-path: ellipse(120% 100% at 50% 0%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: fade-in-up 0.8s ease-out;
}

.hero-subtitle {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fade-in-up 0.8s ease-out 0.2s backwards;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Floating Elements === */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-cloud, .float-star {
    position: absolute;
    font-size: 3rem;
    opacity: 0.6;
}

.cloud-1 {
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.cloud-2 {
    top: 20%;
    right: 15%;
    animation: float 8s ease-in-out infinite 1s;
}

.star-1 {
    top: 30%;
    left: 20%;
    animation: twinkle 3s ease-in-out infinite;
}

.star-2 {
    top: 15%;
    right: 25%;
    animation: twinkle 4s ease-in-out infinite 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* === CTA Button === */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #FFB347 0%, #FF6B6B 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    animation: fade-in-up 0.8s ease-out 0.4s backwards;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.cta-secondary {
    background: linear-gradient(135deg, #B19CD9 0%, #87CEEB 100%);
    box-shadow: 0 8px 25px rgba(177, 156, 217, 0.3);
    margin-right: 1rem;
}

/* === Main Content === */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-section {
    padding: 4rem 0;
}

.section-alt {
    background: linear-gradient(to bottom, transparent 0%, #F5F5F5 20%, #F5F5F5 80%, transparent 100%);
    margin: 0 -2rem;
    padding: 4rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.decorative-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #FFB347, #87CEEB, #98D8C8);
    margin: 1rem auto;
    border-radius: 2px;
}

/* === Content Grid === */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.content-card {
    background: white;
    padding: 2rem;
    border-radius: 25px 30px 25px 30px;
    box-shadow: 0 10px 40px rgba(255, 179, 71, 0.15);
    transition: all 0.3s ease;
}

.card-left {
    transform: rotate(-1deg);
}

.card-right {
    transform: rotate(1deg);
    position: relative;
    overflow: hidden;
}

.content-card:hover {
    transform: translateY(-8px) rotate(0deg);
    box-shadow: 0 15px 50px rgba(255, 179, 71, 0.25);
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    border-radius: 25px 25px 0 0;
}

.accent-mint {
    background: #98D8C8;
}

.card-image {
    width: 100%;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-card:hover .card-image img {
    transform: scale(1.05);
}

/* === Playful List === */
.playful-list {
    list-style: none;
    margin-top: 1rem;
}

.playful-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.list-icon {
    font-size: 1.5rem;
}

/* === Wave Divider === */
.wave-divider {
    height: 80px;
    background: linear-gradient(135deg, #FFB347 0%, #FFCC99 100%);
    clip-path: polygon(
        0 40%, 
        10% 35%, 
        20% 45%, 
        30% 38%, 
        40% 48%, 
        50% 35%, 
        60% 45%, 
        70% 38%, 
        80% 42%, 
        90% 35%, 
        100% 40%, 
        100% 100%, 
        0 100%
    );
    margin: 4rem 0;
}

/* === Program Grid === */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card-elevated {
    transform: translateY(-10px);
}

.program-card:hover {
    transform: translateY(-15px) rotate(-2deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.program-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* === Text Content Styling === */
.text-content {
    max-width: 800px;
    margin: 0 auto;
}

.text-block {
    margin-bottom: 2rem;
}

.drop-cap {
    float: left;
    font-size: 4rem;
    line-height: 0.8;
    margin-right: 0.5rem;
    margin-top: 0.1rem;
    color: #FFB347;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

.pull-quote {
    background: linear-gradient(135deg, #FFB347 0%, #FFCC99 100%);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 20px;
    transform: rotate(-1deg);
    box-shadow: 0 8px 30px rgba(255, 179, 71, 0.2);
    text-align: center;
}

.pull-quote p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    font-style: italic;
}

.quote-mark {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: Georgia, serif;
}

.info-box {
    background: #E8F8F5;
    border-left: 5px solid #98D8C8;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 15px 15px 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

/* === Image Gallery === */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.item-1 { transform: rotate(-2deg); }
.item-2 { transform: rotate(1deg); }
.item-3 { transform: rotate(-1deg); }

/* === Team Section === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.team-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 5px solid #FFB347;
    box-shadow: 0 8px 25px rgba(255, 179, 71, 0.3);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-role {
    color: #87CEEB;
    font-weight: 600;
}

/* === Contact Section === */
.contact-container {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

/* === Footer === */
.footer {
    background: linear-gradient(135deg, #87CEEB 0%, #98D8C8 100%);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 5rem;
    position: relative;
    clip-path: ellipse(120% 100% at 50% 100%);
    padding-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column p {
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

.footer-decoration {
    text-align: center;
    font-size: 2rem;
    margin-top: 1rem;
    opacity: 0.6;
}

/* === Responsive Design === */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero {
        padding: 5rem 1rem 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .card-left, .card-right {
        transform: rotate(0deg);
    }
    
    .program-grid {
        grid-template-columns: 1fr;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}