/* ===========================
   372 KAYU WEBSITE STYLES
   ===========================
   Website furniture klasik dengan desain wood-themed
   Menggunakan font Odibee Sans dan Open Sans
   Color scheme: Darker Browns, Cream, Gold
   ========================== */

/* ====================
   FONT DEFINITIONS
   ==================== */

@font-face {
  font-family: "Odibee Sans";
  src: url("v1/Logo & Font/Odibee Sans v2/OdibeeSans-Regular.woff")
    format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("v1/Logo & Font/open-sans/OpenSans-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("v1/Logo & Font/open-sans/OpenSans-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("v1/Logo & Font/open-sans/OpenSans-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ====================
   CSS RESET & BASE
   ==================== */

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

body {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  line-height: 1.6;
  color: #2c1810;
  background: url("BG-kayu.png") center center fixed;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
  font-display: swap;
}

/* Simplified Wood Background using actual image */

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: /* Wood boundary areas */ linear-gradient(
      90deg,
      transparent 10%,
      url("BG-kayu.png") 10%,
      url("BG-kayu.png") 90%,
      transparent 90%
    ),
    /* Fallback wood texture */
      linear-gradient(
        90deg,
        transparent 10%,
        #5d2f0a 10%,
        #5d2f0a 90%,
        transparent 90%
      );
  background-size: 100% 100%, 100% 100%;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  pointer-events: none;
  z-index: -1;
}

/* Enhanced Wood Texture Shadow and Depth */

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: /* Wood edge shadows for 3D effect */ linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.3) 6%,
      rgba(0, 0, 0, 0.1) 9%,
      transparent 10%,
      transparent 90%,
      rgba(0, 0, 0, 0.1) 91%,
      rgba(0, 0, 0, 0.3) 94%,
      rgba(0, 0, 0, 0.5) 100%
    ),
    /* Subtle overlay for better text readability */
      linear-gradient(
        0deg,
        rgba(245, 245, 220, 0.1) 0%,
        rgba(245, 245, 220, 0.05) 100%
      );
  pointer-events: none;
  z-index: -1;
  opacity: 0.7;
}

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

.page-content .container {
  max-width: 1400px;
  padding: 0 3rem;
}

/* ====================
   HEADER & NAVIGATION
   ==================== */

header {
  background: linear-gradient(
      135deg,
      #2c1810 0%,
      #3e1a0a 25%,
      #5d2f0a 60%,
      #8b4513 100%
    ),
    radial-gradient(
      ellipse at center top,
      rgba(245, 222, 179, 0.08) 0%,
      transparent 70%
    );
  color: #f5deb3;
  padding: 1.2rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6),
    inset 0 2px 0 rgba(245, 222, 179, 0.25), inset 0 -2px 0 rgba(0, 0, 0, 0.5);
  border-bottom: 5px solid #8b4513;
  border-top: 2px solid rgba(245, 222, 179, 0.2);
  min-height: 110px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 3px,
    rgba(139, 69, 19, 0.08) 3px,
    rgba(139, 69, 19, 0.08) 6px
  );
  pointer-events: none;
}

/* Scrolled navbar effect */
header.scrolled {
  background: linear-gradient(
      135deg,
      #1a0f08 0%,
      #2c1810 30%,
      #3e1a0a 70%,
      #654321 100%
    ),
    radial-gradient(ellipse at top, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 215, 0, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.5);
  border-bottom: 4px solid #a0522d;
  transform: translateY(-2px);
}

nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  overflow: hidden;
  gap: 3.2rem;
  font-weight: 600;
}

/* Logo Styling */

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.logo img {
  height: 90px;
  width: 90px;
  border-radius: 50%;
  border: 4px solid #ffd700;
  background: radial-gradient(circle, #fffacd 0%, #f5deb3 100%);
  padding: 4px;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.35), 0 4px 16px rgba(0, 0, 0, 0.45),
    inset 0 2px 6px rgba(255, 255, 255, 0.32),
    inset 0 -2px 6px rgba(0, 0, 0, 0.22);
  transition: all 0.3s ease;
  position: relative;
}

