@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* -----------------------------------------------------
   MIROK 2030 VISION - GLOBAL TOKENS & RESET
   ----------------------------------------------------- */
:root {
  /* Colors - Ultra Clean Light Mode with Green Accents */
  --c-bg: #F8FAF9;
  --c-surface: #FFFFFF;
  --c-surface-hover: #F0F6F2;
  --c-text-primary: #0F1A13;
  --c-text-secondary: #4A5C50;
  --c-text-tertiary: #84968B;
  
  --c-brand: #08A05E;      /* Modern Emerald Green */
  --c-brand-light: #E3F5EC; /* Very light green */
  --c-accent: #055C37;      /* Deep Forest Green */
  --c-border: rgba(8, 160, 94, 0.12);
  
  --c-whatsapp: #25D366;
  --c-call: #08A05E;
  
  /* Typography - Outfit is ultra modern, round, highly readable */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --fs-hero: clamp(2rem, 5vw, 4rem);
  --fs-h2: clamp(1.8rem, 4vw, 2.8rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.6rem);
  --fs-body: 1.05rem;
  
  /* Radii */
  --rad-sm: 12px;
  --rad-md: 20px;
  --rad-lg: 32px;
  --rad-xl: 48px;
  --rad-pill: 999px;
  
  /* Shadows & Glass */
  --shadow-sm: 0 4px 16px rgba(8, 160, 94, 0.04);
  --shadow-md: 0 16px 40px rgba(8, 160, 94, 0.08);
  --shadow-lg: 0 32px 80px rgba(8, 160, 94, 0.12);
  --shadow-float: 0 32px 64px rgba(8, 160, 94, 0.15);
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-blur: blur(24px) saturate(160%);
  
  /* Transitions */
  --tr-fast: 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  --tr-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --tr-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--c-bg);
  color: var(--c-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--tr-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------------------------------
   UTILITIES
   ----------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--c-brand-light);
  color: var(--c-brand);
  border-radius: var(--rad-pill);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

/* -----------------------------------------------------
   NAVBAR (HEADER)
   ----------------------------------------------------- */
.nav-2030 {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1200px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--c-border);
  border-radius: var(--rad-pill);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--tr-smooth);
}

@media (max-width: 480px) {
  .nav-2030 {
    width: calc(100% - 16px);
    padding: 8px 16px;
    top: 12px;
  }
}

.nav-2030.scrolled {
  box-shadow: var(--shadow-md);
  top: 12px;
}

.nav-brand img {
  height: 44px;
  transition: var(--tr-fast);
}

@media (max-width: 480px) {
  .nav-brand img {
    height: 36px;
  }
}

.nav-links {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 991px) {
  .nav-links { display: none; }
}

.nav-links li a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-text-primary);
  opacity: 0.7;
  padding: 8px 12px;
  border-radius: var(--rad-pill);
  transition: var(--tr-fast);
}

.nav-links li a:hover {
  opacity: 1;
  background: var(--c-surface-hover);
  color: var(--c-brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-2030-primary, .btn-2030-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--rad-pill);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--tr-smooth);
}

.btn-2030-primary {
  background: var(--c-brand);
  color: #fff;
}
.btn-2030-primary:hover {
  background: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8, 160, 94, 0.3);
  color: #fff;
}

.btn-2030-secondary {
  background: var(--c-brand-light);
  color: var(--c-brand);
}
.btn-2030-secondary:hover {
  background: var(--c-surface-hover);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .nav-actions .btn-2030-primary { display: none; }
}

/* -----------------------------------------------------
   HERO / BANNER (Floating Card)
   ----------------------------------------------------- */
.hero-2030 {
  padding-top: 100px;
  margin-bottom: 60px;
}

.hero-card {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  border-radius: var(--rad-xl);
  overflow: hidden;
  height: 65vh;       /* Reduced height */
  min-height: 480px;  /* Reduced min-height */
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: end;
  padding: 60px;
  user-select: none;  /* Prevent text selection when swiping */
  cursor: grab;
}
.hero-card:active {
  cursor: grabbing;
}

