/* ============================================
   SOHOOM BODRUM — Main Stylesheet
   ============================================ */

:root {
  --cream: #EAE4D9;
  --cream-light: #F2EDE4;
  --cream-warm: #E0D8CC;
  --dark: #1C1814;
  --dark-mid: #28231E;
  --brown: #9A7E5F;
  --brown-light: #C9B49A;
  --brown-deep: #7A6247;
  --sand: #D4C4AE;
  --white: #FAF8F5;
  --text: #2A2420;
  --text-light: #5E544C; /* WCAG AA: ~6.5:1 on cream */
  --border: rgba(44, 36, 30, 0.14);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================
   SKIP LINK (a11y) — normalde gizli, TAB ile görünür
   ============================================ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10001;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.7rem 1.2rem;
  background: var(--dark);
  color: var(--cream-light);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  outline: 2px solid var(--brown-light);
  outline-offset: 2px;
}

/* ============================================
   LOGO — şeffaf maske, currentColor ile boyanır
   ============================================ */

.logo-mark {
  display: block;
  aspect-ratio: 652 / 583;
  background-color: currentColor;
  -webkit-mask: url('../assets/logo-mark.png') center / contain no-repeat;
  mask: url('../assets/logo-mark.png') center / contain no-repeat;
  transition: background-color 0.5s ease, height 0.4s ease, width 0.4s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ============================================
   NAVIGATION
   ============================================ */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 3rem;
  height: 100px;
  background: linear-gradient(to bottom, rgba(10,8,6,0.55) 0%, transparent 100%);
  transition: background 0.5s ease, height 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background: rgba(237, 232, 223, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: 80px;
  box-shadow: 0 1px 0 rgba(139, 115, 85, 0.15);
}

/* Sol linkler */
.nav-links-left {
  display: flex;
  gap: 2.2rem;
  align-items: center;
  justify-content: flex-end;
}

.nav-links-right {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.nav-links-left a,
.nav-links-right a {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(237, 232, 223, 0.92);
  position: relative;
  transition: color 0.3s;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6), 0 0 20px rgba(0,0,0,0.4);
}

#navbar.scrolled .nav-links-left a,
#navbar.scrolled .nav-links-right a {
  color: var(--text);
  text-shadow: none;
}

.nav-links-left a::after,
.nav-links-right a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brown);
  transition: width 0.3s var(--ease-out);
}

.nav-links-left a:hover::after,
.nav-links-right a:hover::after { width: 100%; }

/* Orta logo */
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s, color 0.5s ease;
  padding: 0 2rem;
  /* Yanındaki menü yazılarıyla aynı renk */
  color: rgba(237, 232, 223, 0.92);
}

.nav-logo .logo-mark {
  height: 84px;
  width: auto;
  filter: drop-shadow(0 1px 10px rgba(0,0,0,0.75)) drop-shadow(0 0 24px rgba(0,0,0,0.5));
}

/* Scroll edilince menü yazıları var(--text) oluyor — logo da aynı renge dönsün */
#navbar.scrolled .nav-logo {
  color: var(--text);
}

#navbar.scrolled .nav-logo .logo-mark {
  height: 68px;
  filter: none;
}

.nav-logo:hover { opacity: 0.75; }

/* Aksiyonlar — sağ köşeye sabit */
.nav-actions {
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.lang-toggle {
  background: none;
  border: 1px solid rgba(237, 232, 223, 0.35);
  color: rgba(237, 232, 223, 0.85);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
}

#navbar.scrolled .nav-actions .lang-toggle {
  border-color: var(--border);
  color: var(--text);
}

.lang-toggle:hover {
  background: var(--brown);
  color: var(--cream);
  border-color: var(--brown);
}

.nav-insta {
  display: flex;
  align-items: center;
  color: rgba(237, 232, 223, 0.7);
  transition: color 0.3s;
}

#navbar.scrolled .nav-actions .nav-insta { color: var(--text-light); }
.nav-insta:hover { color: var(--brown); }
.nav-insta svg { width: 18px; height: 18px; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cream);
  transition: background 0.4s;
}

#navbar.scrolled .nav-actions .nav-burger span { background: var(--dark); }

