/* ===================================
   DS FOODS — STYLE SHEET
   =================================== */

/* === CSS RESET === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === ROOT VARIABLES === */
:root {
  --primary: #f5b301;          /* Mustard Gold */
  --primary-dark: #d99800;
  --accent: #ffcc33;           /* Sunflower Yellow */
  --bg: #fffdf7;               /* Soft Off-White */
  --text: #222;
  --muted: #666;
  --radius: 14px;
  --shadow: 0 4px 12px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

/* === BASE TYPOGRAPHY === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === UTILITY === */
.container {
  width: min(90%, 1200px);
  margin: auto;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.875rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-ghost:hover {
  background-color: var(--primary);
  color: #fff;
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  backdrop-filter: blur(6px);
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  width: 50px;
  height: 50px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.3rem;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger .bar {
  width: 24px;
  height: 2px;
  background-color: var(--text);
  transition: var(--transition);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  top: 0;
  left: 0;
  z-index: -1;
}

.hero-content {
  color: #fff;
  max-width: 700px;
  padding: 0 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.about-card p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.features {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 500;
}

.features .icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.about-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* === PRODUCTS === */
.products-section {
  background-color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.product-media {
  position: relative;
}

.product-media img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
}

.accent-badge {
  background-color: var(--accent);
  color: #000;
}

.product-body {
  padding: 1.5rem;
}

.product-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  color: var(--muted);
}

.mini-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

/* === CONTACT SECTION === */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.contact-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text);
  margin-bottom: 0.5rem;
}

/* === FOOTER === */
.site-footer {
  background-color: #222;
  color: #fff;
  padding: 1.5rem 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* === MODAL === */
.modal-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-backdrop.active {
  display: flex;
}

.modal-window {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 500px;
  width: 90%;
  padding: 2rem;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
}

.label-text {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245,179,1,0.3);
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.form-feedback {
  margin-top: 1rem;
  font-weight: 600;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    display: none;
  }

  .nav.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}
