﻿/* Global */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Quicksand", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #222;
    background: #fffafc;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1100px, 100% - 2.5rem);
    margin: 0 auto;
}

/* Header & Navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: linear-gradient(90deg, #ff73c6, #ffcf4a, #7ee8fa);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-icon {
    font-size: 1.4rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-link {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.95rem;
    position: relative;
}

    .nav-link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0.1rem;
        width: 0;
        height: 3px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 999px;
        transform: translateX(-50%);
        transition: width 0.2s ease;
    }

    .nav-link:hover::after {
        width: 70%;
    }

    .nav-link.active {
        background: rgba(255, 255, 255, 0.3);
    }

.btn-nav {
    background: #ffffff;
    padding-inline: 1rem;
    font-weight: 600;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.15);
}

    .btn-nav.active {
        background: #ffe5f5;
    }

/* Mobile nav toggle */

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    background: transparent;
    border: none;
    padding: 0.3rem;
    cursor: pointer;
}

    .nav-toggle span {
        width: 22px;
        height: 3px;
        border-radius: 999px;
        background: #fff;
        transform-origin: center;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .nav-toggle.nav-open span:nth-child(1) {
        transform: translateY(3px) rotate(45deg);
    }

    .nav-toggle.nav-open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.nav-open span:nth-child(3) {
        transform: translateY(-3px) rotate(-45deg);
    }

/* Hero */

.hero {
    background: radial-gradient(circle at top left, #ffe0f7 0, #fffafc 40%, #fffafc 100%);
    padding: 2.5rem 0 2.75rem;
}

    /* Full-width hero background setup */
    .hero.hero-full-bg {
        position: relative;
        overflow: hidden;
    }

        /* Full-width background image */
        .hero.hero-full-bg::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image: url("images/balloon-hero.png");
            background-size: cover;
            background-position: center right;
            background-repeat: no-repeat;
            z-index: 0;
        }

        /* Soft overlay so text is readable (FIXED: adds missing content/position/z-index) */
        .hero.hero-full-bg::after {
            content: "";
            position: absolute;
            inset: 0;
            background: transparent;
            z-index: 1;
        }

        /* Ensure hero content is above background and overlay */
        .hero.hero-full-bg .hero-content {
            position: relative;
            z-index: 2;
        }

        /* IMPORTANT: hide the inline hero <img> everywhere (prevents double image on mobile) */
        .hero.hero-full-bg .hero-image img {
            display: none;
        }

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
    gap: 2.25rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
    margin: 0 0 0.6rem;
}

    .hero-text h1 span {
        color: #ff4fa3;
    }

