/* ========================================
   1. FONT FACE DECLARATIONS
   ======================================== */
@font-face {
    font-family: 'General Sans';
    src: url('fonts/GeneralSans-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'General Sans';
    src: url('fonts/GeneralSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'General Sans';
    src: url('fonts/GeneralSans-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   2. CSS VARIABLES
   ======================================== */
:root {
    /* Colors - Light Theme */
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --nav-bg: #ffffff;
    --border-color: #d1d1d1;
    --secondary-text: #4e4f50;
    --tertiary-text: #666;
    --placeholder-bg: #d1d1d1;
    --card-bg: #ffffff;
    --input-bg: #ffffff;
    --input-border: #e0e0e0;
    --service-border: #f0f0f0;
    --project-tag: #666;
    --hover-bg: #f5f5f5;
    --logo-bg: #1a1a1a;
    --logo-text: #f5f5f5;
    --button-hover: #333;
    --menu-bg: #ffffff;
    --menu-hover: #f5f5f5;
    --accent-color: #ff3333;
    --placeholder-text: #999;

    

    /* Typography Scale */
    --font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

    /* Heading Sizes */
    --h1-size: clamp(48px, 8vw, 80px);
    --h2-size: clamp(26px, 3vw, 36px);
    --h3-size: clamp(20px, 2.5vw, 28px);
    --h4-size: clamp(16px, 1.8vw, 18px);

    /* Body Text */
    --text-base: clamp(16px, 1.8vw, 18px);
    --text-small: 14px;
    --text-xs: 12px;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 40px;
    --spacing-2xl: 60px;
    --spacing-3xl: 80px;

    /* Border Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-color: #0a0a0a;
    --text-color: #f5f5f5;
    --nav-bg: #0a0a0a;
    --border-color: rgba(255, 255, 255, 0.1);
    --secondary-text: #d1d1d1;
    --tertiary-text: #999;
    --placeholder-bg: #2a2a2a;
    --card-bg: #1a1a1a;
    --input-bg: #1a1a1a;
    --input-border: rgba(255, 255, 255, 0.1);
    --service-border: rgba(255, 255, 255, 0.05);
    --project-tag: #999;
    --hover-bg: rgba(255, 255, 255, 0.05);
    --logo-bg: #f5f5f5;
    --logo-text: #1a1a1a;
    --button-hover: #d1d1d1;
    --menu-bg: #2a2a2a;
    --menu-hover: #3a3a3a;
    --accent-color: #ff3333;
    --placeholder-text: #666;
}

/* ========================================
   3. RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    padding: 0;
    overflow-x: hidden;
    margin: 0 auto;
    transition: background-color var(--transition-base), color var(--transition-base);
}

p {
    line-height: 1.5;
}

/* ========================================
   4. TYPOGRAPHY
   ======================================== */

/* Page Title - Large hero headings */

h1 {
    font-weight: 400 !important;
}
.page-title,
.hero-title {
    font-size: clamp(80px, 9vw, 200px);
    line-height: 0.9;
    color: var(--text-color);
}

/* Project Title - Main project headings */
.project-title {
    font-size: var(--h1-size);
    font-weight: 400;
    line-height: 1;
    color: var(--text-color);
}

/* Section Title - H2 level headings */
.section-title {
    font-size: var(--h2-size);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--text-color);
    grid-column: 1;
}

/* Section Heading - H3 level headings */
.section-heading,
.intro-heading {
    font-size: var(--h3-size);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Body Text Styles */
.section-text,
.about-text,
.intro-text,
.project-description {
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--secondary-text);
    font-weight: 300;
}

/* Labels - Small uppercase text */
.section-label,
.characteristic-label,
.detail-label {
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--tertiary-text);
}

/* ========================================
   5. UTILITY CLASSES
   ======================================== */

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Gap utilities */
.gap-xs { gap: var(--spacing-xs); }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: var(--spacing-xl); }

/* Grid span utilities */
.col-span-full { grid-column: 1 / -1; }
.col-span-2 { grid-column: span 2; }
.col-2-4 { grid-column: 2 / 4; }

/* Text utilities */
.text-uppercase { text-transform: uppercase; }
.text-lowercase { text-transform: lowercase; }
.text-center { text-align: center; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }

/* ========================================
   6. LAYOUT
   ======================================== */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 120px 60px 80px;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: clamp(32px, 4vw, 100px);
    row-gap: var(--spacing-3xl);
    position: relative;
}

/* ========================================
   7. NAVIGATION
   ======================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    padding: 16px 40px;
    transition: background-color var(--transition-base);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav-logo {
    height: 30px;
    width: auto;
    transition: filter 0.3s ease;
}

/* Dark theme: invert logo to white */
[data-theme="dark"] .nav-logo {
    filter: brightness(0) invert(1);
}

/* Logo in dark sections (footer) */
.dark-footer .nav-logo,
.dark-section .nav-logo {
    filter: brightness(0) invert(1);
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    background-color: var(--logo-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--logo-text);
    letter-spacing: -0.5px;
}

.nav-logo-text {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.nav-right {
    display: flex;
    gap: var(--spacing-sm);
}

.nav-button {
    padding: 12px 28px;
    font-size: var(--text-small);
    font-weight: 500;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.nav-button.primary {
    position: relative;
    background: #1a1a1a !important;
    color: #ffffff !important;
    border: none;
    padding: 8px 16px;
    font-size: var(--text-small);
    font-weight: 500;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-button.primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        #1a1a1a,
        #4a3f35,
        #2d2d2d,
        #3a3535,
        #1a1a1a
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: swirl 3s linear infinite paused;
    transform-origin: center center;
}

.nav-button.primary:hover::before {
    opacity: 1;
    animation-play-state: running;
}

@keyframes swirl {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.nav-button.primary .arrow {
    position: relative;
    z-index: 2;
    display: inline-block;
    margin-left: 8px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.nav-button:hover {
    transform: translateY(-2px) scale(1.02);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.nav-button.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    background: #1a1a1a !important;
}

.nav-button.primary:hover .arrow {
    transform: translate(2px, 2px);
}

.menu-dots {
    font-size: 18px;
    line-height: 1;
}

/* Icon-only menu button */
.menu-icon-only {
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 20px;
    justify-content: center;
}

/* Dropdown Menu */
.menu-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: var(--spacing-xs);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.menu-wrapper {
    position: relative;
}

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

.menu-dropdown a {
    display: block;
    padding: 12px 16px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu-dropdown a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

/* Theme Toggle */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    position: relative;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sun-icon,
.moon-icon {
    position: absolute;
    transition: all var(--transition-base);
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.8);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.8);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* ========================================
   8. COMPONENTS
   ======================================== */

/* Image Container */
.image-container {
    grid-column: 1 / 4;
    width: 100%;
    background-color: var(--placeholder-bg);
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Buttons */
.btn-primary {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    align-self: flex-start;
    transition: gap var(--transition-base);
}

.btn-primary:hover {
    gap: var(--spacing-sm);
}

/* Filter Buttons */
.filter-container {
    margin-bottom: var(--spacing-2xl);
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    font-size: var(--text-small);
    font-weight: 500;
    color: var(--tertiary-text);
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    text-transform: lowercase;
}

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

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

/* Arrow Icon */
.arrow {
    transition: transform var(--transition-base);
}

/* ========================================
   9. CONTENT SECTIONS
   ======================================== */

/* About Content */
.about-content {
    grid-column: 2 / 4;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

/* Section Intro */
.section-intro {
    grid-column: 2 / 4;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Services List */
.services-list {
    grid-column: 2 / 4;
    display: flex;
    flex-direction: column;
}

.service-item {
    border-top: 1px solid var(--text-color);
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
    cursor: pointer;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-item:hover {
    padding: var(--spacing-xl) 0;
    margin: 0 -30px;
    padding-left: 30px;
    padding-right: 30px;
}

.service-name {
    font-size: var(--h3-size);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.3;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .service-name {
    transform: translateX(10px);
}

.service-details {
    display: flex;
    flex-direction: column;
}

.service-description {
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.5;
    color: var(--secondary-text);
    font-weight: 300;
    max-height: 52px;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .service-description {
    max-height: 300px;
}

.service-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    gap: var(--spacing-xs);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .service-link {
    max-height: 50px;
    opacity: 1;
    margin-top: 16px;
}

.service-link:hover {
    gap: var(--spacing-sm);
}

.service-link:hover .arrow {
    transform: translateX(4px);
}

/* Projects Section (Homepage) */
.projects-intro {
    grid-column: 2 / 4;
    margin-bottom: var(--spacing-2xl);
}

.projects-intro p {
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--secondary-text);
    font-weight: 300;
}

.projects {
    grid-column: 1 / 4;
    position: relative;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 12px;
}

/* Hide native scrollbar */
.projects::-webkit-scrollbar {
    display: none;
}

.projects {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Centered scrollbar container */
.scrollbar-track {
    grid-column: 1 / 4;
    display: flex;
    justify-content: center;
    padding: 16px 0;
}

.scrollbar-track-inner {
    width: 100%;
    max-width: 300px;
    height: 6px;
    background: #e8e8e8;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.scrollbar-thumb {
    position: absolute;
    height: 100%;
    background: #999;
    border-radius: 10px;
    transition: background 0.2s ease;
    cursor: grab;
}

.scrollbar-thumb:hover {
    background: #777;
}

.scrollbar-thumb:active {
    cursor: grabbing;
}

.projects-wrapper {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-2xl);
    width: 150vw;
}

.project {
    position: relative;
    display: flex;
    width: 70vw;
    min-width: 500px;
    max-width: 820px;
    scroll-snap-align: start;
    min-height: 400px;
    gap:24px;
}

.project-image {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    width: 60%;
    position: relative;
     color: black;
    border-radius: 16px;
}


.project-image .image-placeholder {
    
    background-color: var(--placeholder-bg);
    border-radius: 10px;
    min-height: 400px;
}

.project-details {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-details h2 {
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.side {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}



.vertical-text {
    writing-mode: vertical-rl;
    font-size: var(--text-xs);
    color: var(--tertiary-text);
    font-weight: 500;
}

/* Scroll Indicator */
.scroll-indicator {
    grid-column: 1 / 4;
    margin-top: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.scroll-arrow {
    font-size: 48px;
    color: var(--accent-color);
    font-weight: 300;
    cursor: pointer;
    transition: transform var(--transition-base);
}

.scroll-arrow:hover {
    transform: scale(1.1);
}

.scroll-line {
    flex: 1;
    height: 2px;
    background: repeating-linear-gradient(to right,
            var(--accent-color) 0,
            var(--accent-color) 10px,
            transparent 10px,
            transparent 20px);
}

/* ========================================
   10. PROJECTS LIST PAGE
   ======================================== */

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 60px 80px;
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
}

.hero-title-wrapper {
    display: flex;
    align-items: flex-start;
justify-content: space-between
;}

.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: -0.1em;
}

.project-count {
    font-size: clamp(24px, 5vw, 64px);
    color: var(--text-color);
    line-height: 1;
    vertical-align: super;
    margin-top: 6px;
}

.hero-scroll-arrow {
    font-size: clamp(24px, 3vw, 40px);
    color: var(--text-color);
    line-height: 1;
    cursor: pointer;
    margin-top: 4px;
}

/* Projects Grid */
.projects-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: var(--spacing-3xl) 60px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
}

/* Project Card */
.project-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    cursor: pointer;
}

.project-tags {
    font-size: var(--text-xs);
    font-weight: 400;
    color: var(--tertiary-text);
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.project-card .project-title {
    font-size: clamp(24px, 2vw, 36px);
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-color);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    align-items: center;
}

.project-arrow {
    font-size: clamp(20px, 2vw, 28px);
    display: inline-block;
    width: 0;
    overflow: hidden;
    margin-right: 0;
}

.project-card .project-title .word {
    display: inline-flex;
    overflow: hidden;
}

.project-card .project-title .letter {
    display: inline-block;
}

/* Project Card Image */
.project-card .project-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: var(--placeholder-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

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

/* ========================================
   11. RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }

    .hero-section {
        padding: 100px 40px 60px;
    }

    .projects-container {
        padding: var(--spacing-2xl) 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 40px 24px;
    }

    .grid-layout {
        grid-template-columns: 1fr;
        row-gap: var(--spacing-xl);
    }

    .section-title {
        grid-column: 1;
        margin-bottom: 6px;
    }

    .about-content,
    .section-intro,
    .services-list,
    .projects-intro,
    .image-container,
    .projects,
    .scrollbar-track {
        grid-column: 1;
    }

    .about-content {
        gap: 30px;
    }

    .section-intro {
        gap: 20px;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 0;
    }

    .service-item:hover {
        padding: 28px 0;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .project {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Projects section - stack vertically on mobile */
    .projects {
        overflow-x: visible;
        overflow-y: visible;
    }

    .projects-wrapper {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-xl);
    }

    .project {
        width: 100%;
        flex-direction: column;
    }

    .project-image {
        width: 100%;
    }

    .project-image .image-placeholder {
        min-height: 250px;
    }

    .project-details {
        width: 100%;
    }

    .scrollbar-track {
        display: none;
    }

    .archive-link-wrapper {
        width: 100%;
        text-align: center;
        padding: 20px 0;
    }

    .side {
        left: 10px;
        padding: 20px 0;
        gap: 10px;
    }

    .vertical-text {
        font-size: 10px;
    }

    .scroll-indicator {
        margin-top: 30px;
    }

    .scroll-arrow {
        font-size: 32px;
    }

    .hero-title-wrapper {
        gap: 0;
    }

    .hero-right {
        margin-top: 0;
    }

    .hero-section {
        padding: 80px 24px 40px;
    }

    .projects-container {
        padding: 40px 24px;
    }

    .projects-grid {
        gap: var(--spacing-2xl);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }

    .grid-layout {
        row-gap: 30px;
    }

    .about-content {
        gap: var(--spacing-lg);
    }

    .image-container {
        border-radius: var(--radius-md);
        aspect-ratio: 4 / 3;
    }
}

/* ========================================
   12. ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
