/* ============================================
   BURGUT MİMARLIK - DESIGN SYSTEM
   Modern, Sofistike, Kurumsal
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    /* Kurumsal Renkler */
    --color-dark-gray: #5b6067;
    --color-black: #2c2d2c;
    --color-light-blue: #dbeaf8;
    --color-sky: #a7c8e2;
    --color-blue: #80aed1;
    --color-deep-blue: #6190b4;
    --color-steel: #485667;
    --color-light-gray: #e7e7e9;
    --color-white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-deep-blue) 0%, var(--color-steel) 100%);
    --gradient-light: linear-gradient(135deg, var(--color-light-blue) 0%, var(--color-sky) 100%);
    --gradient-dark: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-gray) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', var(--font-primary);

    --fs-xs: clamp(0.75rem, 1.5vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 1.8vw, 1rem);
    --fs-base: clamp(1rem, 2vw, 1.125rem);
    --fs-lg: clamp(1.125rem, 2.5vw, 1.25rem);
    --fs-xl: clamp(1.25rem, 3vw, 1.5rem);
    --fs-2xl: clamp(1.5rem, 4vw, 2rem);
    --fs-3xl: clamp(2rem, 5vw, 3rem);
    --fs-4xl: clamp(2.5rem, 6vw, 4rem);
    --fs-5xl: clamp(3rem, 8vw, 5rem);

    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glass: 0 8px 32px rgba(91, 96, 103, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-smooth: 600ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    line-height: 1.6;
    color: var(--color-dark-gray);
    background-color: var(--color-white);
    overflow-x: hidden;
    overflow-wrap: break-word;
}

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

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

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

ul,
ol {
    list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: var(--fw-semibold);
    line-height: 1.2;
    color: var(--color-black);
}

h1 {
    font-size: var(--fs-5xl);
}

h2 {
    font-size: var(--fs-4xl);
}

h3 {
    font-size: var(--fs-3xl);
}

h4 {
    font-size: var(--fs-2xl);
}

h5 {
    font-size: var(--fs-xl);
}

h6 {
    font-size: var(--fs-lg);
}

p {
    margin-bottom: var(--space-md);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section {
    padding: var(--space-5xl) 0;
}

.section--dark {
    background: var(--gradient-dark);
    color: var(--color-white);
}

.section--light {
    background: var(--color-light-blue);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    padding: var(--space-lg) 0;
    transition: var(--transition-smooth);
}

.header--scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    padding: var(--space-md) 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo__icon {
    width: 50px;
    height: auto;
}

.logo__text {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--color-black);
    letter-spacing: 2px;
}

.logo__subtext {
    font-size: var(--fs-xs);
    font-weight: var(--fw-light);
    letter-spacing: 3px;
    color: var(--color-dark-gray);
}

.logo__image {
    height: 50px;
    width: auto;
    transition: var(--transition-base);
}

/* Logo on dark backgrounds - make white parts transparent */
.hero .logo__image,
.header:not(.header--scrolled) .logo__image {
    filter: brightness(0) invert(1);
}

/* Logo on light backgrounds - keep original */
.header--scrolled .logo__image {
    filter: none;
}

.footer .logo__image {
    filter: brightness(0) invert(1);
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.nav__list {
    display: flex;
    gap: var(--space-xl);
}

.nav__link {
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--color-dark-gray);
    position: relative;
    padding: var(--space-sm) 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-base);
}

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

.nav__link:hover {
    color: var(--color-deep-blue);
}

/* Nav links on dark background (transparent header) */
.header:not(.header--scrolled) .nav__link {
    color: rgba(255, 255, 255, 0.9);
}

.header:not(.header--scrolled) .nav__link:hover {
    color: var(--color-white);
}

.header:not(.header--scrolled) .menu-toggle__bar {
    background: var(--color-white);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-sm);
    z-index: var(--z-modal);
}

.menu-toggle__bar {
    width: 28px;
    height: 2px;
    background: var(--color-black);
    transition: var(--transition-base);
    transform-origin: center;
}

.menu-toggle--active .menu-toggle__bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle--active .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle--active .menu-toggle__bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::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: var(--transition-slow);
}

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

.btn--primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

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

.btn--outline {
    border: 2px solid var(--color-deep-blue);
    color: var(--color-deep-blue);
}

.btn--outline:hover {
    background: var(--color-deep-blue);
    color: var(--color-white);
}

.btn--glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.btn--glass:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn--lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--fs-base);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-dark);
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero__bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 45, 44, 0.9) 0%, rgba(72, 86, 103, 0.7) 100%);
}

