/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #f8f5f0;
  --cream2: #f2ede6;
  --cream3: #ede5d8;
  --white: #ffffff;
  --gold: #c9a84c;
  --gold-light: #dfc068;
  --gold-dark: #a8893a;
  --gold-pale: rgba(201, 168, 76, 0.12);
  --text: #2a1f0e;
  --text-light: #6b5c45;
  --text-dim: #9c8a72;
  --border: rgba(201, 168, 76, 0.25);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Poppins', sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 4px;
  --shadow: 0 8px 40px rgba(42, 31, 14, 0.08);
  --shadow-hover: 0 16px 60px rgba(42, 31, 14, 0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(248, 245, 240, 0.96);
  backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(42, 31, 14, 0.07);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 52px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.logo-main {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links .nav-cta {
  padding: 10px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.nav-links .nav-cta:hover { background: var(--gold); color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(201, 168, 76, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 10%, rgba(201, 168, 76, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 90% 20%, rgba(201, 168, 76, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
/* Dekoratif çizgiler */
.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 760px;
  animation: fadeUp 1s ease both;
}
.hero-logo {
  width: 180px;
  height: auto;
  margin: 0 auto 40px;
  display: block;
}
.hero-label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.9;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  margin: 0 auto;
  animation: scrollLine 2.2s ease-in-out infinite;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-large { padding: 18px 44px; font-size: 0.85rem; }

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--white); }
.section-soft { background: var(--cream2); }
.section-cta { background: var(--cream3); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.divider {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: 18px auto 0;
  opacity: 0.6;
}

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.product-img {
  position: relative;
  height: 320px;
  background-color: var(--cream2);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(248, 245, 240, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  backdrop-filter: blur(2px);
}
.product-card:hover .product-overlay { opacity: 1; }
.product-btn {
  padding: 12px 28px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35);
}
.product-btn:hover { background: var(--gold-light); }
.product-info { padding: 24px; }
.product-info h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.product-info p { font-size: 0.83rem; color: var(--text-light); line-height: 1.7; }

/* ===== OCCASIONS ===== */
.occasions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.occasion-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.occasion-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.occasion-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  display: block;
}
.occasion-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}
.occasion-card p {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 22px;
}
.occasion-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color var(--transition);
}
.occasion-link:hover { color: var(--gold-dark); }

/* ===== GALLERY SLIDER ===== */
.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.slider-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius);
}
.slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.slide {
  flex: 0 0 calc((100% - 32px) / 3);
  height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s ease;
}
.slide:hover img { transform: scale(1.03); }

.slider-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.slider-btn svg { width: 20px; height: 20px; }
.slider-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: scale(1.08);
}
.slider-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cream3);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.slider-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

.gallery-cta { text-align: center; margin-top: 40px; }

/* ===== CTA BOX ===== */
.cta-box {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 72px 40px;
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 18px;
}
.cta-desc {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 36px;
}
.cta-social { margin-top: 20px; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  transition: color var(--transition);
}
.social-link svg { width: 17px; height: 17px; }
.social-link:hover { color: var(--gold); }

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  padding: 56px 0 28px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand .logo-main { color: var(--gold); }
.footer-brand .logo-sub { color: rgba(248,245,240,0.45); }
.footer-brand p { font-size: 0.78rem; color: rgba(248,245,240,0.45); margin-top: 8px; }
.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links a {
  font-size: 0.76rem;
  color: rgba(248,245,240,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(248,245,240,0.08);
  padding-top: 22px;
  text-align: center;
}
.footer-bottom p { font-size: 0.72rem; color: rgba(248,245,240,0.3); }

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.38);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}
[data-aos] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].visible { opacity: 1; transform: translateY(0); }

/* ── Sipariş Modal ─────────────────────────── */
.order-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.order-modal.open { visibility: visible; opacity: 1; }
.order-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 31, 14, 0.55);
  backdrop-filter: blur(4px);
}
.order-modal-box {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  max-width: 460px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(42,31,14,0.28);
  transform: translateY(18px);
  transition: transform 0.3s ease;
}
.order-modal.open .order-modal-box { transform: translateY(0); }
.order-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border: none;
  background: var(--cream2);
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--brown);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.order-modal-close:hover { background: #e2d8cc; }
.order-modal-box h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--brown);
  margin-bottom: 0.4rem;
}
.order-modal-subtitle {
  font-size: 0.82rem;
  color: var(--brown-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.order-field { margin-bottom: 1rem; }
.order-field label {
  display: block;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 0.3rem;
}
.order-field input:not([type="radio"]),
.order-field textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #e0d5c5;
  border-radius: 8px;
  background: #fff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--brown);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  box-sizing: border-box;
}
.order-field input:not([type="radio"]):focus,
.order-field textarea:focus { border-color: var(--gold); }
.color-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}
.color-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}
.color-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.color-swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #e0d5c5;
  transition: box-shadow 0.2s, transform 0.15s;
  display: block;
}
.color-option:hover .color-swatch { transform: scale(1.08); }
.color-option input[type="radio"]:checked + .color-swatch {
  box-shadow: 0 0 0 3px var(--gold);
  transform: scale(1.1);
}
.color-label {
  font-size: 0.75rem;
  color: var(--brown);
  font-weight: 500;
}
.field-hint {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--brown-light);
}
.box-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 0.25rem;
}
.box-item-option { cursor: pointer; }
.box-item-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.box-item-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid #e0d5c5;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--brown);
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
  white-space: nowrap;
}
.box-item-option input[type="checkbox"]:checked + .box-item-label {
  border-color: var(--gold);
  background: #fdf8ef;
}
.box-item-option.disabled .box-item-label {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}.btn-modal-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }
body.modal-open { overflow: hidden; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(248, 245, 240, 0.98);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.95rem; }
  .hero-logo { width: 140px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .slide { flex: 0 0 calc((100% - 16px) / 2); height: 380px; }
  .slider-btn { width: 40px; height: 40px; }
  .cta-box { padding: 48px 20px; }
  .footer-content { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .slide { flex: 0 0 100%; height: 320px; }
  .products-grid, .occasions-grid { grid-template-columns: 1fr; }
}
