/* ========================================
   APereira Studio — CSS Styles
   Inspired by Pedro Zipinotti's playful aesthetic
   ======================================== */

/* CSS Variables */
:root {
    --color-bg: #fefcf3;
    --color-bg-alt: #fefcf3;
    --color-bg-dark: #000001;
    --color-text: #000001;
    --color-text-light: #fefcf3;
    --color-text-muted: #6B6B6B;
    --color-primary: #ef6a34;
    --color-primary-light: #ef6a34;
    --color-secondary: #5e0100;
    --color-accent: #053b64;
    --color-accent-light: #053b64;
    --color-border: #E8E4DE;
    --color-card: #fefcf3;
    
    --font-display: 'DM Sans', -apple-system, sans-serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-xl: 40px;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 3rem;
    background: rgba(254, 252, 243, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav.scrolled {
    border-bottom-color: var(--color-border);
    padding: 1rem 3rem;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-primary);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-cta {
    padding: 0.8rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-text-light) !important;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all 0.3s var(--ease-bounce) !important;
}

.nav-cta:hover {
    transform: scale(1.05);
    background: var(--color-primary-light) !important;
    box-shadow: 0 10px 30px rgba(239, 106, 52, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    font-size: 2rem;
    font-weight: 700;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-left: 0.5rem;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.7rem;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.lang-current:hover {
    border-color: var(--color-border);
    background: none;
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--color-card);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 1001;
    min-width: 100px;
}

.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
    transition: background 0.2s ease;
    white-space: nowrap;
}

.lang-option:hover {
    background: none;
}

.lang-switcher-mobile {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.lang-switcher-mobile .lang-option {
    font-size: 1.2rem;
    padding: 0.5rem 0;
    justify-content: center;
}

.lang-switcher-mobile .flag-icon {
    width: 24px;
    height: 18px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 8rem 4rem 4rem;
    background: var(--color-bg-dark);
}

.hero-content {
    max-width: 500px;
}

.hero-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

.hero-title-italic {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 420px;
}

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

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: var(--color-text-light);
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s var(--ease-bounce);
    box-shadow: 0 4px 20px rgba(239, 106, 52, 0.3);
}

.hero-cta:hover {
    transform: scale(1.05) translateY(-2px);
    background: var(--color-primary-light);
    box-shadow: 0 10px 40px rgba(239, 106, 52, 0.4);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--color-text-light);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-cta-secondary:hover {
    border-color: var(--color-text-light);
    background: rgba(255,255,255,0.1);
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    transform: rotate(3deg);
    transition: transform 0.4s var(--ease-out);
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-image img {
    width: 380px;
    height: 480px;
    object-fit: cover;
    display: block;
}

.hero-decoration-1 {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 60px;
    height: 60px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0.6;
}

.hero-decoration-2 {
    position: absolute;
    bottom: 15%;
    right: 5%;
    width: 60px;
    height: 60px;
    background: var(--color-secondary);
    border-radius: 50px;
    opacity: 0.6;
}

@media (max-width: 1024px) {
    .hero {
        padding: 8rem 3rem 4rem;
        gap: 3rem;
    }
    
    .hero-image img {
        width: 320px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 7rem 2rem 3rem;
        gap: 2.5rem;
    }
    
    .hero-content {
        order: 2;
        max-width: 100%;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-image-container {
        order: 1;
    }
    
    .hero-image {
        transform: rotate(0deg);
    }
    
    .hero-image img {
        width: 280px;
        height: 350px;
    }
    
    .hero-decoration-1,
    .hero-decoration-2 {
        display: none;
    }
}

/* ========================================
   Marquee
   ======================================== */
.marquee {
    padding: 1.25rem 0;
    background: var(--color-primary);
    color: var(--color-text-light);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.marquee-track span {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.marquee-dot {
    opacity: 0.7;
}

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

/* ========================================
   Section Styles
   ======================================== */
.section-header {
    margin-bottom: 3rem;
    padding: 0 3rem;
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ========================================
   Work Section
   ======================================== */
.work {
    padding: 6rem 0;
    background: var(--color-bg);
}

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

.work-item {
    display: block;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 1, 0) 0%, rgba(0, 0, 1, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
}

.work-item:hover .work-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 1, 0.2) 0%, rgba(0, 0, 1, 0.9) 100%);
}

.work-category {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s var(--ease-out);
}

.work-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-light);
    transform: translateY(10px);
    transition: all 0.4s var(--ease-out);
}

.work-item:hover .work-category,
.work-item:hover .work-title {
    opacity: 1;
    transform: translateY(0);
}

.work-item:hover .work-category {
    transition-delay: 0.05s;
}

.work-item:hover .work-title {
    transition-delay: 0.1s;
}

.work-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 0 3rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--color-accent);
    color: var(--color-text-light);
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.3s var(--ease-bounce);
    box-shadow: 0 4px 20px rgba(5, 59, 100, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
    background: var(--color-accent-light);
    box-shadow: 0 10px 40px rgba(5, 59, 100, 0.4);
}