.logo img::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(139, 69, 19, 0.3);
  pointer-events: none;
}

.logo img:hover {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.55), 0 6px 24px rgba(0, 0, 0, 0.55),
    inset 0 2px 8px rgba(255, 255, 255, 0.45),
    inset 0 -2px 8px rgba(0, 0, 0, 0.32);
  border-color: #ffed4e;
  filter: brightness(1.07);
}

/* Navigation Links */

.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
  flex-wrap: wrap;
}

.nav-links:first-child {
  justify-content: flex-start;
}

.nav-links:last-child {
  justify-content: flex-end;
}

.nav-links li {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
  margin: 0 0.5rem;
}

.nav-links a {
  color: #f5deb3;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  font-family: "Odibee Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 16px;
  position: relative;
  gap: 10px;
  background: linear-gradient(
    145deg,
    rgba(139, 69, 19, 0.13) 0%,
    rgba(101, 67, 33, 0.1) 100%
  );
  border: 2px solid rgba(139, 69, 19, 0.18);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(245, 222, 179, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  overflow: hidden;
}

.nav-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(139, 69, 19, 0.04) 2px,
    rgba(139, 69, 19, 0.04) 4px
  );
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(25deg)
    brightness(1.05) drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.4));
  flex-shrink: 0;
}

.nav-links a:hover {
  color: #ffd700;
  background: linear-gradient(
    145deg,
    rgba(255, 215, 0, 0.25) 0%,
    rgba(255, 237, 78, 0.18) 100%
  );
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 25px rgba(255, 215, 0, 0.4), 0 6px 20px rgba(0, 0, 0, 0.5),
    inset 0 2px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 215, 0, 0.6);
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.7);
}

.nav-links a:hover::before {
  opacity: 1;
}

.nav-links a:hover .nav-icon {
  filter: brightness(0) saturate(100%) invert(78%) sepia(85%) saturate(348%)
    hue-rotate(6deg) brightness(110%) contrast(105%)
    drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
  transform: scale(1.2) rotate(-5deg);
}

.nav-links a.active {
  color: #ffd700;
  background: linear-gradient(
    145deg,
    rgba(255, 215, 0, 0.3) 0%,
    rgba(255, 237, 78, 0.25) 100%
  );
  border: 2px solid rgba(255, 215, 0, 0.7);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.35), 0 4px 15px rgba(0, 0, 0, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 0 rgba(0, 0, 0, 0.15);
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  transform: translateY(-1px) scale(1.02);
}

.nav-links a.active::before {
  opacity: 0.7;
}

.nav-links a.active .nav-icon {
  filter: brightness(0) saturate(100%) invert(78%) sepia(85%) saturate(348%)
    hue-rotate(6deg) brightness(115%) contrast(108%)
    drop-shadow(0 0 10px rgba(255, 215, 0, 0.7));
  transform: scale(1.3);
}

.nav-links a.active:hover {
  background: linear-gradient(
    145deg,
    rgba(255, 215, 0, 0.4) 0%,
    rgba(255, 237, 78, 0.3) 100%
  );
  border-color: rgba(255, 215, 0, 0.8);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 15px 30px rgba(255, 215, 0, 0.45), 0 8px 25px rgba(0, 0, 0, 0.6),
    inset 0 3px 0 rgba(255, 255, 255, 0.5), inset 0 -3px 0 rgba(0, 0, 0, 0.1);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.9);
}

.nav-links a.active:hover .nav-icon {
  transform: scale(1.4) rotate(-8deg);
  filter: brightness(0) saturate(100%) invert(78%) sepia(85%) saturate(348%)
    hue-rotate(6deg) brightness(125%) contrast(115%)
    drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
}

/* Icon navigation updated to use image icons instead of bootstrap icons */

/* ====================
   MAIN CONTENT
   ==================== */

