/* ========================================
   CSS VARIABLES & RESET
======================================== */

:root {
  --bg: #0b0f17; /* koyu arka plan */
  --card: #111722;
  --text: #e9edf3;
  --muted: #aab4c3;
  --primary: #2dd4bf;
  --secondary: #60a5fa;
  --outline: #1f2937;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  background: linear-gradient(180deg, #0b0f17 0%, #0e1420 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--secondary);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ========================================
   LAYOUT & CONTAINER
======================================== */

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ========================================
   HEADER & NAVIGATION
======================================== */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--outline);
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-name {
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a.active {
  color: var(--text);
}

.site-nav .nav-header,
.site-nav .drawer-bottom,
.site-nav .drawer-close {
  display: none;
}

/* ========================================
   BUTTONS
======================================== */

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--outline);
  color: var(--text);
}

.btn.primary {
  background: var(--primary);
  color: #071317;
  border-color: transparent;
  font-weight: 600;
}

.btn.secondary {
  background: var(--secondary);
  color: #0b0f17;
  border-color: transparent;
  font-weight: 600;
}

.btn.link {
  border: 0;
  padding: 0;
  color: var(--secondary);
}

/* ========================================
   MOBILE DRAWER (Hidden on Desktop)
======================================== */

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--outline);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 10px;
}

.drawer-backdrop {
  display: none;
}

.drawer-fab-close {
  display: none;
}

/* ========================================
   HERO SECTIONS
======================================== */

.hero,
.page-hero {
  position: relative;
  padding: 3px 0 !important;
}

.hero-media img {
  width: 100%;
  height: 65vh;
  object-fit: cover;
  filter: brightness(0.55);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.hero h1 {
  font-size: 42px;
  margin: 0;
}

.hero p {
  max-width: 760px;
  color: var(--muted);
}

.hero-ctas {
  display: flex;
  gap: 12px;
}

/* ========================================
   SECTIONS & TYPOGRAPHY
======================================== */

section {
  padding: 36px 0;
  border-top: 1px solid var(--outline);
}

h2 {
  font-size: 28px;
  margin: 0 0 18px;
}

h3 {
  margin: 8px 0 6px;
}

/* ========================================
   GRID SYSTEM
======================================== */

.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ========================================
   CARDS & COMPONENTS
======================================== */

.card {
  background: var(--card);
  border: 1px solid var(--outline);
  border-radius: 14px;
  padding: 14px;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
}

.stat-card span {
  color: #666;
  font-size: 13px;
  display: block;
  margin-top: 3px;
}

.media-card img {
  min-width: 100%;
  min-height: 200px;
  max-height: 200px;
  object-fit: cover;
  overflow: hidden;
  margin-bottom: 1rem;
}

.media-card p {
  color: var(--muted);
  padding-top: 0;
  margin-top: 5px;
}

/* ========================================
   PAGE SPECIFIC COMPONENTS
======================================== */

.page-hero-media img,
.steps .step img {
  width: 100%;
  height: 42vh;
  object-fit: cover;
  filter: brightness(0.7);
}

.steps .step {
  display: flex;
  flex-direction: column;
}

.steps .step p {
  color: var(--muted);
}

.cta-banner {
  background: linear-gradient(90deg, #0f172a, #111827);
  border-top: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ========================================
   FAQ COMPONENT
======================================== */

.faq .faq-item {
  background: var(--card);
  border: 1px solid var(--outline);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}

.faq .faq-item summary {
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 2;
  cursor: pointer;
  padding: 0.3rem;
}

/* ========================================
   GALLERY
======================================== */

.gallery img {
  aspect-ratio: 3/2;
  object-fit: cover;
}

/* ========================================
   CONTACT FORM
======================================== */

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--outline);
  background: #0a121d;
  color: var(--text);
}

.contact-form button {
  margin-top: 6px;
}

.contact-card img {
  margin-bottom: 12px;
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
  border-top: 1px solid var(--outline);
  background: #0a0f18;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.footer-about h4 {
  margin: 0 0 10px;
}

.socials {
  display: flex;
  gap: 12px;
}

.footer-contact p {
  margin: 6px 0;
  color: var(--muted);
}

.copyright {
  border-top: 1px solid var(--outline);
  text-align: center;
  color: var(--muted);
  padding: 14px 0;
}

.social-icon {
  vertical-align: middle;
  margin-right: 8px;
}

/* ========================================
   TABLET RESPONSIVE (960px and below)
======================================== */

@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    padding: 0 4%;
  }
  
  .hero h1 {
    font-size: 34px;
  }
}

/* ========================================
   MOBILE STYLES (960px and below)
======================================== */

@media (max-width: 960px) {
  /* Mobile Navigation */
  .mobile-toggle {
    display: inline-block;
  }
  
  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86%, 360px);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    background: #0a0f18;
    border-left: 1px solid var(--outline);
    display: none;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }
  
  .site-nav .nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px;
    border-bottom: 1px solid var(--outline);
  }
  
  .site-nav .nav-title {
    font-weight: 700;
    color: var(--text);
  }
  
  .site-nav .drawer-close {
    background: transparent;
    border: 1px solid var(--outline);
    color: var(--text);
    padding: 6px 10px;
    border-radius: 10px;
  }
  
  .site-nav a {
    display: block;
    padding: 14px 18px;
    border-bottom: 1px solid #0e1622;
    color: var(--muted);
  }
  
  .site-nav a.active {
    color: var(--text);
  }
  
  .site-nav .btn {
    width: calc(100% - 36px);
    margin: 14px 18px;
    text-align: center;
  }
  
  .site-nav .drawer-bottom {
    margin-top: 20px;
    padding: 14px 18px;
    border-top: 1px solid var(--outline);
    display: grid;
    gap: 10px;
  }
  
  .site-nav .drawer-bottom p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
  }
  
  /* Drawer Backdrop */
  .drawer-backdrop {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    display: none;
  }
  
  /* Drawer States */
  body.drawer-open .site-nav {
    display: flex;
    transform: translateX(0);
  }
  
  body.drawer-open .drawer-backdrop {
    display: block;
  }
  
  /* Drawer FAB Close */
  .drawer-fab-close {
    display: none;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 99999;
    background: #0a0f18;
    border: 1px solid var(--outline);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 10px;
  }
  
  body.drawer-open .drawer-fab-close {
    display: inline-block;
  }
  
  /* Hero Mobile Adjustments */
  .hero {
    height: 100vh;
  }
  
  .hero-media  {
    display: none;
  }
  /* .hero-media img {
    height: 80vh;
  } */
  .grid-3 {
    grid-template-columns: repeat(1, 1fr);
  }
  .footer-inner, .cta-inner{
    flex-direction: column;
  }
  .cta-banner h2{
    font-size: 22px;
  }
  .hero h1 {
    font-size: 36px;
    line-height: 1.4;
  }
  .hero-content {
      padding: 2rem 0 0;
      justify-content: flex-start;
  }
}
.brand-name {
    font-size: 28px;
}