.hero-text p {
    margin: 0 0 1rem;
    font-size: 1.02rem;
    color: white;
    font: bold;
    font-weight:700
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

.hero-tagline {
    font-size: 0.95rem;
    opacity: 0.75;
}

.hero-image {
    position: relative;
}

    .hero-image img {
        border-radius: 24px;
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
    }

.hero-badge {
    position: absolute;
    bottom: -0.6rem;
    right: -0.4rem;
    background: #ffcf4a;
    color: #3b2a00;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* Sections */

.section {
    padding: 2.25rem 0;
}

.section-title {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.section-intro {
    text-align: center;
    max-width: 550px;
    margin: 0 auto 1.5rem;
}

.colored-bg {
    background: linear-gradient(135deg, #ffe4fb 0, #fff5d8 50%, #d9f7ff 100%);
}

/* Cards */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.2rem;
}

.card {
    background: #ffffffcc;
    border-radius: 20px;
    padding: 1.2rem 1.1rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(4px);
}

    .card.pop {
        animation: floatIn 0.7s ease both;
    }

.card-icon {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

/* Gallery */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.gallery-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

    .gallery-item figcaption {
        padding: 0.7rem 0.9rem 0.9rem;
        font-size: 0.9rem;
    }

/* Callout */

.callout {
    background: radial-gradient(circle at top, #ffccf1 0, #ffe9fa 45%, #fffafc 100%);
}

.callout-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

    .callout-inner h2 {
        margin: 0 0 0.4rem;
    }

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    text-decoration: none;
}

    .btn.primary {
        background: #ff4fa3;
        color: #fff;
        box-shadow: 0 4px 0 #c43175;
    }

    .btn.secondary {
        background: #ffffff;
        color: #ff4fa3;
        box-shadow: 0 3px 0 rgba(0, 0, 0, 0.15);
    }

    .btn.primary:hover {
        filter: brightness(1.05);
    }

    .btn.secondary:hover {
        background: #ffe4f5;
    }

    .btn.large {
        padding-inline: 1.6rem;
        padding-block: 0.7rem;
    }

    .btn.full-width {
        width: 100%;
    }

/* Page hero */

.page-hero {
    padding: 1.75rem 0 1.5rem;
    background: linear-gradient(90deg, #ff73c6, #ffcf4a, #7ee8fa);
    color: #2c1040;
}

    .page-hero.small-hero h1 {
        margin: 0 0 0.3rem;
    }

/* About */

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: center;
}

.about-photo img {
    border-radius: 24px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.fun-list {
    padding-left: 1.2rem;
    margin: 0.6rem 0 0;
}

    .fun-list li {
        margin-bottom: 0.25rem;
    }

/* Events */

/* Past Events */

.past-events {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 22px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.past-events-header,
.past-events-row {
    display: grid;
    grid-template-columns: 160px 132px 1.4fr 1fr; /* Date | Logo | Event | Location */
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    align-items: center;
}

.pe-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .pe-logo img {
        width: 132px;
        height: 132px;
        object-fit: contain;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.75);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
        padding: 6px;
    }


.past-events-header {
    font-weight: 700;
    background: rgba(255, 79, 163, 0.10);
}

.past-events-row {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pe-date {
    font-weight: 700;
}

.pe-location {
    opacity: 0.9;
}

/* Responsive: stacked cards on small screens */
@media (max-width: 768px) {
    .past-events-header {
        display: none;
    }

    .past-events-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .pe-logo {
        justify-content: flex-start;
        margin-bottom: 0.25rem;
    }

    .pe-name {
        font-size: 1.05rem;
        font-weight: 700;
    }
}

.past-events-footer {
    margin-top: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

    .past-events-footer .note {
        margin: 0;
        font-size: 0.95rem;
        opacity: 0.85;
    }


.events-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.event-card h2 {
    margin-top: 0;
}

.details-list {
    padding-left: 1.2rem;
    margin: 0.4rem 0 0;
}

.timeline {
    padding-left: 1.2rem;
    margin: 0.8rem 0 0;
}

    .timeline li {
        margin-bottom: 0.3rem;
    }

.schedule-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 1.75rem;
    align-items: start;
}

.schedule-note img {
    border-radius: 20px;
    margin-bottom: 0.7rem;
}

.schedule-note .note {
    font-size: 0.9rem;
}

/* Contact */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1.9rem;
    align-items: start;
}

.contact-form {
    background: #fff;
    border-radius: 22px;
    padding: 1.5rem 1.4rem;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.7rem;
}

label {
    font-size: 0.9rem;
    font-weight: 600;
}

input,
select,
textarea {
    border-radius: 999px;
    border: 2px solid #ffd7f2;
    padding: 0.45rem 0.75rem;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
}

textarea {
    border-radius: 16px;
    resize: vertical;
    min-height: 130px;
}

    input:focus,
    select:focus,
    textarea:focus {
        border-color: #ff4fa3;
        box-shadow: 0 0 0 2px rgba(255, 79, 163, 0.15);
    }

.form-note {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.4rem;
}

.contact-info {
    background: #fff7ff;
    border-radius: 22px;
    padding: 1.4rem 1.3rem;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.contact-list {
    padding-left: 1.1rem;
}

    .contact-list li {
        margin-bottom: 0.35rem;
    }

.contact-photo {
    margin-top: 0.8rem;
    border-radius: 18px;
}

/* Footer */

.site-footer {
    background: #2b103c;
    color: #fbefff;
    padding: 1.2rem 0;
    margin-top: 1.5rem;
}

.footer-content {
    text-align: center;
    font-size: 0.9rem;
}

.footer-small {
    opacity: 0.8;
    margin-top: 0.2rem;
}

/* Animations */

@keyframes floatIn {
    from {
        transform: translateY(12px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-layout,
    .schedule-layout,
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .callout-inner {
        flex-direction: column;
        text-align: center;
    }

    /* Mobile badge behavior: let it flow under the text instead of floating off-screen */
    .hero-badge {
        position: static;
        display: inline-block;
        margin-top: 1rem;
    }

    .hero-image {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background: linear-gradient(135deg, #ff73c6, #ffcf4a);
        padding: 0.5rem 1.2rem 0.8rem;
        flex-direction: column;
        align-items: flex-start;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
    }

        .main-nav.nav-open {
            transform: translateY(0);
            opacity: 1;
            pointer-events: auto;
        }

    .nav-link,
    .btn-nav {
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .cards-grid,
    .gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 1.5rem;
    }


    /* Make ASP.NET server controls inherit your form styles */
    .asp-input,
    .asp-select {
        width: 100%;
    }

    .asp-textarea {
        width: 100%;
    }

    .field-error {
        color: #b00020;
        font-size: 0.85rem;
        margin-top: 0.25rem;
        display: block;
    }


}