/* ========================================
   Services Section
   ======================================== */

.services {
    padding: 6rem 0;
    background: var(--color-bg);
}

.services-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 3rem;
}

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

.service-item:last-child {
    border-bottom: none;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    cursor: pointer;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.service-icon.icon-coral {
    background: var(--color-primary);
}

.service-icon.icon-teal {
    background: var(--color-accent);
}

.service-icon.icon-orange {
    background: var(--color-secondary);
}

.service-icon.icon-gray {
    background: var(--color-text-muted);
}

.service-content {
    flex: 1;
}

.service-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.65rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
}

.service-tag.tag-coral {
    background: var(--color-primary);
}

.service-tag.tag-teal {
    background: var(--color-accent);
}

.service-tag.tag-orange {
    background: var(--color-secondary);
}

.service-tag.tag-gray {
    background: var(--color-text-muted);
}

.service-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.service-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-toggle-icon {
    font-size: 1rem;
    font-weight: 700;
}

.service-item:nth-child(1) .service-header:hover .service-toggle,
.service-item:nth-child(1).active .service-toggle {
    color: var(--color-primary);
}

.service-item:nth-child(2) .service-header:hover .service-toggle,
.service-item:nth-child(2).active .service-toggle {
    color: var(--color-accent);
}

.service-item:nth-child(3) .service-header:hover .service-toggle,
.service-item:nth-child(3).active .service-toggle {
    color: var(--color-secondary);
}

.service-item:nth-child(4) .service-header:hover .service-toggle,
.service-item:nth-child(4).active .service-toggle {
    color: var(--color-text-muted);
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.service-item.active .service-details {
    max-height: 600px;
}

.service-details-inner {
    padding: 0 0 2.5rem 0;
    margin-left: 112px;
}

.service-details-inner > p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.service-details-inner ul {
    list-style: none;
    margin-bottom: 1.75rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
}

.service-details-inner ul li {
    padding: 0.4rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
}

.service-details-inner ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    color: var(--color-text-light);
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s var(--ease-bounce);
}

.service-cta:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.service-item:nth-child(1) .service-cta {
    background: var(--color-primary);
}

.service-item:nth-child(2) .service-cta {
    background: var(--color-accent);
}

.service-item:nth-child(3) .service-cta {
    background: var(--color-secondary);
}

.service-item:nth-child(4) .service-cta {
    background: var(--color-text-muted);
}

@media (max-width: 768px) {
    .services-list {
        padding: 0 2rem;
    }
    
    .service-header {
        gap: 1.25rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        border-radius: 14px;
    }
    
    .service-toggle span:first-child {
        display: none;
    }
    
    .service-details-inner {
        margin-left: 0;
        padding-top: 1rem;
    }
    
    .service-details-inner ul {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    padding: 6rem 0;
    background: var(--color-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 2.5rem;
    background: var(--color-card);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-light);
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    padding: 8rem 3rem;
    text-align: center;
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(239, 106, 52, 0.1) 0%, transparent 50%);
    animation: ctaPulse 10s ease-in-out infinite;
}

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

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.cta-title em {
    font-style: normal;
    color: var(--color-primary);
}

.cta-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.2rem;
    background: var(--color-primary);
    color: var(--color-text-light);
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s var(--ease-bounce);
    box-shadow: 0 4px 30px rgba(239, 106, 52, 0.4);
}

.cta-button:hover {
    transform: scale(1.05) translateY(-2px);
    background: var(--color-primary-light);
    box-shadow: 0 10px 50px rgba(239, 106, 52, 0.5);
}

.cta-button svg {
    transition: transform 0.3s var(--ease-out);
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    box-shadow: none;
}

