/* === RESET & GLOBAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* === HEADER === */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Elegan */
.logo h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2em;
  color: #222;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

/* Untuk subtitle (opsional) */
.logo h1 span {
  font-family: 'Raleway', sans-serif;
  font-size: 0.4em;
  font-weight: 400;
  display: block;
  letter-spacing: 3px;
  color: #666;
  margin-top: 5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.logo-icon span {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li a {
  font-weight: 600;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #007BFF;
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 4px;
  transition: all 0.3s ease;
}

/* === BREADCRUMB === */
.breadcrumb {
  background-color: #f0f0f0;
  padding: 12px 0;
  font-size: 0.95em;
}

.breadcrumb a {
  color: #007BFF;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #666;
}

/* === HERO SECTION (STATIC) === */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-content h2 {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #007BFF;
  color: white;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s;
  text-align: center;
}

.btn:hover {
  background-color: #0056b3;
  color: white;
}

/* === HERO SLIDER === */
.hero-slider {
  position: relative;
  height: 50vh;           /* ✅ DIUBAH: dari 100vh ke 50vh */
  min-height: 300px;      /* ✅ Tambahkan agar tetap proporsional di mobile */
  overflow: hidden;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}

/* Background untuk setiap kategori - Slider */
.slide:nth-child(1) {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/bedroom-hero.webp') center/cover no-repeat;
}

.slide:nth-child(2) {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/livingroom-hero.webp') center/cover no-repeat;
}

.slide:nth-child(3) {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/office-hero.webp') center/cover no-repeat;
}

.slide:nth-child(4) {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/kitchen-hero.webp') center/cover no-repeat;
}

.slide:nth-child(5) {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/outdoor-hero.webp') center/cover no-repeat;
}

.slide:nth-child(6) {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/dining-hero.webp') center/cover no-repeat;
}

.slide.active {
  opacity: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 80%;
  max-width: 800px;
}

.hero-content h2 {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.hero-content .subtitle {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 20px;
  color: #FFD700;
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  box-sizing: border-box;
}

.slider-nav button {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 15px 20px;
  font-size: 1.5em;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
}

.slider-nav button:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* === COLLECTIONS / CATEGORIES GRID === */
.categories, .collections {
  padding: 80px 0;
  text-align: center;
  background-color: #f9f9f9;
}

.categories h2, .collections h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.categories .subtext {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #666;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.category-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.category-card h3 {
  font-size: 1.4em;
  margin: 20px 0 15px 0;
  color: #222;
}

.category-info {
  padding: 0 20px 20px 20px;
}

.category-info p {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.95em;
}

.btn-small {
  display: inline-block;
  padding: 8px 20px;
  background-color: #007BFF;
  color: white;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 600;
  transition: background 0.3s;
  text-decoration: none;
  margin-top: 10px;
}

.btn-small:hover {
  background-color: #0056b3;
  color: white;
}

/* Active Menu */
.nav-links .active {
  color: #007BFF;
  font-weight: 600;
}

/* === COLLECTION DETAIL PAGES === */
.collection-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/bedroom-hero.webp') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 0;
}

.collection-hero h1 {
  font-size: 3em;
  margin-bottom: 15px;
}

.collection-hero p {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto;
}

.collection-description {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.description-content h2 {
  font-size: 2.2em;
  margin-bottom: 25px;
  color: #222;
  text-align: center;
}

.description-content p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444;
  max-width: 900px;
  margin: 0 auto 30px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-item {
  text-align: center;
  padding: 25px 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 2.5em;
  color: #007BFF;
  margin-bottom: 15px;
}

.feature-item h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #222;
}

.feature-item p {
  font-size: 0.95em;
  margin: 0;
  color: #666;
}

/* Product Gallery */
.product-gallery {
  padding: 80px 0;
}

.product-gallery h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #222;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-info {
  padding: 20px;
  background: white;
}

.gallery-info h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #222;
}

