/* -----------------------------------------------------------------------------
   VIC Visuals - Luxury Architectural Visualization
   Design System & Core Styles
----------------------------------------------------------------------------- */

:root {
    /* Colors */
    --bg-dark: #050608;
    --bg-secondary: #0c0d10;
    --accent-red: #E33D36;
    /* New Brand Red */
    --accent-red-glow: rgba(227, 61, 54, 0.4);
    --text-light: #FFFFFF;
    --text-muted: #B0B0B0;
    --border-color: rgba(255, 255, 255, 0.1);

    /* Background Tones */
    --bg-tone-1: #000000;
    --bg-tone-2: #0A0A0A;
    --bg-tone-3: #111111;
    --bg-tone-4: #151515;

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

    /* Spacing */
    --container-width: 1400px;
    /* Wider container for cinematic feel */
    --section-padding: 120px;

    /* Transitions */
    --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-slow: 1s var(--ease-out);
    --transition-fast: 0.3s var(--ease-out);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none;
    /* Hide default cursor for custom one */
}

/* Fallback for cursor if JS fails or specific devices */
@media (hover: none) {

    *,
    *::before,
    *::after {
        cursor: auto;
    }
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

ul {
    list-style: none;
}

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

/* -----------------------------------------------------------------------------
   Typography
----------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 400;
    /* Antonio looks good at 300/400 */
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.overline {
    display: block;
    font-size: 0.875rem;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* -----------------------------------------------------------------------------
   Layout & Utility
----------------------------------------------------------------------------- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section:last-child {
    border-bottom: none;
}

/* Animations (Intersection Observer targets) */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

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

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
    .fade-in-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* -----------------------------------------------------------------------------
   Custom Cursor
----------------------------------------------------------------------------- */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    display: none;
    /* Shown via JS on desktop */
}

@media (hover: hover) and (pointer: fine) {

    .cursor-dot,
    .cursor-outline {
        display: block;
    }
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-red);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(227, 61, 54, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
}

/* Hover state for cursor */
body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(227, 61, 54, 0.1);
    border-color: var(--accent-red);
    box-shadow: 0 0 20px var(--accent-red-glow);
}

/* -----------------------------------------------------------------------------
   Navigation
----------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background-color 0.3s, backdrop-filter 0.3s, height 0.3s;
}

.navbar.scrolled {
    background-color: rgba(5, 6, 8, 0.8);
    backdrop-filter: blur(10px);
    height: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    /* Ensure img is block-like */
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-light);
    z-index: 1001;
    /* Above mobile menu overlay */
}

.logo img {
    max-height: 55px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    letter-spacing: 0.02em;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-red);
    transition: width 0.3s var(--ease-out);
}

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

.nav-link.active {
    color: var(--text-light);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: 0.3s;
}

/* -----------------------------------------------------------------------------
   Hero Section (Refactored for VIC Infrastructure)
----------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: 0;
    /* Fullscreen, nav is overlay */
    background-color: var(--bg-tone-2);
}

