/* Design Tokens */
:root {
    /* Colors - Lilac Theme (Dark Mode) */
    --bg-dark: #0f0a14;
    --bg-card: #1c1524;
    --bg-card-hover: #261c30;
    
    --primary-lilac: #C8A2C8;
    --primary-light: #E6C8E6;
    --primary-dark: #9A7B9A;
    --whatsapp-green: #25D366;
    
    --accent-glow: rgba(200, 162, 200, 0.4);
    
    --text-main: #f0eef5;
    --text-muted: #a69bb5;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions & Shadows */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(200, 162, 200, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography Utilities */
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Thematic Backgrounds */
.theme-coraline, .theme-jack, .theme-corpse-bride, .theme-spongebob {
    position: relative;
    overflow: hidden;
}

.theme-coraline::before, .theme-jack::before, .theme-corpse-bride::before, .theme-spongebob::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    opacity: 0.15;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    pointer-events: none;
    mix-blend-mode: screen;
}

.theme-coraline::before { background-image: url('coraline_bg.png'); }
.theme-jack::before { background-image: url('jack_bg.png'); }
.theme-corpse-bride::before { background-image: url('corpse_bride_bg.png'); }
.theme-spongebob::before { background-image: url('spongebob_bg.png'); }

.hero-content, .hero-visual, .section-content {
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn-primary, .btn-primary-sm, .btn-secondary, .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-smooth);
    cursor: pointer;
    font-family: var(--font-heading);
    border: none;
    font-size: 1rem;
}

.btn-primary-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.btn-primary, .btn-primary-sm {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-lilac));
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(200, 162, 200, 0.3);
}

.btn-primary:hover, .btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 162, 200, 0.5);
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(15, 10, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary-lilac);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-primary-sm) {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-links a:not(.btn-primary-sm):hover {
    color: var(--primary-light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 6rem 5% 2rem;
    gap: 4rem;
}

.badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    background: rgba(200, 162, 200, 0.1);
    border: 1px solid rgba(200, 162, 200, 0.2);
    color: var(--primary-lilac);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-quote {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.hero-quote span {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-lilac));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bio-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    max-width: 95%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-carousel {
    width: 100%;
    max-width: 450px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.hero-track-wrapper {
    height: 600px !important;
    border-radius: 30px !important;
    box-shadow: var(--shadow-soft) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.hero-carousel .carousel-item {
    padding: 0 !important;
}

.hero-carousel .carousel-item img {
    object-fit: cover !important;
    border-radius: 30px !important;
    width: 100%;
    height: 100%;
}

/* Glow effects */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.glow-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-glow);
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
}

.glow-2 {
    width: 250px;
    height: 250px;
    background: rgba(154, 123, 154, 0.3);
    bottom: -10%;
    left: 20%;
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 5%;
}

.portfolio h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Carousel Styles */
.carousel-container {
    display: none;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
    border-radius: 20px;
    background: rgba(28, 21, 36, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

.carousel-container.active {
    display: block;
}

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

.carousel-track-wrapper {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    height: 70vh;
    max-height: 800px;
    display: flex;
    align-items: center;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 1rem;
}

.carousel-item img, 
.carousel-item video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.carousel-item video {
    background: #000;
}

.carousel-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-family: var(--font-heading);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(200, 162, 200, 0.4);
    border: 1px solid rgba(200, 162, 200, 0.6);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: rgba(200, 162, 200, 0.8);
    box-shadow: 0 0 15px rgba(200, 162, 200, 0.5);
}

.prev-btn { left: -25px; }
.next-btn { right: -25px; }

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-fast);
}

.indicator.active {
    background: var(--primary-lilac);
    transform: scale(1.3);
}

/* Services Section */
.services {
    padding: 6rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

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

.service-card {
    background: rgba(28, 21, 36, 0.6);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(38, 28, 48, 0.8);
    border-color: rgba(200, 162, 200, 0.2);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: rgba(200, 162, 200, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--primary-lilac);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 8rem 5%;
    display: flex;
    justify-content: center;
}

.contact-box {
    background: rgba(28, 21, 36, 0.7);
    backdrop-filter: blur(15px);
    padding: 4rem;
    border-radius: 30px;
    max-width: 800px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-lilac), var(--primary-light));
}

.contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-box p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* WhatsApp Card */
.whatsapp-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: linear-gradient(145deg, #1e2a22, #111a14);
    border: 1px solid rgba(37, 211, 102, 0.3);
    padding: 1.5rem 3rem;
    border-radius: 20px;
    margin: 0 auto 3rem;
    max-width: 400px;
    transition: var(--transition-smooth);
}

.whatsapp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
    border-color: var(--whatsapp-green);
}

.whatsapp-icon {
    color: var(--whatsapp-green);
    display: flex;
    align-items: center;
}

.whatsapp-text {
    text-align: left;
}

.whatsapp-text h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.whatsapp-text p {
    color: var(--whatsapp-green);
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

.social-links p {
    margin-bottom: 1rem;
    font-weight: 500;
}

.social-links .links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--primary-lilac);
    font-weight: 600;
    transition: var(--transition-fast);
}

.social-links a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 8rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-quote {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none;
    }

    .contact-box {
        padding: 2rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .prev-btn { left: -15px; }
    .next-btn { right: -15px; }
    
    .carousel-track-wrapper {
        height: 60vh;
    }

    .hero-track-wrapper {
        height: 500px !important;
    }
}

@media (max-width: 480px) {
    .hero-quote {
        font-size: 1.8rem;
    }
}