.gallery-info p {
  color: #666;
  font-size: 0.95em;
  margin: 0;
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #8B4513, #5D2906);
  color: white;
  padding: 60px 30px;
  border-radius: 15px;
  margin: 50px 0;
}

.cta-section h3 {
  font-size: 2em;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white !important;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
  text-align: center;
}

.btn-whatsapp:hover {
  background: #128C7E;
  color: white !important;
}

/* === ABOUT PAGE === */
.about-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/livingroom-hero.webp') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 0;
}

.about-hero h1 {
  font-size: 3em;
  margin-bottom: 15px;
}

.about-hero p {
  font-size: 1.2em;
}

.about-content {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.about-text h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #222;
}

.about-text h3 {
  font-size: 1.4em;
  margin: 25px 0 15px;
  color: #007BFF;
}

.about-text p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #444;
}

.mission-list {
  list-style: none;
  margin: 20px 0;
}

.mission-list li {
  margin-bottom: 12px;
  font-size: 1.05em;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mission-list i {
  color: #007BFF;
  margin-top: 4px;
  min-width: 1.5em;
}

.team-appreciation {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.team-appreciation h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #222;
}

.team-appreciation p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #444;
}

.signature {
  font-style: italic;
  margin-top: 30px;
  font-size: 1.2em;
}

/* Timeline Section */
.timeline-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.timeline-section h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #222;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #007BFF;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  width: 100%;
}

.timeline-year {
  position: absolute;
  width: 80px;
  height: 80px;
  background-color: #007BFF;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  font-weight: bold;
  left: 50%;
  margin-left: -40px;
  z-index: 1;
}

.timeline-content {
  width: 45%;
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
  float: left;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  float: right;
  text-align: left;
}

.timeline-content h3 {
  margin-bottom: 10px;
  color: #007BFF;
}

.timeline-content p {
  line-height: 1.6;
  color: #555;
}

/* === CONTACT PAGE === */
.contact-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/collections-bg.webp') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 0;
}

.contact-hero h1 {
  font-size: 3em;
  margin-bottom: 15px;
}

.contact-hero p {
  font-size: 1.2em;
}

.contact-content {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h2,
.contact-map h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #222;
}

.contact-item {
  margin-bottom: 30px;
}

.contact-item h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #007BFF;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item p,
.contact-item a {
  font-size: 1.1em;
  line-height: 1.6;
  margin: 0;
}

.contact-item a {
  color: #007BFF;
  text-decoration: underline;
}

.contact-item a:hover {
  color: #0056b3;
}

.contact-map iframe {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 400px;
  border: 0;
}

/* === WHATSAPP CHAT BUTTON === */
.whatsapp-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-chat a {
  display: block;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
}

.whatsapp-chat img {
  width: 100%;
  height: 100%;
  padding: 12px;
  border-radius: 50%;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* === FOOTER === */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 70px;
    right: 0;
    height: calc(100vh - 70px);
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 50%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    gap: 0;
  }

  nav ul.active {
    transform: translateX(0);
  }

  .burger {
    display: flex;
  }

  /* Hero Slider Responsif */
  .hero-slider {
    height: 50vh; /* Tetap 50vh di mobile, bisa disesuaikan */
  }

  .hero-content h2 {
    font-size: 2em;
  }

  .hero-content p {
    font-size: 1em;
  }

  .hero-content .subtitle {
    font-size: 1.2em;
  }

  .slider-nav button {
    padding: 10px 15px;
    font-size: 1.2em;
  }

  /* Sisanya tetap sama */
  .category-grid,
  .about-grid,
  .contact-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 31px;
  }

  .timeline-year {
    left: 31px;
    margin-left: -40px;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    width: calc(100% - 100px);
    float: right;
    text-align: left;
  }

  .contact-map iframe {
    height: 300px;
  }

  .whatsapp-chat a {
    width: 50px;
    height: 50px;
  }
}

/* === TAMBAHAN: Smooth Scroll === */
html {
  scroll-behavior: smooth;
}

/* === KOREKSI MINOR === */
.team-appreciation {
  border-top: 1px solid #eee;
}