@media (max-width: 768px) {
  .hero-2030 {
    margin-bottom: 24px;
    padding-top: 130px; /* Increased from 110px for better clearance */
  }
  .hero-card {
    height: 60vh;
    border-radius: var(--rad-lg);
    padding: 32px 24px;
    margin: 0 16px;
  }
  .section-padding {
    padding: 60px 0;
  }
}

.hero-slider-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-slider-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1s var(--tr-smooth) !important;
}

.hero-slider-bg img.active {
  opacity: 1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 92, 46, 0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  pointer-events: auto; /* Buttons inside should be clickable */
}

.hero-content .tag {
  background: rgba(255,255,255,0.2);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-title {
  color: #ffffff;
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.hero-desc {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 32px;
  max-width: 600px;
}

/* Dots Indicator */
.custom-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  display: flex;
  gap: 12px;
  z-index: 10;
  justify-content: center;
}
.custom-indicators button {
  width: 14px !important;
  height: 14px !important;
  border-radius: 7px !important;
  background-color: rgba(255,255,255,0.4) !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: all var(--tr-smooth) !important;
  text-indent: -999px;
  overflow: hidden;
  cursor: pointer;
}
.custom-indicators button.active {
  background-color: #fff !important;
  width: 32px !important;
}

/* -----------------------------------------------------
   SECTION: HAKKIMIZDA & BENTO GRID
   ----------------------------------------------------- */
.section-padding {
  padding: 100px 0;
}

.bento-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .bento-container {
    gap: 16px;
    padding: 0 16px;
  }
}

.bento-item {
  background: var(--c-surface);
  border-radius: var(--rad-lg);
  border: 1px solid var(--c-border);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--tr-smooth);
}

.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Bento Sizing */
.bento-intro { grid-column: span 8; background: var(--c-bg); border: none; padding: 40px; }
.bento-stat { 
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--c-accent);
  color: #fff;
}
.bento-image { 
  grid-column: span 5; 
  padding: 0;
  overflow: hidden;
}
.bento-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--tr-smooth);
}
.bento-image:hover img { transform: scale(1.05); }

.bento-food { grid-column: span 7; display: flex; flex-direction: column; justify-content: center; }

@media (max-width: 991px) {
  .bento-intro, .bento-stat, .bento-image, .bento-food {
    grid-column: span 12;
  }
  .bento-intro { padding: 0; }
  .bento-image { height: 300px; }
}

.sec-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--c-text-primary);
}

.sec-desc {
  font-size: var(--fs-body);
  color: var(--c-text-secondary);
  margin-bottom: 20px;
}

.stat-num {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #fff, #A5EBC8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  margin-top: 12px;
  text-align: center;
}

/* Food Items */
.food-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--c-bg);
  border-radius: var(--rad-md);
  margin-bottom: 16px;
  border: 1px solid var(--c-border);
  transition: var(--tr-fast);
}
.food-card:hover {
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
}

.food-icon {
  font-size: 2.2rem;
  background: var(--c-brand-light);
  color: var(--c-brand);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

/* -----------------------------------------------------
   SECTION: HAVUZ (Aligned with Container)
   ----------------------------------------------------- */
.pool-sec {
  max-width: 1288px; /* 1240 + 24*2 config */
  margin: 0 auto;
  padding: 40px 24px;
}

@media (max-width: 768px) {
  .pool-sec {
    padding: 32px 16px;
  }
}

.pool-wrapper {
  position: relative;
  border-radius: var(--rad-xl);
  overflow: hidden;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.pool-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.pool-content {
  position: relative;
  z-index: 2;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 48px;
  border-radius: var(--rad-lg);
  max-width: 500px;
  margin-left: 8%;
  box-shadow: 0 24px 48px rgba(8, 160, 94, 0.15);
  /* Premium Glass Edge */
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border-left: 1px solid rgba(255, 255, 255, 0.9);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

@media (max-width: 991px) {
  .pool-wrapper { 
    flex-direction: column;
    align-items: stretch; 
    height: auto; 
    min-height: auto; 
    padding-top: 0;
    background: var(--c-surface);
  }
  .pool-bg {
    position: relative;
    height: 260px;
    object-position: center;
  }
  .pool-content { 
    margin: 0; 
    max-width: 100%; 
    padding: 32px 24px; 
    border-radius: 0 0 var(--rad-lg) var(--rad-lg); 
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    border-left: none;
    border-right: none;
    border-bottom: none;
  }
}

/* -----------------------------------------------------
   SECTION: BRANŞLAR (Modern Cards)
   ----------------------------------------------------- */
.activities-sec { background: var(--c-bg); }
  
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.activity-card {
  position: relative;
  border-radius: var(--rad-lg);
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  transition: var(--tr-smooth);
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-brand);
}

.activity-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 1s var(--tr-smooth);
}

.activity-card:hover img {
  transform: scale(1.05);
}

.activity-content {
  padding: 32px;
  flex: 1;
  background: var(--c-surface);
  z-index: 2;
}

.activity-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--c-text-primary);
}