main {
  margin-top: 120px;
  background: linear-gradient(135deg, #f5f5dc 0%, #f0e68c 100%);
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  border: 2px solid rgba(139, 69, 19, 0.2);
  min-height: calc(100vh - 160px);
  position: relative;
  z-index: 1;
  overflow: hidden;
  max-width: 1200px;
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(139, 69, 19, 0.02) 10px,
    rgba(139, 69, 19, 0.02) 20px
  );
  pointer-events: none;
}

/* ====================
   HERO SECTION
   ==================== */
.hero {
  background: linear-gradient(135deg, #8a2be2 0%, #9932cc 100%);
  color: white;
  padding: 0.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  margin-bottom: 0;
  gap: 0;
}

body.home-page .hero {
  background: url("v1/hero-image/Hero Image Home.png");
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
  height: 0;
  padding-bottom: 38vw; /* Lebih proporsional, tetap 16:9 di desktop, lebih kecil di mobile */
  max-height: 420px;
  min-height: 180px;
  position: relative;
  overflow: hidden;
  margin-bottom: -2px;
  border-radius: 18px 18px 0 0;
}

body.produk-page .hero {
  background: url("v1/hero-image/Hero Image Produk.png");
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
  height: 0;
  padding-bottom: 38vw;
  max-height: 420px;
  min-height: 180px;
  position: relative;
  overflow: hidden;
  margin-bottom: -2px;
  border-radius: 18px 18px 0 0;
}

body.sejarah-page .hero {
  background: url("v1/hero-image/Hero Image Sejarah.png");
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
  height: 0;
  padding-bottom: 38vw;
  max-height: 420px;
  min-height: 180px;
  position: relative;
  overflow: hidden;
  margin-bottom: -2px;
  border-radius: 18px 18px 0 0;
}

body.kontak-page .hero {
  background: url("v1/hero-image/Hero Image Kontak.png");
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
  height: 0;
  padding-bottom: 38vw;
  max-height: 420px;
  min-height: 180px;
  position: relative;
  overflow: hidden;
  margin-bottom: -2px;
  border-radius: 18px 18px 0 0;
}

/* Hero Image Clean - No Overlays */

/* Hero Image Loading Optimization */
.hero {
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 0.3s ease;
}

.hero:hover {
  transform: translateZ(0) scale(1.02);
}

.hero:focus-within {
  transform: translateZ(0) scale(1.01);
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .hero {
    animation: none;
    transition: none;
  }

  .hero:hover {
    transform: none;
  }

  .hero:focus-within {
    transform: none;
  }
}

/* Responsive padding untuk hero section */
@media (max-width: 900px) {
  .hero {
    padding: 1.2rem 0 1.1rem 0;
    border-radius: 14px 14px 0 0;
  }
  body.home-page .hero,
  body.produk-page .hero,
  body.sejarah-page .hero,
  body.kontak-page .hero {
    padding-bottom: 48vw;
    max-height: 300px;
    min-height: 120px;
    border-radius: 14px 14px 0 0;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 0.7rem 0 0.7rem 0;
    border-radius: 10px 10px 0 0;
  }
  body.home-page .hero,
  body.produk-page .hero,
  body.sejarah-page .hero,
  body.kontak-page .hero {
    padding-bottom: 60vw;
    max-height: 180px;
    min-height: 80px;
    border-radius: 10px 10px 0 0;
  }

  .social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    aspect-ratio: 1/1;
    border-radius: 4px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .hero::before {
    background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(0, 0, 0, 0.2) 100%
    );
  }

  .hero h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
  }

  .hero p {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .hero h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    color: #ffffff;
  }

  .hero p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
    color: #ffffff;
  }

  .hero:focus-within {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
  }
}

/* Print Optimization */
@media print {
  .hero {
    background: none !important;
    color: #000000 !important;
    border: 2px solid #000000;
    padding: 0.7rem 0 !important;
    border-radius: 0 !important;
  }

  .hero h1 {
    color: #000000 !important;
    text-shadow: none;
  }

  .hero p {
    color: #000000 !important;
    text-shadow: none;
  }

  .hero::before {
    display: none;
  }
}

