/* ── Google Fonts ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;1,500&display=swap');

/* ── Design Tokens ────────────────────────────────── */
:root {
  --green:        #5f7a2a;
  --green-dark:   #4a6020;
  --green-badge:  rgba(76, 100, 33, 0.88);
  --brown:        #3c3022;
  --brown-mid:    #4d4033;
  --cream:        #f5f3ec;
  --cream-dark:   #ede9dc;
  --gold:         #b39b59;
  --white:        #ffffff;
  --text-muted:   #9a9080;
  --shadow-soft:  0 8px 32px rgba(60,48,34,.10);
  --shadow-card:  0 4px 24px rgba(60,48,34,.09);
  --radius-card:  14px;
  --radius-hero:  0px;
  --transition:   0.35s cubic-bezier(.4,0,.2,1);
}

/* ── Reset / Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--brown);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── Scrollbar ────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* ════════════════════════════════════════════════════
   HEADER / NAV
════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--cream);
  border-bottom: 1px solid rgba(95,122,42,.12);
  box-shadow: 0 2px 16px rgba(60,48,34,.05);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(60,48,34,.13);
}

.navbar {
  background: transparent !important;
  padding: 0.75rem 0;
  min-height: 68px;
}

.navbar-brand img {
  height: 75px;
  width: auto;
  transition: transform var(--transition);
}
.navbar-brand:hover img { transform: scale(1.04); }

/* Nav links */
.navbar-nav .nav-link {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--brown-mid) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  text-transform: uppercase;
  transition: color var(--transition);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--green) !important;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

/* Header icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-actions a {
  color: var(--brown-mid);
  font-size: 1.15rem;
  text-decoration: none;
  position: relative;
  transition: color var(--transition), transform var(--transition);
}
.header-actions a:hover {
  color: var(--green);
  transform: scale(1.15);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--green);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* ════════════════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: var(--brown);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  will-change: transform;
  transition: transform 0.1s linear;
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,16,10,.18) 0%,
    rgba(20,16,10,.52) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: .75rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
  animation: heroFadeUp .85s cubic-bezier(.4,0,.2,1) both;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.88);
  font-weight: 400;
  margin-bottom: 2rem;
  animation: heroFadeUp .85s .18s cubic-bezier(.4,0,.2,1) both;
}

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

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--green);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .85rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  animation: heroFadeUp .85s .32s cubic-bezier(.4,0,.2,1) both;
}
.btn-hero:hover {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(95,122,42,.40);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════
   CATEGORY CARDS
════════════════════════════════════════════════════ */
.categories {
  background: var(--white);
  padding: 2.5rem 0 3rem;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(var(--cat-cols, 3), 1fr);
  gap: 1.25rem;
}

.cat-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 290px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  background: #ccc center/cover no-repeat;
}

.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(30,24,12,.55) 100%);
  transition: background var(--transition);
}

.cat-card:hover::before {
  background: linear-gradient(to bottom, rgba(30,24,12,.08) 0%, rgba(30,24,12,.65) 100%);
}

.cat-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
}

.cat-card-label span {
  background: var(--green-badge);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .6rem 2rem;
  border-radius: 6px;
  transition: background var(--transition), transform var(--transition);
}

.cat-card:hover .cat-card-label span {
  background: var(--green);
  transform: scale(1.05);
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}
.cat-card:hover img { transform: scale(1.07); }

/* ════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
════════════════════════════════════════════════════ */
.product-detail-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.detail-price-new {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
}
.detail-price-old {
  font-size: 1.1rem;
  color: #9CA3AF;
  text-decoration: line-through;
}
.detail-thumb:hover { border-color: var(--green) !important; }
.variant-btn.active { border-color: var(--green) !important; color: var(--green) !important; }
.product-description img { max-width: 100%; border-radius: 8px; }
.product-description p { margin-bottom: .8rem; }

/* ════════════════════════════════════════════════════
   FEATURED PRODUCTS
════════════════════════════════════════════════════ */
.featured {
  background: var(--cream-dark);
  padding: 3.5rem 0 4rem;
}

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

.section-header h2 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brown);
  display: inline-block;
  position: relative;
  padding-bottom: .75rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 48px;
  height: 2.5px;
  background: var(--green);
  border-radius: 2px;
}

