/* ── PRODUCT CAROUSEL WRAPPER ─────────────────────────────────── */
.product-carousel-wrapper {
  position: relative;
  background: #f9f7e8;
}

/* Prev / Next arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transition: background 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-arrow:hover {
  background: #20529c;
  color: #fff;
  box-shadow: 0 4px 16px rgba(32,82,156,0.25);
}
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

/* Dot indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 16px 0 28px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: #20529c;
  transform: scale(1.3);
}

/* Fade transitions */
#productSection {
  transition: opacity 0.25s ease;
}
#productSection.carousel-fade-out { opacity: 0; }
#productSection.carousel-fade-in  { opacity: 1; }

/* Product image smooth fade */
.product-view img {
  transition: opacity 0.2s ease;
}

/* ── END CAROUSEL ─────────────────────────────────────────────── */
/* Main footer full width and centered links */
.main-footer {
  background: #fff;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 100vw;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99;
  border-radius: 0;
}
/* VIEW BUTTONS */
/* VIEW BUTTONS */
.view-btn {
  background: #fff;
  color: #222;
  padding: 4px 0;
  margin: 4px 2px;
  border-radius: 4px;
  font-size: 1.1em;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  width: 50%;
  display: inline-block;
  box-sizing: border-box;
}

.view-btn.active {
  background: #b3d4fc;
  color: #222;
}

.view {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.main-footer > div {
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 80px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  width: 100%;
}

@media (max-width: 600px) {
  .main-footer {
    flex-direction: column;
    height: auto !important;
    padding: 16px 0 0 0 !important;
    text-align: center;
  }
  .main-footer > div {
    align-items: center !important;
    margin-bottom: 12px;
  }
  .footer-links {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: center;
    justify-content: center;
  }
}
/* Responsive footer links center on mobile */
.footer-links {
  display: flex;
  gap: 80px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .main-footer {
    flex-direction: column;
    height: auto !important;
    padding: 16px 0 0 0 !important;
    text-align: center;
  }
  .main-footer > div {
    align-items: center !important;
    margin-bottom: 12px;
  }
  .footer-links {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: center;
    justify-content: center;
  }
}
/* Fabric image in hero section, left upper corner */
.hero-fabric-pic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: auto;
  z-index: 2;
}
body{
font-family:Arial;
background: #f9f7e8;
background-size:cover;
color:#333;
}

/* NAVBAR */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px; /* Adjust height as needed */
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 16px;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  animation: navSlide 1.5s forwards;
}

.nav-logo {
  height: 50px;
  margin-left: 0;
  margin-right: 32px;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  justify-content: center;
  flex: 1;
}

nav ul li {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: color 0.2s;
}
nav ul li a.nav-link {
  color: #333;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  display: inline-block;
}
nav ul li a.nav-link:hover, nav ul li a.nav-link:focus {
  color: #1a237e;
  background: #e3e8fa;
}

/* PRODUCT LAYOUT */

.product-container{
display:grid;
margin-top: 10px;
grid-template-columns:1fr 1fr 1fr;
min-height:100vh;
height:auto;
align-items:center;
padding:100px;
box-sizing:border-box;
}

/* LEFT */

.description h1{
font-size:42px;
line-height:1.2;
}

.description span{
color:#20529c;
}

/* CENTER PRODUCT */

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

.product-view img{
width:420px;
max-width:100%;
height:auto;
transition:opacity .6s;
}

/* RIGHT */

.spec{
text-align:center;
}

.sizes span{
padding:10px;
margin:5px;
border:1px solid #ccc;
cursor:pointer;
}

.colors{
display:flex;
gap:10px;
justify-content:center;
margin:20px 10px;
}

.color{
width:30px;
height:30px;
border-radius:50%;
cursor:pointer;
}

.cart{
background:#20529c;
border:none;
padding:15px 30px;
border-radius:20px;
color:white;
font-weight:bold;
}

.favorite{
margin-bottom:10px;
}

/* BLOCK 1: HERO SECTION */
.hero-section {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), var(--carousel-bg, url("../image/starrynightwhaleblackback.png"));
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 90px; /* Account for fixed navbar */
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url("../image/backgroundblock1.png");
  background-size: cover;
  background-position: center;
  filter: brightness(2); /* Adjust brightness here (0.7 = 70%) */
  z-index: 0;
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-title span {
  color: #f2b400;
}

.hero-subtitle {
  font-size: 24px;
  margin-top: 20px;
  font-weight: 300;
}

/* BLOCK 2: BRAND MEANING */
.brand-meaning {
  padding: 100px 50px;
  background: #f8f8f8f7;
}

.brand-content h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

.meaning-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.meaning-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
}

.meaning-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.brand-philosophy {
  margin-top: 30px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.brand-philosophy h4 {
  font-size: 24px;
  font-style: italic;
  margin: 20px 0;
  color: #f2b400;
}

.meaning-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* BLOCK 4: PROPERTIES */
.properties-section {
  padding: 100px 50px;
  background: #fbfbe5;
}

.properties-content h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
}

.material-showcase, .colors-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin: 80px 0;
  align-items: start;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.material-badge, .color-badge {
  background: #333;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  display: inline-block;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: bold;
}

.material-info h3, .colors-info h3 {
  font-size: 32px;
  margin-bottom: 30px;
}

.material-details h4 {
  font-size: 16px;
  margin: 20px 0 10px 0;
  color: #333;
  font-weight: bold;
}

.material-details ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.material-details li {
  padding: 5px 0;
  color: #666;
  font-size: 14px;
}

.material-image img, .colors-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.benefit, .color-desc {
  margin-bottom: 30px;
}

.benefit h4, .color-desc h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #f2b400;
}

.benefit p, .color-desc p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

.color-sample {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  margin: 10px 0;
}

.color-sample.black {
  background: #222;
}

.color-sample.white {
  background: #f8f8f8;
  border: 2px solid #ddd;
}

.color-edition {
  margin-bottom: 20px;
}

.color-edition h4 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
  .meaning-content, .material-showcase, .colors-showcase {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .product-container {
    grid-template-columns: 1fr;
    padding: 20px 16px 100px 16px;
    min-height: auto;
    height: auto;
    gap: 24px;
  }

  .product-view img {
    width: 100%;
    max-width: 320px;
  }

  .description h1 {
    font-size: 26px;
  }

  .description h2 {
    font-size: 20px;
  }
  
  .brand-meaning, .properties-section {
    padding: 50px 20px;
  }

  nav ul {
    gap: 12px;
  }

  nav ul li {
    font-size: 15px;
  }

  nav ul li a.nav-link {
    padding: 6px 8px;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .carousel-prev { left: 4px; }
  .carousel-next { right: 4px; }

  .hero-section {
    margin-top: 70px;
    min-height: 100svh;
  }
}