/* Import CSS modules */
@import 'reset.css';
@import 'variables.css';
@import 'animations.css';
@import 'layout.css';
@import 'header.css';
@import 'hero.css';
@import 'about.css';
@import 'skills.css';
@import 'projects.css';
@import 'contact.css';
@import 'footer.css';
@import 'responsive.css';

/* Global Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
  --bg-primary: #0A192F;
  --bg-secondary: #112240;
  --accent-color: #FFB400;
  --text-primary: #E6F1FF;
  --text-secondary: #8892B0;
  --border-color: rgba(255, 255, 255, 0.1);
  --card-bg: #112240;
  --shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color-dark);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Custom Cursor */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(255, 180, 0, 0.5);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.2s ease;
  display: none;
}

@media (min-width: 1024px) {
  .cursor {
    display: block;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: width 0.3s ease;
  z-index: -1;
}

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

.btn--primary {
  background-color: var(--accent-color);
  color: var(--bg-primary);
}

.btn--primary:hover {
  background-color: var(--accent-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn--secondary {
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn--secondary:hover {
  background-color: rgba(255, 180, 0, 0.1);
  transform: translateY(-2px);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header__underline {
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 0 auto;
  border-radius: 2px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color-dark);
}