/* Product card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 1.2rem 1rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(60,48,34,.13);
}

.product-card-img {
  width: 100%;
  height: 175px;
  object-fit: contain;
  margin-bottom: 1rem;
  transition: transform var(--transition);
}
.product-card:hover .product-card-img { transform: scale(1.06); }

.product-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: .35rem;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  flex-wrap: wrap;
}

.price-new {
  font-weight: 700;
  font-size: 1rem;
  color: var(--green);
}

.price-old {
  font-size: .85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Badges */
.product-badge {
  position: absolute;
  top: 12px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .28rem .7rem;
  border-radius: 5px;
  color: var(--white);
  text-transform: uppercase;
  z-index: 10;
}
.badge-kampanya  { background: var(--green);   left: 12px;  top: 12px; }
.badge-yeni      { background: var(--gold);    right: 12px; top: 12px; }
.badge-firsatlar { background: #ea580c;        left: 12px;  bottom: 12px; top: auto; }

/* ════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════ */
.site-footer {
  background: var(--brown);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 0;
}

.footer-col h5 {
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .6rem;
}
.footer-contact-item i {
  color: var(--green);
  width: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  margin-top: .75rem;
}
.newsletter-form input {
  flex: 1;
  border: none;
  padding: .7rem 1rem;
  font-size: .85rem;
  background: rgba(255,255,255,.1);
  color: var(--white);
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form button {
  background: var(--green);
  border: none;
  color: var(--white);
  padding: 0 1rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--green-dark); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.4rem 0;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  margin-top: 2.5rem;
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .hero { height: 420px; }
  .hero-title { font-size: 2.2rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card { height: 220px; }
}

@media (max-width: 575.98px) {
  .hero { height: 340px; }
  .navbar-brand img { height: 55px; }
  .cat-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════
   ABOUT US PAGE
════════════════════════════════════════════════════ */
.about-hero {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: var(--brown);
}
.about-hero .hero-content { align-items: flex-start; text-align: left; max-width: 800px; margin: 0 auto; width: 100%; }
.about-hero .hero-title { font-size: clamp(2rem, 4vw, 3.2rem); text-align: left; }

.our-story {
  padding: 4rem 0 3rem;
  background: var(--cream);
}
.story-text {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--brown-mid);
  line-height: 1.8;
}

.timeline-section {
  padding: 3rem 0;
  background: var(--cream);
}
.timeline-wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: 4rem auto 2rem;
}
.timeline-line {
  position: absolute;
  top: 45px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: var(--green);
  z-index: 0;
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 120px;
}
.timeline-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.2rem;
  background: var(--cream-dark);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--green);
  transition: transform var(--transition), box-shadow var(--transition);
}
.timeline-item:hover .timeline-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(95,122,42,.2);
  background: var(--green);
  color: var(--white);
}
.timeline-year {
  display: block;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--brown);
}
.timeline-text {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  color: var(--brown-mid);
  margin-top: .2rem;
}

@media (max-width: 767.98px) {
  .timeline-wrapper { flex-direction: column; align-items: center; gap: 3rem; margin-top: 2rem; }
  .timeline-line { top: 0; bottom: 0; left: 50%; width: 4px; height: auto; transform: translateX(-50%); right: auto; }
  .timeline-content { background: var(--cream); padding: 0.5rem 1rem; position: relative; z-index: 2; border-radius: 8px; margin-top: -0.5rem; }
}

.gallery-section {
  padding: 3rem 0 5rem;
  background: var(--cream);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.gallery-item:hover img {
  transform: scale(1.1);
}
@media (max-width: 991.98px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.trust-expertise-section {
  padding: 4rem 0 6rem;
  background: var(--white);
}
.trust-box {
  background: var(--cream);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition);
}
.trust-box:hover {
  transform: translateY(-8px);
}
.trust-icon {
  font-size: 2.5rem;
  color: var(--green);
  margin-bottom: 1.25rem;
}
.trust-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brown);
  margin-bottom: 1rem;
}
.trust-box p {
  font-size: .95rem;
  color: var(--brown-mid);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════
   SHOP PAGE (Ürünler)
════════════════════════════════════════════════════ */
.shop-header {
  padding: 2rem 0 1.5rem;
  background: var(--cream-dark);
  text-align: center;
}
.shop-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brown);
  margin-bottom: .5rem;
}
.shop-subtitle {
  font-size: 1.1rem;
  color: var(--brown-mid);
}

.shop-container {
  background: var(--cream);
  min-height: 50vh;
}

