/* =====================================================
   FONSECA STUDIO - UX DESIGNER PORTFOLIO
   ===================================================== */

/* CSS Variables */
:root {
    --primary-color: #000000;
    --primary-dark: #1a1a1a;
    --secondary-color: #333333;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --success-color: #000000;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --primary-color: #ffffff;
    --primary-dark: #e5e5e5;
    --secondary-color: #cccccc;
    --text-dark: #f8fafc;
    --text-gray: #cbd5e1;
    --text-light: #94a3b8;
    --bg-white: #0a0a0a;
    --bg-light: #111111;
    --bg-dark: #f8fafc;
    --border-color: rgba(255, 255, 255, 0.1);
    --success-color: #ffffff;
}

/* =====================================================
   GLOBAL ANIMATIONS
   ===================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textReveal {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes lineGrow {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Animation utility classes */
.animate-on-scroll {
    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);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Magnetic button effect */
.magnetic-btn {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Smooth link underline animation */
.link-underline {
    position: relative;
    text-decoration: none;
}

.link-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-underline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Glow effect on hover - Black/White only */
.glow-on-hover {
    transition: box-shadow 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .glow-on-hover:hover {
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

/* Text Shimmer Effect */
.text-shimmer {
    background: linear-gradient(
        90deg,
        var(--text-dark) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        var(--text-dark) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 3s linear infinite;
}

[data-theme="dark"] .text-shimmer {
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0.5) 50%,
        #ffffff 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
}

@keyframes shimmerText {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* Hover Slide Effect */
.hover-slide {
    position: relative;
    overflow: hidden;
}

.hover-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.5s ease;
}

[data-theme="dark"] .hover-slide::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

.hover-slide:hover::before {
    left: 100%;
}

/* Image reveal effect */
.image-reveal {
    position: relative;
    overflow: hidden;
}

.image-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    z-index: 1;
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.image-reveal.visible::before {
    transform: scaleX(0);
}

/* Text split animation */
.split-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.split-text.visible .char {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #000000;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
}

[data-theme="dark"] .custom-cursor {
    border-color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .cursor-dot {
    background: #ffffff;
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
    .custom-cursor, .cursor-dot {
        display: none !important;
    }
}

/* Cursor Trail */
.cursor-trail {
    position: fixed;
    pointer-events: none;
    z-index: 99998;
}

.trail-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
    transform: translate(-50%, -50%);
}

[data-theme="dark"] .trail-dot {
    background: rgba(255, 255, 255, 0.15);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: #000000;
    width: 0;
    z-index: 100000;
    transition: width 0.1s linear;
}

[data-theme="dark"] .scroll-progress {
    background: #ffffff;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

[data-theme="dark"] .btn-secondary .ripple,
.btn-secondary .ripple {
    background: rgba(0, 0, 0, 0.1);
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Button overflow for ripple */
.btn-primary, .btn-hero, .cta-button, .btn-submit {
    position: relative;
    overflow: hidden;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: rotate 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

/* Theme transition */
.theme-transition,
.theme-transition *,
.theme-transition *::before,
.theme-transition *::after {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease !important;
}

/* Page loaded state */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

/* Form focus state */
.form-group.focused label {
    color: var(--primary-color);
}

.form-group.focused input,
.form-group.focused textarea {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .form-group.focused input,
[data-theme="dark"] .form-group.focused textarea {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

/* Hover lift effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Border animation on hover */
.border-animate {
    position: relative;
}

.border-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--primary-color);
    border-radius: inherit;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.border-animate:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* Tilt effect on cards */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* =====================================================
   BACKGROUND MICRO-INTERACTIONS
   ===================================================== */

/* Floating Particles Container */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    animation: floatParticle 20s infinite ease-in-out;
}

[data-theme="dark"] .particle {
    background: rgba(255, 255, 255, 0.1);
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}


/* Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Gradient Orbs */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: orbFloat 25s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(0, 0, 0, 0.03);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(0, 0, 0, 0.02);
    bottom: -150px;
    left: -100px;
    animation-delay: -10s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(0, 0, 0, 0.025);
    top: 50%;
    left: 50%;
    animation-delay: -5s;
}

[data-theme="dark"] .orb-1 {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .orb-2 {
    background: rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .orb-3 {
    background: rgba(255, 255, 255, 0.025);
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(-30px, -20px) scale(1.02);
    }
}



/* Section Divider Animation */
.section-divider {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    overflow: hidden;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);
    animation: dividerShine 4s infinite ease-in-out;
}

[data-theme="dark"] .section-divider::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

@keyframes dividerShine {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Hover Spotlight Effect */
.spotlight-card {
    position: relative;
    overflow: hidden;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

[data-theme="dark"] .spotlight-card::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

.spotlight-card:hover::before {
    opacity: 1;
}

/* Text Reveal Line */
.text-reveal {
    position: relative;
    overflow: hidden;
}

.text-reveal::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transform: translateX(-101%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-reveal:hover::after {
    transform: translateX(0);
}

/* Dot Pattern */
.dot-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    opacity: 0.5;
}

[data-theme="dark"] .dot-pattern {
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

/* =====================================================
   NAVIGATION - BerrielBrands Style
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 40px;
    box-shadow: 0 1px 0 var(--border-color);
}

[data-theme="dark"] .navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 10px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 8px 4px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 4px;
    right: 4px;
    height: 1px;
    background: var(--text-dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .nav-link::after {
    background: #ffffff;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover {
    color: var(--text-dark);
}

.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 -20px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-img {
    height: 24px;
    width: auto;
    transition: opacity 0.3s ease;
}

/* Light mode: show black logo, hide white logo */
.nav-logo-img.logo-light {
    display: block;
}

.nav-logo-img.logo-dark {
    display: none;
}

/* Dark mode: show white logo, hide black logo */
[data-theme="dark"] .nav-logo-img.logo-light {
    display: none;
}

[data-theme="dark"] .nav-logo-img.logo-dark {
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-cta {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--text-dark);
    color: var(--bg-white);
    border-color: var(--text-dark);
}

.dark-mode-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.dark-mode-toggle:hover {
    border-color: var(--text-dark);
    background: var(--bg-light);
}

.dark-mode-toggle svg {
    position: absolute;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.dark-mode-toggle .icon-sun {
    opacity: 1;
}

.dark-mode-toggle .icon-moon {
    opacity: 0;
}

[data-theme="dark"] .dark-mode-toggle .icon-sun {
    opacity: 0;
}

[data-theme="dark"] .dark-mode-toggle .icon-moon {
    opacity: 1;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    border-color: var(--text-dark);
}

.mobile-menu-toggle span {
    width: 14px;
    height: 1.5px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(2px, 2px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    transform: rotate(-45deg) translate(2px, -2px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

[data-theme="dark"] .mobile-menu {
    background: var(--bg-white);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-link {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.mobile-link:hover {
    opacity: 0.6;
}

.mobile-cta {
    display: inline-block;
    margin-top: 16px;
    padding: 14px 28px;
    background: var(--text-dark);
    color: var(--bg-white) !important;
    border-radius: 100px;
    font-size: 16px;
    width: fit-content;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 60px;
    overflow: hidden;
    background: #ffffff;
}

[data-theme="dark"] .hero {
    background: #0a0a0a;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* ========================================
   PREMIUM GRID - CENTERED WITH CIRCULAR FADE
   ======================================== */
.hero-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1400px;
    height: 1400px;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
    background-size: 70px 70px;
    background-position: center center;
    mask-image: radial-gradient(circle at center, black 0%, black 40%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, black 40%, transparent 70%);
    animation: gridReveal 1.5s ease-out both;
    pointer-events: none;
}

[data-theme="dark"] .hero-grid {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}

@keyframes gridReveal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero-availability {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-availability .availability-badge {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    color: #ffffff;
    padding: 8px 18px;
    font-weight: 500;
    font-size: 13px;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.hero-availability .availability-badge .pulse {
    background: #ffffff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .hero-availability .availability-badge {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
}

.hero-logo {
    margin-bottom: 8px;
    opacity: 0;
    animation: heroLogoReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes heroLogoReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.logo-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-image:hover {
    transform: scale(1.02);
}

.hero-tagline {
    margin-bottom: 16px;
    opacity: 0;
    animation: heroTextReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

@keyframes heroTextReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-tagline p {
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-gray);
    letter-spacing: -0.01em;
    max-width: 800px;
    margin: 0 auto;
    white-space: nowrap;
}

.text-highlight {
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transform: scaleX(0);
    transform-origin: right;
    animation: underlineReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.5s forwards;
}

/* Creative strikethrough effect - problems get SOLVED */
.highlight-strike {
    position: relative;
    display: inline-block;
    font-style: italic;
}

.highlight-strike::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -4px;
    right: -4px;
    height: 3px;
    background: var(--text-dark);
    transform: scaleX(0) rotate(-2deg);
    transform-origin: left;
    animation: strikeReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 2s forwards;
}

[data-theme="dark"] .highlight-strike::before {
    background: #ffffff;
}

@keyframes strikeReveal {
    0% {
        transform: scaleX(0) rotate(-2deg);
    }
    100% {
        transform: scaleX(1) rotate(-2deg);
    }
}

[data-theme="dark"] .text-highlight::after {
    background: #ffffff;
}

@keyframes underlineReveal {
    from {
        transform: scaleX(0);
        transform-origin: right;
    }
    to {
        transform: scaleX(1);
        transform-origin: left;
    }
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroButtonsReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

@keyframes heroButtonsReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-hero {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero svg {
    transition: transform 0.3s ease;
}

.btn-hero:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--text-dark);
    color: var(--bg-white);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--text-dark);
    transform: translateY(-4px);
}

[data-theme="dark"] .btn-primary {
    background: #ffffff;
    color: #000000;
}

[data-theme="dark"] .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .btn-secondary:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    padding: 32px 48px;
    background: var(--bg-light);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .hero-stats {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 40px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    animation: scrollIndicatorReveal 1s ease 2s forwards;
    cursor: pointer;
    transition: all 0.3s ease;
}

@keyframes scrollIndicatorReveal {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.scroll-indicator:hover {
    color: var(--text-dark);
}

.scroll-indicator:hover .scroll-line {
    width: 60px;
    background: #000000;
}

[data-theme="dark"] .scroll-indicator:hover .scroll-line {
    background: #ffffff;
}

.scroll-line {
    width: 40px;
    height: 2px;
    background: var(--text-dark);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.8), transparent);
    animation: scrollLineShimmer 2s ease-in-out infinite;
}

[data-theme="dark"] .scroll-line::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

@keyframes scrollLineShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

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

/* =====================================================
   SECTION COMMON STYLES
   ===================================================== */
.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* =====================================================
   WORK SECTION
   ===================================================== */
.work-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.work-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.work-see-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.work-see-all:hover {
    color: var(--primary-color);
}

.work-see-all svg {
    transition: var(--transition);
}

.work-see-all:hover svg {
    transform: translate(3px, -3px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.projects-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    gap: 32px;
}

.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
}

.project-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 10%;
    right: 10%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover::after {
    opacity: 1;
}

.project-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.project-placeholder {
    aspect-ratio: 4 / 3;
    transition: transform 0.5s ease;
}

.project-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1);
}

.project-card:hover .project-placeholder,
.project-card:hover .project-img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.project-1 { background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%); }
.project-2 { background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%); }
.project-3 { background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%); }
.project-4 { background: linear-gradient(135deg, #0f0f0f 0%, #1f1f1f 100%); }
.project-5 { background: linear-gradient(135deg, #252525 0%, #151515 100%); }
.project-6 { background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%); }
.project-7 { background: linear-gradient(135deg, #404040 0%, #2a2a2a 100%); }
.project-8 { background: linear-gradient(135deg, #1f1f1f 0%, #0a0a0a 100%); }
.project-9 { background: linear-gradient(135deg, #2d2d2d 0%, #1d1d1d 100%); }

.project-info {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 16px 0 0;
}

.project-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.project-location {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 400;
}

/* =====================================================
   SERVICES SECTION - Two Column Layout
   ===================================================== */
.services-section {
    padding: 120px 0;
    background: var(--bg-white);
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: start;
}

.services-content {
    position: relative;
}

.services-content .section-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 40px;
    display: block;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 32px;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.service-item:last-child {
    border-bottom: 1px solid var(--border-color);
}

.service-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    padding-top: 4px;
}

.service-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.service-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
}

/* Video Placeholder */
.services-video {
    position: sticky;
    top: 120px;
}

.video-placeholder {
    aspect-ratio: 9 / 16;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-placeholder span {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.video-placeholder video,
.video-placeholder iframe,
.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* =====================================================
   PROCESS SECTION
   ===================================================== */
.process-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-right: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.process-step:first-child {
    border-radius: 20px 0 0 20px;
}

.process-step:last-child {
    border-radius: 0 20px 20px 0;
    border-right: 1px solid var(--border-color);
}


/* Icon Wrapper */
.step-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.step-icon svg {
    color: #000000;
    transition: all 0.4s ease;
}

[data-theme="dark"] .step-icon {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .step-icon svg {
    color: #ffffff;
}

.step-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 0, 0, 0.15);
    animation: rotateBorder 20s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

[data-theme="dark"] .step-icon::before {
    border-color: rgba(255, 255, 255, 0.2);
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.process-step:hover .step-icon::before {
    opacity: 1;
}

/* Light mode hover */
.process-step:hover .step-icon {
    background: #000000;
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.process-step:hover .step-icon svg {
    color: #ffffff;
    animation: iconPulse 0.5s ease;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Dark mode hover */
[data-theme="dark"] .process-step:hover .step-icon {
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .process-step:hover .step-icon svg {
    color: #000000;
}

[data-theme="dark"] .process-step:hover .step-icon::before {
    border-color: rgba(255, 255, 255, 0.4);
}

/* Step Badge */
.step-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: #000000;
    color: #ffffff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.4s ease;
}

[data-theme="dark"] .step-badge {
    background: #ffffff;
    color: #000000;
}

.process-step:hover .step-badge {
    transform: scale(1.15) rotate(10deg);
}

[data-theme="dark"] .process-step:hover .step-badge {
    background: #ffffff;
    color: #000000;
}

/* Connecting Line */
.step-line {
    position: absolute;
    top: 50%;
    right: -1px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--border-color) 0%, var(--border-color) 50%, transparent 100%);
    transform: translateY(-50%);
    z-index: 3;
}

.step-line::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--border-color);
    border-radius: 50%;
}

.process-step:last-child .step-line {
    display: none;
}

/* Step Content */
.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000000;
    transition: all 0.4s ease;
    line-height: 1.3;
}

[data-theme="dark"] .step-content h3 {
    color: #ffffff;
}

.step-content p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
    transition: all 0.4s ease;
    max-width: 200px;
    margin: 0 auto;
}

/* Staggered animation delays using transition-delay */
.process-step.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.process-step.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.process-step.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.process-step.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.process-step.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }

/* Dark mode process step styles */
[data-theme="dark"] .step-line {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
}

[data-theme="dark"] .step-line::before {
    background: rgba(255, 255, 255, 0.25);
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-section {
    padding: 120px 0;
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-placeholder {
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
}

.about-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.about-image:hover .about-photo {
    transform: scale(1.02);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .about-photo {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .about-image:hover .about-photo {
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.6);
}

.about-content .section-label {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-skills {
    margin: 40px 0;
}

.about-skills h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills-tags span {
    padding: 10px 18px;
    background: var(--bg-light);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-gray);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.skills-tags span:hover {
    background: var(--text-dark);
    color: var(--bg-white);
    border-color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .skills-tags span:hover {
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.1);
}

.about-cta {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 40px;
}

.about-cta .btn-primary {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    background: var(--text-dark);
    color: var(--bg-white);
    transition: var(--transition);
}

.btn-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--text-dark);
}

/* =====================================================
   TESTIMONIALS SECTION - CAROUSEL
   ===================================================== */
.testimonials-section {
    padding: 120px 0;
    background: var(--bg-light);
    overflow: hidden;
}

.testimonials-carousel {
    width: 100%;
    overflow: hidden;
    margin: 60px 0;
    position: relative;
}

/* Fade edges */
.testimonials-carousel::before,
.testimonials-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light), transparent);
}

.testimonials-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light), transparent);
}

.testimonials-track {
    display: flex;
    gap: 32px;
    animation: scrollCarousel 40s linear infinite;
    width: max-content;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex-shrink: 0;
    width: 400px;
    padding: 32px;
    background: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 60px;
    font-family: Georgia, serif;
    color: var(--text-dark);
    opacity: 0.08;
    line-height: 1;
    transition: opacity 0.4s ease;
}

.testimonial-card:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    border-color: transparent;
}

.testimonial-card:hover::before {
    opacity: 0.15;
}

.testimonial-content {
    position: relative;
}

.testimonial-content p {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

[data-theme="dark"] .author-avatar {
    background: #ffffff;
    color: #000000;
}

.author-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.author-role {
    font-size: 13px;
    color: var(--text-light);
}

.brands-section {
    text-align: center;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.brands-section-end {
    display: none;
}

.brands-label {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}

/* Brands Carousel */
.brands-carousel {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.brands-carousel::before,
.brands-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.brands-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light) 0%, var(--bg-light) 20%, transparent 100%);
}

.brands-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light) 0%, var(--bg-light) 20%, transparent 100%);
}

.brands-track {
    display: flex;
    animation: scrollBrands 20s linear infinite;
    width: max-content;
    align-items: center;
}

.brands-track:hover {
    animation-play-state: paused;
}

@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brand-logo {
    flex-shrink: 0;
    width: 160px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    opacity: 0.4;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.brand-logo:hover {
    opacity: 0.9;
}

.brand-logo-wrapper {
    flex-shrink: 0;
    width: 160px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.brand-logo-img {
    max-width: 100%;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.5;
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%);
}

.brand-logo-wrapper:hover .brand-logo-img {
    opacity: 1;
    filter: grayscale(0%);
}

/* Dark mode: invert logos for better visibility */
[data-theme="dark"] .brand-logo-img {
    filter: grayscale(100%) invert(1);
    opacity: 0.6;
}

[data-theme="dark"] .brand-logo-wrapper:hover .brand-logo-img {
    filter: grayscale(0%) invert(1);
    opacity: 1;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-section {
    padding: 120px 0;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info .section-label {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 20px;
}

.contact-description {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary-color);
}

.contact-link svg {
    color: var(--text-light);
}

.contact-social {
    margin-bottom: 40px;
}

.contact-social p {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 24px;
}

.social-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--text-dark);
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: #16a34a;
}

[data-theme="dark"] .availability-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.pulse {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px #22c55e;
}

@keyframes pulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6), 0 0 8px #22c55e; 
    }
    70% { 
        box-shadow: 0 0 0 12px rgba(34, 197, 94, 0), 0 0 8px #22c55e; 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0), 0 0 8px #22c55e; 
    }
}

.contact-form-wrapper {
    padding: 48px;
    background: var(--bg-white);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.04);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: 400;
    color: var(--text-light);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 0 4px;
}

.form-group.has-textarea label {
    top: 28px;
    transform: translateY(0);
}

/* Select always shows label at top */
.form-group select + label {
    top: 0;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    background: var(--bg-white);
    letter-spacing: 0.5px;
}

.form-group select:focus + label {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 20px;
    font-size: 16px;
    font-family: inherit;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    background: var(--bg-white);
    color: var(--text-dark);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
}

/* Focus & Active States */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--bg-white);
    letter-spacing: 0.5px;
}

