/* ============================================================
   ÖZER KUYUMCU — style.css
   Navy #112240 · Cream #F5F0E8 · Gold #C9A84C · Silver #E8E8F0
   ============================================================ */

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

:root {
  --navy:       #112240;
  --navy-mid:   #162d50;
  --navy-light: #1e3a5f;
  --navy-dark:  #0c1a30;
  --cream:      #F5F0E8;
  --cream-dim:  #d4cfc7;
  --gold:       #C9A84C;
  --gold-light: #dfc06e;
  --gold-pale:  #ead898;
  --gold-dark:  #a8872e;
  --silver:     #E8E8F0;
  --wa-green:   #25D366;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Raleway', 'Helvetica Neue', Arial, sans-serif;

  --nav-h:        80px;
  --section-pad:  100px;
  --container-w:  1240px;
  --transition:   0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  background-color: var(--navy);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 140px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.9s ease;
}

.section.in-view::before { opacity: 1; }

/* ---------- TYPE HELPERS ---------- */
.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.section-header { text-align: center; margin-bottom: 64px; }

.gold-divider {
  display: block;
  width: 60px; height: 1px;
  background: var(--gold);
  margin-top: 20px;
  opacity: 0.7;
}
.gold-divider.center { margin: 20px auto 0; }

.fade-up { opacity: 0; transform: translateY(32px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(12, 26, 48, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.18);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 28px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.logo-img { height: 44px; width: auto; object-fit: contain; }

.logo-fallback {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.05em;
  display: none;
}

.nav-logo.no-logo .logo-img { display: none; }
.nav-logo.no-logo .logo-fallback { display: block; }

.nav-links { display: flex; list-style: none; gap: 36px; }

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-link:hover { color: var(--gold-light); }
.nav-link:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--cream);
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-dark);
}

/* Particle canvas */
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Diagonal gold line grid overlay */
.hero-overlay {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0px, transparent 80px,
      rgba(201, 168, 76, 0.055) 80px, rgba(201, 168, 76, 0.055) 81px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0px, transparent 80px,
      rgba(201, 168, 76, 0.035) 80px, rgba(201, 168, 76, 0.035) 81px
    );
  pointer-events: none;
  z-index: 1;
}

/* Pulsing gold radial glow behind hero content */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 46%, rgba(201,168,76,0.09) 0%, rgba(201,168,76,0.03) 45%, transparent 70%);
  animation: heroPulse 5s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.45; }
  50%       { opacity: 1; }
}

/* Main content */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 28px;
  max-width: 820px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.12;
  letter-spacing: 0.015em;
  margin-bottom: 30px;
  font-variant-numeric: lining-nums;
}

.hero-line {
  display: block;
  opacity: 0; /* animated by GSAP */
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 52px;
  opacity: 0;
}

.btn-hero {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 16px 46px;
  position: relative;
  overflow: hidden;
  transition: color var(--transition);
  opacity: 0;
}

.btn-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform var(--transition);
  z-index: -1;
}

.btn-hero:hover { color: var(--navy); }
.btn-hero:hover::before { transform: translateX(0); }

/* Location tag — visible gold, bottom-center */
.hero-location {
  position: absolute;
  bottom: 68px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
  opacity: 0;
  text-shadow: 0 0 20px rgba(201,168,76,0.4);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
}

.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 1px solid rgba(201,168,76,0.6);
  border-bottom: 1px solid rgba(201,168,76,0.6);
  transform: rotate(45deg);
  animation: arrowBounce 1.7s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: rotate(45deg) translateY(0);   opacity: 0.35; }
  50%       { transform: rotate(45deg) translateY(6px); opacity: 0.9; }
}

/* ============================================================
   HAKKIMIZDA
   ============================================================ */
.hakkimizda { background: var(--navy); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-title { margin-bottom: 24px; }

.about-body {
  color: var(--cream-dim);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 18px;
}

/* Stats */
.stats-row {
  display: flex;
  gap: 24px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.stat-card {
  flex: 1;
  min-width: 90px;
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.18);
  padding: 22px 16px;
  text-align: center;
  position: relative;
  transition: border-color var(--transition);
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.6s ease;
}

.stat-card:hover { border-color: rgba(201, 168, 76, 0.4); }
.stat-card:hover::after { width: 100%; }

.stat-number {
  display: inline;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: lining-nums;
  vertical-align: baseline;
}

.stat-unit {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.8;
  vertical-align: baseline;
  margin-left: 2px;
}

.stat-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 8px;
}

/* About image */
.about-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(201, 168, 76, 0.2);
  overflow: hidden;
}

.about-image::before,
.about-image::after {
  content: '';
  position: absolute;
  background: var(--gold);
  opacity: 0.35;
  z-index: 2;
  pointer-events: none;
}
/* Vertical accent pins */
.about-image::before { width: 1px; height: 36px; top: -18px; left: 50%; }
.about-image::after  { width: 1px; height: 36px; bottom: -18px; left: 50%; }

.about-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  position: absolute; inset: 0;
  z-index: 1;
}

.about-img-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #162d50 0%, #1a3660 40%, #112240 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  z-index: 0;
}

.about-img-placeholder svg {
  width: 140px;
  margin-bottom: 28px;
}

.about-img-caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--cream);
  text-align: center;
  line-height: 1.65;
  margin-bottom: 12px;
  opacity: 0.85;
}

.about-img-note {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.65;
}

/* When real photo loads, hide placeholder */
.about-photo.loaded ~ .about-img-placeholder { display: none; }

/* ============================================================
   KOLEKSİYONLAR
   ============================================================ */
