/* ========================================
   BONYAN PARDAZESH HOUSHMAND
   MAIN STYLESHEET - MODULAR STRUCTURE
   ======================================== */

/* Import all CSS modules */
@import url('base.css');
@import url('header.css');
@import url('hero.css');
@import url('portfolio.css');
@import url('services.css');
@import url('about.css');
@import url('contact.css');
@import url('footer.css');

/* ========================================
   GLOBAL OVERRIDES & UTILITIES
   ======================================== */

/* Ensure smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* Optimize font loading */
@font-face {
    font-family: 'Hurme';
    src: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/217233/HurmeGeometricSans2-Bold.woff2') format('woff2'),
        url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/217233/HurmeGeometricSans2-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap; /* Improve loading performance */
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

/* Optimize animations for better performance */
* {
    will-change: auto;
}

.work-sticky,
.hero-content,
.portfolio-item,
.service-card {
    will-change: transform, opacity;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .main-header,
    .bottom-section-indicator,
    .scroll-indicator,
    .video-background {
        display: none !important;
    }
    
    .hero-section {
        height: auto;
        min-height: auto;
    }
    
    .section {
        height: auto;
        min-height: auto;
        page-break-inside: avoid;
    }
}

