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

:root {
  --rose: #C4A4A4;
  --sage: #9CAF9A;
  --gray: #B8B5B5;
  --cream: #F5F0EB;
  --muted-blue: #A3B5C4;
  --beige: #E8DED1;
  --taupe: #8B7E74;
  --pale-pink: #E8C4C4;
  --light-sage: #D4E0D0;
  --white: #FFFFFF;
  --dark: #4A4440;
  --text: #5A5550;
}

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem;
  background: rgba(245, 240, 235, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--taupe);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: color 0.3s;
}

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

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--taupe);
}

/* Hero */
.hero {
  height: 100vh;
  background: url('s1.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(74, 68, 64, 0.25);
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 200;
  letter-spacing: 8px;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.hero-content p {
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.8rem;
  border: 1px solid var(--white);
  color: var(--white);
  text-decoration: none;
  letter-spacing: 3px;
  font-size: 0.85rem;
  transition: all 0.4s;
}

.btn:hover {
  background: var(--white);
  color: var(--taupe);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 5rem 4rem;
  background: var(--white);
}

.feature {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  font-size: 2rem;
  color: var(--rose);
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--taupe);
  margin-bottom: 0.8rem;
}

.feature p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.8;
}

/* Products */
.products {
  padding: 5rem 4rem;
  background: var(--cream);
}

.products h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--taupe);
  margin-bottom: 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.four-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  display: block;
}

.four-desc {
  text-align: center;
  font-size: 0.9rem;
  color: var(--taupe);
  letter-spacing: 2px;
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .four-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.promo-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  cursor: pointer;
}

.featured-promo {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.side-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 1.5rem;
  height: 100%;
}

.side-grid .product-card {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.side-grid .product-img {
  flex: 1;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 0.5rem;
  min-height: 0;
}

.side-grid .product-card h3 {
  font-size: 0.85rem;
  margin: 0 1rem 0.2rem;
}

.side-grid .product-card p {
  font-size: 0.75rem;
  margin: 0 1rem 0.8rem;
}

@media (max-width: 1024px) {
  .split-layout {
    grid-template-columns: 1fr;
  }

  .side-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .side-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  padding: 0 0 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(74, 68, 64, 0.08);
}

.product-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  margin-bottom: 1.2rem;
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 400;
  color: var(--taupe);
  margin: 1rem 1.5rem 0.3rem;
}

.product-card p {
  font-size: 0.8rem;
  color: var(--gray);
  margin: 0 1.5rem 0.8rem;
}

.price {
  display: block;
  font-size: 1.1rem;
  color: var(--rose);
  margin-bottom: 1rem;
}

.btn-small {
  padding: 0.6rem 1.8rem;
  border: 1px solid var(--rose);
  background: transparent;
  color: var(--rose);
  cursor: pointer;
  font-size: 0.8rem;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.btn-small:hover {
  background: var(--rose);
  color: var(--white);
}

/* About */
.about {
  padding: 5rem 4rem;
  background: var(--white);
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--taupe);
  margin-bottom: 1.5rem;
}

.about p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 2;
  margin-bottom: 1rem;
}

/* Contact */
.contact {
  padding: 5rem 4rem;
  background: var(--cream);
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--taupe);
  margin-bottom: 1.5rem;
}

.contact p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.company-info {
  margin-top: 2rem;
  line-height: 2;
}

.company-info p {
  font-size: 0.85rem;
  color: var(--taupe);
  margin-bottom: 0.2rem;
}

.company-info strong {
  color: var(--dark);
  letter-spacing: 1px;
}

.social-links {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-links a {
  color: var(--taupe);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--rose);
}

/* Footer */
footer {
  padding: 2rem;
  text-align: center;
  background: var(--taupe);
  color: var(--cream);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2.5rem;
  color: var(--cream);
  cursor: pointer;
  transition: opacity 0.3s;
  line-height: 1;
}

.lightbox-close:hover {
  opacity: 0.7;
}

.product-img {
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(245, 240, 235, 0.98);
    padding: 1rem 0;
    gap: 1rem;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .hero-content h1 {
    font-size: 2rem;
    letter-spacing: 4px;
  }

  .features {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
  }

  .products {
    padding: 3rem 1.5rem;
  }

  .about {
    padding: 3rem 1.5rem;
  }

  .contact {
    padding: 3rem 1.5rem;
  }
}
