/* COPATI FOOD SAS — Landing Page */
:root {
  --green-dark: #1a3d2e;
  --green-mid: #2d5a45;
  --green-light: #3d7a5c;
  --gold: #c9a227;
  --gold-light: #e8c84a;
  --cream: #f8f6f1;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-muted: #5a5a5a;
  --shadow: 0 8px 32px rgba(26, 61, 46, 0.12);
  --radius: 12px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 61, 46, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
}

.logo-icon {
  font-size: 1.75rem;
}

.logo-text strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.logo-text span {
  font-size: 0.7rem;
  color: var(--gold-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-cta {
  background: var(--gold);
  color: var(--green-dark) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--gold-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 72px;
  background: var(--green-dark);
}

.hero-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem);
  background: linear-gradient(168deg, var(--green-dark) 0%, #1f4a38 100%);
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(201, 162, 39, 0.2) 100%);
}

.hero-panel-inner {
  max-width: 500px;
  width: 100%;
  color: var(--white);
}

.hero-flag {
  display: flex;
  gap: 4px;
  margin-bottom: 1.25rem;
}

.hero-flag span {
  width: 32px;
  height: 4px;
  border-radius: 2px;
}

.hero-flag span:nth-child(1) { background: #009246; }
.hero-flag span:nth-child(2) { background: #ffffff; }
.hero-flag span:nth-child(3) { background: #ce2b37; }

.hero-badge {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  color: var(--gold-light);
  font-style: italic;
  font-weight: 500;
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

/* Hero buttons — no hover motion or color shifts */
.hero .btn-hero {
  transition: none;
}

.hero .btn-primary.btn-hero:hover,
.hero .btn-primary.btn-hero:focus {
  background: var(--gold);
  color: var(--green-dark);
  transform: none;
}

.hero .btn-outline.btn-hero:hover,
.hero .btn-outline.btn-hero:focus {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  transform: none;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  background: #0f2419;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 72px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
  display: flex;
  list-style: none;
  gap: 0;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
  flex: 1;
  padding: 1.25rem 0.75rem 0;
  text-align: left;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat:last-child {
  border-right: none;
  padding-right: 0;
}

.hero-stat:first-child {
  padding-left: 0;
}

.hero-stat strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.hero-stat span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

/* Section common */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  color: var(--green-mid);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--green-dark);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
}

/* Why Choose Us */
.why {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(26, 61, 46, 0.08);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--green-dark);
  color: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.why-card h3 {
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26, 61, 46, 0.18);
}

.product-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.06);
}

.product-body {
  padding: 1.25rem 1.5rem;
}

.product-body h3 {
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.product-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.product-body ul {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.product-body li {
  padding: 0.2rem 0;
  padding-left: 1rem;
  position: relative;
}

.product-body li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.products-banner {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.products-banner h3 {
  font-size: 1.5rem;
  color: var(--gold-light);
}

.products-banner p {
  opacity: 0.9;
  max-width: 480px;
}

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-content h2 {
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-list {
  list-style: none;
  margin: 1.5rem 0;
}

.about-list li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 0.95rem;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-mid);
  font-weight: 700;
}

.about-owner {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}

.about-owner strong {
  display: block;
  color: var(--green-dark);
}

.about-owner span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Mission & Vision */
.mission {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.mission-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}

.mission-card.vision {
  border-top-color: var(--green-mid);
}

.mission-card h3 {
  font-size: 1.35rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.mission-card p {
  color: var(--text-muted);
}

.mission-tagline {
  text-align: center;
  margin-top: 2.5rem;
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-style: italic;
  color: var(--green-mid);
}

/* Markets */
.markets {
  background: var(--green-dark);
  color: var(--white);
  padding: 3.5rem 0;
}

.markets .section-header h2,
.markets .section-header p {
  color: var(--white);
}

.markets .section-header p {
  opacity: 0.85;
}

.markets-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.markets-tags span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.4);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.9rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--green-dark);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(26, 61, 46, 0.7));
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 1;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* FAQ */
.faq {
  background: var(--white);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(26, 61, 46, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-dark);
}

.faq-question:hover {
  color: var(--green-mid);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  background: var(--green-dark);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.contact-details {
  list-style: none;
  margin: 1.5rem 0;
}

.contact-details li {
  display: flex;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(26, 61, 46, 0.08);
}

.contact-details .icon {
  width: 40px;
  height: 40px;
  background: var(--green-dark);
  color: var(--gold-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(26, 61, 46, 0.2);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-mid);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-success {
  display: none;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.form-success.show {
  display: block;
}

/* Footer */
.footer {
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-mid) 55%, var(--green-light) 100%);
  color: rgba(255, 255, 255, 0.92);
  padding: 2.5rem 0 0;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

/* Sub-footer bar (copyright + ExportersWay) */
.footer-bar {
  background: #050a05;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
  min-height: 72px;
}

.footer-bar-text p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #a8a8a8;
}

.footer-bar-text a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 600;
}

.footer-bar-text a:hover {
  color: #e8c84a;
}

.footer-bar-logo {
  flex-shrink: 0;
  display: block;
  line-height: 0;
}

.footer-bar-logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer-brand strong {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  color: var(--gold-light);
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer ul a {
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition);
}

.footer ul a:hover {
  color: var(--gold-light);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-height: 90vh;
  max-width: 90vw;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .hero-visual {
    order: -1;
    max-height: 320px;
  }

  .hero-visual img {
    min-height: 320px;
    max-height: 320px;
  }

  .hero-panel::before {
    width: 100%;
    height: 3px;
    top: auto;
    bottom: 0;
    right: auto;
    left: 0;
    background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0.2));
  }

  .hero-panel-inner {
    max-width: 100%;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
    gap: 1rem;
  }

  .footer-bar-logo {
    align-self: flex-end;
  }
}

@media (max-width: 768px) {
  .hero-stats {
    flex-direction: column;
    gap: 0;
  }

  .hero-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1rem 0;
  }

  .hero-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero .btn-hero {
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--green-dark);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3.5rem 0;
  }
}