/* Sidebar */
.sidebar-wrapper {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.filter-header {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brown);
  margin-bottom: 1.5rem;
  padding-bottom: .8rem;
  border-bottom: 2px solid var(--cream-dark);
}
.filter-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--cream-dark);
}
.filter-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--brown-mid);
}
.check-custom {
  accent-color: var(--green);
}
.form-check-label {
  font-size: .9rem;
  color: var(--brown-mid);
  cursor: pointer;
}

/* Price range mockup */
.range-track {
  width: 100%;
  height: 6px;
  background: var(--cream-dark);
  border-radius: 3px;
  position: relative;
}
.range-fill {
  position: absolute;
  left: 10%; right: 30%;
  height: 100%;
  background: var(--green);
  border-radius: 3px;
}
.thumb {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  background: var(--white);
  border: 4px solid var(--green);
  border-radius: 50%;
}
.thumb.left { left: 10%; transform: translate(-50%, -50%); }
.thumb.right { right: 30%; transform: translate(50%, -50%); }

/* Shop Card */
.shop-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(60,48,34,.13);
}
.shop-card-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: var(--cream);
}
.shop-card-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  transition: transform var(--transition);
}
.shop-card:hover .shop-card-img { transform: scale(1.06); }

/* Quick View Button */
.btn-quick-view {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  background: var(--white);
  color: var(--brown);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
  z-index: 2;
}
.shop-card:hover .btn-quick-view {
  opacity: 1; transform: translate(-50%, -50%) scale(1);
}
.btn-quick-view:hover {
  background: var(--green); color: var(--white);
}

.shop-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: .25rem;
  min-height: 48px; /* ensures alignment for 1 or 2 lines of title */
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-weight {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: .6rem;
}
.product-pricing {
  margin-bottom: 1rem;
  margin-top: auto; /* pushes price to the bottom consistently */
}
.product-pricing .old-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 0.4rem;
}
.product-pricing .new-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green);
}
.btn-add-to-cart {
  margin-top: auto;
  background: var(--green);
  color: var(--white);
  border: none;
  font-weight: 700;
  font-size: .88rem;
  padding: .7rem;
  border-radius: 6px;
  transition: background var(--transition);
}
.btn-add-to-cart:hover {
  background: var(--green-dark);
}

/* Modal */
.quick-view-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-card) 0 0 var(--radius-card);
}
.modal-content {
  border-radius: var(--radius-card);
  overflow: hidden;
}
.modal-close-btn {
  position: absolute;
  top: 15px; right: 15px;
  z-index: 10;
}

/* ════════════════════════════════════════════════════
   FOTO GALERİ (Gallery Page)
════════════════════════════════════════════════════ */
.gallery-page-container {
  background: var(--white);
  min-height: 60vh;
}

/* Filter Buttons */
.filter-btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--cream-dark);
  color: var(--brown-mid);
  padding: .6rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* Masonry Layout */
.masonry-grid {
  column-count: 3;
  column-gap: 1.5rem;
}
@media (max-width: 991px) { .masonry-grid { column-count: 2; } }
@media (max-width: 575px) { .masonry-grid { column-count: 1; } }

.masonry-item {
  break-inside: avoid;
  margin-bottom: 2rem;
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
}

/* Image & Overlay */
.masonry-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  cursor: pointer;
}
.masonry-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.masonry-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(60, 48, 34, 0.4); /* brown transparent */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: var(--radius-card);
}
.masonry-wrapper:hover .masonry-overlay { opacity: 1; }
.masonry-wrapper:hover .masonry-img { transform: scale(1.05); }

.masonry-icon {
  color: var(--white);
  font-size: 2rem;
  transform: scale(0.5);
  transition: transform var(--transition);
}
.masonry-wrapper:hover .masonry-icon { transform: scale(1); }

/* Caption */
.masonry-caption {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--brown);
  padding: .75rem .5rem 0;
  text-align: center;
}

/* Lightbox Modal */
.lightbox-modal .modal-content {
  box-shadow: none;
}
.lightbox-img {
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-caption {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-top: 1rem;
}
.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* ════════════════════════════════════════════════════
   İLETİŞİM (Contact Page) & GLOBAL FOOTER
════════════════════════════════════════════════════ */
.contact-header {
  padding: 5rem 0 4rem;
  background: url('/images/Galeri/2020/IMG_1.jpg') center/cover no-repeat; /* Fallback Image */
  text-align: center;
  position: relative;
}
.contact-header::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(43, 62, 40, 0.4); /* Greenish dark overlay */
}
.contact-header .container-xl { position: relative; z-index: 2; }
.contact-page-content { background: var(--cream); }