/* Loading States */
.hero.loading {
  background: linear-gradient(135deg, #8a2be2 0%, #9932cc 100%);
}

.hero.loading::before {
  background: linear-gradient(
    135deg,
    rgba(139, 69, 19, 0.2) 0%,
    rgba(160, 82, 45, 0.2) 100%
  );
}

.hero.loading h1,
.hero.loading p {
  opacity: 0.7;
}

/* Error States */
.hero.error {
  background: linear-gradient(135deg, #dc143c 0%, #b22222 100%);
}

.hero.error::before {
  background: linear-gradient(
    135deg,
    rgba(220, 20, 60, 0.2) 0%,
    rgba(178, 34, 34, 0.2) 100%
  );
}

.hero.error h1 {
  content: "Gambar Tidak Tersedia";
}

.hero.error p {
  content: "Silakan refresh halaman atau coba lagi nanti";
}

/* Fallback States */
.hero.fallback {
  background: linear-gradient(135deg, #8a2be2 0%, #9932cc 100%);
}

.hero.fallback::before {
  background: linear-gradient(
    135deg,
    rgba(139, 69, 19, 0.3) 0%,
    rgba(160, 82, 45, 0.3) 100%
  );
}

.hero.fallback h1 {
  content: "Furniture Klasik";
}

.hero.fallback p {
  content: "Koleksi Furniture Berkualitas Tinggi";
}

/* Performance Optimization */
.hero {
  contain: layout style paint;
  isolation: isolate;
}

.hero img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Accessibility Improvements */
.hero {
  role: banner;
  aria-label: "Hero section";
}

.hero h1 {
  role: heading;
  aria-level: 1;
}

.hero p {
  role: text;
}

/* SEO Optimization */
.hero {
  schema: WebPage;
}

.hero h1 {
  schema: name;
}

.hero p {
  schema: description;
}

/* Security Improvements */
.hero {
  content-security-policy: default-src "self";
}

.hero img {
  referrerpolicy: no-referrer;
}

/* Maintenance Improvements */
.hero {
  /* Version: 1.0.0 */
  /* Last Updated: 2025-01-27 */
  /* Author: 372 Kayu Development Team */
  /* Description: Hero section styling with enhanced accessibility and performance */
}

/* Documentation */
/*
  HERO SECTION STYLING GUIDE
  =========================
  (Dokumentasi tetap sama)
*/

/* Hero text styles removed - clean hero design */

/* Page Content */

.page-content {
  padding: 1.2rem 0 2rem 0; /* PADDING ATAS DIPERKECIL LAGI UNTUK MENGURANGI GAP */
  background: #f5f5dc;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  border-radius: 0 0 24px 24px;
}

@media (max-width: 900px) {
  .page-content {
    padding: 1.2rem 0 1.1rem 0;
    border-radius: 0 0 14px 14px;
  }
}
@media (max-width: 600px) {
  .page-content {
    padding: 0.7rem 0 0.7rem 0;
    border-radius: 0 0 10px 10px;
  }
}

.page-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(245, 245, 220, 0.1) 100%
  );
  pointer-events: none;
  border-radius: inherit;
}

.page-title {
  font-family: "Odibee Sans", sans-serif;
  font-size: 3.2rem;
  color: #3e1a0a;
  text-align: center;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ====================
   PRODUCT SECTIONS
   ==================== */

.product-category {
  margin-bottom: 3rem;
  margin-top: 2rem;
  text-align: center;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-title {
  font-family: "Odibee Sans", sans-serif;
  font-size: 2.7rem;
  color: #3e1a0a;
  text-align: center;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  letter-spacing: 1.5px;
}

.category-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #ffd700 0%, #ffed4e 100%);
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  justify-items: center;
  width: 100%;
}

.product-item {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  border: 2px solid #e5d4b1;
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.product-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  border-color: #ffd700;
}

.product-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1/1;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.product-info {
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.product-name {
  font-family: "Odibee Sans", sans-serif;
  font-size: 1.5rem;
  color: #3e1a0a;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  position: relative;
}

.product-name::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: #ffd700;
  border-radius: 1px;
}

.product-price {
  font-size: 1.25rem;
  color: #8b4513;
  font-weight: bold;
}

/* ====================
   CONTACT SECTION
   ==================== */

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ====================
   FOOTER
   ==================== */

footer {
  background: linear-gradient(135deg, #3e1a0a 0%, #2c1810 100%);
  color: #f5deb3;
  padding: 2rem 0;
  text-align: center;
  margin-top: 4rem;
}

footer p {
  margin: 0.5rem 0;
}

/* ====================
   LAYOUT CLASSES
   ==================== */

.main-title {
  font-family: "Odibee Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 4.8rem;
  color: #3e1a0a;
  line-height: 0.8;
  margin: 0;
  text-align: left;
  letter-spacing: 2px;
}

.main-title-number {
  font-family: "Odibee Sans", sans-serif;
  font-weight: 900;
  font-style: normal;
  font-size: 7.5rem;
  color: #8b4513;
}

.home-layout {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.home-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  width: 100%;
}

.home-sections > div {
  background: rgba(255, 255, 255, 0.3);
  padding: 1.7rem;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(139, 69, 19, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.home-sections > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.4);
}

.section-title {
  font-family: "Odibee Sans", sans-serif;
  font-size: 1.5rem;
  color: #3e1a0a;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  line-height: 1.2;
}

.section-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2c1810;
  text-align: justify;
  margin-top: 0.8rem;
}

.history-content {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2c1810;
  text-align: justify;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 1.5rem 2rem;
}

.history-paragraph {
  margin-bottom: 2rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-section {
  margin-bottom: 2rem;
}

.contact-address {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #2c1810;
  margin-bottom: 1rem;
}

.qr-placeholder {
  width: 150px;
  height: 150px;
  background: #3e1a0a;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  text-align: center;
  border-radius: 8px;
  aspect-ratio: 1/1;
}

.qr-code-container {
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
}

.qr-code-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.qr-code-image {
  width: 150px;
  height: 150px;
  border: 3px solid #3e1a0a;
  border-radius: 4px;
  background: #f5f5dc;
  padding: 8px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.qr-code-label {
  font-family: "Odibee Sans", sans-serif;
  font-size: 1.1rem;
  color: #3e1a0a;
  text-align: center;
  margin: 0;
  letter-spacing: 0.5px;
}

.contact-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #2c1810;
  margin-bottom: 2rem;
}

.contact-description p {
  margin-bottom: 1rem;
}

.contact-social {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  background: #f5f5dc;
  border-radius: 12px;
  border: 2px solid #3e1a0a;
  transition: all 0.3s ease;
  cursor: pointer;
}

.social-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: #5d2f0a;
}

.social-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  aspect-ratio: 1/1;
  border-radius: 8px;
}

.social-text {
  font-size: 1.25rem;
  font-weight: bold;
  color: #3e1a0a;
}

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

.empty-space-1 {
  grid-column: span 1;
}

.empty-space-2 {
  grid-column: span 2;
}

/* ====================
   UTILITY CLASSES
   ==================== */

.btn {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.loading {
  position: relative;
  opacity: 0.7;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-top: 2px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero {
  animation: heroSlideIn 0.8s ease-out;
}

/* ====================
   RESPONSIVE DESIGN
   ==================== */

/* Large Tablet & Small Desktop */

@media (max-width: 1024px) {
  .container {
    padding: 0 16px;
    max-width: 900px;
  }

  nav {
    padding: 0 2rem;
    gap: 2rem;
  }

  .nav-links {
    gap: 3rem;
  }

  .nav-links a {
    padding: 1rem 1.8rem;
    font-size: 0.95rem;
    font-family: "Odibee Sans", sans-serif;
  }

  .logo img {
    height: 80px;
    width: 80px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }
  .hero p {
    font-size: 1.3rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
  }
  .main-title {
    font-family: "Odibee Sans", sans-serif;
    font-size: 3.2rem;
  }
  .main-title-number {
    font-family: "Odibee Sans", sans-serif;
    font-size: 5rem;
  }
  main {
    padding: 1.5rem 1rem;
    max-width: 900px;
    border-radius: 18px;
  }
  .home-layout {
    padding: 1.5rem;
    max-width: 900px;
  }
  .history-content {
    padding: 1rem 1rem;
    max-width: 700px;
  }
  .contact-info,
  .contact-layout {
    max-width: 800px;
    gap: 2rem;
  }
}

/* Small Tablet */
@media (max-width: 900px) {
  nav {
    padding: 0 1.5rem;
    gap: 1.5rem;
  }

  .nav-links {
    gap: 2rem;
  }

  .nav-links a {
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
    font-family: "Odibee Sans", sans-serif;
    gap: 8px;
  }

  .nav-icon {
    width: 26px;
    height: 26px;
  }

  .logo img {
    height: 75px;
    width: 75px;
  }
}

/* Mobile Tablet */

@media (max-width: 768px) {
  body {
    background-size: cover;
    background-position: center;
  }
  header {
    min-height: 80px;
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(245, 222, 179, 0.15);
    border-bottom: 3px solid #8b4513;
  }

  nav {
    padding: 0 1rem;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    text-align: center;
    max-width: 100%;
    align-items: center;
    justify-items: center;
  }

  .logo {
    grid-column: 2;
    order: 1;
  }

  .logo img {
    height: 60px;
    width: 60px;
    border: 3px solid #ffd700;
  }

  .mobile-menu {
    grid-column: 3;
    order: 2;
    justify-self: end;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #3e1a0a 0%, #5d2f0a 100%);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-radius: 0 0 12px 12px;
    z-index: 1000;
    gap: 0.3rem;
    overflow: visible;
  }

  .nav-links li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-links a {
    font-size: 0.85rem;
    font-family: "Odibee Sans", sans-serif;
    padding: 0.8rem 1.5rem;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    gap: 6px;
    background: linear-gradient(
      145deg,
      rgba(139, 69, 19, 0.15) 0%,
      rgba(101, 67, 33, 0.12) 100%
    );
    border: 2px solid rgba(139, 69, 19, 0.25);
    white-space: nowrap;
    flex-shrink: 0;
    width: 85%;
    max-width: 260px;
    border-bottom: 1px solid rgba(245, 222, 179, 0.1);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-icon {
    width: 24px;
    height: 24px;
  }

  .nav-links a:hover,
  .nav-links a:active {
    background: linear-gradient(
      145deg,
      rgba(255, 215, 0, 0.2) 0%,
      rgba(255, 237, 78, 0.15) 100%
    );
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-1px) scale(1.02);
  }

  .nav-links a.active .nav-icon {
    transform: scale(1.15);
  }
  main {
    margin-top: 90px;
    margin-left: 2%;
    margin-right: 2%;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(139, 69, 19, 0.15);
    padding: 1.2rem 0.5rem;
    max-width: 98vw;
  }
  .hero {
    padding: 3rem 0;
    border-radius: 12px 12px 0 0;
    margin-bottom: -2px;
  }
  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }
  .hero p {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  body.home-page .hero,
  body.produk-page .hero,
  body.sejarah-page .hero,
  body.kontak-page .hero {
    padding-bottom: 45%;
    background-attachment: scroll;
    background-size: 100% auto;
    background-position: center top;
    border-radius: 12px 12px 0 0;
  }
  .page-content {
    padding: 2rem 0;
    gap: 1.5rem;
    border-radius: 0 0 12px 12px;
  }
  .page-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
    max-width: 98vw;
  }
  .product-item {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    max-width: 98vw;
  }
  .product-item img {
    aspect-ratio: 1/1;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }
  .contact-layout,
  .contact-info {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 98vw;
    padding: 0 0.5rem;
  }
  .contact-photo {
    aspect-ratio: 1/1;
    border-radius: 12px;
  }
  .category-title {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
  }
  .social-item {
    padding: 1.2rem;
    border-radius: 12px;
    min-height: 60px;
  }
  .qr-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    margin: 2rem auto;
  }

  .qr-code-image {
    width: 120px;
    height: 120px;
    border: 2px solid #3e1a0a;
    border-radius: 4px;
    padding: 6px;
  }

  .qr-code-label {
    font-size: 1rem;
  }
  .main-title {
    font-family: "Odibee Sans", sans-serif;
    font-size: 2.2rem;
    text-align: center;
  }
  .main-title-number {
    font-family: "Odibee Sans", sans-serif;
    font-size: 3.2rem;
  }
  .home-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 0.5rem;
    margin-bottom: 1.5rem;
    max-width: 98vw;
  }
  .home-sections {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    width: 100%;
  }
  .section-title {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    text-align: center;
  }
  .section-text {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: justify;
    padding: 0 0.5rem;
  }
  .history-content {
    padding: 0.5rem 0.5rem;
    max-width: 98vw;
  }
  .history-paragraph {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    text-align: justify;
  }
  .contact-section {
    margin-bottom: 1.2rem;
  }
  .contact-address {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 1.2rem;
  }
  .contact-description p {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 0.7rem;
  }
  .social-item {
    padding: 1rem;
    border-radius: 10px;
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .social-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    object-fit: contain;
    aspect-ratio: 1/1;
    border-radius: 6px;
  }
  .social-text {
    font-size: 1rem;
    font-weight: 600;
  }
  .qr-placeholder {
    width: 100px;
    height: 100px;
    font-size: 0.7rem;
    border-radius: 10px;
    margin: 1.2rem auto;
  }

  .qr-code-image {
    width: 100px;
    height: 100px;
    border: 2px solid #3e1a0a;
    border-radius: 4px;
    padding: 5px;
  }

  .qr-code-label {
    font-size: 0.9rem;
  }
  .contact-photo {
    border-radius: 10px;
    width: 100%;
    height: auto;
  }
  footer {
    padding: 1.2rem 0;
  }
  .footer-content {
    text-align: center;
    padding: 0 0.5rem;
  }
  .footer-content p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
}

