/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .carousel-track {
        animation: none !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0 var(--space-4);
    }

    .navbar__logo {
        width: 50px;
        height: 50px;
    }

    .navbar__brand {
        font-size: 16px;
    }

    .navbar__nav {
        gap: var(--space-2);
    }

    .navbar__link {
        font-size: var(--text-sm);
        padding: var(--space-2);
    }

    .navbar__cta {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-sm);
    }

    .hero {
        padding: var(--space-12) var(--space-4);
    }

    .section {
        padding: var(--space-12) var(--space-4);
    }

    .projects__grid {
        grid-template-columns: 1fr;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
        gap: var(--space-3);
    }

    .hero__btn {
        width: 100%;
        justify-content: center;
    }

    .tech-card {
        width: 140px;
        height: 85px;
    }

    .tech-card__icon {
        width: 32px;
        height: 32px;
    }

    .tech-card__title {
        font-size: var(--text-sm);
    }
}

@media (min-width: 1024px) {
    .hero__subtitle {
        white-space: nowrap;
    }
}