@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #0D0404;
  --burgundy: #3D0C11;
  --mid: #6B1E2A;
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --cream: #F5E6D3;
  --white: #FEFEFE;
  --glass: rgba(255,255,255,0.05);
  --glass-border: rgba(201,168,76,0.2);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--cream);
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 5%;
  transition: background 0.4s, backdrop-filter 0.4s;
}
.navbar.scrolled {
  background: rgba(13,4,4,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: clamp(45px, 6vw, 65px);
  width: auto;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(201,168,76,0.15);
}
.logo-img-footer {
  height: clamp(60px, 8vw, 85px);
  width: auto;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 10px 18px;
  border-radius: 12px;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--cream); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.05em;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg); border: none; padding: 0.6rem 1.4rem;
  border-radius: 2rem; font-weight: 600; font-size: 0.85rem;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.4); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: 0.3s; }

/* HERO */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero_bg.png') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,4,4,0.85) 0%, rgba(61,12,17,0.6) 50%, rgba(13,4,4,0.8) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 800px; padding: 0 2rem;
}
.hero-badge {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold); font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.4rem 1.2rem; border-radius: 2rem;
  margin-bottom: 1.5rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s ease forwards;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900; line-height: 1.1;
  margin-bottom: 1.2rem;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.9s 0.5s ease forwards;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p {
  font-size: 1.1rem; color: rgba(245,230,211,0.8);
  max-width: 500px; margin: 0 auto 2rem;
  line-height: 1.7;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.9s 0.7s ease forwards;
}
.hero-buttons {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.9s 0.9s ease forwards;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg); padding: 0.9rem 2rem;
  border-radius: 3rem; font-weight: 700;
  text-decoration: none; font-size: 0.95rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(201,168,76,0.45); }
.btn-outline {
  border: 1.5px solid var(--gold); color: var(--gold);
  padding: 0.9rem 2rem; border-radius: 3rem;
  font-weight: 600; text-decoration: none; font-size: 0.95rem;
  transition: background 0.3s, color 0.3s;
}
.btn-outline:hover { background: var(--gold); color: var(--bg); }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(245,230,211,0.5); font-size: 0.75rem; letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* PARTICLES */
.particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.6), transparent);
  animation: float linear infinite;
}

/* SECTION COMMONS */
section { padding: 6rem 5%; }
.section-tag {
  display: inline-block; color: var(--gold);
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  line-height: 1.2; margin-bottom: 1rem;
}
.section-title em { color: var(--gold); font-style: italic; }
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 1.2rem 0;
}

/* ABOUT */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img-wrap {
  position: relative; border-radius: 1rem; overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-img-badge {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg); padding: 1rem 1.4rem;
  border-radius: 0.8rem; text-align: center;
  font-family: 'Playfair Display', serif;
}
.about-img-badge .year { font-size: 2rem; font-weight: 900; display: block; line-height: 1; }
.about-img-badge .label { font-size: 0.7rem; letter-spacing: 0.1em; font-family: 'Inter', sans-serif; }
.about-text p { color: rgba(245,230,211,0.75); line-height: 1.8; margin-bottom: 1rem; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2rem; }
.stat-item { text-align: center; padding: 1.2rem; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 0.8rem; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--gold); font-weight: 700; }
.stat-label { font-size: 0.75rem; color: rgba(245,230,211,0.6); margin-top: 0.3rem; }

/* MENU */
.menu-section { background: linear-gradient(180deg, var(--bg) 0%, rgba(61,12,17,0.2) 50%, var(--bg) 100%); }
.menu-header { text-align: center; margin-bottom: 3rem; }
.menu-header .divider { margin: 1.2rem auto; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 2rem; }
.product-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 1.2rem; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(201,168,76,0.15); }
.product-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-img img { transform: scale(1.08); }
.stock-badge {
  position: absolute; top: 0.8rem; right: 0.8rem;
  padding: 0.3rem 0.8rem; border-radius: 2rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
}
.stock-ok { background: rgba(34,197,94,0.2); color: #4ade80; border: 1px solid rgba(74,222,128,0.3); }
.stock-low { background: rgba(251,146,60,0.2); color: #fb923c; border: 1px solid rgba(251,146,60,0.3); }
.stock-out { background: rgba(239,68,68,0.2); color: #f87171; border: 1px solid rgba(248,113,113,0.3); }
.product-info { padding: 1.2rem; }
.product-info h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 0.4rem; }
.product-info p { font-size: 0.85rem; color: rgba(245,230,211,0.6); margin-bottom: 0.8rem; line-height: 1.5; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--gold); font-weight: 700; }
.btn-order {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg); border: none; padding: 0.5rem 1rem;
  border-radius: 2rem; font-size: 0.8rem; font-weight: 700; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-order:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(201,168,76,0.4); }