/* ============================================
   MOBILE MENU
   ============================================ */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease-in-out);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--cream);
  font-weight: 300;
}

.mobile-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================
   HERO
   ============================================ */

#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero-bg.jpg');
  background-size: cover;
  background-position: center right;
  background-color: #C4AD95;
  transform: scale(1.03);
  transition: transform 8s ease;
}

#hero.loaded .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(15, 11, 7, 0.82) 0%,
      rgba(15, 11, 7, 0.55) 35%,
      rgba(15, 11, 7, 0.10) 65%,
      transparent 100%
    ),
    linear-gradient(to bottom,
      rgba(15, 11, 7, 0.45) 0%,
      transparent 18%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 4rem;
  max-width: 680px;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--cream-light);
  line-height: 1.05;
  margin-bottom: 1.8rem;
}

.hero-title .line {
  display: block;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s var(--ease-out) forwards;
}

.hero-title .line:nth-child(1) { animation-delay: 0.4s; }
.hero-title .line.gold {
  font-style: italic;
  color: var(--brown-light);
  animation-delay: 0.58s;
}
.hero-title .line:nth-child(3) { animation-delay: 0.74s; }

.hero-sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237, 232, 223, 0.65);
  line-height: 1.9;
  margin-bottom: 2.4rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.05s forwards;
  margin-bottom: 3.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--brown);
  color: var(--cream-light);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  transition: all 0.35s var(--ease-out);
}

.btn-primary:hover {
  background: #7A6347;
  gap: 1.1rem;
}

.btn-ghost {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(237, 232, 223, 0.75);
  position: relative;
  transition: color 0.3s;
}

.btn-ghost::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(196, 180, 154, 0.5);
  transition: background 0.3s;
}

.btn-ghost:hover { color: var(--cream); }
.btn-ghost:hover::after { background: var(--brown-light); }

.hero-claim {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(196, 180, 154, 0.5);
  opacity: 0;
  animation: fadeIn 1s ease 1.3s forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease 1.6s forwards;
}

.scroll-line {
  width: 1px;
  height: 70px;
  background: linear-gradient(to bottom, rgba(196,180,154,0.5), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ============================================
   MARQUEE STRIP
   ============================================ */

.marquee-strip {
  overflow: hidden;
  background: var(--dark);
  padding: 1rem 0;
  border-top: 1px solid rgba(196,180,154,0.15);
  border-bottom: 1px solid rgba(196,180,154,0.15);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown-light);
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   ABOUT
   ============================================ */

#about {
  padding: 8rem 4rem;
  background: var(--cream-warm);
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/olive-bg.jpg');
  background-size: cover;
  background-position: left center;
  opacity: 0.38;
  pointer-events: none;
  z-index: 0;
}

#about > * {
  position: relative;
  z-index: 1;
}

.about-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.section-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 1rem;
}

#about h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 2rem;
}

.about-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 1.2rem;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 2.5rem;
  color: var(--dark);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* About visual */
.about-visual {
  position: relative;
}

.about-img-wrap {
  position: relative;
  height: 740px;
}

.about-img {
  position: absolute;
  background-size: cover;
  background-position: center;
  border-radius: 0;
}

.about-img-1 {
  width: 75%;
  height: 420px;
  top: 0;
  right: 0;
  background-color: #C4B49A;
}

.about-img-2 {
  width: 56%;
  aspect-ratio: 1122 / 1402;
  height: auto;
  bottom: 0;
  left: 0;
  background-color: #8B7355;
  border: 6px solid var(--cream);
}

.about-badge {
  position: absolute;
  left: 78%;
  top: 580px;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-ring {
  position: absolute;
  inset: 0;
  animation: rotateBadge 18s linear infinite;
}

.badge-ring svg {
  width: 100%;
  height: 100%;
}

.badge-ring text {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 2.5px;
  fill: var(--brown);
  text-transform: uppercase;
}

.badge-center {
  position: relative;
  z-index: 2;
  font-size: 1.4rem;
  color: var(--brown);
  line-height: 1;
  user-select: none;
}

@keyframes rotateBadge {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ============================================
   SERVICES
   ============================================ */

#services {
  position: relative;
  padding: 0;
  background: var(--cream-warm);
  overflow: hidden;
}

/* Sağ köşe dekoratif görsel */
.services-bg-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 55%;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center left;
  opacity: 0.55;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.7) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.7) 0%, transparent 100%);
  pointer-events: none;
}

