/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #800020; /* Deep Burgundy / Hünkar Red */
  --primary-hover: #5a0016;
  --bg-color: #ffffff;
  --bg-light: #f9f9f9;
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #eaeaea;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

/* Typography & Layout Utilities */
.divider {
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 15px auto 30px;
}

.divider.left {
  margin: 15px 0 30px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-whatsapp {
  background-color: #128C7E;
  color: #fff;
  border: 2px solid #128C7E;
  padding: 15px 35px;
  font-size: 1rem;
}

.btn-whatsapp:hover {
  background-color: #075E54;
  border-color: #075E54;
  color: #fff;
}

/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
  transition: var(--transition);
  padding: 15px 0;
}

.header.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav {
  display: flex;
  gap: 30px;
  flex: 1;
  align-items: center;
}

.nav-left {
  justify-content: flex-end;
  padding-right: 40px;
}

.nav-right {
  justify-content: flex-start;
  padding-left: 40px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  transition: var(--transition);
}

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

.nav a:hover::after {
  width: 100%;
}

.nav a.header-btn::after {
  display: none;
}

.nav a.header-btn {
  padding: 8px 20px;
  color: #fff;
}

.nav a.header-btn:hover {
  color: #fff;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  flex-shrink: 0;
}

.logo {
  width: 180px;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  transition: var(--transition);
}

.header.scrolled .logo {
  width: 115px;
  max-height: 115px;
}

/* Hamburger Menu (Mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition);
}

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transform: translateY(-100%);
  transition: var(--transition);
  z-index: 999;
  opacity: 0;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 600;
}

/* ================= HERO SLIDER ================= */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: #000;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}

.slide-content {
  max-width: 800px;
  padding: 0 20px;
  color: #fff;
  transform: translateY(30px);
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
  opacity: 0;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.3s;
}

.slide-content h1 {
  font-size: 4rem;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  line-height: 1.2;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-prev:hover, .slider-next:hover {
  background: var(--primary-color);
}

.slider-prev { left: 30px; }
.slider-next { right: 30px; }

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* ================= PRODUCTS ================= */
.products {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
}

.products-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 30px;
  
  /* Full-bleed carousel (ekran dışına taşması için) */
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  
  /* İlk ürün soldan yanaşık başlasın, asimetrik o büyük boşluk olmasın */
  padding-top: 20px;
  padding-bottom: 40px;
  padding-left: 40px;
  padding-right: 40px;

  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.products-grid::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 350px;
  max-width: 350px;
  background-color: var(--bg-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-card.popular {
  border: 2px solid var(--primary-color);
}

.badge {
  position: absolute;
  top: 15px;
  right: -35px;
  background-color: var(--primary-color);
  color: #fff;
  padding: 5px 40px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.product-img-wrap {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-info {
  padding: 30px;
  text-align: center;
}

.product-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.product-info p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.product-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.gift-text {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ================= FEATURES ================= */
.features {
  padding: 100px 0;
  background-color: var(--bg-color);
}

.features.bg-light {
  background-color: var(--bg-light);
}

.features-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.features-wrapper.reverse {
  flex-direction: row-reverse;
}

.feature-img {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-img img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-content {
  flex: 1;
}

.feature-content h2 {
  font-size: 2.5rem;
}

.feature-content > p {
  color: var(--text-light);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.feature-list .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  margin-right: 20px;
  flex-shrink: 0;
  font-weight: bold;
}

.feature-list .icon.number {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
}

.feature-list strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.feature-list span {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ================= CONTACT CTA ================= */
.contact-cta {
  padding: 80px 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

.contact-cta h2 {
  font-size: 2.5rem;
}

.contact-cta p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ================= FOOTER ================= */
.footer {
  background-color: var(--bg-color);
  padding: 60px 0 30px;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.logo-mini {
  width: 80px;
  height: auto;
  object-fit: contain;
  margin-bottom: 10px;
}

.footer h3 {
  font-family: 'Cinzel', serif;
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer-text {
  color: var(--text-light);
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-links a {
  color: var(--text-dark);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.copyright {
  color: #999;
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  margin-top: 20px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .features-wrapper {
    flex-direction: column;
  }
  
  .slide-content h1 {
    font-size: 3rem;
  }
  
  .nav-left { padding-right: 20px; }
  .nav-right { padding-left: 20px; }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .logo {
    width: 80px;
    height: 80px;
  }
  
  .header.scrolled .logo {
    width: 60px;
    height: 60px;
  }
  
  .slide-content h1 {
    font-size: 2.2rem;
  }
  
  .slide-content p {
    font-size: 1rem;
  }
  
  .products, .features, .contact-cta {
    padding: 60px 0;
  }
  
  .products-grid {
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
  }

  .products-grid::-webkit-scrollbar {
    display: none;
  }

  .product-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
}
