/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0f1419;
    --secondary-color: #38bdf8;
    --secondary-dark: #0ea5e9;
    --text-color: #f8fafc;
    --container-width: 1400px;
    --font-heading: 'Space Grotesk', 'Segoe UI', sans-serif;
    --font-body: 'DM Sans', 'Segoe UI', sans-serif;
}

/* Apply Space Grotesk to all headings */
h1,
h2,
h3,
h4,
.hero-title,
.section-title,
.about-name,
.experience-position,
.project-title,
.contact-info h3,
.cta-item h3,
.footer-logo span,
.modal-header h3 {
    font-family: var(--font-heading);
}

body {
    font-family: 'DM Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--primary-color);
    /* Optimize for smooth scrolling */
    will-change: scroll-position;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
