/* Menu Page Main Stylesheet by Michael Odeleye - coffee cup catering site */

/* ── Google Fonts Import ── */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Barlow:ital,wght@0,300;0,400;0,600;1,700;1,800&display=swap');

/* CSS VARIABLES — Colors, Fonts, Spacing */
:root {
  --color-black:       #111111;
  --color-dark:        #1a1a1a;
  --color-dark-card:   #222222;
  --color-white:       #ffffff;
  --color-off-white:   #f5f5f5;
  --color-accent:      #c8a96e;       /* warm gold accent */
  --color-accent-dark: #a8893e;
  --color-text-muted:  #aaaaaa;
  --color-border:      rgba(255,255,255,0.25);
  --color-wm:          rgba(255,255,255,0.045); /* watermark text */

  --font-heading:  'Oswald', sans-serif;
  --font-body:     'Barlow', sans-serif;

  --nav-height: 90px;
  --max-width:  1200px;

  --transition: 0.3s ease;
}

/* RESET & BASE  */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-black);
  color: var(--color-white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* UTILITY CLASSES */

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* Section padding */
.section-pad {
  padding: 80px 0;
}

/* HEADER / NAVIGATION */
.site-header {
  background-color: var(--color-black);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--color-white);
}

.logo-sub {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 2px;
}

/* Nav links */
.site-nav {
  display: flex;
  align-items: center;
  gap: 48px;
}

.site-nav a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

/* Nav hover effect */
.site-nav a:hover,
.site-nav a.active {
  color: var(--color-white);
  border-bottom-color: var(--color-accent);
}

/* Search icon */
.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition);
}

.nav-search:hover {
  color: var(--color-white);
}

.nav-search span {
  font-size: 20px;
}

/* HERO SECTION */
.hero {
  background-color: var(--color-black);
  min-height: 380px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 40px;
}

.hero-content {
  flex: 1;
  max-width: 500px;
}

/* Hero headline */
.hero-title {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 800;
  font-size: 52px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 36px;
  letter-spacing: 1px;
}

/* Hero buttons row */
.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Hero media */
.hero-media {
  flex-shrink: 0;
  width: 420px;
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Image */
.img-placeholder {
  background-color: #2a2a2a;
  border: 2px dashed rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}

/* BUTTONS */

/* Primary outlined button (ORDER NOW style) */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  padding: 12px 28px;
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

/* Outlined button hover */
.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  transform: translateY(-2px);
}

/* Filled dark button (COFFEE INFO style) */
.btn-filled {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-white);
  background-color: #333333;
  border: 2px solid #333333;
  padding: 12px 28px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

/* Filled button hover */
.btn-filled:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-black);
  transform: translateY(-2px);
}

/* MENU PAGE — Section titles (italic style) */
.menu-section-title {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 700;
  font-size: 42px;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-white);
  letter-spacing: 4px;
  margin-bottom: 40px;
}

/* Menu category section */
.menu-category {
  padding: 60px 0;
}

.menu-category:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* MENU PAGE — Category tabs */
.category-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.category-tab {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 16px 32px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
}

.category-tab:hover,
.category-tab.active {
  color: var(--color-white);
  border-bottom-color: var(--color-accent);
}

/* SCROLL REVEAL ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.7s ease forwards;
}

.fade-up-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* DIVIDER LINE */
.divider {
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
  margin: 0 auto 40px auto;
}

/* SECTION LABEL (small uppercase label above titles) */
.section-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--color-accent);
  text-align: center;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-white);
  margin-bottom: 50px;
}

/* Product cards grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

/* Individual product card */
.product-card {
  background-color: var(--color-dark-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

/* Product card hover effect */
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.product-card:hover .product-name {
  background-color: var(--color-accent);
  color: var(--color-black);
}

/* Product image */
.product-img {
  width: 100%;
  height: 200px;
}

/* Product name bar */
.product-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 14px 16px;
  background-color: #2a2a2a;
  color: var(--color-white);
  transition: background var(--transition), color var(--transition);
}

/* Product order button */
.product-order {
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.product-order .btn-outline {
  width: 100%;
  justify-content: center;
  font-size: 12px;
  padding: 10px 20px;
}

/* Arrow navigation row */
.slider-arrows {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

/* FOOTER */
.site-footer {
  background-color: #0d0d0d;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 50px 0 30px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-brand .logo-main {
  font-size: 18px;
}

.footer-brand .logo-sub {
  font-size: 10px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
  max-width: 260px;
  line-height: 1.7;
}

.footer-nav h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.footer-nav ul li {
  margin-bottom: 10px;
}

.footer-nav ul li a {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-nav ul li a:hover {
  color: var(--color-white);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 20px 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 1px;
}