/* =========================================================
   BURMAS YAPI MALZEMELERİ — style.css
   NOT: Renk/font değerleri Figma Dev Mode'a erişilemediği için
   ekran görüntülerinden GÖZLE tahmin edilmiştir. Gerçek hex
   kodları ve font ailesini Figma'dan (bir elemana tıklayıp sağ
   panelden) doğrulayıp aşağıdaki :root değişkenlerini güncelleyin.
   ========================================================= */

:root {
  --accent: #A8632E;        /* logo / ikon rengi - TAHMİNİ, doğrulayın */
  --text-dark: #1B1B1B;
  --text-muted: #8A8A8A;
  --bg-light: #F7F5F2;
  --bg-white: #FFFFFF;
  --border-color: #E7E4DF;
  --radius: 16px;
  --max-width: 1440px;
  --font-main: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.photo-frame {
  background: #f4f1ec;
  overflow: hidden;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.photo-frame.photo-cover img {
  object-fit: cover;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity .2s, background .2s, color .2s;
}
.btn:hover { opacity: .85; }

.btn-white {
  background: #fff;
  color: var(--text-dark);
  border-radius: 999px;
  padding: 12px 28px;
}
.btn-outline {
  background: #fff;
  color: var(--text-dark);
  border: 1px solid #d8d4ce;
  border-radius: 999px;
  padding: 10px 22px;
}
.btn-outline:hover { background: var(--text-dark); color: #fff; opacity: 1; }

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  background: #fff;
  border: 1px solid #d8d4ce;
  border-radius: 999px;
  cursor: pointer;
  align-self: flex-end;
}
.btn-outline-sm:hover { background: var(--text-dark); color: #fff; }

/* ===== SECTION WRAPPER ===== */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 60px;
}
.section h2 { font-size: 40px; font-weight: 600; line-height: 1.15; margin-bottom: 48px; }
.section h2.center { text-align: center; }
.popular-products h2 { text-align: center; }

/* ===== HEADER / HERO ===== */
.hero {
  position: relative;
  min-height: 640px;
  background-color: #2a2420;
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-color: #2a2420;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 48px;
  position: relative;
  z-index: 30;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  justify-self: start;
}
.logo-icon { color: #fff; }
.footer .logo-icon { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  justify-self: center;
}
.nav-links > li > a {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  padding: 8px 0;
}
.nav-links > li > a.active { border-bottom: 2px solid #fff; }

.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 22px;
  right: 56px;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 30;
}
.mobile-menu-toggle span { width: 24px; height: 2px; background: #fff; display: block; }

.nav-icons { display: flex; gap: 16px; justify-self: end; }
.icon-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 220px 88px;
}
.hero-content h1 { font-size: 56px; font-weight: 600; line-height: 1.15; margin-bottom: 20px; }
.hero-content p { font-size: 16px; line-height: 1.6; max-width: 620px; margin-bottom: 28px; opacity: .92; }

.hero-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: auto;
  padding-bottom: 36px;
}
.hero-arrow {
  background: none; border: none; color: #fff;
  font-size: 24px; cursor: pointer; line-height: 1;
  opacity: .8;
}
.hero-arrow:hover { opacity: 1; }
.hero-dots { display: flex; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; border: 0; padding: 0; }
.dot.active { background: #fff; width: 20px; border-radius: 4px; }

/* ===== FEATURES BAR ===== */
.features-bar {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 32px;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border-color);
  background: #fff;
}
.feature-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: #6a6a6a;
}
.feature-icon { color: #4a4a4a; flex-shrink: 0; width: 18px; height: 18px; }
.feature-icon.site-icon--image,
.feature-item img.site-icon--image {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}
.icon-svg { display: block; flex-shrink: 0; }
.feature-icon--mark {
  width: 18px;
  font-size: 15px;
  line-height: 1;
  text-align: center;
}

/* ===== POPULAR PRODUCTS GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.product-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f5f5f5;
}
.product-card__photo {
  display: block;
  width: 100%;
  height: 100%;
}
.product-card__slides {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.product-card__slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease;
}
.product-card__slides img.is-active {
  opacity: 1;
  z-index: 1;
}
.product-card__cart {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 40px;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.product-card__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, bottom .2s ease;
}
.product-card__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(27, 27, 27, 0.12);
  cursor: pointer;
  pointer-events: auto;
}
.product-card__dot.is-active {
  width: 16px;
  border-radius: 4px;
  background: #ffffff;
}
.product-card:hover .product-card__cart,
.product-card:focus-within .product-card__cart {
  opacity: 1;
  transform: translateY(0);
}
.product-card:hover .product-card__dots,
.product-card:focus-within .product-card__dots {
  opacity: 1;
  bottom: 48px;
  pointer-events: auto;
}
.product-card__body {
  padding: 12px 2px 0;
}
.product-card__name {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.product-card__name a {
  color: inherit;
  text-decoration: none;
}
.product-card__summary {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
}
@media (hover: none) {
  .product-card__cart {
    opacity: 1;
    transform: none;
  }
  .product-card__dots {
    opacity: 1;
    bottom: 48px;
    pointer-events: auto;
  }
}

.showcase-cards > .product-card {
  flex: 0 0 268px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
  padding: 0 0 14px;
}
.showcase-cards .product-card__media {
  border-radius: 18px 18px 0 0;
}
.showcase-cards .product-card__body {
  padding: 12px 14px 0;
}
.recommended-grid > .product-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 220px;
}

.product-specs { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: auto; margin-bottom: 0; }
.product-specs .spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #eee;
}
.product-specs .spec:last-child { border-bottom: none; }
.spec-label { font-size: 12px; color: var(--text-muted); }
.spec-value { font-size: 12px; font-weight: 500; }

.color-dots { display: flex; gap: 5px; }
.color-dots i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
.color-dots .c1 { background: #6E4A32; }
.color-dots .c2 { background: #D8CDBE; }
.color-dots .c3 { background: #2B2B28; }
.color-dots .c4 { background: #A09080; }

/* ===== PRODUCT SHOWCASE (koyu, kaydırmalı) ===== */
.product-showcase {
  position: relative;
  background-image: url('../assets/images/life-showcase-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 0 40px;
  overflow: hidden;
}
.product-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(40, 32, 24, .18);
  pointer-events: none;
}
.showcase-cards {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 18px;
  padding: 0 60px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.showcase-cards::-webkit-scrollbar { display: none; }
.showcase-card {
  flex: 0 0 268px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
}
.showcase-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  overflow: hidden;
  background: #f3f1ed;
}
.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-info {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.showcase-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}
.showcase-specs { display: flex; flex-direction: column; }
.showcase-specs .spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.showcase-specs .spec:last-child { border-bottom: none; }

.carousel-nav {
  position: relative;
  z-index: 1;
  display: flex; align-items: center; justify-content: center;
  gap: 24px; padding-top: 28px;
}
.arrow-btn {
  width: 26px; height: 26px; border-radius: 50%;
  background: none; border: 1px solid #fff; color: #fff;
  cursor: pointer; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.carousel-dots { display: flex; gap: 6px; }
.carousel-dots .dot { background: rgba(255,255,255,.4); }
.carousel-dots .dot.active { background: #fff; }

/* ===== RECOMMENDED PRODUCTS ===== */
.section-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 40px;
}
.section-header h2 { margin-bottom: 0; }
.carousel-arrows { display: flex; gap: 10px; }
.arrow-btn-light {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border-color); background: #fff;
  cursor: pointer; font-size: 13px;
}
.arrow-btn-light:hover { background: var(--bg-light); }

.recommended-grid {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.recommended-grid::-webkit-scrollbar { display: none; }
.recommended-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 220px;
  display: flex;
  flex-direction: column;
}
.recommended-image {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 14px;
  background: #f5f5f5;
}
.recommended-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.heart-btn {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px; border-radius: 50%;
  background: transparent; border: none; cursor: pointer;
  color: #333;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.recommended-card h4 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.recommended-card .js-add-to-cart,
.showcase-info .js-add-to-cart {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}
.recommended-card .color-dots {
  margin-bottom: 12px;
}

/* ===== BANNER ===== */
.banner {
  position: relative;
  min-height: 620px;
  background-color: #2a2420;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 64px 80px;
  margin: 0 0 80px;
  overflow: hidden;
}
.banner-content { position: relative; z-index: 1; color: #fff; max-width: 720px; }
.banner-content h2 { font-size: 42px; font-weight: 600; line-height: 1.2; margin-bottom: 14px; }
.banner-content p { font-size: 16px; line-height: 1.6; opacity: .92; }
.banner-btn { position: absolute; right: 80px; bottom: 64px; z-index: 2; border-radius: 8px; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-image { width: 100%; height: 220px; border-radius: var(--radius); margin-bottom: 20px; overflow: hidden; }
.service-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.blog-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-meta { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 8px; }
.blog-card h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.blog-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-cta { text-align: center; }

/* ===== FOOTER ===== */
.footer {
  background: #f6f5f3;
}
.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex; gap: 80px; padding: 60px 60px 40px;
}
.footer-brand { min-width: 240px; }
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 22px; font-weight: 600; color: var(--text-dark); margin-bottom: 16px;
}
.footer-tagline { font-size: 26px; font-weight: 600; line-height: 1.25; }
.footer-columns { display: flex; gap: 40px; flex: 1; flex-wrap: wrap; }
.footer-col h5 { font-size: 15px; font-weight: 500; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 14px; font-weight: 500; }
.footer-col a:hover { opacity: .7; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 60px; font-size: 13px; color: var(--text-muted);
}
.footer-legal { display: flex; gap: 20px; }

.footer-image { width: 100%; height: 260px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .hero-content { padding: 0 100px; }
  .recommended-card { flex-basis: calc(33.33% - 14px); }
  .recommended-grid > .product-card { flex-basis: calc(33.33% - 14px); }
}

@media (max-width: 1024px) {
  .navbar { padding: 20px 32px; }
  .section { padding: 60px 32px; }
  .hero-content { padding: 0 60px; }
  .hero-content h1 { font-size: 42px; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .recommended-card { flex-basis: calc(50% - 10px); }
  .recommended-grid > .product-card { flex-basis: calc(50% - 10px); }
  .footer-top { flex-direction: column; gap: 32px; padding: 48px 32px 32px; }
  .footer-bottom { padding: 20px 32px; }
}

@media (max-width: 768px) {
  .navbar { display: flex; justify-content: space-between; gap: 12px; }
  .nav-icons { margin-left: auto; }
  .mobile-menu-toggle {
    display: flex;
    position: static;
    order: 3;
    margin-left: 8px;
  }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    color: var(--text-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 90px 28px;
    transition: right .3s ease;
    z-index: 25;
  }
  .nav-links.open { right: 0; }
  .nav-links > li > a { color: var(--text-dark); width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border-color); }
  .nav-links > li > a.active { border-bottom: 1px solid var(--border-color); }

  .navbar { padding: 18px 20px; }
  .section { padding: 48px 20px; }
  .section h2, .services h2, .blog h2, .popular-products h2 { font-size: 28px !important; margin-bottom: 32px; }

  .hero { min-height: 560px; }
  .hero-content { padding: 0 24px; }
  .hero-content h1 { font-size: 30px; }
  .hero-content p { font-size: 14px; }

  .features-bar { gap: 16px; padding: 18px 20px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .feature-item { flex-shrink: 0; white-space: nowrap; }

  .product-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .recommended-card { flex-basis: 70%; }
  .services-grid { grid-template-columns: 1fr; }

  .showcase-cards { padding: 0 20px; }
  .showcase-cards > .product-card { flex: 0 0 240px; }
  .recommended-grid > .product-card { flex-basis: 70%; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }

  .banner { margin: 0; padding: 36px 24px; min-height: 420px; }
  .banner-content h2 { font-size: 24px; }
  .banner-btn { position: static; margin-top: 20px; }
  .banner { flex-direction: column; align-items: flex-start; }

  .footer-columns { gap: 28px; }
  .footer-tagline { font-size: 22px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 26px; }
  .product-grid, .blog-grid { grid-template-columns: 1fr; }
  .recommended-card { flex-basis: 85%; }
  .recommended-grid > .product-card { flex-basis: 85%; }
  .services-grid { gap: 16px; }
}
