/* ===== RESET & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --orange: #E87722;
  --orange-dark: #C5611A;
  --orange-light: #F4A460;
  --brown: #3E2723;
  --brown-light: #5D4037;
  --cream: #FFF8F0;
  --cream-dark: #F5E6D3;
  --gold: #D4A854;
  --white: #FFFFFF;
  --text-dark: #2C1810;
  --text-muted: #7A6055;
  --shadow-sm: 0 2px 8px rgba(62,39,35,0.08);
  --shadow-md: 0 4px 20px rgba(62,39,35,0.12);
  --shadow-lg: 0 8px 40px rgba(62,39,35,0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,248,240,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232,119,34,0.1);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,248,240,0.98);
  box-shadow: var(--shadow-md);
}
.nav-container {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.5rem; }
.nav-logo img {
  height: 150px; width: auto;
  object-fit: contain;
  margin: -30px 0;
}
.nav-links { display: flex; gap: 0.5rem; align-items: center; }
.nav-links a {
  font-weight: 500; font-size: 0.85rem; color: var(--brown-light);
  padding: 0.45rem 1.1rem; border-radius: 50px;
  transition: var(--transition); letter-spacing: 0.3px;
  position: relative;
}
.nav-links a:hover {
  color: var(--orange); background: rgba(232,119,34,0.08);
}
.nav-links a.active {
  color: var(--white); background: var(--orange);
  box-shadow: 0 2px 10px rgba(232,119,34,0.3);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 5px;
}
.hamburger span {
  width: 28px; height: 2.5px; background: var(--brown);
  border-radius: 2px; transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('images/hero-banner.png') center/cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(44,24,16,0.82) 0%, rgba(62,39,35,0.65) 50%, rgba(232,119,34,0.3) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 800px; padding: 2rem;
  animation: fadeUp 1s ease-out;
}
.hero-content .hero-logo {
  display: none;
}
.hero-content h1 {
  font-size: 3.5rem; color: var(--white); margin-bottom: 1rem;
  line-height: 1.2;
}
.hero-content h1 span { color: var(--orange-light); }
.hero-content p {
  font-size: 1.2rem; color: rgba(255,255,255,0.85);
  margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; cursor: pointer; transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--orange); color: var(--white);
  box-shadow: 0 4px 15px rgba(232,119,34,0.4);
}
.btn-primary:hover {
  background: var(--orange-dark); transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(232,119,34,0.5);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1); border-color: var(--white);
  transform: translateY(-2px);
}

.btn-facebook {
  background: #1877F2; color: var(--white);
}
.btn-facebook:hover {
  background: #166FE5; transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24,119,242,0.4);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--white);
}
.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220,39,67,0.4);
}

/* ===== SECTIONS ===== */
.section { padding: 5rem 2rem; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 {
  font-size: 2.5rem; color: var(--brown); margin-bottom: 0.5rem;
}
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.section-header .divider {
  width: 80px; height: 3px; background: linear-gradient(90deg, var(--orange), var(--gold));
  margin: 1rem auto 0; border-radius: 2px;
}

/* ===== FEATURES (Home Page) ===== */
.features { background: var(--white); }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; max-width: 1200px; margin: 0 auto;
}
.feature-card {
  text-align: center; padding: 2.5rem 2rem;
  background: var(--cream); border-radius: var(--radius-lg);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
}
.feature-img-wrap {
  width: 90px; height: 90px; margin: 0 auto 1.2rem;
  border-radius: 50%; overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--white);
}
.feature-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.feature-card:hover .feature-img-wrap img {
  transform: scale(1.1);
}
.feature-card h3 { font-size: 1.3rem; color: var(--brown); margin-bottom: 0.6rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== PRODUCT PREVIEW (Home) ===== */
.preview-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem; max-width: 1200px; margin: 0 auto;
}

/* ===== PRODUCT GRID (Spices/Seasoning Pages) ===== */
.page-hero {
  padding: 8rem 2rem 4rem; text-align: center;
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-light) 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(232,119,34,0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(212,168,84,0.1) 0%, transparent 50%);
}
.page-hero h1 { font-size: 3rem; color: var(--white); position: relative; }
.page-hero h1 span { color: var(--orange-light); }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-top: 0.8rem; position: relative; }
.page-hero .divider {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  margin: 1.2rem auto 0; border-radius: 2px; position: relative;
}

