/* GLOBAL */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #fff;
  background: #000;
  width: 100%;
}

/* HEADER */
.header {
  position: relative;
  background: #000;
  padding: 20px 0;
}

/* Thin red accent line across the very top of the page */
.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, transparent, #e60000 50%, transparent);
}


/* Grid instead of space-between flex — the center column stays truly
   centered on the page regardless of how wide the logo/flags are */
.header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 15px;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.header-left {
  justify-self: start;
}

.header-center {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.header-right {
  justify-self: end;
}

.vk-logo,
.ritchies-logo,
.combined-flags {
  height: 70px;
  max-width: 100%;
}

.header-tagline {
  margin-top: 5px;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e0a03c;
  text-align: center;
}

/* NAV — 3-column grid so the link group stays truly centered
   regardless of the Cart button's width, which is pinned to the right */
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: #000;
  border-bottom: 3px solid #d1a13a; /* full-width gold divider before the hero */
}

.nav-links {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: #e0a03c;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding-bottom: 4px;
  white-space: nowrap;
}

.nav-link.active {
  color: #fff;
  border-bottom: 2px solid #e60000;
}

.nav-cart-btn {
  grid-column: 3;
  justify-self: end;
}

/* HEADER — MOBILE */
@media (max-width: 700px) {
  .header-row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  .header-left,
  .header-right {
    justify-self: center;
  }

  .vk-logo,
  .ritchies-logo {
    height: 50px;
  }

  .combined-flags {
    height: 40px;
  }

  .header-tagline {
    font-size: 0.7rem;
  }

  .nav {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  .nav-links {
    grid-column: 1;
    gap: 16px 20px;
  }

  .nav-cart-btn {
    grid-column: 1;
    justify-self: center;
  }

  .nav-link {
    font-size: 0.8rem;
  }
}

/* HERO SECTION — text left, full undimmed image right */
.hero {
  position: relative;
  display: flex;
  align-items: stretch;    /* image column stretches to exactly match the text column's height */
  overflow: hidden;
  background: #000;
}

/* Text content */
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 30px 60px;   /* less vertical padding = shorter column = shorter image */
}