.services-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  padding: 7rem 4rem 0;
}

/* Header */
.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  margin-bottom: 4rem;
}

.services-header-text {
  max-width: 560px;
}

.services-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--dark);
  line-height: 1.1;
  margin: 0.8rem 0 1rem;
}

.services-title em {
  font-style: italic;
  color: var(--brown);
}

.services-title-line {
  width: 48px;
  height: 1px;
  background: var(--brown);
  margin-bottom: 1.6rem;
}

.services-desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--text-light);
  max-width: 440px;
}

/* Cards grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.service-card {
  border-right: 1px solid var(--border);
  background: transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.35s;
}

.service-card:last-child { border-right: none; }
.service-card:hover { background: rgba(255,255,255,0.55); }

/* Card image */
.service-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-card-img { transform: scale(1.04); }

.service-card-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #D4C4AE 0%, #C4B49A 100%);
}

.service-card-img.has-image .service-card-img-placeholder {
  opacity: 0;
}

/* Hero icon inside the top image box */
.service-card-img-icon {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-img-icon::before {
  content: "";
  position: absolute;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 1px solid rgba(28, 24, 20, 0.22);
  background: rgba(250, 248, 245, 0.28);
}

.service-card-img-icon svg {
  position: relative;
  width: 62px;
  height: 62px;
  color: var(--brown-deep);
  opacity: 0.95;
  transition: transform 0.6s var(--ease-out), opacity 0.4s;
}

.service-card:hover .service-card-img-icon::before {
  border-color: rgba(122, 98, 71, 0.4);
}

.service-card:hover .service-card-img-icon svg {
  transform: scale(1.08) translateY(-2px);
  opacity: 1;
}

/* Card body */
.service-card-body {
  padding: 1.6rem 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-num {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--brown);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.service-card p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--text-light);
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
  transition: gap 0.3s, color 0.3s;
}

.service-link:hover { gap: 0.8rem; color: var(--dark); }

/* Bottom bar */
.services-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  margin-top: 0;
}

.services-quote {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2.2rem 2rem;
  border-right: 1px solid var(--border);
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--brown-light);
  line-height: 1;
  flex-shrink: 0;
}

.services-quote p {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

.services-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2.2rem 2rem;
  transition: background 0.3s;
}

.services-cta:hover { background: rgba(154, 126, 95, 0.06); }

.services-cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.services-cta-text span {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
}

.services-cta-text span:last-child {
  color: var(--dark);
  font-weight: 500;
}

.services-cta-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  flex-shrink: 0;
  transition: all 0.3s;
}

.services-cta:hover .services-cta-arrow {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--cream);
}

.services-cta-arrow svg { width: 18px; height: 18px; }

/* Section header (shared, for products etc.) */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  line-height: 1.2;
  color: var(--dark);
}

.section-header.light h2 { color: var(--cream); }
.section-header.light .section-label { color: var(--brown-light); }
.section-header.light .services-desc {
  color: rgba(237, 232, 223, 0.72);
  margin: 1.4rem auto 0;
}


.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--brown-light);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--brown);
  border-color: var(--brown);
  gap: 1rem;
}

/* ============================================
   PRODUCTS
   ============================================ */

#products {
  padding: 8rem 4rem;
  background: var(--dark-mid);
}

.products-inner {
  max-width: 1300px;
  margin: 0 auto;
}

/* Tabs */
.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 4rem;
  margin-top: 3rem;
}

.tab-btn {
  background: transparent;
  border: 1px solid rgba(196, 180, 154, 0.4);
  color: rgba(237, 232, 223, 0.78);
  min-height: 44px;
  touch-action: manipulation;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s var(--ease-out);
}

.tab-btn:hover {
  border-color: var(--brown-light);
  color: var(--cream);
}

.tab-btn.active {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--cream-light);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.product-card {
  background: #2C2825;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.product-card.hidden {
  display: none;
}

.product-card.fade-out {
  opacity: 0;
  transform: scale(0.97);
}