.cta-button-outline:hover {
    background: var(--color-primary);
    color: var(--color-text-light);
    box-shadow: 0 10px 50px rgba(239, 106, 52, 0.5);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-bg);
}

.footer-main {
    padding: 4rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    max-width: 400px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-email {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: var(--color-primary);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

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

.footer-social a:hover {
    background: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-right {
    display: flex;
    gap: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding: 1.5rem 3rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .footer-right {
        flex-direction: column;
        gap: 2rem;
    }
}
/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .nav {
        padding: 1rem 2rem;
    }
    
    .hero {
        padding: 7rem 2rem 4rem;
    }
    
    .section-header,
    .work-grid,
    .services-grid,
    .testimonials-grid,
    .work-cta {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about {
        padding: 5rem 2rem;
        gap: 3rem;
    }
    
    .cta {
        padding: 5rem 2rem;
    }
    
    .footer {
        padding: 3rem 2rem 2rem;
    }
    
    .footer-links {
        gap: 3rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        max-height: 350px;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stat {
        flex: 1;
        min-width: 120px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 2rem;
    }
}

/* ========================================
   Project Page Styles
   ======================================== */
.project-hero {
    padding: 8rem 3rem 3rem;
}

.project-hero-inner {
    background: var(--color-bg-dark);
    border-radius: var(--radius-xl);
    padding: 3rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 450px;
}

.project-image-container {
    position: relative;
}

.project-main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    transform: rotate(-2deg);
    transition: transform 0.4s var(--ease-out);
}

.project-main-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.project-main-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.project-info-side {
    color: var(--color-text-light);
}

.project-category {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-text-light);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.project-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

.project-description {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.project-meta {
    display: flex;
    gap: 2.5rem;
}

.project-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.project-meta-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.project-meta-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-light);
}

.project-cover {
    padding: 0 3rem;
    margin-bottom: 4rem;
}

.project-cover img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.project-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 3rem;
}

.process-header {
    text-align: center;
    margin-bottom: 3rem;
}

.process-header span {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.process-header h2 {
    font-size: 2rem;
    font-weight: 700;
}

.timeline-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.timeline-horizontal::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
    z-index: 0;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-marker {
    width: 50px;
    height: 50px;
    background: var(--color-card);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.timeline-content {
    background: var(--color-card);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.timeline-content h3 { color: var(--color-primary); }

.timeline-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: left;
}

@media (max-width: 768px) {
    .timeline-horizontal {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-left: 2rem;
    }
    
    .timeline-horizontal::before {
        top: 0;
        bottom: 0;
        left: 23px;
        right: auto;
        width: 3px;
        height: auto;
        background: var(--color-primary);
    }
    
    .timeline-item {
        flex-direction: row;
        text-align: left;
        gap: 1.5rem;
    }
    
    .timeline-marker {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 3rem 1.5rem;
}

.project-gallery img {
    width: 100%;
    height: 450px;
    display: block;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

.project-gallery .full-width {
    grid-column: 1 / -1;
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 0 3rem 1.5rem;
}

.gallery-mosaic .mosaic-tall {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.gallery-mosaic .mosaic-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gallery-mosaic .mosaic-stack img {
    width: 100%;
    flex: 1;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.gallery-solo {
    padding: 0 3rem 1.5rem;
    display: flex;
    justify-content: center;
}

.gallery-solo img {
    max-width: 50%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.project-nav {
    display: flex;
    justify-content: space-between;
    padding: 3rem;
    border-top: 2px solid var(--color-border);
    background: var(--color-bg-alt);
}

.project-nav a {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: var(--radius-md);
}

.project-nav a:hover {
    background: var(--color-card);
    transform: translateY(-2px);
}

.project-nav-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.project-nav-title {
    font-size: 1.3rem;
    font-weight: 700;
}

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

@media (max-width: 768px) {
    .project-hero {
        padding: 6rem 1.5rem 2rem;
    }
    
    .project-hero-inner {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
    
    .project-main-image {
        transform: rotate(0deg);
    }
    
    .project-main-image img {
        height: 250px;
    }
    
    .project-meta {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .project-cover,
    .project-content,
    .project-gallery,
    .gallery-mosaic,
    .gallery-solo {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .project-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-mosaic {
        grid-template-columns: 1fr;
    }

    .gallery-solo img {
        max-width: 100%;
    }
    
    .project-nav {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .project-nav .next {
        text-align: left;
    }
}