/* GALLERY */
.gallery-section { background: rgba(61,12,17,0.15); }
.gallery-header { text-align: center; margin-bottom: 3rem; }
.gallery-header .divider { margin: 1.2rem auto; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery-item {
  overflow: hidden; border-radius: 1rem; cursor: pointer;
  position: relative;
}
.gallery-item:first-child { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; display: block; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,4,4,0.7), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover::after { opacity: 1; }

/* TESTIMONIALS */
.testimonials-section { text-align: center; }
.testimonials-header .divider { margin: 1.2rem auto; }
.testimonials-carousel { position: relative; max-width: 700px; margin: 3rem auto 0; }
.testimonial-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 1.2rem; padding: 2.5rem;
  display: none;
}
.testimonial-card.active { display: block; animation: fadeIn 0.5s ease; }
.testimonial-stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 1rem; }
.testimonial-text {
  font-family: 'Playfair Display', serif; font-size: 1.1rem;
  font-style: italic; color: var(--cream); line-height: 1.8; margin-bottom: 1.5rem;
}
.testimonial-author { color: var(--gold); font-weight: 600; font-size: 0.9rem; }
.testimonial-city { color: rgba(245,230,211,0.5); font-size: 0.8rem; margin-top: 0.2rem; }
.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(201,168,76,0.3); cursor: pointer; transition: background 0.3s; }
.dot.active { background: var(--gold); }

/* PARTNERSHIP */
.partnership-section { background: linear-gradient(135deg, rgba(61,12,17,0.3), rgba(13,4,4,0.5)); }
.partnership-header { text-align: center; margin-bottom: 3rem; }
.partnership-header .divider { margin: 1.2rem auto; }
.partnership-tabs { display: flex; justify-content: center; gap: 0; margin-bottom: 3rem; border-radius: 3rem; background: var(--glass); border: 1px solid var(--glass-border); width: fit-content; margin-left: auto; margin-right: auto; overflow: hidden; }
.tab-btn {
  padding: 0.7rem 2rem; border: none; background: transparent;
  color: rgba(245,230,211,0.6); cursor: pointer; font-size: 0.9rem;
  font-weight: 500; transition: all 0.3s;
}
.tab-btn.active { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--bg); font-weight: 700; }
.tab-content { display: none; max-width: 700px; margin: 0 auto; }
.tab-content.active { display: block; animation: fadeIn 0.4s ease; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; color: var(--gold); font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--cream); padding: 0.85rem 1rem;
  border-radius: 0.6rem; font-family: 'Inter', sans-serif; font-size: 0.9rem;
  outline: none; transition: border-color 0.3s;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit {
  width: 100%; padding: 1rem; margin-top: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg); border: none; border-radius: 0.8rem;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201,168,76,0.4); }

/* CONTACT */
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; margin-bottom: 0.5rem; }
.contact-info h2 em { color: var(--gold); font-style: italic; }
.contact-cards { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 0.8rem; padding: 1.2rem;
}
.contact-icon { font-size: 1.4rem; }
.contact-card strong { display: block; color: var(--gold); font-size: 0.8rem; letter-spacing: 0.1em; margin-bottom: 0.2rem; }
.contact-card p { color: rgba(245,230,211,0.75); font-size: 0.9rem; }
.map-embed { margin-top: 2rem; border-radius: 1rem; overflow: hidden; }
.map-embed iframe { width: 100%; height: 250px; border: none; filter: grayscale(0.5) sepia(0.2); }
.contact-form-wrap h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 2rem; }
.contact-form-wrap h3 em { color: var(--gold); font-style: italic; }

/* FOOTER */
footer {
  background: rgba(13,4,4,0.98);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 5% 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: rgba(245,230,211,0.6); font-size: 0.9rem; line-height: 1.7; margin-top: 1rem; }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.5rem; }
.social-link {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 1rem;
  transition: background 0.3s, border-color 0.3s;
}
.social-link:hover { background: var(--gold); border-color: var(--gold); }
.footer-col h4 { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul li a { color: rgba(245,230,211,0.6); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: rgba(245,230,211,0.4);
}
.footer-bottom a { color: rgba(201,168,76,0.5); text-decoration: none; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--gold); }

/* MODAL */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(13,4,4,0.9); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: #1A0A0D; border: 1px solid var(--glass-border);
  border-radius: 1.2rem; max-width: 600px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  transform: scale(0.95); transition: transform 0.3s;
}
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 1.2rem 1.2rem 0 0; }
.modal-body { padding: 1.5rem 2rem 2rem; }
.modal-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--cream); margin-bottom: 0.5rem; }
.modal-price { color: var(--gold); font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; }
.modal-desc { color: rgba(245,230,211,0.7); line-height: 1.7; font-size: 0.95rem; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--cream); width: 36px; height: 36px;
  border-radius: 50%; cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}

/* TOAST */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg); padding: 1rem 1.5rem;
  border-radius: 0.8rem; font-weight: 600;
  transform: translateY(100px); opacity: 0;
  transition: all 0.4s; box-shadow: 0 8px 24px rgba(201,168,76,0.4);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ANIMATIONS */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}
@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-20vh) scale(1.5); opacity: 0; }
}

.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* MOBILE */
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 2rem; }
  .contact-section { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-row: span 1; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 70px; left: 0; right: 0;
    background: rgba(13,4,4,0.97); padding: 2rem 5%;
    gap: 1.5rem; border-bottom: 1px solid var(--glass-border);
  }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}