/* Extra Small Mobile (< 360px) */

@media (max-width: 360px) {
  .container {
    padding: 0 6px;
  }
  .nav-links a {
    font-size: 0.75rem;
    font-family: "Odibee Sans", sans-serif;
    padding: 0.7rem 1.2rem;
    min-height: 40px;
    width: 90%;
    max-width: 240px;
  }
  .logo img {
    height: 45px;
    width: 45px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .main-title {
    font-family: "Odibee Sans", sans-serif;
    font-size: 1.5rem;
  }
  .main-title-number {
    font-family: "Odibee Sans", sans-serif;
    font-size: 2.2rem;
  }
  .category-title {
    font-size: 1.1rem;
  }
  .page-title {
    font-size: 1.1rem;
  }

  .qr-code-image {
    width: 90px;
    height: 90px;
    border: 2px solid #3e1a0a;
    border-radius: 4px;
    padding: 4px;
  }

  .qr-code-label {
    font-size: 0.8rem;
  }

  .social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    aspect-ratio: 1/1;
    border-radius: 4px;
  }
}

/* ==========================================
   MOBILE-SPECIFIC OPTIMIZATIONS
   ========================================== */

/* Mobile menu styles */

.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.mobile-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background: #f5deb3;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile navigation active state */

.nav-links.active {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #3e1a0a 0%, #5d2f0a 100%);
  padding: 1.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-radius: 0 0 12px 12px;
  z-index: 1000;
}

