/* Import Google Font - Heebo */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700&display=swap');

:root {
  --primary-orange: #FF6B35;
  --secondary-orange: #FF8C42;
  --dark-gray: #2D3142;
  --medium-gray: #4F5D75;
  --light-gray: #EF8354;
  --bg-light: #F8F9FA;
  --white: #FFFFFF;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  font-family: 'Heebo', sans-serif;
}

body {
  background-color: var(--bg-light);
  overflow-x: hidden;
}

/* Modern Header */
.modern-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.modern-header.scrolled {
  box-shadow: var(--shadow-lg);
}

.logo {
  max-height: 45px;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.nav-link {
  color: var(--dark-gray);
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-orange);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-orange);
}

.nav-link:hover::after {
  width: 100%;
  right: 0;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/imgs/intro2.webp') center/cover no-repeat;
  opacity: 0.2;
  animation: kenBurns 20s ease infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 2.5rem;
  opacity: 0.95;
  animation: fadeInUp 1s ease 0.4s both;
}

.cta-button {
  background: var(--primary-orange);
  color: var(--white);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
  animation: fadeInUp 1s ease 0.6s both;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background: var(--secondary-orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.cta-button:active {
  transform: translateY(-1px);
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-gray);
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
  border-radius: 2px;
}

/* Modern Article Cards */
.article-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.article-header {
  background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
  padding: 1.5rem;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  margin: 0;
  text-decoration: none;
  display: block;
  transition: var(--transition);
}

.article-title:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.article-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-description {
  color: var(--medium-gray);
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.article-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.read-more {
  color: var(--primary-orange);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.read-more:hover {
  color: var(--secondary-orange);
  transform: translateX(-5px);
}

.read-more::before {
  content: '←';
  margin-left: 8px;
  transition: var(--transition);
}

.read-more:hover::before {
  margin-left: 12px;
}

/* Footer */
.modern-footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  text-align: center;
  font-weight: 300;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
}

.mobile-menu-btn:hover svg path {
  stroke: var(--primary-orange);
}

.mobile-menu {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 12px 12px;
}

.mobile-menu a {
  color: var(--dark-gray);
  padding: 1rem 1.5rem;
  transition: var(--transition);
  border-right: 3px solid transparent;
}

.mobile-menu a:hover {
  background: var(--bg-light);
  border-right-color: var(--primary-orange);
  color: var(--primary-orange);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Loading Animation */
.fade-in {
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .cta-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .article-title {
    font-size: 1.1rem;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus styles for accessibility */
a:focus, button:focus {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}