:root {
  --primary: #8B6F47;
  --dark: #553B33;
  --light: #F9F5F2;
  --gray: #6B7280;
  --accent: #FBBF24;
  --sage: #E5F0B6;
}

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

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light);
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER & NAVIGATION */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  background: white;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.7rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark);
}

.logo-img {
  width: 40px;
  height: 40px;
  margin-right: 0.5rem;
  border-radius: 0.25rem;
}

/* Navigation Menu */
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: color 0.3s;
}

nav a .material-symbols-outlined {
  vertical-align: middle;
  font-size: 1rem;
  margin-left: 0.25rem;
  transition: transform 0.3s ease;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown.active > a .material-symbols-outlined {
  transform: rotate(180deg);
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--gray);
}

.dropdown-menu a:hover {
  background: var(--light);
  color: var(--dark);
}

/* Navigation Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline {
  background: var(--sage);
  color: var(--dark);
}

/* Cart Icon */
.cart-icon {
  position: relative;
  background: var(--dark);
  color: white;
  border-radius: 0.4rem;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  box-shadow: none;
  outline: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cart-icon:hover {
  background: #6b4d3a;
}

.cart-icon .material-symbols-outlined {
  font-size: 1.5rem;
  color: var(--sage);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  padding: 80px 30px 30px;
  transition: right 0.4s ease;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu {
  right: 0;
}

.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-menu > li {
  margin-bottom: 20px;
}

.mobile-nav-menu > li > a {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  display: block;
}

.mobile-dropdown-menu {
  list-style: none;
  padding-left: 20px;
  margin-top: 10px;
  max-height: 0;
  opacity: 0;                   
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
  padding-top: 0;
  padding-bottom: 0;
}

.mobile-dropdown-menu.active {
  max-height: 500px;
  opacity: 1;                   
  padding-top: 8px;
  padding-bottom: 8px;
}

.mobile-dropdown > a .material-symbols-outlined {
  transition: transform 0.3s ease;
  margin-left: 8px;
  font-size: 20px;
}

.mobile-dropdown.active > a .material-symbols-outlined {
  transform: rotate(180deg);
}

.mobile-dropdown-menu a {
  color: #666;
  font-size: 16px;
  padding: 8px 0;
  display: block;
  text-decoration: none;
}

.mobile-dropdown-menu a:hover {
  color: var(--dark);
}

.mobile-signup {
  display: inline-block;
  margin-top: 30px !important;
}

/* Responsif */
@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }

  .nav-menu,
  .nav-actions {
    display: none; 
  }
}

/* HERO SECTION */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  height: calc(100vh - 70px);
  width: 100%;
  overflow: hidden;
  background-color: #fff;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  width: 100%;
  height: 100%;
  padding-top: 0;
}

