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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: black;
  color: white;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* =========================
   HEADER / NAV
   ========================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  border-bottom: 1px solid #222;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: white;
  text-transform: uppercase;

}

.logo-img {
   height: 50px;
   width: auto;
   display: block
}

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

.nav-link {
  color: white;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: gold;
}

/* CART ICON */
.cart-link {
  position: relative;
  color: white;
  font-size: 18px;
}

.cart-link:hover {
   color: gold;
}

#cartCount {
  position: absolute;
  top: -8px;
  right: -10px;
  background: gold;
  color: black;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 50%;
  font-weight: bold;
}

/* =========================
   HERO / SLIDESHOW
   ========================= */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.slide.active { opacity: 1; }

/* SLIDE IMAGES */
.slide:nth-child(1)  { background-image: url("../images/slide1.jpg"); }
.slide:nth-child(2)  { background-image: url("../images/slide2.jpg"); }
.slide:nth-child(3)  { background-image: url("../images/slide3.jpg"); }
.slide:nth-child(4)  { background-image: url("../images/slide4.jpg"); }
.slide:nth-child(5)  { background-image: url("../images/slide5.jpg"); }
.slide:nth-child(6)  { background-image: url("../images/slide6.jpg"); }
.slide:nth-child(7)  { background-image: url("../images/slide7.jpg"); }
.slide:nth-child(8)  { background-image: url("../images/slide8.jpg"); }
.slide:nth-child(9)  { background-image: url("../images/slide9.jpg"); }
.slide:nth-child(10) { background-image: url("../images/slide10.jpg"); }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

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

.hero-content h1 {
  font-size: 42px;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-content h2 {
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 15px;
  margin-bottom: 30px;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.btn {
  padding: 12px 35px;
  border: 1px solid gold;
  color: gold;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
  transition: all 0.3s ease;
  background: rgba(0,0,0,0.3);
}

.btn:hover {
  background: gold;
  color: black;
}

/* =========================
   ABOUT & FOOTER
   ========================= */
.about {
  padding: 80px 20px;
  background: #111;
  color: white;
  text-align: center;
}

.footer {
  background: #050505;
  padding: 80px 20px 40px;
  border-top: 1px solid #111;
  color: white;
  text-align: center;
}

.footer-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.footer-section h3 {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666; /* Muted header for elegance */
  margin-bottom: 20px;
}

/* Email Styling */
.email-link {
  font-size: 16px;
  letter-spacing: 1px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.email-link i { font-size: 14px; color: gold; }

.email-link:hover {
  color: gold;
  transform: translateY(-2px);
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 35px;
}

.social-icons a {
  font-size: 24px;
  color: white;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid #222; /* Subtle border box */
  border-radius: 50%;
}

.social-icons a:hover {
  border-color: gold;
  color: gold;
  transform: scale(1.1);
  background: rgba(255, 215, 0, 0.05);
}

/* Copyright */
.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #111;
  font-size: 10px;
  color: #444;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* =========================
   SHOP PAGE
   ========================= */
.shop-section {
  padding: 100px 15px 80px;
  background: black;
  color: white;
  min-height: 100vh;
}

.shop-section h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: gold;
}

.product-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
  gap: 25px;
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
  }
}

.product-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.product-card h3 {
  font-size: 14px;
  margin: 12px 10px 5px;
  color: white;
  font-weight: 400;
}

.product-card .price {
  margin: 0 10px 15px;
  font-weight: bold;
  color: gold;
  font-size: 15px;
}

/* =========================
   PRODUCT PAGE (NEW GALLERY SLIDER)
   ========================= */
.product-page {
  max-width: 1100px;
  margin: 100px auto 60px;
  background: #111;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  color: white;
}

@media (max-width: 800px) {
  .product-page { grid-template-columns: 1fr; }
}

.gallery-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.gallery-container {
  position: relative;
  width: 100%;
  max-width: 500px; /* Limits width on desktop */
}

.slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.slider::-webkit-scrollbar { 
  display: none; 
}

.slide-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
}

.slide-item img, 
.slide-item video {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

/* DOTS INDICATOR */
.dots-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

/* PRODUCT DETAILS */
.product-details h1 { font-size: 28px; margin-bottom: 10px; color: gold; }

.price-tag {
  font-size: 24px;
  color: white;
  margin: 15px 0;
  font-weight: 300;
}

.options { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

.option-btn {
  border: 1px solid #444;
  background: transparent;
  color: white;
  padding: 10px 15px;
  cursor: pointer;
  transition: 0.2s;
}

.option-btn.active, .option-btn:hover {
  background: gold;
  color: black;
  border-color: gold;
}

.action-btn {
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  background: gold;
  color: black;
  border: none;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
}

/* --- LUXURY SIZE CHART STYLES --- */
.size-chart-container {
    width: 100%;
    max-width: 800px; /* Keeps it from getting too wide on desktop */
    margin: 40px 0;   /* Adds breathing room before the story */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #ffffff;
}

.size-chart-container h3 {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    border-left: 3px solid #d4af37; /* Kezeélla Gold accent */
    padding-left: 10px;
}

.table-responsive {
    overflow-x: auto; /* Allows scrolling on mobile if table is too wide */
}

.size-chart {
    width: 100%;
    border-collapse: collapse;
    background-color: #111; /* Deep black background */
    font-size: 0.9rem;
}

.size-chart th, 
.size-chart td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #333; /* Subtle divider lines */
}

.size-chart th {
    background-color: #000;
    color: #888; /* Muted header text like the image */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.size-chart td {
    color: #fff;
    font-weight: 300;
}

.size-chart tr:last-child td {
    border-bottom: none;
}

.size-chart tr:hover {
    background-color: #1a1a1a; /* Subtle highlight on hover */
}

.size-note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
    font-style: italic;
}

