/* ===== Variables ===== */
:root {
  /* Light tema varsayılan */
  --color-bg: #f5f5f7;
  --color-surface: #ffffff;
  --color-card: #f9fafb;
  --color-border: #e2e8f0;
  --color-text: #111827;
  --color-text-muted: #6b7280;
  --color-accent: #f97316;
  --color-accent-hover: #ea580c;
  --color-cta: #16a34a;
  --color-cta-hover: #15803d;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --transition: 0.2s ease;
}

/* Dark tema */
:root[data-theme="dark"] {
  --color-bg: #0d0f12;
  --color-surface: #161a1f;
  --color-card: #1c2128;
  --color-border: #2d333b;
  --color-text: #e6edf3;
  --color-text-muted: #8b949e;
  --color-accent: #f59e0b;
  --color-accent-hover: #d97706;
  --color-cta: #22c55e;
  --color-cta-hover: #16a34a;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }
address { font-style: normal; }

/* ===== Skip link (a11y & SEO) ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: 600;
  border-radius: var(--radius);
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-surface);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}
.logo:hover { color: var(--color-text); }
.logo-icon { font-size: 1.5rem; }
.logo-img {
  display: block;
  height: 72px;
  width: auto;
}
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.75rem;
}
.nav-list a {
  color: var(--color-text-muted);
  font-weight: 500;
}
.nav-list a:hover { color: var(--color-text); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  font-size: 1.1rem;
}
.theme-toggle:hover {
  border-color: var(--color-accent);
  background: var(--color-card);
}
.theme-toggle-icon {
  line-height: 1;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
}
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover { background: var(--color-card); border-color: var(--color-accent); }
.btn-cta {
  background: var(--color-cta);
  color: #fff;
}
.btn-cta:hover { background: var(--color-cta-hover); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('./assets/galeri-arkaplan.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.42;
  z-index: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(245, 158, 11, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
  opacity: 0.82;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--color-text);
}
.hero .highlight { color: var(--color-accent); }
.hero-lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ===== Sections ===== */
.section {
  padding: 4.5rem 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}
.section-lead {
  color: var(--color-text-muted);
  margin: 0 0 2.5rem;
  max-width: 560px;
}

/* ===== Gallery ===== */
.gallery {
  position: relative;
  background: var(--color-bg);
  overflow: hidden;
}
.gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('./assets/galeri-arkaplan.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.38;
  z-index: 0;
}
.gallery::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    var(--color-surface) 100%
  );
  opacity: 0.82;
  z-index: 1;
}
.gallery .container {
  position: relative;
  z-index: 2;
}
.gallery-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  cursor: pointer;
  z-index: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-image {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
  transition: filter 0.25s ease;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  padding: 1rem;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.5),
    transparent
  );
  color: #f9fafb;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-tag {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.12);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.gallery-text {
  font-size: 0.9rem;
}
.gallery-item:hover {
  transform: scale(1.4);
  z-index: 5;
  box-shadow: var(--shadow);
}
.gallery-item:hover .gallery-image {
  filter: brightness(1.05);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ===== Services ===== */
.services { background: var(--color-surface); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow);
}
.service-icon { font-size: 2rem; display: block; margin-bottom: 0.75rem; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}
.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ===== About ===== */
.about-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.about-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.about-list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}
.about-content p:last-of-type {
  color: var(--color-text-muted);
  margin: 0;
}
.about-box {
  background: linear-gradient(135deg, var(--color-card) 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  text-align: center;
  min-width: 180px;
}
.about-stat {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

/* ===== Contact ===== */
.contact { background: var(--color-surface); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.contact-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}
.contact-card p,
.contact-card address {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.contact-card a { color: var(--color-accent); }
.contact-card a:hover { color: var(--color-cta); }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}
.footer-main {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: stretch;
  padding-top: 0;
  padding-bottom: 0;
}
.footer-map-wrap {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.footer-map-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 220px;
}
.footer-map-link {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  padding: 0.4rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
  background: rgba(15, 23, 42, 0.85);
  transition: color var(--transition);
}
.footer-map-link:hover {
  color: var(--color-accent);
}
.footer-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
}
.footer-shop-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.75rem;
}
.footer-address,
.footer-tel,
.footer-email,
.footer-hours {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.footer-info a {
  color: var(--color-accent);
}
.footer-info a:hover {
  color: var(--color-cta);
}
.footer-bottom {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid var(--color-border);
}
.footer-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: #25d366;
  color: #0b141a;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.9rem;
}
.whatsapp-float:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}
.whatsapp-icon {
  font-size: 1.3rem;
}
.whatsapp-label {
  white-space: nowrap;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list { flex-direction: column; gap: 0.5rem; }
  .menu-toggle { display: flex; }
  .btn-cta { width: 100%; justify-content: center; }

  .about-inner { grid-template-columns: 1fr; }
  .about-visual { display: flex; justify-content: center; }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-map-wrap { min-height: 200px; }
  .footer-map-wrap iframe { min-height: 200px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    padding: 0.7rem;
  }
  .whatsapp-label {
    display: none;
  }
}