/* Left Column: Contact Info */
.contact-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--brown);
  font-size: 2rem;
}
.info-item {
  align-items: center;
  margin-bottom: 2rem;
}
.info-icon {
  width: 50px; height: 50px;
  background: transparent;
  border: 1px solid rgba(60, 48, 34, 0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--green);
  margin-right: 1.25rem;
  flex-shrink: 0;
}
.info-text {
  font-size: 1.05rem;
  color: var(--brown);
  line-height: 1.6;
}

/* Right Column: Contact Form */
.contact-form-card {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-card);
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
.contact-input {
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: none !important;
  font-size: 1rem;
}
.contact-input:focus { border-color: var(--green); }
.btn-send {
  background: var(--brown);
  color: var(--white);
  border: none;
  font-weight: 700;
  border-radius: 8px;
  transition: all var(--transition);
}
.btn-send:hover { background: var(--green); color: var(--white); }

/* Dark Global Footer */
.footer-dark {
  background-color: #1B3522; /* Daha Koyu Yeşil (Mockup Uyumu) */
  color: var(--white);
  padding: 4rem 0 1.5rem;
  font-family: 'Inter', sans-serif;
}
.footer-dark-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-dark-text, .footer-dark-list li {
  font-size: 0.95em;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}
.footer-dark-list li { margin-bottom: .8rem; }
.footer-social-icons a {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  margin-right: .5rem;
  transition: all var(--transition);
}
.footer-social-icons a:hover {
  background: var(--white);
  color: var(--green-dark);
}

/* ════════════════════════════════════════════════════
   AUTH PAGES (Login, Register, Forgot Pw)
════════════════════════════════════════════════════ */
.auth-page-wrapper {
  background-color: var(--cream);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}
