/* ===================================
   Uku Kids Events - Main Stylesheet
   Mobile-First, Salonelle-Inspired Design
   =================================== */

/* ===== CSS Variables ===== */
:root {
    --color-primary: #c28b7d;
    --color-secondary: #c28b7d;
    --color-accent: #c28b7d;
    --color-white: #FFFFFF;
    --color-cream: #FFFFFF;
    --color-charcoal: #000000;
    --color-gray: #000000;
    --color-light-gray: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --transition: 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-charcoal);
    line-height: 1.6;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.125rem;
    color: var(--color-gray);
    max-width: 800px;
    margin: 0 auto;
}

/* ===== Layout ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.section {
    padding: 2.5rem 0;
    overflow-x: hidden;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.bg-cream {
    background-color: var(--color-cream);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--color-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: transform var(--transition);
    box-sizing: border-box;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-charcoal);
    font-weight: 600;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.logo-text {
    display: inline-block;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--color-charcoal);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-menu a.active {
    color: var(--color-accent);
}

/* Override for button in nav */
.nav-menu a.btn-nav,
.nav-menu a.btn-nav:hover,
.nav-menu a.btn-nav:active,
.nav-menu a.btn-nav:focus,
.nav-menu a.btn-nav:visited {
    color: var(--color-white) !important;
}

.mobile-toggle {
    display: block;
    background: none;
    border: none;
    width: 30px;
    height: 25px;
    cursor: pointer;
    position: relative;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-charcoal);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-toggle span:nth-child(3) { bottom: 0; }

.mobile-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu */
.nav-menu.mobile {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 2rem;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: transform var(--transition);
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.nav-menu.mobile.active {
    transform: translateY(0);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background: #a06d5f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(194, 139, 125, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-charcoal);
    border-color: var(--color-charcoal);
}

.btn-outline:hover {
    background: var(--color-charcoal);
    color: var(--color-white);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-white:hover {
    background: var(--color-cream);
}

.btn-nav {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
}

.btn-nav:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-nav:active,
.btn-nav:focus {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-nav:visited {
    color: var(--color-white);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--color-white);
    padding: 2rem;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* ===== Intro Section ===== */
.intro {
    text-align: center;
}

.about-preview {
    text-align: center;
    padding: 2.5rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-color: var(--color-light-gray);
}

.service-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-content h3 {
    margin-bottom: 0.75rem;
}

.service-content p {
    color: var(--color-gray);
    margin-bottom: 1rem;
}

.service-content .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* ===== Testimonials ===== */
.testimonials {
    background: var(--color-cream);
    padding: 2.5rem 0;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 250px;
}

.testimonial-item {
    text-align: center;
    padding: 1.5rem;
    display: none;
}

.testimonial-item.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.stars {
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-charcoal);
}

.testimonial-location {
    color: var(--color-gray);
    font-size: 0.875rem;
}

.testimonial-dots {
    text-align: center;
    margin-top: 1.5rem;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--color-primary);
}

/* ===== Call to Action ===== */
.cta {
    background: #c28b7d;
    color: var(--color-white);
    text-align: center;
    padding: 2.5rem 0;
}

.cta h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-charcoal);
    color: var(--color-white);
    padding: 3rem 0 1rem;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: rgba(255,255,255,0.8);
}

