/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Color Palette extracted from reference images */
    --color-lilac: #E0C3FC;
    --color-soft-pink: #F9C5D1;
    --color-deep-purple: #8E44AD;
    /* For accents/darker text */
    --color-cyan-accent: #8EC5FC;
    /* Subtle blue gradient mix */
    --color-white: #ffffff;
    --color-text-dark: #2c2c2c;
    --color-text-light: #666666;

    /* Gradients */
    --gradient-main: linear-gradient(135deg, #E0C3FC 0%, #F9C5D1 100%);
    --gradient-wave: linear-gradient(90deg, #E0C3FC, #8EC5FC, #F9C5D1);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
    /* Prevent horizontal scroll from decorative elements */
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   2. UTILITIES & LAYOUT
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-padding {
    padding: var(--section-padding);
}

.highlight {
    color: var(--color-deep-purple);
    font-style: italic;
}

/* Diagonal grid lines pattern seen in templates */
.bg-grid-lines {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-main);
    color: var(--color-text-dark);
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(224, 195, 252, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 195, 252, 0.6);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--color-deep-purple);
    color: var(--color-deep-purple);
    border-radius: 50px;
    font-weight: 500;
    margin-left: 10px;
}

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

/* =========================================
   3. TYPOGRAPHY
   ========================================= */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    color: var(--color-text-dark);
}

h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

p.subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    font-weight: 300;
    margin-bottom: 20px;
}

/* =========================================
   4. NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.logo-img {
    height: 65px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding: 160px 0 100px 0;
    /* Top padding accounts for fixed navbar */
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #fff 0%, rgba(224, 195, 252, 0.1) 100%);
    overflow: hidden;
}

/* Background Wavy/Blurry Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.wave {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.wave-1 {
    width: 500px;
    height: 500px;
    background: var(--color-lilac);
    top: -100px;
    right: -100px;
}

.wave-2 {
    width: 600px;
    height: 600px;
    background: var(--color-soft-pink);
    bottom: -150px;
    left: -150px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--color-text-light);
    max-width: 500px;
}

/* Image with Grid Overlay lines styling */
.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    /* Optional: Soft corners */
    overflow: hidden;
    box-shadow: 20px 20px 0 rgba(224, 195, 252, 0.3);
    /* Offset shadow block */
}

/* Circular Text Badge */
.circle-text-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 140px;
    height: 140px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    animation: spin 20s linear infinite;
    z-index: 3;
}

.circle-text-badge svg {
    width: 100%;
    height: 100%;
}

@keyframes spin {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* =========================================
   6. VALUES / PHILOSOPHY
   ========================================= */
#philosophy {
    background-color: var(--color-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    text-align: center;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    transition: 0.3s;
    background: #fff;
}

.value-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--color-lilac);
}