.auth-card {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-card);
  box-shadow: 0 15px 50px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 480px;
}
.auth-card-wide {
  max-width: 750px;
}
.auth-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--brown);
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1.85rem;
}
.auth-subtitle {
  text-align: center;
  color: #777;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Form Styles */
.auth-label {
  font-weight: 700;
  color: var(--brown-mid);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.auth-input {
  border: 1px solid #ddd;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-size: 1rem;
  transition: all var(--transition);
}
.auth-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

/* Password Toggle and Strength */
.input-icon-wrapper {
  position: relative;
}
.toggle-pw {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 5px;
  z-index: 5;
}
.toggle-pw:hover { color: var(--green); }

.password-strength-wrap {
  background: #eee;
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
}
.password-strength-bar {
  height: 100%;
  width: 0%;
  transition: width 0.3s ease, background 0.3s ease;
}

/* Buttons and Links */
.btn-auth {
  background: var(--brown);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all var(--transition);
  margin-top: 1rem;
}
.btn-auth:hover {
  background: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
}

.google-btn {
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0.8rem;
  color: #555;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}
.google-btn:hover {
  background: #f8f9fa;
  border-color: #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
}
.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: #eee;
  z-index: 1;
}
.auth-divider span {
  position: relative;
  background: var(--white);
  padding: 0 1rem;
  color: #aaa;
  font-size: 0.85rem;
  z-index: 2;
}

.auth-link {
  color: var(--green);
  text-decoration: none;
  transition: color var(--transition);
}
.auth-link:hover {
  color: var(--brown);
  text-decoration: underline;
}

.auth-icon-circle {
  width: 80px; height: 80px;
  background: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  color: var(--brown);
}

/* ════════════════════════════════════════════════════
   USER DASHBOARD (Sidebar, Tablolar, Kartlar)
════════════════════════════════════════════════════ */
.dashboard-wrapper {
  padding: 4rem 0;
  background-color: #fcfbf7;
  min-height: 80vh;
}

/* User Sidebar */
.user-sidebar {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: sticky;
  top: 100px;
}
.user-info-side {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
  margin-bottom: 1.5rem;
}
.user-avatar-circle {
  width: 70px; height: 70px;
  background: var(--cream);
  color: var(--brown);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.user-nav-list {
  list-style: none;
  padding: 0; margin: 0;
}
.user-nav-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.85rem 1rem;
  color: #555;
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--transition);
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.user-nav-item a i {
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
}
.user-nav-item.active a, .user-nav-item a:hover {
  background-color: var(--cream);
  color: var(--green);
}
.user-nav-item.logout a {
  color: #e74c3c;
  margin-top: 1rem;
}
.user-nav-item.logout a:hover {
  background-color: #fdf2f2;
}

/* Dashboard Content */
.dashboard-content-box {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  height: 100%;
}
.dashboard-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Stats Cards */
.stat-card {
  background: var(--cream);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--green);
  height: 100%;
}
.stat-label { font-size: 0.85rem; color: #777; font-weight: 600; text-transform: uppercase; }
.stat-value { font-size: 1.8rem; font-weight: 800; color: var(--brown); margin: 0.3rem 0; }

/* Table Styles */
.table-custom {
  margin-top: 1rem;
}
.table-custom thead th {
  background: #f8f9fa;
  border: none;
  color: var(--brown-mid);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 1rem;
}
.table-custom tbody td {
  padding: 1.2rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid #eee;
  font-size: 0.92rem;
}

/* Status Badges */
.badge-status {
  padding: 0.5rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.bg-status-pending { background: #fff8e1; color: #f39c12; } /* Hazırlanıyor */
.bg-status-shipping { background: #e3f2fd; color: #2196f3; } /* Yolda */
.bg-status-delivered { background: #e8f5e9; color: #2e7d32; } /* Teslim Edildi */

/* Address Cards */
.address-card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}
.address-card:hover {
  border-color: var(--green);
  background: #fcfdfc;
}
.address-tag {
  background: var(--cream);
  color: var(--brown);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
}

/* Invoice / Siparis Detay Styles */
.invoice-box {
  background: #fff;
  border: 1px solid #eee;
  padding: 3rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}
.invoice-header {
  border-bottom: 2px solid var(--cream);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.invoice-title {
  font-family: 'Playfair Display', serif;
  color: var(--brown);
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
}
.invoice-meta {
  font-size: 0.9rem;
  color: #777;
}
.invoice-address-box {
  background: #fdfdfd;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #f1f1f1;
  height: 100%;
}
.invoice-table thead th {
  background: var(--brown);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 1rem;
}
.invoice-summary {
  background: var(--cream);
  padding: 2rem;
  border-radius: 12px;
}
.invoice-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}
.invoice-total {
  border-top: 2px solid var(--brown);
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
}
.btn-print {
  background-color: var(--brown);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  transition: all 0.3s;
}
.btn-print:hover {
  background-color: var(--brown-mid);
  color: white;
  transform: translateY(-2px);
}

@media print {
  .user-sidebar, .header-area, .footer-section, .btn-print, .breadcrumb-area {
    display: none !important;
  }
  .invoice-box {
    border: none;
    box-shadow: none;
    padding: 0;
  }
}

/* ── AOS overrides ───────────────────────────────── */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }
/* ════════════════════════════════════════════════════
   USER DROPDOWN
════════════════════════════════════════════════════ */
.user-dropdown-toggle {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--brown-mid) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.user-dropdown-toggle:hover,
.user-dropdown-toggle.show {
  color: var(--green) !important;
  background: rgba(95,122,42,.08);
}
.user-dropdown-toggle .fa-user {
  font-size: 1.05rem;
}
.user-dropdown-toggle::after {
  display: none !important; /* Bootstrap caret'i gizle */
}
.user-dropdown-toggle .caret-icon {
  font-size: .65rem;
  margin-left: 2px;
  transition: transform var(--transition);
}
.user-dropdown-toggle.show .caret-icon {
  transform: rotate(180deg);
}

.user-dropdown-menu {
  min-width: 200px;
  background: #fff;
  border: 1px solid rgba(95,122,42,.15);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(60,48,34,.13);
  padding: 0.5rem 0;
  margin-top: 0.5rem !important;
  overflow: hidden;
}
.user-dropdown-menu .dropdown-item {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brown-mid);
  padding: 0.6rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: background var(--transition), color var(--transition);
  border-radius: 0;
}
.user-dropdown-menu .dropdown-item i {
  width: 16px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--green);
}
.user-dropdown-menu .dropdown-item:hover {
  background: rgba(95,122,42,.08);
  color: var(--green);
}
.user-dropdown-menu .dropdown-item:hover i {
  color: var(--green-dark);
}
.user-dropdown-menu .dropdown-divider {
  margin: 0.35rem 0;
  border-color: rgba(95,122,42,.12);
}
.user-dropdown-menu .dropdown-item.text-danger {
  color: #c0392b !important;
}
.user-dropdown-menu .dropdown-item.text-danger i {
  color: #c0392b;
}
.user-dropdown-menu .dropdown-item.text-danger:hover {
  background: rgba(192,57,43,.07);
  color: #a93226 !important;
}

/* ════════════════════════════════════════════════════
   HESAP SAYFASI (Profil & Siparişlerim)
════════════════════════════════════════════════════ */
.hesap-page {
  background: var(--cream);
  min-height: 80vh;
  padding: 3rem 0;
}
.hesap-sidebar {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.hesap-sidebar-header {
  background: var(--green);
  padding: 1.5rem;
  text-align: center;
  color: #fff;
}
.hesap-sidebar-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,.4);
  margin-bottom: 0.75rem;
}
.hesap-sidebar-avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.8rem;
  color: rgba(255,255,255,.85);
}
.hesap-sidebar-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.15rem;
}
.hesap-sidebar-email {
  font-size: 0.75rem;
  color: rgba(255,255,255,.7);
}
.hesap-sidebar-nav {
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
}
.hesap-sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.3rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brown-mid);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.hesap-sidebar-nav li a i {
  width: 16px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--green);
}
.hesap-sidebar-nav li a:hover,
.hesap-sidebar-nav li a.active {
  background: rgba(95,122,42,.08);
  color: var(--green);
}
.hesap-sidebar-nav li a.text-danger { color: #c0392b !important; }
.hesap-sidebar-nav li a.text-danger i { color: #c0392b; }
.hesap-sidebar-nav li a.text-danger:hover { background: rgba(192,57,43,.07); }
.hesap-sidebar-nav li + li { border-top: 1px solid rgba(95,122,42,.07); }

.hesap-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 2rem;
}
.hesap-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brown);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(95,122,42,.12);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hesap-card-title i { color: var(--green); font-size: 1rem; }