.footer-col a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.social-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover .social-icon {
    background: var(--color-primary);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.social-username {
    color: rgba(255,255,255,0.9);
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

/* ===== Animations ===== */
.fade-in {
    animation: fadeInUp 0.8s ease;
}

.fade-in-delay {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.fade-in-delay-2 {
    animation: fadeInUp 0.8s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Tablet (768px+) ===== */
@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    
    .section {
        padding: 3.5rem 0;
    }
    
    .stats-section {
        padding: 2.5rem 0;
    }
    
    .testimonials {
        padding: 3.5rem 0;
    }
    
    .cta {
        padding: 3.5rem 0;
    }
    
    .instagram-section {
        padding: 3.5rem 0;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
    
    .mobile-toggle {
        display: none;
    }
    
    .nav-menu {
        display: flex;
    }
    
    .nav-menu.mobile {
        position: static !important;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
        transform: none !important;
        display: flex !important;
        max-height: none;
        overflow: visible;
    }
}

/* ===== Desktop (1024px+) ===== */
@media (min-width: 1024px) {
    .section {
        padding: 4rem 0;
    }
    
    .stats-section {
        padding: 3rem 0;
    }
    
    .testimonials {
        padding: 4rem 0;
    }
    
    .cta {
        padding: 4rem 0;
    }
    
    .instagram-section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        margin-bottom: 2.5rem;
    }
    
    h1 { font-size: 4rem; }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .service-content {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .process-step {
        padding: 2rem 1.5rem;
    }
}

/* ===== Mobile Responsive for New Sections ===== */
@media (max-width: 767px) {
    .section {
        padding: 2rem 0;
    }
    
    .stats-section {
        padding: 1.5rem 0;
    }
    
    .testimonials {
        padding: 2rem 0;
    }
    
    .cta {
        padding: 2rem 0;
    }
    
    .instagram-section {
        padding: 2rem 0;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 0.75rem 0.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
        margin-bottom: 0.25rem;
    }
    
    .services-grid {
        gap: 1.25rem;
    }
    
    .service-content {
        padding: 1.25rem;
    }
    
    .service-content h3 {
        margin-bottom: 0.5rem;
    }
    
    .service-content p {
        margin-bottom: 0.75rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .process-step {
        padding: 1.25rem 1rem;
    }
    
    .process-step h3 {
        min-height: auto;
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }
    
    .step-number-circle {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .trust-badge {
        padding: 0.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 0.75rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .cta h2 {
        margin-bottom: 0.75rem;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .mobile-toggle {
        display: block !important;
    }
    
    .nav-menu:not(.mobile) {
        display: none !important;
    }
    
    .hero {
        margin-top: 70px;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

/* ===== Stats Section ===== */
.stats-section {
    background: var(--color-cream);
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    padding: 1rem 0.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--color-gray);
    font-size: 1rem;
    font-weight: 500;
}

/* ===== Service Features ===== */
.service-features {
    margin: 1rem 0 1.5rem 0;
}

.feature-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(194, 139, 125, 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--color-charcoal);
    margin-right: 0.5rem;
}

/* ===== Icon Large ===== */
.icon-large {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

/* ===== Why Choose Grid (2 columns) ===== */
.why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

/* ===== Process Steps ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: start;
}

.process-step {
    text-align: center;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.step-number-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    font-family: var(--font-heading);
    flex-shrink: 0;
    line-height: 1;
    padding: 0;
}

.process-step h3 {
    margin-bottom: 0.75rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.process-step p {
    margin: 0;
    text-align: center;
}

/* ===== Trust Badges ===== */
.trust-section {
    background: var(--color-white);
    padding: 3rem 0;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-badge {
    padding: 1rem;
}

.badge-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.trust-badge p {
    margin: 0;
    font-weight: 500;
    color: var(--color-charcoal);
}

/* ===== CTA Buttons ===== */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ===== Instagram Section ===== */
.instagram-section {
    background: var(--color-cream);
    padding: 2.5rem 0;
}

.instagram-feed {
    margin-top: 2rem;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.instagram-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
}

.instagram-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.instagram-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: var(--transition);
}

.instagram-placeholder {
    opacity: 0.5;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.instagram-icon {
    font-size: 2rem;
    color: white;
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-item:hover .instagram-image {
    transform: scale(1.1);
}

/* ===== Mobile Sticky CTA Button ===== */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(194, 139, 125, 0.4);
    animation: slideInUp 0.5s ease;
}

.mobile-sticky-cta a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-sticky-cta a:hover,
.mobile-sticky-cta a:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(194, 139, 125, 0.5);
}

.mobile-sticky-cta-icon {
    font-size: 1.1rem;
}

/* Only show on mobile devices */
@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
    }
    
    /* Add padding to bottom of page so button doesn't cover content */
    body {
        padding-bottom: 80px;
        padding-left: 0;
        padding-right: 0;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .footer,
    .btn,
    .mobile-sticky-cta {
        display: none;
    }
}
