/* ============================================
   Benyamin Zolfaghari Website - Main Stylesheet
   Modern Minimalist Design - Navy/Black/White
   ============================================ */

/* Import all CSS modules */
@import url('variables.css');
@import url('base.css');
@import url('layout.css');
@import url('components.css');

/* Additional global styles */
body {
  padding-top: var(--header-height);
}

main {
  padding-top: var(--spacing-2xl);
  min-height: calc(100vh - var(--header-height));
}

@media (max-width: 600px) {
  main {
    padding-top: var(--spacing-lg);
  }
}

/* Smooth scroll offset for fixed header */
section[id] {
  scroll-margin-top: calc(var(--header-height) + var(--spacing-md));
}

/* Section dividers - Standard spacing between sections */
.content1 + .content1,
.content2 + .content2,
.content3 + .content3,
.content1 + .content2,
.content2 + .content1,
.content1 + .content3,
.content3 + .content1,
.content2 + .content3,
.content3 + .content2,
#daily-quotes + .content1,
#daily-quotes + .content2,
#daily-quotes + .content3,
.content1 + #daily-quotes,
.content2 + #daily-quotes,
.content3 + #daily-quotes,
.medcardy-section + .content1,
.medcardy-section + .content2,
.medcardy-section + .content3,
.content1 + .medcardy-section,
.content2 + .medcardy-section,
.content3 + .medcardy-section,
#daily-quotes + .medcardy-section,
.medcardy-section + #daily-quotes {
  margin-top: var(--spacing-2xl);
}

@media (max-width: 600px) {
  /* Standard spacing in mobile - reduced */
  .content1 + .content1,
  .content2 + .content2,
  .content3 + .content3,
  .content1 + .content2,
  .content2 + .content1,
  .content1 + .content3,
  .content3 + .content1,
  .content2 + .content3,
  .content3 + .content2,
  #daily-quotes + .content1,
  #daily-quotes + .content2,
  #daily-quotes + .content3,
  .content1 + #daily-quotes,
  .content2 + #daily-quotes,
  .content3 + #daily-quotes,
  .medcardy-section + .content1,
  .medcardy-section + .content2,
  .medcardy-section + .content3,
  .content1 + .medcardy-section,
  .content2 + .medcardy-section,
  .content3 + .medcardy-section,
  #daily-quotes + .medcardy-section,
  .medcardy-section + #daily-quotes {
    margin-top: var(--spacing-xl);
  }
  
  #Life {
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  #Life + footer {
    margin-top: 0;
  }
}

/* Loading animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content1,
.content2,
.content3 {
  animation: fadeIn 0.6s ease-out;
}

/* Glow effect on scroll */
@keyframes pulse {
  0%, 100% {
    box-shadow: var(--shadow-glow);
  }
  50% {
    box-shadow: var(--shadow-glow-strong);
  }
}

/* Print styles */
@media print {
  .header,
  .hamburger,
  footer {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}