.form-group.has-textarea input:focus + label,
.form-group.has-textarea textarea:focus + label,
.form-group.has-textarea textarea:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-50%);
}

/* Hover State */
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* Select dropdown styling for dark mode */
[data-theme="dark"] .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Input icons */
.form-group.with-icon input,
.form-group.with-icon textarea {
    padding-left: 52px;
}

.form-group .input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    transition: color 0.3s ease;
    pointer-events: none;
}

.form-group input:focus ~ .input-icon,
.form-group textarea:focus ~ .input-icon {
    color: var(--primary-color);
}

/* Validation styles */
.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: var(--success-color);
}

.form-group input:valid:not(:placeholder-shown) + label,
.form-group textarea:valid:not(:placeholder-shown) + label {
    color: var(--success-color);
}

/* Error state */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #ef4444 !important;
    animation: shake 0.5s ease;
}

.form-group.error label {
    color: #ef4444 !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--bg-white);
    padding: 48px;
    border-radius: 24px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

.success-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: #22c55e;
    animation: iconBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.modal-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes iconBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.modal-text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 32px;
}

.modal-close-btn {
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 600;
    background: var(--text-dark);
    color: var(--bg-white);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .modal-close-btn:hover {
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 20px 40px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: var(--bg-white);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn-submit:active {
    transform: translateY(-2px);
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

/* Success state */
.btn-submit.success {
    background: linear-gradient(135deg, var(--success-color) 0%, #333333 100%);
}

[data-theme="dark"] .btn-submit {
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 100%);
    color: #0a0a0a;
}

[data-theme="dark"] .btn-submit:hover {
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    padding: 60px 0 40px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo-link {
    display: inline-block;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-dark);
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-links a:hover {
    color: var(--text-dark);
}

.footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: var(--bg-light);
}

.footer-social a:hover {
    color: var(--text-dark);
    background: var(--border-color);
    transform: translateY(-2px);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-light);
}

.back-to-top {
    font-size: 14px;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.back-to-top:hover {
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* =====================================================
   PROJECTS PAGE
   ===================================================== */
.page-header {
    padding: 140px 0 60px;
    background: var(--bg-white);
}

.page-header-content {
    max-width: 700px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 24px;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--text-dark);
}

.page-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.page-description {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
}

.filter-section {
    padding: 0 0 40px;
    background: var(--bg-white);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.filter-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 100px;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--text-dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.filter-btn:hover {
    border-color: var(--text-dark);
    color: var(--bg-white);
}

.filter-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.filter-btn.active {
    background: var(--text-dark);
    color: var(--bg-white);
    border-color: var(--text-dark);
}

.filter-btn.active::before {
    transform: scaleX(1);
}

.all-projects-section {
    padding: 60px 0 120px;
    background: var(--bg-white);
}

.all-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.project-card-full {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.project-card-full:hover {
    transform: translateY(-8px);
}

.project-image-full {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 24px;
}

.project-placeholder-full {
    aspect-ratio: 16 / 10;
    transition: transform 0.5s ease;
}

.project-img-full {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card-full:hover .project-placeholder-full,
.project-card-full:hover .project-img-full {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card-full:hover .project-overlay {
    opacity: 1;
}

.view-project {
    padding: 12px 24px;
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    transform: translateY(10px);
    transition: var(--transition);
}

.project-card-full:hover .view-project {
    transform: translateY(0);
}

.project-details {
    padding: 0 8px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.project-category {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-year {
    font-size: 13px;
    color: var(--text-light);
}

.project-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.project-excerpt {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-tags span {
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-gray);
}

.projects-cta {
    padding: 100px 0;
    background: var(--bg-light);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
}

.cta-content .btn-primary {
    display: inline-flex;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    background: var(--text-dark);
    color: var(--bg-white);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
}

.cta-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* =====================================================
   PROJECT DETAIL PAGE
   ===================================================== */
.navbar-dark {
    background-color: transparent;
    border-bottom: none;
}

.navbar-dark .nav-logo a,
.navbar-dark .nav-menu a,
.navbar-dark .dark-mode-toggle {
    color: var(--text-dark);
}

[data-theme="dark"] .navbar-dark .nav-logo a,
[data-theme="dark"] .navbar-dark .nav-menu a,
[data-theme="dark"] .navbar-dark .dark-mode-toggle {
    color: #ffffff;
}

/* Dark navbar: show logo based on theme */
.navbar-dark .nav-logo-img.logo-light {
    display: block;
}

.navbar-dark .nav-logo-img.logo-dark {
    display: none;
}

[data-theme="dark"] .navbar-dark .nav-logo-img.logo-light {
    display: none;
}

[data-theme="dark"] .navbar-dark .nav-logo-img.logo-dark {
    display: block;
}

.navbar-dark .nav-cta {
    background: var(--text-dark) !important;
    color: var(--bg-white) !important;
}

.navbar-dark .mobile-menu-toggle span {
    background-color: var(--text-dark);
}

[data-theme="dark"] .navbar-dark .nav-cta {
    background: #ffffff !important;
    color: #000000 !important;
}

[data-theme="dark"] .navbar-dark .mobile-menu-toggle span {
    background-color: #ffffff;
}

.navbar-dark.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

[data-theme="dark"] .navbar-dark.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
}

.project-hero {
    background: #ffffff;
    padding: 160px 0 100px;
    color: #000000;
}

.back-link-light {
    color: rgba(0, 0, 0, 0.6);
}

.back-link-light:hover {
    color: #000000;
}

.project-hero-title {
    font-size: clamp(60px, 12vw, 140px);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1;
    margin: 40px 0;
    color: #000000;
}

.project-hero-description {
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.7);
    max-width: 900px;
    margin-bottom: 60px;
}

.project-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.meta-value {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
}

.project-cover {
    background: #ffffff;
}

.project-cover-image {
    width: 100%;
}

.cover-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.cover-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.project-content {
    padding: 100px 0;
    background: var(--bg-white);
}

.content-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.content-section {
    max-width: 800px;
}

.content-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.content-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.content-text p:last-child {
    margin-bottom: 0;
}

.details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.details-list li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
    padding-left: 24px;
    position: relative;
}

.details-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.file-under-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.file-under-tags span {
    padding: 10px 20px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    transition: var(--transition);
}

.file-under-tags span:hover {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.project-gallery {
    background: var(--bg-light);
    padding: 0 0 100px;
}

.gallery-full {
    width: 100%;
    margin-bottom: 0;
}

.gallery-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-video {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-1 { background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%); }
.gallery-2 { background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%); }
.gallery-3 { background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%); }
.gallery-4 { background: linear-gradient(135deg, #0f0f0f 0%, #1f1f1f 100%); }
.gallery-5 { background: linear-gradient(135deg, #252525 0%, #151515 100%); }
.gallery-6 { background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%); }
.gallery-7 { background: linear-gradient(135deg, #404040 0%, #2a2a2a 100%); }
.gallery-8 { background: linear-gradient(135deg, #2d2d2d 0%, #1d1d1d 100%); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.gallery-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.4s ease;
}

.gallery-item:hover::after {
    background: rgba(0,0,0,0.1);
}

.gallery-item .gallery-placeholder {
    aspect-ratio: 4 / 3;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.08);
}

.project-navigation {
    padding: 60px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.nav-projects {
    display: flex;
    justify-content: space-between;
}

.nav-project {
    text-decoration: none;
    transition: var(--transition);
}

.nav-project:hover {
    transform: translateX(8px);
}

.nav-project.prev:hover {
    transform: translateX(-8px);
}

.nav-direction {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.nav-project-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-project.next {
    text-align: right;
}

.related-projects {
    padding: 100px 0;
    background: var(--bg-white);
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.related-header h2 {
    font-size: 32px;
    font-weight: 800;
}

.see-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.see-more-link:hover {
    color: var(--text-dark);
}

.see-more-link svg {
    transition: var(--transition);
}

.see-more-link:hover svg {
    transform: translate(3px, -3px);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.related-card {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-8px);
}

.related-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.related-placeholder {
    aspect-ratio: 4 / 3;
    transition: transform 0.5s ease;
}

.related-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-card:hover .related-placeholder,
.related-card:hover .related-img {
    transform: scale(1.05);
}

.related-info {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.related-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.related-location {
    font-size: 14px;
    color: var(--text-light);
}

.project-cta {
    padding: 120px 0;
    background: #0a0a0a;
    text-align: center;
    color: #ffffff;
}

.cta-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
    display: block;
}

.cta-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 40px;
    color: #ffffff;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: #ffffff;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.15);
}

/* Minimal CTA Section - Clean Style */
.project-cta-minimal {
    padding: 80px 0;
    background: transparent;
    text-align: left;
    border-top: 1px solid var(--border-color);
}

.cta-label-minimal {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
    display: block;
    font-weight: 500;
}

.cta-title-minimal {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 24px;
    max-width: 600px;
}

.cta-link-minimal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.cta-link-minimal:hover {
    border-bottom-color: var(--text-dark);
    gap: 14px;
}

.cta-link-minimal svg {
    transition: transform 0.3s ease;
}

.cta-link-minimal:hover svg {
    transform: translate(3px, -3px);
}

/* Project Page Dark Mode */
[data-theme="dark"] .project-hero {
    background: #0a0a0a;
    color: #ffffff;
}

[data-theme="dark"] .project-hero-title {
    color: #ffffff;
}

[data-theme="dark"] .project-hero-description {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .back-link-light {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .back-link-light:hover {
    color: #ffffff;
}

[data-theme="dark"] .meta-label {
    color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .meta-value {
    color: #ffffff;
}

[data-theme="dark"] .project-cover {
    background: #0a0a0a;
}

.footer-dark {
    background: #0a0a0a;
    color: #ffffff;
}

.footer-dark .footer-logo,
.footer-dark .footer-links a,
.footer-dark .back-to-top {
    color: rgba(255, 255, 255, 0.7);
}

.footer-dark .footer-links a:hover,
.footer-dark .back-to-top:hover {
    color: #ffffff;
}

.footer-dark .footer-brand p,
.footer-dark .footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
}

.footer-dark .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1440px) {
    .navbar {
        padding: 18px 28px;
    }
    
    .nav-container {
        gap: 8px;
    }
    
    .nav-right {
        gap: 6px;
    }
    
    .nav-cta {
        padding: 7px 14px;
        font-size: 13px;
    }
    
    .nav-logo-img {
        height: 22px;
    }
    
    .hero {
        padding: 70px 0 50px;
    }
    
    .logo-image {
        max-width: 700px;
    }
    
    .hero-availability {
        margin-bottom: 12px;
    }
    
    .hero-logo {
        margin-bottom: 6px;
    }
    
    .hero-tagline {
        margin-bottom: 12px;
    }
    
    .hero-actions {
        gap: 10px;
    }
}

@media (max-width: 1024px) {
    /* Latest Drops - keep 3 cards on tablet landscape, 2 on portrait */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .all-projects-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .project-meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Services video - horizontal on tablet */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .video-placeholder {
        aspect-ratio: 16 / 9;
        max-height: 350px;
    }
    
    .gallery-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .services-video {
        position: relative;
        top: 0;
        order: -1;
    }
    
    /* Services video - full width on tablet portrait */
    .video-placeholder {
        aspect-ratio: 16 / 9;
        max-height: none;
        width: 100%;
    }
    
    /* 2x2 grid for Latest Drops on tablet portrait */
    .projects-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .service-item {
        grid-template-columns: 50px 1fr;
        gap: 20px;
        padding: 32px 0;
    }
    
    .service-content h3 {
        font-size: 18px;
    }
    
    .service-content p {
        font-size: 14px;
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
    
    .process-step {
        border-radius: 0 !important;
        border: 1px solid var(--border-color);
        border-right: none;
        border-bottom: none;
    }
    
    .process-step:nth-child(1) {
        border-radius: 16px 0 0 0 !important;
    }
    
    .process-step:nth-child(3) {
        border-radius: 0 16px 0 0 !important;
        border-right: 1px solid var(--border-color);
    }
    
    .process-step:nth-child(4) {
        border-radius: 0 0 0 16px !important;
        border-bottom: 1px solid var(--border-color);
    }
    
    .process-step:nth-child(5) {
        border-radius: 0 !important;
        border-bottom: 1px solid var(--border-color);
    }
    
    .process-step:last-child {
        border-radius: 0 0 16px 0 !important;
        border-right: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }
    
    .process-step:nth-child(3) .step-line {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .testimonial-card {
        width: 350px;
    }
    
    .testimonials-carousel::before,
    .testimonials-carousel::after {
        width: 80px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px 20px;
    }
    
    .navbar.scrolled {
        padding: 12px 20px;
    }
    
    .nav-left {
        display: none;
    }
    
    .nav-logo {
        position: static;
        transform: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-tagline p {
        white-space: normal;
        max-width: 100%;
        font-size: 16px;
    }
    
    .hero-grid {
        width: 800px;
        height: 800px;
    }
    
    .logo-image {
        max-width: 80%;
    }
    
    .scroll-indicator {
        bottom: 20px;
        right: 20px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .filter-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 16px;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
    
    .project-meta-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-grid,
    .gallery-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .nav-projects {
        flex-direction: column;
        gap: 32px;
    }
    
    .nav-project.next {
        text-align: left;
    }
    
    .related-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        border-radius: 16px !important;
        border: 1px solid var(--border-color) !important;
        margin-bottom: 16px;
    }
    
    .process-step:last-child {
        margin-bottom: 0;
    }
    
    .step-line {
        display: none !important;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
    }
    
    .step-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    
    .logo-image {
        max-width: 90%;
    }
    
    .hero-tagline p {
        white-space: normal;
        max-width: 100%;
        font-size: 14px;
    }
    
    .hero-grid {
        width: 100%;
        height: 100%;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .testimonial-card {
        width: 300px;
        padding: 24px;
    }
    
    .testimonial-content p {
        font-size: 14px;
    }
    
    .testimonials-carousel::before,
    .testimonials-carousel::after {
        width: 40px;
    }
    
    .testimonials-track {
        gap: 20px;
    }
    
    .case-metrics {
        flex-direction: column;
        gap: 20px;
    }
    
    .brands-carousel {
        max-width: 100%;
    }
    
    .brand-logo {
        width: 120px;
        font-size: 14px;
    }
    
    .brand-logo-wrapper {
        width: 120px;
        height: 50px;
        padding: 0 15px;
    }
    
    .brand-logo-img {
        max-height: 30px;
    }
    
    .brands-carousel::before,
    .brands-carousel::after {
        width: 60px;
    }
}
/* Updated: Thu Jan  8 21:33:09 -03 2026 */
/* Deploy test: Thu Jan  8 22:07:36 -03 2026 */