.product-img {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-img {
  transform: scale(1.04);
}

/* Placeholder shown when no real image exists */
.product-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2C2825 0%, #3A332B 60%, #4A3E35 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s;
}


.product-placeholder span {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: rgba(196, 180, 154, 0.3);
  text-transform: uppercase;
}

/* When real image exists, dim placeholder */
.product-img.has-image .product-placeholder {
  opacity: 0;
}

.product-info {
  padding: 1.4rem 1.6rem 1.6rem;
  background: #1A1714;
  transition: background 0.3s;
}

.product-card:hover .product-info {
  background: #252017;
}

.product-cat-label {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 0.45rem;
}

.product-info h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.15rem;
  color: var(--cream);
  line-height: 1.3;
}

.products-cta {
  text-align: center;
  margin-top: 4rem;
}

/* Subcategory grid column variants (used on category pages) */
.products-grid.grid-4 { grid-template-columns: repeat(4, 1fr); }
.products-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.products-grid.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ============================================
   CATEGORY HUB (homepage — top-level categories)
   ============================================ */

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 3rem;
}

.hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 540px;
  overflow: hidden;
  background: #2C2825;
  text-decoration: none;
}

.hub-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease-out);
}

.hub-card:hover .hub-card-img {
  transform: scale(1.06);
}

.hub-card-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2C2825 0%, #3A332B 55%, #4A3E35 100%);
  transition: opacity 0.4s;
}

.hub-card-img.has-image .hub-card-placeholder {
  opacity: 0;
}

.hub-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,6,0.92) 0%, rgba(10,8,6,0.6) 45%, rgba(10,8,6,0.1) 80%);
}

.hub-card-body {
  position: relative;
  z-index: 2;
  padding: 2.4rem 2.2rem 2.6rem;
}

.hub-card-num {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--brown-light);
  margin-bottom: 1rem;
}

.hub-card-body h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 2.5rem;
  color: var(--cream-light);
  line-height: 1.1;
  margin-bottom: 1.3rem;
}

.hub-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  margin-bottom: 1.9rem;
}

.hub-card-tags span {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(237, 232, 223, 0.75);
  border: 1px solid rgba(196, 180, 154, 0.35);
  padding: 0.35rem 0.7rem;
}

.hub-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
}

.hub-card-cta svg {
  transition: transform 0.35s var(--ease-out);
}

.hub-card:hover .hub-card-cta svg {
  transform: translateX(5px);
}

.hub-card-cta::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--brown-light);
  transition: width 0.35s var(--ease-out);
}

.hub-card:hover .hub-card-cta::after {
  width: 100%;
}

/* ============================================
   CATEGORY PAGE (aydinlatma / mobilya / aksesuarlar)
   ============================================ */

.category-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  padding: 11rem 4rem 4.5rem;
  background-size: cover;
  background-position: center;
  background-color: var(--dark);
  overflow: hidden;
}

.category-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,11,7,0.94) 0%, rgba(15,11,7,0.6) 50%, rgba(15,11,7,0.28) 100%);
}

.category-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.category-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(237, 232, 223, 0.55);
  margin-bottom: 1.5rem;
}

.category-breadcrumb a {
  color: rgba(237, 232, 223, 0.85);
  transition: color 0.3s;
}

.category-breadcrumb a:hover {
  color: var(--brown-light);
}

.category-breadcrumb .current {
  color: var(--brown-light);
}

.category-hero h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--cream-light);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1.05;
  margin-bottom: 1.2rem;
}

.category-hero p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(237, 232, 223, 0.82);
  max-width: 620px;
}

/* ============================================
   PROCESS
   ============================================ */

#process {
  padding: 8rem 4rem;
  background: var(--cream-warm);
}

.process-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-top: 4rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 1.4rem;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: var(--border);
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-num {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 2rem;
  color: var(--brown);
  line-height: 1;
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
}

.step-content h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.step-content p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-light);
}

/* ============================================
   QUOTE BANNER
   ============================================ */

#quote-banner {
  padding: 6rem 4rem;
  background: var(--dark-mid);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#quote-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/olive-bg.jpg');
  background-size: cover;
  background-position: left center;
  opacity: 0.06;
  mix-blend-mode: screen;
  pointer-events: none;
}

