/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #faf8f5;
  color: #3d3535;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: 0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: 0.02em; }
h3 { font-size: 1.1rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250,248,245,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid #ede6dc;
  padding: 0 2rem; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: Georgia, serif; font-size: 1.4rem;
  letter-spacing: 0.06em; color: #5a4a42; text-decoration: none;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: #8a7a6f; font-size: 0.9rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
  background: #c4a882; transition: width 0.3s;
}
.nav-links a:hover { color: #5a4a42; }
.nav-links a:hover::after { width: 100%; }
.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 24px; height: 1.5px; background: #5a4a42; margin: 5px 0; transition: 0.3s; }

/* ===== LANGUAGE DROPDOWN ===== */
.lang-dropdown { position: relative; }
.lang-trigger {
  background: none; border: 1px solid #ede6dc; color: #8a7a6f;
  padding: 6px 12px; font-size: 0.8rem; cursor: pointer;
  border-radius: 3px; font-family: inherit; letter-spacing: 0.04em;
  transition: all 0.2s; display: flex; align-items: center; gap: 4px;
}
.lang-trigger:hover { color: #5a4a42; border-color: #c4a882; }
.lang-trigger .arrow { font-size: 0.6rem; transition: transform 0.2s; }
.lang-dropdown.open .lang-trigger .arrow { transform: rotate(180deg); }
.lang-options {
  display: none; position: absolute; top: 100%; right: 0;
  margin-top: 4px; background: #fff; border: 1px solid #ede6dc;
  border-radius: 3px; min-width: 140px; box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 1001; overflow: hidden;
}
.lang-dropdown.open .lang-options { display: block; }
.lang-option {
  display: block; width: 100%; padding: 10px 16px;
  background: none; border: none; cursor: pointer;
  font-size: 0.82rem; color: #5a4a42; text-align: left;
  font-family: inherit; transition: background 0.15s;
}
.lang-option:hover { background: #f5f0ea; }
.lang-option.active { color: #c4a882; font-weight: 600; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 6rem 2rem 4rem;
  background: linear-gradient(135deg, #faf8f5 0%, #f0e8dd 40%, #e8d9cc 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -30%; width: 80%; height: 200%;
  background: radial-gradient(ellipse, rgba(196,168,130,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 700px; }
.hero h1 { color: #4a3c34; margin-bottom: 0.5rem; }
.hero .subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem); color: #8a7a6f;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2rem;
}
.hero .tagline {
  font-size: 1rem; color: #6b5d53; max-width: 500px; margin: 0 auto 2.5rem;
}
.hero-cta {
  display: inline-block; padding: 14px 40px;
  border: 1px solid #c4a882; color: #c4a882;
  text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase;
  font-size: 0.85rem; transition: all 0.3s;
  font-family: Georgia, serif;
}
.hero-cta:hover { background: #c4a882; color: #fff; }

/* ===== SECTION COMMON ===== */
.section { padding: 5rem 2rem; max-width: 1300px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { color: #4a3c34; margin-bottom: 0.5rem; }
.section-header .section-desc { color: #8a7a6f; font-size: 0.95rem; max-width: 500px; margin: 0 auto; }
.section-divider {
  width: 60px; height: 1px; background: #c4a882;
  margin: 1rem auto 0;
}

/* ===== CATEGORY MARQUEE BOXES ===== */
.categories { background: #f5f0ea; overflow: hidden; }
.cat-marquee {
  width: 100%; overflow: hidden; position: relative;
  padding: 20px 0;
}
.cat-marquee-track {
  display: flex; gap: 1.5rem;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.cat-marquee-track:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.cat-marquee-box {
  flex-shrink: 0; width: 440px;
  background: #fff; border: 1px solid #ede6dc;
  border-radius: 2px; padding: 36px 40px;
  text-decoration: none; color: inherit;
  transition: all 0.3s; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center;
  min-height: 170px;
}
.cat-marquee-box:hover {
  border-color: #c4a882;
  box-shadow: 0 4px 16px rgba(196,168,130,0.15);
  transform: translateY(-2px);
}
.cat-marquee-box .box-label {
  font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: #c4a882; margin-bottom: 8px;
}
.cat-marquee-box .box-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.2rem; color: #4a3c34; letter-spacing: 0.02em;
}

/* ===== GALLERY SECTION ===== */
.gallery-section { background: #faf8f5; }
.gallery-section:nth-child(odd) { background: #f5f0ea; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem; max-width: 1300px; margin: 0 auto;
}
.gallery-item {
  background: #fff; border-radius: 2px; overflow: hidden;
  box-shadow: 0 1px 10px rgba(0,0,0,0.03);
  transition: transform 0.3s;
}
.gallery-item:hover { transform: translateY(-2px); }
.gallery-item img {
  width: 100%; display: block; cursor: pointer;
  transition: opacity 0.3s;
}
.gallery-item img:hover { opacity: 0.92; }
.gallery-item .item-label {
  padding: 0.8rem 1rem; font-size: 0.8rem; color: #8a7a6f;
  letter-spacing: 0.03em; text-align: center;
  border-top: 1px solid #ede6dc;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.92); z-index: 2000;
  justify-content: center; align-items: center;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 92vh; object-fit: contain;
  border-radius: 2px;
}
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; color: #fff; font-size: 2rem;
  cursor: pointer; opacity: 0.7; transition: opacity 0.3s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15); border: none; color: #fff;
  font-size: 1.8rem; padding: 1rem 0.8rem; cursor: pointer;
  opacity: 0.5; transition: opacity 0.3s;
}
.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ===== CONTACT ===== */
.contact { background: #5a4a42; color: #e8d9cc; text-align: center; }
.contact h2 { color: #faf8f5; }
.contact .section-desc { color: #c4a882; }
.contact-info { font-size: 0.95rem; line-height: 2; margin-top: 1.5rem; }
.contact-info a { color: #e8d9cc; text-decoration: none; border-bottom: 1px solid transparent; transition: 0.3s; }
.contact-info a:hover { border-bottom-color: #c4a882; }

/* ===== FLOATING SOCIAL ICONS ===== */
.social-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  display: flex; flex-direction: column; gap: 12px;
}
.social-float a {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 50%;
  color: #fff; text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  font-size: 1.3rem;
}
.social-float a:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.social-wa { background: #25D366; }
.social-fb { background: #1877F2; }
.social-ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* ===== FOOTER ===== */
.footer { text-align: center; padding: 2rem; font-size: 0.8rem; color: #8a7a6f; border-top: 1px solid #ede6dc; }

/* ===== BACK TO TOP ===== */
.back-top {
  position: fixed; bottom: 30px; left: 30px; z-index: 998;
  width: 40px; height: 40px; border-radius: 50%;
  background: #c4a882; color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transform: translateY(20px);
  transition: all 0.3s; font-size: 1.2rem;
}
.back-top.visible { opacity: 0.8; transform: translateY(0); }
.back-top:hover { opacity: 1; }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: #faf8f5;
    padding: 1.5rem 2rem; gap: 1.2rem;
    border-bottom: 1px solid #ede6dc; box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  }
  .menu-btn { display: block; }
  .hero { padding: 8rem 1.5rem 4rem; min-height: auto; }
  .section { padding: 3rem 1.2rem; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.8rem; }
  .cat-marquee-box { width: 340px; padding: 28px 32px; min-height: 140px; }
  .cat-marquee-box .box-title { font-size: 1.1rem; }
  .cat-marquee-box .box-label { font-size: 0.75rem; }
  .social-float { bottom: 20px; right: 20px; gap: 10px; }
  .social-float a { width: 44px; height: 44px; font-size: 1.1rem; }
  .lightbox-nav { padding: 0.6rem; font-size: 1.3rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (max-width: 400px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .hero h1 { font-size: 1.8rem; }
}