.section-divider {
    border: 0;
    height: 1px;
    background: #333;
    margin: 40px 0;
}

/* =========================
   CART PAGE
   ========================= */
.cart-container {
  max-width: 900px;
  margin: 100px auto;
  background: #111;
  padding: 30px;
  color: white;
  border: 1px solid #333;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid #333;
  padding: 20px 0;
}

.cart-item img { width: 100%; border-radius: 4px; }
.cart-item h4 { color: gold; font-size: 14px; margin-bottom: 5px; }

.remove-btn { color: #ff4444; cursor: pointer; font-size: 12px; margin-top: 5px; display: block;}

.checkout-btn {
  width: 100%;
  padding: 15px;
  background: gold;
  color: black;
  border: none;
  font-weight: bold;
  margin-top: 20px;
  cursor: pointer;
  text-transform: uppercase;
}

/* =========================
   DESKTOP SLIDER ARROWS
   ========================= */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6); /* Dark background for visibility */
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex; /* Centers the icon */
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: gold;
  color: black;
  border-color: gold;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* HIDE ARROWS ON MOBILE (Touchscreens) */
@media (max-width: 768px) {
  .slider-btn {
    display: none;
  }
}

/* GENERAL */
.section-label {
  margin-top: 20px;
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  color: gold;
}

.size-options button {
  margin: 5px;
  padding: 8px 14px;
  border: 1px solid gold;
  background: none;
  color: gold;
  cursor: pointer;
}

.size-options button.active {
  background: gold;
  color: black;
}

/* QUANTITY */
.qty-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.qty-box button {
  padding: 6px 14px;
  font-size: 16px;
  cursor: pointer;
}

/* ADD TO CART */
.add-to-cart {
  width: 100%;
  padding: 14px;
  background: gold;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

/* SIZE CHART */
.size-chart-wrapper {
  margin-top: 30px;
  border-top: 1px solid #333;
}

.size-chart-header {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  cursor: pointer;
  color: gold;
}

.size-chart-content {
  display: none;
}

.size-chart {
  width: 100%;
  border-collapse: collapse;
}

.size-chart th,
.size-chart td {
  border: 1px solid #333;
  padding: 8px;
  text-align: center;
}

.size-note {
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 10px;
}

.link-btn {
  background: none;
  border: none;
  color: gold;
  padding: 0;
  cursor: pointer;
  font-size: 0.8rem;
}

/* CART REMOVE ANIMATION */
.cart-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cart-item.removing {
  opacity: 0;
  transform: translateX(-20px);
}

/* MOBILE */
@media (max-width: 768px) {
  .add-to-cart {
    font-size: 14px;
  }
}

/* =========================
   LA FAMILLE COLLECTION ROW
   ========================= */
.collection-showcase {
  padding: 80px 0;
  background: #000;
  text-align: center;
  overflow: hidden;
}

/* The images container is no longer inside the link */
.stacked-row {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  margin-left: 60px; /* Offset to center the stack */
}

.stacked-row img {
  width: 180px; 
  height: 280px;
  object-fit: cover;
  border: 1px solid #111;
  margin-left: -60px; /* Desktop overlap */
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: -10px 0 20px rgba(0,0,0,0.5);
  position: relative;
  cursor: default; /* Shows the mouse isn't clicking here */
}

.stacked-row img:hover {
  transform: scale(1.1) translateY(-15px);
  margin-right: 35px;
  margin-left: 15px;
  z-index: 100;
  border-color: gold;
}

.collection-link {
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
}

.collection-title {
  font-size: 28px;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: gold;
  font-weight: 300;
}

.shop-prompt {
  color: #555;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 8px;
  transition: 0.3s;
}

.collection-link:hover .shop-prompt {
  color: white;
  letter-spacing: 5px;
}

/* =========================
   MOBILE 10% TIGHTER STACK
   ========================= */
@media (max-width: 768px) {
  .collection-showcase {
    padding: 50px 0; 
  }

  .stacked-row {
    /* Slightly increased padding to keep the narrower stack centered */
    margin-left: 45px; 
    padding: 20px 0;
  }

  .stacked-row img {
    width: 105px;      
    height: 165px;
    /* -77px: Exactly 10% tighter than the original -70px */
    margin-left: -77px; 
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    border-radius: 2px;
    transition: 0.3s ease;
  }

  /* Ensure the first image doesn't get pulled left */
  .stacked-row img:first-child {
    margin-left: 0;
  }

  .stacked-row img:hover {
    /* Pop-out effect */
    transform: scale(1.2) translateY(-12px);
    margin-right: 35px; /* Added 5px here to help clear the tighter overlap */
    margin-left: 10px;
    z-index: 100;
  }

  .collection-title { 
    font-size: 19px; 
    letter-spacing: 5px; 
    margin-top: 25px;
    color: gold;
    text-align: center;
  }
}

/* SIZE GUIDE COLLAPSIBLE */
.size-guide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px 0;
}

.size-arrow {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.size-guide-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.size-guide-content.open {
    max-height: 1000px; /* enough to fit table */
    opacity: 1;
}

.size-arrow.rotate {
    transform: rotate(180deg);
}

.checkout-grid {
   display: grid; 
   grid-template-columns: 1fr 1fr; 
   gap: 40px; 
} 

@media (max-width: 768px) {
   .checkout-grid {
      grid-template-columns: 1fr;
   } 
}

/* ================= CART RESPONSIVE FIX ================= */

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Tablet */
@media (max-width: 992px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .cart-container {
    padding: 20px;
  }

  .checkout-form-section {
    padding: 20px !important;
  }

  .dark-input {
    font-size: 16px;
  }
}