.hero__pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 L30 0 L30 30 L0 30 Z' fill='%23ffffff' fill-opacity='0.3'/%3E%3Cpath d='M30 30 L60 0 L60 30 L30 30 Z' fill='%23ffffff' fill-opacity='0.15'/%3E%3Cpath d='M0 60 L30 30 L30 60 L0 60 Z' fill='%23ffffff' fill-opacity='0.15'/%3E%3Cpath d='M30 60 L60 30 L60 60 L30 60 Z' fill='%23ffffff' fill-opacity='0.3'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 100px;
    padding-bottom: 150px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xl);
    font-size: var(--fs-sm);
    color: var(--color-sky);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__title {
    font-size: var(--fs-5xl);
    font-weight: var(--fw-bold);
    color: var(--color-white);
    margin-bottom: var(--space-xl);
    line-height: 1.35;
}

.hero__title span {
    display: block;
    font-weight: var(--fw-light);
    color: var(--color-sky);
}

.hero__description {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
}

.hero__actions {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--fs-xs);
    animation: bounce 2s infinite;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-sky), transparent);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===== CARDS ===== */
.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

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

.card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

.card:hover .card__image img {
    transform: scale(1.05);
}

.card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 45, 44, 0.8) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-base);
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
}

.card:hover .card__overlay {
    opacity: 1;
}

.card__content {
    padding: var(--space-xl);
}

.card__category {
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    color: var(--color-deep-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.card__title {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-sm);
}

.card__description {
    color: var(--color-dark-gray);
    font-size: var(--fs-sm);
}

/* Glass Card */
.card--glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-glass);
}

.card--glass .card__title,
.card--glass .card__description {
    color: var(--color-white);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-4xl);
}

.section-header__label {
    display: inline-block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--color-deep-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--space-md);
}

.section-header__title {
    margin-bottom: var(--space-lg);
}

.section-header__description {
    color: var(--color-dark-gray);
    font-size: var(--fs-lg);
}

/* ===== PROJECT GRID ===== */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

/* ===== STATS SECTION ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.stat {
    text-align: center;
    padding: var(--space-2xl);
}

.stat__number {
    font-family: var(--font-display);
    font-size: var(--fs-4xl);
    font-weight: var(--fw-bold);
    color: var(--color-deep-blue);
    margin-bottom: var(--space-sm);
}

.stat__label {
    font-size: var(--fs-sm);
    color: var(--color-dark-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light-blue);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    color: var(--color-deep-blue);
    font-size: 24px;
}

.service-card__title {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-md);
}

.service-card__description {
    color: var(--color-dark-gray);
    font-size: var(--fs-sm);
}

/* ===== TEAM ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.team-card {
    text-align: center;
}

.team-card__image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--space-lg);
    border: 4px solid var(--color-light-gray);
    transition: var(--transition-base);
}

.team-card:hover .team-card__image {
    border-color: var(--color-deep-blue);
}

.team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__name {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-xs);
}

.team-card__role {
    color: var(--color-deep-blue);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
}

/* ===== CONTACT ===== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--color-black);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    font-size: var(--fs-base);
    font-family: inherit;
    border: 2px solid var(--color-light-gray);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    background: var(--color-white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-deep-blue);
    box-shadow: 0 0 0 4px rgba(97, 144, 180, 0.1);
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    margin-bottom: var(--space-lg);
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fs-sm);
    line-height: 1.8;
}

.footer__title {
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-lg);
    color: var(--color-white);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__link {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fs-sm);
    transition: var(--transition-base);
}

.footer__link:hover {
    color: var(--color-sky);
    padding-left: var(--space-sm);
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fs-sm);
}

.footer__contact-icon {
    color: var(--color-sky);
    margin-top: 4px;
}

.footer__bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--fs-sm);
}

.footer__social {
    display: flex;
    gap: var(--space-md);
}

.footer__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: var(--transition-base);
}

.footer__social-link:hover {
    background: var(--color-deep-blue);
    transform: translateY(-3px);
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none !important;
}

.visible {
    visibility: visible;
}

.invisible {
    visibility: hidden;
}

.flex {
    display: flex;
}

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

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-sm {
    gap: var(--space-sm);
}

.gap-md {
    gap: var(--space-md);
}

.gap-lg {
    gap: var(--space-lg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        height: 100dvh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: var(--space-2xl);
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-2xl);
        z-index: 600;
        overflow-y: auto;
    }

    .nav--open {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        text-align: center;
    }

    .nav__link {
        font-size: var(--fs-xl);
        padding: var(--space-md) 0;
    }

    /* Fix: force dark text inside the white mobile nav panel */
    .nav--open .nav__link,
    .header:not(.header--scrolled) .nav--open .nav__link {
        color: var(--color-black) !important;
        display: block;
        width: 100%;
        pointer-events: auto;
    }

    .nav--open .nav__link:hover,
    .nav--open .nav__link:active {
        color: var(--color-deep-blue) !important;
    }

    /* CTA button inside mobile nav */
    .nav--open .btn--cta {
        color: var(--color-white) !important;
        display: inline-block;
        margin-top: var(--space-lg);
        pointer-events: auto;
    }

    .hero__title {
        font-size: var(--fs-4xl);
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .stat {
        padding: var(--space-lg);
    }

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

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero__title {
        font-size: var(--fs-3xl);
    }

    .section {
        padding: var(--space-3xl) 0;
    }

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