.products-section { padding: 4rem 2rem; max-width: 1400px; margin: 0 auto; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.8rem;
}
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.product-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg);
}
.product-img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img { transform: scale(1.05); }
.product-img-wrap { overflow: hidden; position: relative; }
.product-img-wrap .badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--orange); color: var(--white);
  font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.8rem;
  border-radius: 50px;
}
.product-info { padding: 1.2rem 1.5rem 1.5rem; }
.product-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; color: var(--brown); margin-bottom: 0.3rem;
}
.product-info p { color: var(--text-muted); font-size: 0.88rem; }

/* Placeholder image style */
.product-placeholder {
  width: 100%; height: 220px;
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  max-width: 1100px; margin: 0 auto; padding: 4rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
}
.contact-info { padding: 2rem; }
.contact-info h2 {
  font-size: 2rem; color: var(--brown); margin-bottom: 1rem;
}
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; line-height: 1.8; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem;
}
.contact-detail .icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.2rem; flex-shrink: 0;
}
.contact-detail h4 { font-family: 'Inter', sans-serif; font-weight: 600; color: var(--brown); }
.contact-detail span { color: var(--text-muted); font-size: 0.95rem; }

.contact-form {
  background: var(--white); padding: 2.5rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-form h3 {
  font-size: 1.5rem; color: var(--brown); margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-weight: 500; color: var(--brown-light);
  margin-bottom: 0.4rem; font-size: 0.9rem;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 2px solid var(--cream-dark); border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-size: 0.95rem;
  transition: var(--transition); background: var(--cream);
  color: var(--text-dark);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,119,34,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%; padding: 1rem; border: none; border-radius: 50px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white); font-weight: 600; font-size: 1rem; cursor: pointer;
  transition: var(--transition);
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(232,119,34,0.4);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--brown); color: rgba(255,255,255,0.7);
  padding: 3rem 2rem 1.5rem;
}
.footer-content {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img {
  height: 60px; width: auto; margin-bottom: 1rem;
  object-fit: contain;
}
.footer-brand p { font-size: 0.9rem; max-width: 300px; line-height: 1.7; }
.footer h4 {
  font-family: 'Inter', sans-serif; color: var(--white);
  font-size: 1rem; margin-bottom: 1rem;
}
.footer ul li { margin-bottom: 0.5rem; }
.footer ul li a {
  font-size: 0.9rem; transition: var(--transition);
}
.footer ul li a:hover { color: var(--orange-light); }
.footer-bottom {
  max-width: 1200px; margin: 1.5rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem;
}
.footer-bottom .socials { display: flex; gap: 1rem; }
.footer-bottom .socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex;
  align-items: center; justify-content: center;
  transition: var(--transition); font-size: 0.9rem;
}
.footer-bottom .socials a:hover { background: var(--orange); color: var(--white); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-light) 100%);
  padding: 4rem 2rem; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(232,119,34,0.12) 0%, transparent 60%);
}
.cta-banner h2 { font-size: 2.2rem; color: var(--white); margin-bottom: 0.8rem; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; position: relative; font-size: 1.05rem; }
.cta-banner .btn { position: relative; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { 
    display: none; position: fixed; top: 0; right: -100%;
    width: 280px; height: 100vh; flex-direction: column;
    background: var(--cream); padding: 5rem 2rem 2rem;
    gap: 1.5rem; box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
  }
  .nav-links.open { display: flex; right: 0; }
  .hamburger { display: flex; z-index: 1001; }
  .hero-content h1 { font-size: 2.5rem; }
  .page-hero h1 { font-size: 2.2rem; }
  .contact-section { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 600px) {
  .hero-content h1 { font-size: 2rem; }
  .section-header h2 { font-size: 2rem; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
  .product-img, .product-placeholder { height: 160px; }
  .product-info { padding: 0.8rem 1rem 1rem; }
  .product-info h3 { font-size: 1rem; }
  .nav-container { padding: 0.5rem 1rem; }
}