/* Hero Content */
.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #222;
  margin-bottom: 30px;
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.hero-buttons button {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-buttons button:first-child {
  background-color: var(--sage);
  color: var(--dark);
}

.hero-buttons button:last-child {
  background-color: #fff;
  border: 1px solid var(--dark);
  color: var(--dark);
  padding: 0.75rem 1.5rem;
}

/* Hero Image */
.hero-image {
  position: relative;
  flex: 1;
  max-width: 600px;
  height: 35rem;
  margin-left: 180px;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero Overlay */
.hero-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-price {
  background: rgba(255, 255, 255, 0.6);
  color: #553B33;
  padding: 1rem;
  border-radius: 1rem;
  font-weight: 800;
  font-size: 1.2rem;
  width: fit-content;
  backdrop-filter: blur(4px);
}

.hero-overlay .text {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-overlay button {
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
  border: none;
  background: var(--dark);
  color: white;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.hero-overlay button:hover {
  background: #7a5f3d;
}

/* WHY CHOOSE US SECTION */
.choose {
  background-color: #2F241F;
  color: #d4c9b0;
  padding: 4rem 0;
}

.choose-container {
  text-align: start;
  max-width: 1000px;
}

.choose-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a08a6e;
  margin-bottom: 0.75rem;
}

.choose-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #f0e6d2;
  margin-bottom: 3rem;
}

.choose-title .highlight {
  color: #e6d9a8;
  font-weight: 800;
}

/* Choose List Items */
.choose-list {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.choose-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
}

.choose-item .material-symbols-outlined {
  font-size: 1.5rem;
  color: #fff;
  background-color: #E5F0B680;
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.choose-item p {
  margin: 0;
  text-align: left;
  line-height: 1.4;
  color: #fff;
}

/* PARTNERED SECTION */
.partnered {
  padding: 60px 20px;
  background-color: #FCFAFA;
  font-family: 'Inter', sans-serif;
}

.container-partnered {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Partnered Text */
.partnered-text {
  text-align: left;
  min-width: 180px;
  margin-left: 100px;
}

.partnered .title {
  font-size: 5rem;
  font-weight: 800;
  color: #2F241F;
  margin: 0;
  line-height: 1;
}

.partnered .subtitle {
  font-size: 0.875rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Partner Logos */
.logos {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  margin-right: 50px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  height: 32px;
  line-height: 1;
}

/* Brand Colors */
.gusto {
  color: #F45D48;
}

.stripe {
  color: #635BFF;
}

/* Treehouse Icon */
.treehouse {
  position: relative;
  padding-left: 2.4rem;
}

.treehouse::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: #50C16E;
  border-radius: 50%;
}

.treehouse::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid white;
}

/* FURNITURE RECOMMENDATIONS SECTION */
.furniture-recommendations {
  width: fixed;
  height: auto;
  padding: 50px 142px 80px 0;
  display: flex;
  gap: 48px;
  background: #fff;
}

.rekomendasi-img {
  width: fill;
  height: fill;
  display: flex;
  gap: 24px;
}

.rekomendasi-img img {
  width: 148px;
  height: 522px;
  border-radius: 12px;
  object-fit: cover;
}

.rekomendasi-img img.unic {
  width: 472px;
  height: 523px;
}

.rekomendasi-text {
  width: Hug;
  height: Hug;
  gap: 32px;
}

.category-label {
  width: 122px;
  height: 36px;
  font-weight: 400;
  font-size: 24px;
  color: #2F241F;
}

.furniture-recommendations h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
}

.category-list {
  display: flex;
  flex-direction: column;
  background-color: #FCFAFA;
}

.category-item {
  padding: 16px 24px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  max-width: fit-content;
}

.category-item.room,
.category-room {
  background: #dee9b7;
}

.category-room {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.category-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.category-description {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 0;
}

/* BEST SELLER */
.best-seller {
  background-color: #2f241f;
  color: #e5f0b6;
  padding: 80px 20px;
}

.container-best {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.section-header .subtitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #e5f0b6;
  margin: 0;
}

.see-more {
  background: #e5f0b6;
  color: #2f241f;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.see-more:hover {
  background: #d4e49c;
  transform: translateY(-2px);
}

.carousel-wrapper {
  position: relative;
}

.carousel-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

/* CARD PRODUK */
.product-card {
  position: relative;
  width: 280px;
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: all 0.4s ease;
}

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

.product-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.product-card:hover .product-info {
  transform: translateY(0);
  opacity: 1;
}

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

.price-tag {
  background: rgba(255,255,255,0.95);
  color: #2f241f;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 800;
  font-size: 1rem;
  display: inline-block;
  backdrop-filter: blur(8px);
}

.product-info h3 {
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 0.75rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* Tombol Navigasi */
.nav-btn {
  position: static !important;   
  transform: none !important;
  background: #E5F0B6;
  color: #2f241f;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: #d4e49c;
  transform: scale(1.1) !important;
}

.nav-btn .material-symbols-outlined {
  font-size: 24px;
  font-weight: bold;
}

/* Wrapper untuk tombol di bawah */
.carousel-nav-bottom {
  display: flex;
  justify-content: flex-end;   
  gap: 12px;
  margin-top: 2rem;
  padding-right: 20px;         
}

/* MEMBERSHIP PROMO SECTION */
.membership-promo {
  padding: 80px 20px;
  background-color: #FCFAFA;
  width: 100%;
  overflow: hidden;
}

.membership-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: flex-start;
}

.promo-content {
  width: 100%;
  max-width: 700px;
  text-align: left;
}

.membership-promo .subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #8B6F47;
  margin-bottom: 1rem;
}

.membership-promo .title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.15;
  color: #2D1F1A;
  margin: 0 0 2rem 0;
  letter-spacing: -0.02em;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  display: block;
}

/* LIMITED DEALS */
.deals{
  width: 100%;
  background-color: #FCFAFA;
  height: 60vh;
}

.txt{
  padding-top: 50px;
  padding-left: 50px;
}

.txt h3{
   font-weight: 300;
}

.main-text{
  padding-top: 30px;
  padding-left: 40px;
}

.main-text h1{
  font-size: 64px;
  font-weight: 700px;
}

.email-form {
  display: flex;
  width: 320px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #ccc;
  background-color: white;
  margin-top: 20px;
  margin-left: 35px;
}

.email-form input[type="email"] {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  color: #333;
  outline-offset: 2px;
}

.email-form input::placeholder {
  color: #999;
}

.email-form button {
  background-color: #E5F0B6; 
  border: none;
  padding: 0 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.email-form button .material-symbols-outlined {
  font-size: 20px;
  color: black; 
}

.email-form input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px #8b7e5a;
}

.email-form button:hover {
  background-color: #d0e4a9;
}

@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* FOOTER */
.footer {
  background-color: #fff;
  padding: 5rem 5% 2rem;
  border-top: 1px solid #eee;
  font-family: 'Inter', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.footer-brand {
  flex: 1;
  min-width: 280px;
  max-width: 380px;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: #553B33;
  margin-bottom: 1rem;
}

.footer-logo .logo-img {
  width: 40px;
  height: 40px;
  margin-right: 0.5rem;
  border-radius: 0.25rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-copyright {
  font-size: 0.875rem;
  color: #9CA3AF;
  margin-top: 2rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: #2D1F1A;
  margin-bottom: 1rem;
  text-transform: none;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  font-size: 0.875rem;
  color: #6B7280;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #8B6F47;
}

/* RESPONSIVE FIXES & OPTIMIZATION */

/* For screens below 1200px */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }

  .hero-image {
    max-width: 500px;
    margin-left: 80px;
  }

  .partnered .title {
    font-size: 4rem;
  }
}

/* For large tablets (≤992px) */
@media (max-width: 992px) {
  .hero {
    height: auto;
    padding: 3rem 0;
  }

  .hero-container {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    margin-left: 0;
    max-width: 90%;
    height: auto;
  }

  .furniture-recommendations {
    flex-direction: column;
    padding: 40px 24px;
  }

  .rekomendasi-img {
    justify-content: center;
  }

  .rekomendasi-img img {
    width: 40%;
    height: auto;
  }

  .rekomendasi-img img.unic {
    width: 80%;
    height: auto;
  }

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

  .partnered .title {
    font-size: 3rem;
  }

  .partnered-text {
    margin-left: 0;
  }

  .logos {
    justify-content: center;
    text-align: center;
    align-items: center;
    gap: 1.5rem;
  }
}

/* For tablets (≤768px) */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .furniture-recommendations {
    padding: 32px 16px;
  }

  .rekomendasi-img {
    flex-direction: column;
    align-items: center;
  }

  .rekomendasi-img img {
    width: 80%;
    height: auto;
  }

  .choose-list {
    flex-direction: column;
    align-items: center;
  }

  .partnered .title {
    font-size: 2.5rem;
  }
}

