/* ====================================================
   1. BASE STYLES & RESET
==================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ====================================================
   2. HEADER & DESKTOP NAVIGATION
==================================================== */
header {
  background: #ffffff;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

nav.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

nav a.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #475569;
  padding: 15px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

nav a.nav-link:hover, nav a.nav-link.active {
  color: #ff5722;
}

.arrow-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  min-width: 220px;
  padding: 8px 0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 1100;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #475569;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: #fff5f2;
  color: #ff5722;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-item:hover .arrow-icon {
  transform: rotate(180deg);
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.btn-icon-fav {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
}

.btn-icon-fav:hover {
  background: #fef2f2;
  color: #ef4444;
  border-color: #fca5a5;
}

.btn-organizer {
  background: linear-gradient(135deg, #ff5722 0%, #ff7a45 100%);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.15);
}

.btn-organizer:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 87, 34, 0.25);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 2000;
}

.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: #1e293b;
  transition: all 0.3s ease;
  border-radius: 3px;
}

/* ====================================================
   3. MOBILES MENÜ (Drawer & Overlay)
==================================================== */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1499;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: #ffffff;
  z-index: 1500;
  box-shadow: -10px 0 35px rgba(15, 23, 42, 0.15);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-side-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.mobile-menu-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.close-menu-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}

.mobile-links-container {
  display: flex;
  flex-direction: column;
}

.mobile-nav-item {
  border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 600;
  color: #334155;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: #ff5722;
}

.mobile-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #f8fafc;
  border-radius: 8px;
}

.mobile-dropdown a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: #475569;
  font-weight: 500;
}

.mobile-dropdown a:hover {
  color: #ff5722;
}

.mobile-nav-item.active-dropdown .mobile-dropdown {
  max-height: 200px;
}

.mobile-nav-item.active-dropdown .arrow-icon {
  transform: rotate(180deg);
  color: #ff5722;
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ====================================================
   4. HERO SECTION
==================================================== */
.hero {
  padding: 70px 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.tagline {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ff5722;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: inline-block;
  background: rgba(255, 87, 34, 0.06);
  padding: 6px 14px;
  border-radius: 30px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, #ff5722 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 17px;
  color: #475569;
  margin-bottom: 35px;
  max-width: 540px;
}

.cta-flex {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #ff5722 0%, #d81b60 100%);
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(216, 27, 96, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(216, 27, 96, 0.25);
}

.btn-outline {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
}

.btn-outline:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.hero-canvas {
  position: relative;
}

.hero-canvas img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

/* ====================================================
   5. EVENTS AGENDA SECTION
==================================================== */
.events-section {
  padding: 80px 0;
}

.headline-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.headline-wrap h2 {
  font-size: 34px;
  font-weight: 800;
  color: #0f172a;
}

.headline-wrap h2 span {
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.event-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  border-color: #ff7a45;
  box-shadow: 0 12px 25px rgba(255, 87, 34, 0.06);
}

.card-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-date {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ff5722 0%, #ec4899 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-region {
  font-size: 11px;
  font-weight: 700;
  color: #ff5722;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.card-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-body p {
  font-size: 14px;
  color: #475569;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-btn {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  padding: 11px 15px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.event-card:hover .card-btn {
  background: linear-gradient(135deg, #ff5722 0%, #ec4899 100%);
  color: white;
  border-color: transparent;
}

/* ====================================================
   6. FOOTER
==================================================== */
footer {
  background: #ffffff;
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
}

/* ====================================================
   7. RESPONSIVE MEDIA QUERIES
==================================================== */
@media (max-width: 1024px) {
  nav.desktop-nav, .nav-right-actions {
    display: none !important;
  }
  .menu-toggle {
    display: block;
  }
  .hero h1 { font-size: 40px; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 35px; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .cta-flex { justify-content: center; }
  .hero-canvas { max-width: 550px; margin: 0 auto; width: 100%; }
  .hero-canvas img { height: 320px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}