.hero-eyebrow {
  color: #e0a03c;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 2.4rem;
  line-height: 1.1;
  color: #fff;
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-title span {
  color: #e60000; /* Red accent */
}

.hero-subtitle {
  font-size: 1.05rem;
  margin-top: 12px;
  max-width: 480px;
  color: #ccc;
  opacity: 0.9;
}

.btn {
  border: none;
  border-radius: 30px;
  padding: 14px 28px;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.btn-red {
  background: #e60000;
  color: #fff;
}

/* Image — undimmed, fills the right half edge to edge, height matches the row.
   The <img> is taken out of flow (absolute) so its own intrinsic aspect ratio
   can't dictate the row's height — only the text column does that. */
.hero-image {
  position: relative;
  flex: 1 1 50%;
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Soft fade where the image meets the text column, so the seam isn't a hard edge */
.hero-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 25%;
  height: 100%;
  background: linear-gradient(to right, #000, transparent);
  z-index: 1;
}

/* Responsive scaling */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    min-height: 0;
  }

  .hero-content {
    padding: 50px 25px;
    text-align: center;
    align-items: center;
  }

  .hero-image {
    flex: none;
    height: 260px;   /* the <img> is absolute now, so the container needs the explicit height */
  }

  .hero-image::before {
    display: none;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ABOUT */
.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
}

.section-subtitle {
  text-align: center;
  color: #777;
  margin-bottom: 40px;
}

/* ABOUT — STORY PAGE (about.html) */
.about-story-content {
  max-width: 760px;
  margin: 0 auto;
}

.about-story-content p {
  line-height: 1.7;
  color: #ddd;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.hst-note {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 20px 25px;
  border: 1px solid #333;
  border-radius: 8px;
  background: #0d0d0d;
}

.hst-note p {
  margin: 0;
  font-size: 0.85rem;
  color: #999;
  line-height: 1.5;
}

.hst-note p strong {
  color: #e0a03c;
}

/* BRANDS */
.brands-section {
  background: #f6efe2;   /* warm cream band, contrasts with the black theme */
  padding: 70px 20px;
  max-width: none;
}

.brands-eyebrow {
  text-align: center;
  color: #e60000;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  font-size: 0.85rem;
  margin: 0 0 10px;
}

.brands-heading {
  text-align: center;
  color: #1a1a1a;
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
  max-width: 1200px;
  margin: 0 auto 45px;
}

.brands-row {
  display: grid;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 30px;
}

.brands-row:last-child {
  margin-bottom: 0;
}

.brands-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.brand-card {
  display: block;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.brand-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.brand-card-body {
  padding: 20px;
}

.brand-title {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0 0 10px;
  color: #1a1a1a;
}

.brand-title span {
  color: #e60000;
}

.brand-text {
  font-size: 0.9rem;
  color: #555;
  margin: 0 0 18px;
}

.brand-badge {
  display: inline-block;
  margin: 0 0 10px;
  background: #e60000;
  color: #fff;
  font-weight: bold;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 20px;
}

.cd-caption {
  margin: 0 0 8px;
  color: #555;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f6efe2;
  border: 1px solid #e6dcc8;
  border-radius: 6px;
  padding: 5px 10px;
  min-width: 44px;
}

.cd-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1;
}

.cd-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #777;
  margin-top: 2px;
}

.cd-sep {
  font-weight: bold;
  color: #e60000;
}

.cd-done {
  display: inline-block;
  background: #e60000;
  color: #fff;
  font-weight: bold;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #111;
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  padding: 10px 18px;
  border-radius: 30px;
}

/* BRANDS — responsive: 3 cols -> 2 -> 1 */
@media (max-width: 900px) {
  .brands-row-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .brands-row-3 {
    grid-template-columns: 1fr;
  }

  .brands-heading {
    font-size: 1.5rem;
  }
}

/* SOCIAL BAR — sits at the top of the footer on every page */
.social-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto 25px;
  padding: 18px 25px;
  background: transparent;
  border-top: 4px solid #000;
  border-bottom: 4px solid #e60000;
}

.social-flags {
  display: flex;
  align-items: center;
}

.footer-flag {
  height: 34px;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-link {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.45);
}

/* CONTACT */
.contact-grid {
  display: flex;
  gap: 40px;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 16px; /* keeps iOS Safari from auto-zooming the page on focus */
  font-family: inherit;
}

.form-textarea {
  height: 120px;
}

.contact-info {
  flex: 1;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  background: #000;
  color: #888;
  border-top: 1px solid #222;
}

/* RESPONSIVE — contact page grid stacks on mobile.
   (Hero's own responsive rules live in the single @media (max-width: 900px)
   block above — kept here separate since it's unrelated to hero sizing.)
   Uses the same 700px tier as the header/nav breakpoint above, so the site
   has one consistent set of breakpoints: 900 (tablet), 700 (large phone/
   small tablet), 560 (phone), 480 (small phone). */
@media (max-width: 700px) {
  .contact-grid {
    flex-direction: column;
  }
}

/* PRODUCTS PAGE */
.products-intro {
  padding-bottom: 20px;
}

.product-section {
  padding-top: 30px;
  padding-bottom: 50px;
}

.product-banner {
  position: relative;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  margin-bottom: 30px;
}

.product-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.product-banner-overlay h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  color: #fff;
}

.product-banner-overlay h2 span {
  color: #e60000;
}

.product-banner-overlay p {
  margin: 0;
  color: #ddd;
  font-size: 0.95rem;
  max-width: 500px;
}

.product-subheading {
  color: #e0a03c;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  margin: 30px 0 15px;
  border-bottom: 1px solid #333;
  padding-bottom: 8px;
}

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

.product-item {
  background: #111;
  border: 1px solid #262626;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.product-name {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 10px;
}

.product-desc {
  color: #bbb;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0 0 18px;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.product-price {
  color: #e0a03c;
  font-weight: bold;
  font-size: 0.9rem;
}

.product-note {
  color: #e0a03c;
  font-size: 0.82rem;
  font-style: italic;
  margin: 0 0 18px;
}