#quote-banner > * {
  position: relative;
  z-index: 1;
}

.quote-inner {
  max-width: 800px;
  margin: 0 auto;
}

#quote-banner blockquote {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--cream);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

#quote-banner cite {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--brown-light);
  text-transform: uppercase;
}

/* ============================================
   CONTACT
   ============================================ */

#contact {
  padding: 8rem 4rem;
  background: var(--cream);
}

.contact-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.detail-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brown);
}

.detail-val {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--text);
}

.detail-val a {
  transition: color 0.3s;
}

.detail-val a:hover {
  color: var(--brown);
}

.contact-social {
  display: flex;
  gap: 1rem;
}

.contact-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all 0.3s;
}

.contact-social a svg {
  width: 18px;
  height: 18px;
}

.contact-social a:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--cream);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brown);
}

.form-group input,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brown);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--brown-light);
  opacity: 0.5;
}

/* ============================================
   FOOTER
   ============================================ */

#footer {
  background: var(--dark);
  padding: 5rem 4rem 2rem;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(196,180,154,0.15);
  margin-bottom: 2rem;
}

.footer-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-logo-box {
  color: var(--cream);
}

.footer-logo-box .logo-mark {
  width: 150px;
}

.footer-brand p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.85rem;
  color: rgba(196,180,154,0.6);
  max-width: 260px;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col a {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.88rem;
  color: rgba(237,232,223,0.5);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--cream);
}

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

.footer-bottom p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.75rem;
  color: rgba(196,180,154,0.4);
  letter-spacing: 0.05em;
}

/* ============================================
   MAP SECTION
   ============================================ */

#map-section {
  background: var(--dark);
}

.map-inner {
  display: flex;
  flex-direction: column;
}

.map-label {
  padding: 3rem 4rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.map-label h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--cream);
}

.map-label .section-label {
  color: var(--brown-light);
}

.map-frame {
  width: 100%;
  height: 420px;
  overflow: hidden;
  opacity: 0.85;
  filter: grayscale(0.3) contrast(1.05);
  transition: opacity 0.3s, filter 0.3s;
}

.map-frame:hover {
  opacity: 1;
  filter: none;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   SHARED KEYFRAMES
   ============================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
  }

  .products-grid.grid-4,
  .products-grid.grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-card {
    min-height: 420px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before { display: none; }
}

@media (max-width: 900px) {
  #navbar {
    padding: 0 1.5rem;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-links-left,
  .nav-links-right {
    display: none;
  }

  /* Mobilde logo sola */
  .nav-logo {
    padding: 0;
  }

  .nav-logo .logo-mark {
    height: 60px;
  }

  #navbar.scrolled .nav-logo .logo-mark {
    height: 54px;
  }

  /* EN ve IG gizle, sadece burger göster */
  .nav-actions .lang-toggle,
  .nav-actions .nav-insta {
    display: none;
  }

  .nav-actions {
    position: static;
    transform: none;
  }

  .nav-burger {
    display: flex;
  }

  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-img-wrap {
    height: 780px;
  }

  .about-img-2 {
    width: 46%;
  }

  #about,
  #services,
  #projects,
  #products,
  #process,
  #contact {
    padding: 5rem 2rem;
  }

  .category-hero {
    padding: 7.5rem 1.5rem 3rem;
  }

  #quote-banner {
    padding: 4rem 2rem;
  }

  #hero {
    padding: 0;
  }

  .hero-content {
    padding: 0 2rem;
  }

  .hero-scroll-hint {
    left: 2rem;
  }

  #footer {
    padding: 4rem 2rem 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

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

  .services-header {
    grid-template-columns: 1fr;
  }

  .services-bottom {
    grid-template-columns: 1fr;
  }

  .services-quote {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .services-bg-deco {
    display: none;
  }

  .products-grid,
  .products-grid.grid-4,
  .products-grid.grid-3,
  .products-grid.grid-2 {
    grid-template-columns: 1fr;
  }

  .category-hero {
    padding: 8rem 1.5rem 3rem;
    min-height: 46vh;
  }

  .product-tabs {
    padding: 0 1.5rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-title .line {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .hero-content {
    padding: 0 1.5rem;
    max-width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }

  .map-label {
    padding: 2rem 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
