/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
   :root {
    /* Colors - Black and Pastel Girly Theme */
    --bg-color: #FFF0F5; /* Lavender blush / very soft pastel pink */
    --bg-surface: #FFFFFF; /* Pure white */
    --text-primary: #000000; /* Pure black for high contrast */
    --text-secondary: #444444; /* Dark grey */
    --accent-cyan: #B5EAD7; /* Pastel mint */
    --accent-pink: #FFDAC1; /* Pastel peach/pink */
    --accent-purple: #E2F0CB; /* Pastel yellow-green */
    --accent-cream: #FFB7B2; /* Pastel rose */
    --accent-cream-dim: rgba(255, 183, 178, 0.3);
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Layout */
    --container-width: 1200px;
    --container-padding: 2rem;
    --section-padding: 8rem 0;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400; /* Elegant light weight */
    line-height: 1.3;
    letter-spacing: 0.03em;
    font-style: italic; /* A touch of elegance */
}

h1 { font-style: normal; } /* Keep H1 normal */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--accent-cream);
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--text-primary); /* Black button */
    color: #ffffff; /* White text */
    border-radius: 30px; /* Pill shape */
    border: 2px solid var(--text-primary);
    box-shadow: 4px 4px 0px rgba(0,0,0,1);
    position: relative;
    overflow: hidden;
    font-weight: 600;
}

.btn-primary:hover {
    color: var(--text-primary);
    background: var(--accent-cream); /* Hover turns pastel rose */
    border-color: var(--text-primary);
    transform: translateY(-2px) translateX(-2px);
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 1);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: background-color var(--transition-fast), padding var(--transition-fast);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 240, 245, 0.8);
    border-bottom: 2px solid var(--text-primary);
}

.header.scrolled {
    padding: 1rem 0;
    background-color: rgba(255, 240, 245, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 2px;
    font-weight: 400;
    font-style: italic;
    color: var(--text-primary);
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--text-primary);
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-cream);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    z-index: 9999;
}

.hamburger {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    position: relative;
    transition: background-color 0.2s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--text-primary);
    transition: transform 0.2s, top 0.2s;
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
    overflow: hidden;
}

.mesh-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(at 80% 0%, rgba(255, 183, 178, 0.4) 0px, transparent 50%), /* Pastel Rose */
        radial-gradient(at 0% 50%, rgba(181, 234, 215, 0.4) 0px, transparent 50%), /* Pastel Mint */
        radial-gradient(at 80% 100%, rgba(255, 218, 193, 0.4) 0px, transparent 50%), /* Pastel Peach */
        radial-gradient(at 0% 0%, rgba(226, 240, 203, 0.4) 0px, transparent 50%); /* Pastel Yellow-green */
    filter: blur(80px);
    opacity: 1;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.hero-text-area {
    flex: 1;
    max-width: 650px;
}

.hero-glass-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 350px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--text-primary); /* Solid black border */
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 4px 4px 0px rgba(0,0,0,1); /* Brutalist girly drop shadow */
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.glass-card:hover {
    transform: translateY(-2px) translateX(-2px);
    box-shadow: 6px 6px 0px rgba(0,0,0,1);
}

.glass-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-pink); /* Pastel pink icon background */
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.glass-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.glass-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 6rem);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 750px;
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.6;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--accent-cream);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--accent-cream);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 2rem;
}

.bento-card {
    background-color: var(--bg-surface);
    border: 2px solid var(--text-primary);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 1);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-3px) translateX(-3px);
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 1);
}

.bento-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-small {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.service-icon {
    color: var(--text-primary);
    margin-bottom: 2rem;
    opacity: 0.8;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 400;
    font-style: italic;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   Ideal Customers Section
   ========================================================================== */
.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%); /* Full viewport width */
    padding: 2rem 0;
    display: flex;
}

.marquee-wrapper::before, .marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15vw;
    height: 100%;
    z-index: 2;
}
.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-surface), transparent);
}
.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-surface), transparent);
}

.marquee-content {
    display: inline-flex;
    gap: 2rem;
    animation: scrollMarquee 30s linear infinite;
    padding-left: 2rem;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.3333%); } /* Since we duplicated 3 times */
}

.industry-tag {
    padding: 1.2rem 3rem;
    border: 2px solid var(--text-primary);
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--accent-cyan);
    box-shadow: 3px 3px 0px rgba(0,0,0,1);
    display: inline-block;
    transition: all var(--transition-fast);
}

.industry-tag:hover {
    background-color: var(--accent-cream);
    transform: translateY(-2px) translateX(-2px);
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 1);
}

/* ==========================================================================
   Work / Portfolio Section
   ========================================================================== */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
}

.work-item {
    cursor: pointer;
}

.work-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 1.5rem;
    background-color: var(--bg-surface);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.work-item:hover .work-img {
    transform: scale(1.05);
}

.work-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.work-category {
    font-family: var(--font-sans);
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    background-color: var(--accent-pink);
    color: var(--text-primary);
    border-top: 2px solid var(--text-primary);
    border-bottom: 2px solid var(--text-primary);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 4rem;
    padding-left: 4rem;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 6rem 0 2rem;
    background-color: var(--bg-surface);
    color: var(--text-primary);
    border-top: 1px solid rgba(0,0,0,0.05);
}
.footer h2, .footer-heading {
    color: var(--text-primary);
}
.footer-desc, .footer-bottom, .footer-legal a {
    color: var(--text-secondary);
}
.footer-link {
    color: var(--text-primary);
}
.footer-link:hover, .footer-legal a:hover {
    color: var(--text-primary);
    opacity: 0.7;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-style: italic;
}

.footer-logo h2 {
    font-size: 2rem;
    letter-spacing: 2px;
    margin: 0;
}

.logo-icon-large {
    width: 56px;
    height: 56px;
}

.footer-desc {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-heading {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-link:hover {
    color: var(--accent-cream);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-legal a {
    margin-left: 1.5rem;
}

.footer-legal a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stats {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(18,18,18,0.2);
        padding-top: 2rem;
    }
    
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1.25rem;
        --section-padding: 5rem 0;
    }

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

    .mobile-nav-toggle {
        display: block;
    }

    .primary-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-fast);
        gap: 2rem;
    }

    .primary-navigation.is-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-link {
        font-size: 1.5rem;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal a {
        margin: 0 0.5rem;
    }
    
    /* Mobile Hero Fixes */
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
        word-wrap: break-word;
        hyphens: auto;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
    }
    
    .hero-text-area {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-glass-cards {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .glass-card {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .glass-num {
        font-size: 1.5rem;
    }
    
    .glass-icon {
        width: 40px;
        height: 40px;
    }

    /* Mobile Bento & Other Boxes */
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .bento-card {
        padding: 1.5rem 1.25rem;
    }
    
    .bento-large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .service-title {
        font-size: 1.5rem;
    }
    
    .industry-tag {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-stats {
        flex-direction: column;
        gap: 2rem;
    }
}

/* ==========================================================================
   Contact Modal
   ========================================================================== */
.contact-modal {
    border: none;
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    background-color: var(--bg-surface);
    color: var(--text-primary);
    box-shadow: 8px 8px 0px var(--text-primary);
    border: 2px solid var(--text-primary);
    margin: auto;
}

.contact-modal::backdrop {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.contact-modal .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
}

.contact-modal .close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-primary);
    transition: transform var(--transition-fast);
}

.contact-modal .close-btn:hover {
    transform: scale(1.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 2px solid var(--text-primary);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background-color: var(--bg-base);
    color: var(--text-primary);
    transition: box-shadow var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 4px 4px 0px var(--accent-rose);
}