.activity-desc {
  font-size: 1rem;
  color: var(--c-text-secondary);
  margin: 0;
}

/* -----------------------------------------------------
   SECTION: NEDEN BİZ (Modern Reasons)
   ----------------------------------------------------- */
.reasons-sec {
  background: var(--c-surface);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .reasons-grid {
    padding: 0 16px;
  }
}

@media (max-width: 768px) { .reasons-grid { grid-template-columns: 1fr; } }

.reason-card {
  padding: 40px;
  background: var(--c-surface-hover);
  border-radius: var(--rad-lg);
  border: 1px solid transparent;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  transition: var(--tr-smooth);
}

@media (max-width: 768px) {
  .reason-card {
    flex-direction: column;
    padding: 32px 24px;
    gap: 16px;
    align-items: center;
    text-align: center;
  }
}

.reason-card:hover {
  background: var(--c-surface);
  box-shadow: var(--shadow-md);
  border-color: var(--c-border);
  transform: translateY(-4px);
}

.reason-icon {
  width: 72px;
  height: 72px;
  background: #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  color: var(--c-brand);
}

.reason-content {
  flex: 1;
}

.reason-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--c-text-primary);
}

.reason-desc {
  font-size: 1.05rem;
  color: var(--c-text-secondary);
  line-height: 1.5;
}

/* -----------------------------------------------------
   MAP & FOOTER
   ----------------------------------------------------- */
.map-container {
  max-width: 1240px;
  margin: 40px auto 100px;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.map-container iframe {
  width: 100%;
  height: 480px;
  border-radius: var(--rad-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
}

.footer-2030 {
  background: var(--c-text-primary); /* Darkest green */
  color: rgba(255,255,255,0.8);
  padding: 100px 24px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  max-width: 1240px;
  margin: 0 auto 60px;
}

@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 576px) {
  .footer-grid { 
    grid-template-columns: 1fr; 
    gap: 32px; 
    padding: 0 8px; /* Extra side padding for safety */
  }
}

.footer-brand img { height: 60px; margin-bottom: 24px; }
.footer-desc { color: rgba(255,255,255,0.6); margin-bottom: 24px; }

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  color: #fff;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  transition: var(--tr-fast);
}
.footer-links a:hover { color: #fff; }

.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--tr-smooth);
}
.footer-socials a:hover {
  background: var(--c-brand);
  transform: translateY(-4px);
  color: #fff;
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

@media (max-width: 576px) {
  .footer-bottom { 
    flex-direction: column; 
    gap: 16px; 
    text-align: center; 
    padding: 24px 8px; /* Extra padding for small screens */
  }
}

/* -----------------------------------------------------
   SCROLL REVEAL
   ----------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--tr-smooth), transform 0.8s var(--tr-smooth);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* -----------------------------------------------------
   MODAL OVERRIDES FOR 2030 STYLE
   ----------------------------------------------------- */
.modal-content {
  border: none;
  border-radius: var(--rad-xl);
  overflow: hidden;
}
.modal-header {
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  padding: 24px 32px;
}
.modal-title { font-weight: 800; }
.modal-body { padding: 32px; background: var(--c-bg); }