.value-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(45deg, var(--color-lilac), var(--color-soft-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* =========================================
   7. PROGRAMS SECTION
   ========================================= */
.bg-light {
    background-color: #fbfbfb;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.col-text,
.col-image {
    flex: 1;
}

.col-image img {
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.program-list {
    margin-top: 20px;
    margin-bottom: 30px;
}

.program-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.program-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--color-soft-pink);
    border-radius: 50%;
}

/* =========================================
   8. TRUST / TEACHERS
   ========================================= */
.trust-section {
    background: var(--gradient-main);
    color: var(--color-text-dark);
    position: relative;
    overflow: hidden;
}

/* Add some transparent grid lines over the gradient */
.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.large-text {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin: 30px auto;
    max-width: 800px;
}

/* =========================================
   9. FOOTER
   ========================================= */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-logo h2 {
    color: var(--color-white);
    margin-bottom: 5px;
}

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

.footer-links ul li a:hover {
    color: var(--color-lilac);
}

.btn-outline {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    border: 1px solid #fff;
    border-radius: 30px;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    color: #888;
}

.footer-logo-img {
    height: 60px;
}

.footer-tagline {
    color: var(--color-lilac);
    font-style: italic;
    margin-top: 10px;
    font-size: 0.9rem;
}

.footer-links h3,
.footer-social h3,
.footer-schedule h3,
.footer-contact h3 {
    color: var(--color-lilac);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-links ul li i {
    margin-right: 8px;
    color: var(--color-soft-pink);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-btn.instagram {
    background: var(--gradient-main);
    color: var(--color-text-dark);
}

.social-btn.facebook {
    background: var(--gradient-main);
    color: var(--color-text-dark);
}

.social-btn.whatsapp {
    background: var(--gradient-main);
    color: var(--color-text-dark);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Schedule Items */
.schedule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.schedule-item i {
    color: var(--color-soft-pink);
    font-size: 1.2rem;
}

.schedule-item strong {
    display: block;
    color: #fff;
}

.schedule-item span {
    font-size: 0.9rem;
    color: #aaa;
}

/* Footer Contact */
.footer-contact p {
    margin-bottom: 8px;
}

.footer-contact i {
    color: var(--color-soft-pink);
    margin-right: 8px;
}

.btn-cta-footer {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: var(--gradient-main);
    color: var(--color-text-dark);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-cta-footer:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(224, 195, 252, 0.5);
}

.btn-cta-footer i {
    color: inherit;
    margin-right: 8px;
}

/* Footer Map */
.footer-map {
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* =========================================
   10. CATALOG PAGE
   ========================================= */
.catalog-hero {
    position: relative;
    padding: 160px 0 80px 0;
    background: linear-gradient(180deg, #fff 0%, rgba(224, 195, 252, 0.15) 100%);
    overflow: hidden;
}

.catalog-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-main);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.catalog-subtitle {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    color: var(--color-deep-purple);
    margin-bottom: 20px;
}

.catalog-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.catalog-section {
    background: #fbfbfb;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.costume-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.costume-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(224, 195, 252, 0.4);
}

.costume-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.costume-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.costume-card:hover .costume-image img {
    transform: scale(1.05);
}

.costume-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.costume-card:hover .costume-overlay {
    opacity: 1;
}

.costume-sku {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-deep-purple);
    letter-spacing: 0.5px;
}

.costume-info {
    padding: 20px;
    text-align: center;
}

.costume-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--color-text-dark);
}

.costume-info p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-style: italic;
}

.catalog-cta {
    background: var(--gradient-main);
    position: relative;
    overflow: hidden;
}

.catalog-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.catalog-cta h2 {
    color: var(--color-text-dark);
    margin-bottom: 15px;
}

.catalog-cta p {
    color: var(--color-text-dark);
    max-width: 500px;
    margin: 0 auto 25px;
}

.catalog-cta .btn-primary {
    background: #fff;
    color: var(--color-deep-purple);
}

.catalog-cta .btn-primary:hover {
    background: var(--color-deep-purple);
    color: #fff;
}

/* Active nav link */
.nav-links li a.active {
    color: var(--color-deep-purple);
    font-weight: 600;
}

/* =========================================
   11. FRANCHISE PAGE
   ========================================= */
.franchise-section {
    background: #fff;
}

.franchise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.franchise-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.franchise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(224, 195, 252, 0.3);
    border-color: var(--color-lilac);
}

.franchise-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.franchise-icon i {
    font-size: 2rem;
    color: var(--color-deep-purple);
}

.franchise-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.franchise-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.mb-50 {
    margin-bottom: 50px;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-main);
    margin: 15px auto;
    border-radius: 2px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   12. RESPONSIVE MEDIA QUERIES
   ========================================= */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Mobile menu hidden by default */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-content,
    .row {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .col-image {
        order: -1;
    }

    /* Image first on mobile */

    .circle-text-badge {
        width: 100px;
        height: 100px;
        bottom: -20px;
        left: -10px;
    }
}