.nav-links.active li {
  width: 100%;
  text-align: center;
}

.nav-links.active a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  font-size: 0.85rem;
  font-family: "Odibee Sans", sans-serif;
  border-bottom: 1px solid rgba(245, 222, 179, 0.2);
  gap: 6px;
  letter-spacing: 0.5px;
}

.nav-links.active a:last-child {
  border-bottom: none;
}

/* No-hover class for mobile devices */

.no-hover *:hover {
  background: none !important;
  color: inherit !important;
  transform: none !important;
}

/* Touch-friendly improvements */

.product-item,
.social-item,
.nav-links a,
.logo {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide scrollbars completely */
::-webkit-scrollbar {
  display: none;
}

html {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Smooth scrolling for touch devices */
body {
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
}

/* Fix navbar overflow issues */
nav {
  overflow: hidden;
}

.nav-links {
  overflow: hidden;
}

/* Prevent horizontal scroll on mobile */

.container {
  overflow-x: hidden;
}

/* Better touch targets */

@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
    padding: 8px;
    border-radius: 8px;
    background: rgba(139, 69, 19, 0.15);
    border: 2px solid rgba(139, 69, 19, 0.25);
    transition: all 0.3s ease;
    z-index: 1001;
  }

  .mobile-menu:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
  }

  .mobile-menu span {
    background: #f5deb3;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex !important;
    animation: slideDownFade 0.3s ease-out;
    max-height: 450px;
    overflow-y: auto;
    padding: 0.8rem 0;
  }

  @keyframes slideDownFade {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links a.active::before,
  .nav-links a.active::after {
    display: none;
  }

  .product-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .product-item:active {
    transform: scale(0.98);
  }
  .social-item:active {
    transform: scale(0.98);
  }
  .product-item img {
    transition: transform 0.2s ease;
  }
  .product-item img:active {
    transform: scale(0.95);
  }
}