.hesap-input-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--brown-mid);
  margin-bottom: 0.35rem;
}
.hesap-input-group .form-control {
  background: var(--cream);
  border: 1.5px solid rgba(95,122,42,.18);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  color: var(--brown);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.hesap-input-group .form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(95,122,42,.1);
  outline: none;
  background: #fff;
}
.btn-hesap-save {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.8rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background var(--transition), transform var(--transition);
}
.btn-hesap-save:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  color: #fff;
}

/* Sipariş kartı */
.siparis-kart {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(95,122,42,.12);
  overflow: hidden;
  margin-bottom: 1.25rem;
  transition: box-shadow var(--transition);
}
.siparis-kart:hover { box-shadow: var(--shadow-card); }
.siparis-kart-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(95,122,42,.1);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.siparis-no { font-size: 0.82rem; font-weight: 800; color: var(--brown); }
.siparis-tarih { font-size: 0.76rem; color: var(--text-muted); }
.siparis-durum {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  letter-spacing: .04em;
}
.durum-bekliyor   { background: #fff3cd; color: #856404; }
.durum-odendi     { background: #d1e7dd; color: #0f5132; }
.durum-hazirlaniyor { background: #cfe2ff; color: #084298; }
.durum-kargoda    { background: #e2d9f3; color: #4a1d8f; }
.durum-teslim     { background: #d1e7dd; color: #0f5132; }
.durum-iptal      { background: #f8d7da; color: #842029; }
.durum-iade       { background: #fde8d2; color: #7a3e08; }

.siparis-urun-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(95,122,42,.06);
}
.siparis-urun-row:last-child { border-bottom: none; }
.siparis-urun-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--cream);
  flex-shrink: 0;
}
.siparis-urun-adi { font-size: 0.84rem; font-weight: 600; color: var(--brown); }
.siparis-urun-varyant { font-size: 0.74rem; color: var(--text-muted); }
.siparis-urun-fiyat { font-size: 0.84rem; font-weight: 700; color: var(--green); margin-left: auto; white-space: nowrap; }
.siparis-toplam {
  background: var(--cream);
  padding: 0.7rem 1.25rem;
  text-align: right;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brown);
  border-top: 1px solid rgba(95,122,42,.1);
}
.siparis-toplam span { color: var(--green); font-size: 1rem; }