.koleksiyonlar {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.collection-card {
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(201, 168, 76, 0.1);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
}

.collection-card:hover {
  transform: translateY(-7px);
  border-color: rgba(201, 168, 76, 0.45);
  box-shadow: 0 14px 44px rgba(0,0,0,0.35), 0 0 0 1px rgba(201,168,76,0.12);
}

.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--navy-mid);
}

.card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.65s ease;
  position: relative; z-index: 1;
  filter: brightness(0.92) contrast(1.08) saturate(1.12);
}

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

/* Consistent vitrin vignette overlay on every card */
.card-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 26, 48, 0.22) 0%,
    transparent 28%,
    transparent 62%,
    rgba(12, 26, 48, 0.3) 100%
  );
  z-index: 3;
  pointer-events: none;
}

.card-img-placeholder {
  position: absolute; inset: 0; z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #162d50 0%, #1a3a62 50%, #0e1f3a 100%);
}

.card-img-placeholder svg { width: 55%; height: auto; }

/* Hide placeholder once real image is present */
.card-image img.loaded ~ .card-img-placeholder { opacity: 0; }
.card-image img[src]:not([src=""]) + .card-img-placeholder { opacity: 0; }

.card-badge {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 2;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
}

.card-badge--solo {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(201, 168, 76, 0.4);
}

/* Collection CTA */
.collection-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem 1rem 0;
  border-top: 1px solid rgba(201, 168, 76, 0.18);
}

.collection-cta .cta-main {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.55rem;
  letter-spacing: 0.01em;
}

.collection-cta .cta-link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.4);
  padding-bottom: 1px;
  transition: border-color 0.25s;
}

.collection-cta .cta-link:hover { border-color: var(--gold); }

.collection-cta .cta-sub {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.6);
  font-style: italic;
}

.card-body { padding: 16px 16px 18px; }

.card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 5px;
}

.card-desc {
  font-size: 0.72rem;
  color: var(--cream-dim);
  letter-spacing: 0.06em;
  opacity: 0.8;
}

/* ============================================================
   İLETİŞİM
   ============================================================ */
.iletisim {
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 76, 0.22);
  color: var(--gold);
}

.contact-icon svg { width: 17px; height: 17px; }

.contact-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.contact-value {
  display: block;
  font-size: 0.9rem;
  color: var(--cream-dim);
  line-height: 1.75;
}

.contact-link { transition: color var(--transition); }
.contact-link:hover { color: var(--gold-light); }
.contact-closed { opacity: 0.45; font-style: italic; }

.social-row { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  border: 1px solid rgba(201, 168, 76, 0.18);
  padding: 9px 15px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.social-link svg { width: 16px; height: 16px; color: var(--gold); }

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.05);
}

.map-wrapper {
  width: 100%;
  height: 440px;
  border: 1px solid rgba(201, 168, 76, 0.16);
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: saturate(0.45) brightness(0.8) hue-rotate(200deg);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(201, 168, 76, 0.18);
  padding: 60px 0 36px;
  text-align: center;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}

.footer-logo .logo-img { height: 40px; }

.footer-logo .logo-fallback {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.05em;
  display: none;
}

.footer-logo.no-logo .logo-img { display: none; }
.footer-logo.no-logo .logo-fallback { display: block; }

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-nav a {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 36px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(201, 168, 76, 0.22);
  color: var(--cream-dim);
  transition: border-color var(--transition), color var(--transition);
}

.footer-social a svg { width: 15px; height: 15px; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

.footer-copy {
  font-size: 0.7rem;
  color: var(--cream-dim);
  opacity: 0.35;
  letter-spacing: 0.08em;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 900;
  width: 54px; height: 54px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.32);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float svg { width: 26px; height: 26px; }

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--wa-green);
  opacity: 0;
  animation: waPulse 2.5s ease-out infinite;
}

@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ============================================================
   RESPONSIVE — TABLET  (≤1100px)
   ============================================================ */
@media (max-width: 1100px) {
  :root { --section-pad: 80px; }

  .collection-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .about-grid { gap: 50px; }
}

/* ============================================================
   RESPONSIVE — TABLET  (≤860px)
   ============================================================ */
@media (max-width: 860px) {
  .collection-grid { grid-template-columns: repeat(2, 1fr); }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image { aspect-ratio: 3 / 2; max-width: 500px; margin: 0 auto; }
}

/* ============================================================
   RESPONSIVE — MOBILE  (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; --section-pad: 60px; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(12, 26, 48, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .nav-links.open { max-height: 280px; }
  .nav-links li { border-bottom: 1px solid rgba(201, 168, 76, 0.07); }

  .nav-link { display: block; padding: 16px 24px; font-size: 0.85rem; }
  .nav-link::after { display: none; }

  .hero-title { font-size: clamp(2rem, 8vw, 3.2rem); }

  .collection-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-nav { gap: 18px; }
  .whatsapp-float { bottom: 20px; right: 20px; }

  /* Map fixed height on mobile */
  .map-wrapper { height: 300px; }

  /* CTA text boyutu */
  .collection-cta .cta-main { font-size: 1.05rem; }
}

@media (max-width: 480px) {
  .hero-sub { font-size: 0.68rem; letter-spacing: 0.18em; }
  .btn-hero { padding: 14px 32px; font-size: 0.7rem; }
  .stats-row { flex-direction: column; }
  .stat-card { min-width: unset; }
  .footer-nav { flex-direction: column; gap: 12px; }

  /* 480px'de tek sütun — 2 sütun çok dar olur */
  .collection-grid { grid-template-columns: 1fr; gap: 10px; }
}