/* Catering price table */
.product-table-wrap {
  overflow-x: auto;
  margin-bottom: 20px;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.product-table th,
.product-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #262626;
  font-size: 0.9rem;
}

.product-table th {
  color: #e0a03c;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.78rem;
}

.product-table td {
  color: #ddd;
}

.product-table tbody tr:hover {
  background: #111;
}

.product-notes {
  margin: 0 0 25px;
  padding-left: 18px;
  color: #999;
  font-size: 0.82rem;
  line-height: 1.7;
}

/* Out-of-stock items */
.product-item.out-of-stock {
  opacity: 0.5;
  filter: grayscale(70%);
}

.product-soldout {
  display: inline-flex;
  align-items: center;
  background: #333;
  color: #999;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  padding: 10px 18px;
  border-radius: 30px;
}

/* Quantity stepper + Add to Cart button on each product item */
.qty-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.qty-input {
  width: 40px;
  text-align: center;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  color: #fff;
  font-size: 0.9rem;
  padding: 4px 0;
}

.add-to-cart-btn {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

/* Header cart button — always visible in the nav, no scrolling needed */
.nav-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e60000;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-family: inherit;
  font-weight: bold;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.nav-cart-btn .cart-count {
  position: static;
  background: #fff;
  color: #e60000;
  margin-left: 2px;
}

/* Floating cart button */
.cart-fab {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e60000;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: #e60000;
  font-size: 0.7rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Cart drawer + overlay */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 65;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -380px;
  width: 340px;
  max-width: 85vw;
  height: 100%;
  background: #111;
  border-left: 1px solid #262626;
  padding: 25px 20px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  transition: right 0.25s ease;
  overflow-y: auto;
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.cart-drawer-header h3 {
  margin: 0;
  color: #fff;
}

.cart-close {
  background: none;
  border: none;
  color: #999;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.cart-items {
  flex-grow: 1;
}

.cart-empty {
  color: #777;
  font-size: 0.9rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  padding: 14px 0;
  border-bottom: 1px solid #262626;
}

.cart-line-info {
  display: flex;
  flex-direction: column;
}

.cart-line-name {
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
}

.cart-line-unit {
  color: #888;
  font-size: 0.78rem;
}

.cart-line-subtotal {
  color: #e0a03c;
  font-weight: bold;
  font-size: 0.85rem;
  text-align: right;
  align-self: center;
}

.cart-line-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}

.cart-qty-value {
  color: #fff;
  font-size: 0.85rem;
  min-width: 16px;
  text-align: center;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: #e60000;
  font-size: 1.1rem;
  cursor: pointer;
  margin-left: 4px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-weight: bold;
  font-size: 1.05rem;
  padding: 15px 0;
  border-top: 1px solid #333;
  margin-top: 10px;
}

.cart-checkout-btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

.cart-note {
  color: #777;
  font-size: 0.75rem;
  margin-top: 10px;
  text-align: center;
}

/* Contact page order-summary hint */
.form-followup-note {
  color: #888;
  font-size: 0.8rem;
  line-height: 1.5;
  margin-top: 12px;
}

.cart-hint {
  background: #1a1a1a;
  border: 1px solid #e0a03c;
  color: #e0a03c;
  font-size: 0.85rem;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Inline contact-form confirmation / error states (no page navigation) */
.form-success {
  background: #0f1f14;
  border: 1px solid #2e7d32;
  border-radius: 8px;
  padding: 25px;
  flex: 1;
}

.form-success h3 {
  margin: 0 0 8px;
  color: #4caf50;
  font-size: 1.3rem;
}

.form-success p {
  margin: 0;
  color: #cfe8d1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.form-error {
  background: #1a1a1a;
  border: 1px solid #e60000;
  color: #f5b5b5;
  font-size: 0.85rem;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.form-error a {
  color: #fff;
}

@media (max-width: 480px) {
  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
    right: -100vw;
  }
}

/* PRODUCTS PAGE — responsive */
@media (max-width: 900px) {
  .product-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .product-list {
    grid-template-columns: 1fr;
  }

  .product-banner {
    height: 160px;
  }

  .product-banner-overlay h2 {
    font-size: 1.3rem;
  }
}