/* Background Video Layer */
.hero-bg-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Darkened to ensure text readability, but sharp enough to see detail */
    filter: brightness(0.6) contrast(1.1);
    transform: scale(1.1);
    /* Prevent blur edges if any */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 6, 8, 0.6);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-title {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 600px;
    font-weight: 300;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Updated Buttons */
.btn {
    padding: 1.1rem 2.5rem;
    border-radius: 4px;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: scale(0.98);
    box-shadow: none;
}

.btn-primary {
    background-color: var(--accent-red);
    color: #fff;
    border: 1px solid var(--accent-red);
}

.btn-primary:hover {
    background-color: #f04e46;
    /* Slightly lighter red */
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(227, 61, 54, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    color: #FFF;
    opacity: 1;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 6px;
    background-color: var(--accent-red);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-bob 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

.scroll-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

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

    50% {
        transform: translate(-50%, 8px);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, 0);
        opacity: 0;
    }
}

/* Mobile Adjustments */
@media (max-width: 900px) {

    /* 1. Spacing & Proportion */
    :root {
        --section-padding: 6rem;
        /* Increase from default if it was smaller, or ensure it feels large */
    }

    .container {
        width: 88%;
        /* Slightly wider container on mobile */
        padding: 0;
    }

    .section {
        padding: 6rem 0;
        /* Breathable spacing */
    }

    .section-header {
        margin-bottom: 3rem;
    }

    /* 2. Typography */
    .hero-title {
        font-size: 2.75rem;
        /* Large but fits */
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* 3. Hero Buttons */
    .hero-content {
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1.25rem;
        /* Comfortable gap */
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 1.25rem 0;
        /* Taller tap target */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-bg-video-wrapper {
        display: block;
    }

    /* 4. Content Blocks */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        padding: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        /* More space between portfolio items */
    }

    .portfolio-item {
        aspect-ratio: 4/3;
        /* Slightly taller on mobile? or keep 3/2 */
    }

    /* Process */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 1rem;
    }

    .process-step {
        /* No connecting line on mobile */
    }

    .process-steps::before {
        display: none;
    }

    /* Clients */
    .clients-list {
        flex-direction: column;
        gap: 0.5rem;
    }

    .separator {
        display: none;
    }

    /* Contact */
    .contact-buttons-large {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-buttons-large .btn {
        width: 100%;
    }

    .fab-container {
        bottom: 1.5rem;
        right: 1.5rem;
        gap: 0.75rem;
    }
}

/* -----------------------------------------------------------------------------
   Services
----------------------------------------------------------------------------- */
.services-section {
    background-color: var(--bg-tone-1);
}

.section-header {
    margin-bottom: 4rem;
    max-width: 800px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-light);
}

.section-subtitle {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

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

.service-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(227, 61, 54, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* -----------------------------------------------------------------------------
   Clients
----------------------------------------------------------------------------- */
.clients-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 80px 0;
    background-color: var(--bg-tone-2);
}

.clients-container {
    text-align: center;
}

.clients-text {
    margin-bottom: 2rem;
}

.clients-desc {
    color: var(--text-muted);
    max-width: 700px;
    margin: 1rem auto 0;
}

.clients-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: var(--accent-red);
    letter-spacing: 0.1em;
    font-size: 1.1rem;
}

.separator {
    color: var(--text-muted);
    opacity: 0.3;
}

/* -----------------------------------------------------------------------------
   Portfolio
----------------------------------------------------------------------------- */
.portfolio-section {
    background-color: var(--bg-tone-3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background-color: #2a2a35;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s var(--ease-out);
}

/* Placeholder images for portfolio */
.portfolio-item:nth-child(1) .portfolio-image {
    background-image: url('assets/portfolio/facade-vancouver-concept.jpg');
}

.portfolio-item:nth-child(2) .portfolio-image {
    background-image: url('assets/portfolio/gardenview-living-room.jpg');
}

.portfolio-item:nth-child(3) .portfolio-image {
    background-image: url('assets/portfolio/stonewall-gourmet-kitchen.jpg');
}

.portfolio-item:nth-child(4) .portfolio-image {
    background-image: url('assets/portfolio/lionsgate-sunset-residence.jpg');
}

.portfolio-item:nth-child(5) .portfolio-image {
    background-image: url('assets/portfolio/harbourview-penthouse-living.jpg');
}

.portfolio-item:nth-child(6) .portfolio-image {
    background-image: url('assets/portfolio/valley-estate-pool-terrace.jpg');
}


.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.project-name {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.project-tag {
    font-size: 0.8rem;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.portfolio-cta {
    text-align: center;
}

.btn-outline {
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    padding: 1rem 3rem;
    font-weight: 600;
}

.btn-outline:hover {
    background-color: var(--accent-red);
    color: #fff;
    border-color: var(--accent-red);
    /* Ensure border matches */
}

/* -----------------------------------------------------------------------------
   Process
----------------------------------------------------------------------------- */
.process-section {
    background-color: var(--bg-tone-2);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    padding-top: 2rem;
}

/* Line connecting steps - Desktop only */
@media (min-width: 900px) {
    .process-steps::before {
        content: '';
        position: absolute;
        top: 3.5rem;
        /* align with numbers */
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, var(--accent-red) 50%, rgba(255, 255, 255, 0.1) 100%);
        z-index: 0;
        opacity: 0.3;
    }
}

.process-step {
    position: relative;
    z-index: 1;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
    background-color: var(--bg-secondary);
    display: inline-block;
    padding-right: 1rem;
    /* Clear line behind it */
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* -----------------------------------------------------------------------------
   About
----------------------------------------------------------------------------- */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-tone-4);
}

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

.about-quote {
    font-size: 1.75rem;
    font-family: var(--font-heading);
    line-height: 1.4;
    border-left: 2px solid var(--accent-red);
    padding-left: 2rem;
    margin: 2rem 0;
    color: var(--text-light);
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.about-list {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.about-list li {
    margin-bottom: 0.5rem;
}

/* -----------------------------------------------------------------------------
   Contact
----------------------------------------------------------------------------- */
.contact-section {
    background-color: var(--bg-tone-1);
    padding-bottom: 150px;
    /* Space for footer/fab */
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-buttons-large {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.btn-whatsapp,
.btn-email {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #1FAF53;
    transform: translateY(-2px);
}

.btn-email {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.btn-email:hover {
    border-color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-note {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.25rem;
    font-weight: 300;
}

/* Form */
.contact-form {
    background-color: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background-color: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 4px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--accent-red);
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #f04e46;
}

/* -----------------------------------------------------------------------------
   Footer
----------------------------------------------------------------------------- */
.footer {
    padding: 2rem 0;
    background-color: #030405;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

/* -----------------------------------------------------------------------------
   Floating Action Buttons
----------------------------------------------------------------------------- */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 900;
}

.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    cursor: pointer;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.fab-whatsapp {
    background-color: #25D366;
    color: white;
    /* Pulse anim */
    animation: pulse-green 2s infinite;
}

.fab-email {
    background-color: var(--accent-red);
    color: #fff;
    animation: pulse-red 2s infinite;
    animation-delay: 1s;
}

.fab-instagram {
    background-color: #333333;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fab-instagram:hover {
    background-color: #444444;
}

.fab .tooltip {
    position: absolute;
    right: 70px;
    background-color: rgba(5, 6, 8, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: #fff;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.fab:hover .tooltip {
    opacity: 1;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(227, 61, 54, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(227, 61, 54, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(227, 61, 54, 0);
    }
}

/* -----------------------------------------------------------------------------
   Responsive
----------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        /* Mobile menu implementation usually requires JS to toggle */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}