/* Erktas - Apple-inspired minimal tema */
:root {
  --bg-primary: #fbfbfd;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f5f5f7;
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --text-muted: #6e6e73;
  --accent: #0066cc;
  --accent-hover: #0077ed;
  --border: #d2d2d7;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.47059;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--accent-hover); }

/* ===== ÇEREZ BİLDİRİMİ ===== */
:root {
  --cookie-bar-height: 56px;
  --header-height: 56px;
}
@media (min-width: 640px) {
  :root { --cookie-bar-height: 40px; }
}
@media (min-width: 900px) {
  :root { --header-height: 64px; }
}

.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  background: #2b2b2b;
  padding: 0.4rem 1rem;
  min-height: var(--cookie-bar-height);
  box-sizing: border-box;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cookie-consent.visible {
  display: block;
}

.cookie-consent-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-consent-text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.9);
  margin: 0;
}

.cookie-consent-text a {
  color: rgba(255,255,255,0.95);
  text-decoration: underline;
}

.cookie-consent-text a:hover {
  color: #fff;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-consent-btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s, color 0.2s;
}

.cookie-consent-btn.cookie-consent-reject {
  color: rgba(255,255,255,0.9);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
}

.cookie-consent-btn.cookie-consent-reject:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.cookie-consent-btn:not(.cookie-consent-reject) {
  color: #2b2b2b;
  background: #fff;
  border: none;
}

.cookie-consent-btn:not(.cookie-consent-reject):hover {
  background: #f0f0f0;
}

body.cookie-visible { padding-bottom: var(--cookie-bar-height); }

/* ===== HEADER – Kurumsal tasarım ===== */
.header {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1001;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e5e5e7;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 900px) {
  .header-inner { padding: 0 2rem; height: 64px; }
}

.logo-link {
  display: flex;
  align-items: center;
  color: var(--text-primary);
}

.logo-link:hover { color: var(--text-primary); }

.logo-img {
  height: 28px;
  width: auto;
  display: block;
}

@media (min-width: 900px) {
  .logo-img { height: 32px; }
}

/* Mağaza & Portal – mobilde hamburger solunda */
.header-extras {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  margin-right: 0.5rem;
}

.header-extra-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #424245;
  transition: color 0.15s;
}

.header-extra-link:hover {
  color: var(--accent);
}

@media (min-width: 900px) {
  .header-extras { display: none; }
}

/* Hamburger */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle .hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle .hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #1d1d1f;
  transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav – Desktop */
.header-nav .nav-menu {
  display: none;
  list-style: none;
}

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .header-extras { display: none !important; }
  .header-nav .nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
  }
  .header-nav .nav-link-external { margin-left: 0.5rem; }
}

.header-nav .nav-menu li { position: relative; }

.header-nav .nav-link {
  display: block;
  padding: 0.625rem 1rem;
  color: #424245;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

.header-nav .nav-link:hover,
.header-nav .nav-link.active {
  color: var(--accent);
}

.header-nav .nav-link[data-dropdown] {
  cursor: pointer;
  user-select: none;
}

.header-nav .nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: 0.5rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e5e5e7;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

.header-nav .nav-menu li.dropdown-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(8px);
}

.header-nav .nav-dropdown a {
  display: block;
  padding: 0.625rem 1rem;
  color: #424245;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
}

.header-nav .nav-dropdown a:hover {
  color: var(--accent);
  background: #f5f5f7;
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

/* Drawer */
.nav-drawer {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 999;
  max-height: min(80vh, 520px);
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.nav-drawer.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

@media (min-width: 900px) {
  .nav-overlay, .nav-drawer { display: none !important; }
}

.nav-drawer .nav-menu {
  display: flex;
  flex-direction: column;
}

.nav-drawer .nav-menu > li {
  border-bottom: 1px solid #eee;
}

.nav-drawer .nav-menu > li:last-child { border-bottom: none; }

.nav-drawer .nav-link,
.nav-drawer .nav-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: #1d1d1f;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}

.nav-drawer .nav-link::after,
.nav-drawer .nav-dropdown-toggle::after {
  content: '›';
  font-size: 1.125rem;
  color: #86868b;
}

.nav-drawer .nav-link:hover,
.nav-drawer .nav-dropdown-toggle:hover {
  background: #f5f5f7;
}

.nav-drawer .nav-link.active {
  font-weight: 600;
  color: var(--accent);
}

.nav-drawer .nav-dropdown {
  position: static;
  padding: 0 0 0.5rem;
  margin: 0;
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.nav-drawer .nav-menu > li.dropdown-open .nav-dropdown {
  max-height: 320px;
}

.nav-drawer .nav-dropdown li { border-bottom: none; }

.nav-drawer .nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: #1d1d1f;
  background: none;
  transition: background 0.15s;
  text-decoration: none;
}

.nav-drawer .nav-dropdown a::after {
  content: '›';
  font-size: 1.125rem;
  color: #86868b;
}

.nav-drawer .nav-dropdown a:hover {
  background: #f5f5f7;
  color: var(--accent);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 5rem;
  background: #1d1d1f;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero { padding: 9rem 2rem 6rem; min-height: 85vh; }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.45) 45%,
    rgba(0,0,0,0.2) 70%,
    rgba(251,251,253,0.4) 85%,
    var(--bg-primary) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.hero .hero-title,
.hero .hero-subhead {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.hero .hero-subhead { color: rgba(255,255,255,0.92); }

.hero .hero-link { color: rgba(255,255,255,0.95); }
.hero .hero-link:hover { color: #fff; }

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.hero-subhead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
  color: var(--accent);
}

.hero-link:hover { color: var(--accent-hover); }

/* ===== SECTIONS ===== */
section { padding: 4rem 1.5rem; }

@media (min-width: 768px) { section { padding: 5rem 2rem; } }

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--text-primary);
}

.section-cta { text-align: center; margin-top: 2rem; }

/* ===== VALUES GRID ===== */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .values-grid { grid-template-columns: repeat(4, 1fr); }
}

.value-card {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.value-card:hover { transform: translateY(-4px); }

.diamond-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--accent);
}

.value-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.product-card:hover { transform: translateY(-4px); }

.product-card a {
  display: block;
  padding: 1.5rem;
  color: inherit;
}

.product-card a:hover { color: var(--accent); }

.product-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== PAGE CONTENT ===== */
.page-content { padding-top: 5rem; min-height: 100vh; }

.page-hero {
  text-align: center;
  padding: 3rem 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.policy-content {
  max-width: 720px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.policy-content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.policy-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff !important;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }

/* ===== FOOTER ===== */
.footer {
  background: #1d1d1f;
  color: #86868b;
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 900px) {
  .footer-inner { grid-template-columns: repeat(4, 1fr); }
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li { margin-bottom: 0.5rem; }

.footer-column a {
  color: #86868b;
  font-size: 0.875rem;
}

.footer-column a:hover { color: #fff; }

.footer-bottom {
  max-width: 980px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid #333;
  font-size: 0.8125rem;
}

#footer-copyright {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.footer-legal {
  margin-top: 1rem;
  font-size: 0.75rem;
  opacity: 0.9;
}

.footer-legal a { color: #86868b; text-decoration: underline; }
.footer-legal a:hover { color: #fff; }

/* ===== ADMIN LOGIN ===== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg-primary);
}

.login-box {
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.login-box .logo-img {
  height: 28px;
  margin-bottom: 1.5rem;
}

.login-box h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.login-box h1 + p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: #1d1d1f;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s;
}

.btn-google:hover {
  background: #f5f5f7;
  border-color: #b0b0b5;
}