/* For small mobile (≤480px) */
@media (max-width: 480px) {
  .hero {
    padding: 2rem 1rem;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-buttons button {
    width: 100%;
    justify-content: center;
  }

  .hero-image img {
    border-radius: 1rem;
  }

  .choose {
    padding: 2rem 1rem;
  }

  .furniture-recommendations {
    gap: 1.5rem;
    padding: 24px 12px;
  }

  .rekomendasi-img img.unic {
    width: 100%;
  }

  .partnered .title {
    font-size: 2rem;
  }

  .footer {
    text-align: center;
  }
}

/* RESPONSIVE LIMITED DEALS & FOOTER */
@media (max-width: 992px) {
  .main-text h1 {
    font-size: 3.2rem;
    max-width: 12ch;
  }
}

@media (max-width: 768px) {
  .deals {
    padding: 80px 20px 100px;
    text-align: center;
  }

  .txt,
  .main-text,
  .email-form {
    padding-left: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin: -45px auto 0;
  }

  .main-text h1 {
    font-size: 2.8rem;
    max-width: none;
  }

  .email-form {
    width: 90%;
    margin: 20px;
  }
}

@media (max-width: 480px) {
  .deals {
    padding: 70px 16px 90px;
  }

  .main-text h1 {
    font-size: 2.4rem;
    line-height: 1.1;
  }

  .email-form {
    flex-direction: column;
  }

  .email-form button {
    padding: 50px;
    width: 100%;
  }
}