/* ================================================
   PERDE ATÖLYESİ — style.css  (Zeytin Yeşili Tema)
   ================================================ */

:root {
  --ivory:  #F2F0EA;
  --moss:   #E4E8DC;
  --sage:   #B5C4A8;
  --olive:  #6B7F5E;
  --forest: #2E3D28;
  --gold:   #B8962E;
  --goldlt: #D4AE4E;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

::selection { background-color: var(--gold); color: var(--ivory); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--olive); }

/* ── NAVBAR ── */
#navbar {
  background: rgba(242, 240, 234, 0);
  backdrop-filter: blur(0px);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
  background: rgba(242, 240, 234, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(46, 61, 40, 0.08);
}

.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--forest);
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

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

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scrollDown {
  0%  { transform: translateY(-100%); }
  50% { transform: translateY(100%); }
  51% { transform: translateY(-100%); }
  100%{ transform: translateY(100%); }
}

.fade-in-up   { opacity: 0; animation: fadeInUp   0.8s cubic-bezier(0.22,1,0.36,1) forwards; }
.fade-in-right{ opacity: 0; animation: fadeInRight 0.9s cubic-bezier(0.22,1,0.36,1) forwards; }
.animate-scroll-down { animation: scrollDown 2s ease-in-out infinite; }

/* ── FABRIC TEXTURES ── */
.fabric-texture {
  background-image:
    repeating-linear-gradient(90deg, rgba(46,61,40,0.04) 0,rgba(46,61,40,0.04) 1px, transparent 1px, transparent 6px),
    repeating-linear-gradient(0deg,  rgba(46,61,40,0.04) 0,rgba(46,61,40,0.04) 1px, transparent 1px, transparent 6px);
}
.fabric-stripes {
  background-image: repeating-linear-gradient(
    180deg,
    rgba(255,255,255,0.07) 0,
    rgba(255,255,255,0.07) 4px,
    transparent 4px,
    transparent 12px
  );
}

/* ── GALLERY / PRODUCTS ── */
.gallery-card { transition: transform 0.3s ease; }
.gallery-card:hover { transform: translateY(-4px); }

/* Filter buttons */
.filter-btn {
  border-color: rgba(46,61,40,0.18);
  color: rgba(46,61,40,0.45);
  font-size: 0.7rem;
}
.filter-btn:hover { border-color: var(--forest); color: var(--forest); }
.filter-btn.active { background: var(--forest); color: var(--ivory); border-color: var(--forest); }

/* ── FORMS ── */
.form-input::placeholder { color: rgba(46,61,40,0.28); }

/* ── MAP SECTION ── */
.address-card { transition: all 0.3s ease; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE MENU ── */
.mobile-menu { animation: fadeInUp 0.3s ease forwards; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .hero-content h1 { font-size: 2.8rem; }
}
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(46, 61, 40, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active {
    display: flex;
}