/* PWA-like fullscreen experience */

@media (display-mode: standalone) {
  body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* High DPI displays */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Landscape mode optimizations */

@media (max-height: 500px) and (orientation: landscape) {
  header {
    min-height: 50px;
  }
  .hero {
    padding: 2rem 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  body.home-page .hero,
  body.produk-page .hero,
  body.sejarah-page .hero,
  body.kontak-page .hero {
    padding-bottom: 35%;
    background-size: 100% auto;
    background-position: center top;
    border-radius: 10px 10px 0 0;
  }
}

/* Large screens optimization */

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    padding: 0 2rem;
  }
  .product-item img {
    aspect-ratio: 1/1;
  }
  .main-title {
    font-family: "Odibee Sans", sans-serif;
    font-size: 5.2rem;
  }
  .main-title-number {
    font-family: "Odibee Sans", sans-serif;
    font-size: 8rem;
  }
  .category-title {
    font-size: 3.2rem;
  }
  .page-title {
    font-size: 3.5rem;
  }
  body.home-page .hero,
  body.produk-page .hero,
  body.sejarah-page .hero,
  body.kontak-page .hero {
    padding-bottom: 60%;
    background-size: 100% auto;
    background-position: center top;
    border-radius: 24px 24px 0 0;
  }
  main {
    max-width: 1400px;
    padding: 3rem 4rem;
    border-radius: 24px;
  }
  .home-layout {
    max-width: 1400px;
    padding: 3rem 4rem;
  }
  .history-content {
    max-width: 1000px;
    padding: 2rem 3rem;
  }
  .contact-info,
  .contact-layout {
    max-width: 1200px;
    gap: 4rem;
  }
}

/* Print styles */

@media print {
  header,
  footer,
  .hero,
  .scroll-top-btn,
  .lightbox {
    display: none;
  }

  body.home-page .hero,
  body.produk-page .hero,
  body.sejarah-page .hero,
  body.kontak-page .hero {
    display: none;
  }
  main {
    margin: 0;
    box-shadow: none;
    padding: 0;
    max-width: 100vw;
    border-radius: 0 !important;
  }
  .page-content {
    padding: 2rem 0;
    gap: 1rem;
    border-radius: 0 !important;
  }
  .product-item {
    break-inside: avoid;
    margin-bottom: 1rem;
  }
  .contact-layout,
  .contact-info {
    grid-template-columns: 1fr;
    max-width: 100vw;
    padding: 0;
  }
}
