:root {
  --primary-color: #1E3A8A; /* Deep Blue */
  --secondary-color: #0F172A; /* Dark Slate */
  --accent-color: #F59E0B; /* Amber/Orange */
  --text-main: #334155;
  --text-light: #64748B;
  --bg-color: #F8FAFC;
  --white: #FFFFFF;
  --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --highlight-light: #DBEAFE;
  --highlight-dark: #2563EB;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.7;
}

/* Header & Navigation */
header {
  background: var(--secondary-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo-group {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-badge {
  background: var(--accent-color);
  color: var(--secondary-color);
  font-size: 24px;
  font-weight: 900;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 12px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  color: var(--white);
  font-size: 18px;
  letter-spacing: 1px;
}

.brand-sub {
  font-size: 12px;
  color: var(--accent-color);
  text-transform: uppercase;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 15px;
}

.nav-link {
  text-decoration: none;
  color: #CBD5E1;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.nav-link:hover, .nav-link.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.header-cta-btn {
  background: var(--accent-color);
  color: var(--secondary-color);
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.2s, background 0.3s;
}

.header-cta-btn:hover {
  background: #FBBF24;
  transform: translateY(-2px);
}

/* Tab Content Sections */
.tab-content {
  display: none;
  animation: fadeIn 0.6s ease-out;
}

.tab-content.active {
  display: block;
}

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

/* Hero Section */
.hero-section {
  padding: 50px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--white) 0%, #F1F5F9 100%);
  border-bottom: 4px solid var(--highlight-light);
  margin-bottom: 40px;
}

.hero-title {
  font-size: 38px;
  margin-bottom: 25px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.hero-title span {
  color: var(--primary-color);
  text-decoration: underline;
  text-decoration-color: var(--accent-color);
}

.hero-lead {
  font-size: 20px;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Image styling */
.story-photos {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}
.story-photo-card {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  background: var(--white);
  border: 2px solid var(--highlight-light);
}
.story-photo-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}
.story-photo-caption {
  padding: 15px;
  background: var(--secondary-color);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

/* Content Container */
.content-card {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  margin-bottom: 30px;
}

.content-card h2 {
  color: var(--primary-color);
  font-size: 28px;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--accent-color);
  display: inline-block;
  padding-bottom: 5px;
}

.content-card p {
  margin-bottom: 20px;
  font-size: 17px;
}

.highlight-box {
  background: var(--highlight-light);
  border-left: 5px solid var(--highlight-dark);
  padding: 20px;
  border-radius: 8px;
  margin: 30px 0;
}.btn-submit {
  width: 100%;
  background: var(--primary-color); /* Changed from red */
  color: var(--white);
  padding: 18px;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
}


/* Footer */
footer {
  background: #020617;
  color: #94A3B8;
  padding: 40px 0 20px;
  text-align: center;
}
.footer-links button {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  margin: 0 10px;
  text-decoration: underline;
}
.footer-links button:hover {
  color: var(--white);
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  position: relative;
}
.modal-close-btn {
  position: absolute;
  top: 15px; right: 15px;
  background: none; border: none;
  font-size: 24px; cursor: pointer;
  color: var(--text-main);
}

/* Ingredients UI Ingredients Block (Light Theme) */
.ingredients-wrapper {
  margin: 40px 0;
}

.dark-ui-section {
  background: #FFFFFF;
  color: var(--text-main);
  padding: 50px 40px;
  text-align: left;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid #E2E8F0;
}

.dark-ui-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.dark-ui-subtitle {
  color: var(--accent-color);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 45px;
}

.dark-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

@media (max-width: 900px) {
  .dark-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .dark-grid {
    grid-template-columns: 1fr;
  }
}

.dark-card {
  background: #F8FAFC;
  border-left: 5px solid var(--accent-color);
  padding: 30px 25px;
  border-radius: 8px 12px 12px 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 1px solid #E2E8F0;
  border-right: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.dark-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.dark-card h4 {
  font-size: 19px;
  margin-bottom: 15px;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.dark-card p {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
}

/* Grids */
.grid-3, .cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.grid-card {
  background: var(--bg-color);
  padding: 30px;
  border-radius: 12px;
  border-top: 4px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.grid-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 45px;
  margin-bottom: 15px;
}

/* Order Section at Bottom */
.order-section {
  padding: 60px 0;
  background: var(--secondary-color);
  color: var(--white);
  text-align: center;
  border-top: 5px solid var(--accent-color);
}

.order-box {
  background: var(--white);
  color: var(--text-main);
  max-width: 500px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.price-tag {
  background: var(--highlight-light);
  color: var(--primary-color);
  font-size: 34px;
  font-weight: 900;
  padding: 15px;
  border-radius: 12px;
  margin: 20px 0;
  border: 2px dashed var(--highlight-dark);
}

.form-input {
  width: 100%;
  padding: 16px;
  margin-bottom: 15px;
  border: 2px solid #E2E8F0;
  border-radius: 8px;
  font-size: 16px;
  background: #F8FAFC;
}

.form-input:focus {
  border-color: var(--primary-color);
  outline: none;
  background: var(--white);
}



/* Footer */
footer {
  background: #020617;
  color: #94A3B8;
  padding: 40px 0 20px;
  text-align: center;
}
.footer-links button {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  margin: 0 10px;
  text-decoration: underline;
}
.footer-links button:hover {
  color: var(--white);
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  position: relative;
}
.modal-close-btn {
  position: absolute;
  top: 15px; right: 15px;
  background: none; border: none;
  font-size: 24px; cursor: pointer;
  color: var(--text-main);
}

.btn-submit {
  width: 100%;
  background: var(--primary-color);
  color: var(--white);
  padding: 18px;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
}

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