/* ============================================================
   BITES — Premium Bakery & Café
   Design System & Styles
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  /* Colors — Inspired by Paput Menorca & Retro Bakery */
  --cream: #F5F0E8;
  --cream-dark: #EDE7DA;
  --cream-light: #FAF8F4;
  --charcoal: #4A3525;      /* Warm dark chocolate/espresso text instead of charcoal */
  --espresso: #251812;      /* Rich dark espresso instead of flat black */
  --forest: #2D5A27;
  --forest-dark: #1E3D1A;
  --forest-light: #3A7A32;
  --golden: #D4A843;
  --golden-light: #E8C56A;
  --amber: #E8A832;
  --burgundy: #7A2D2D;
  --white: #FEFEFE;
  --muted: #7A6657;         /* Warm medium brown instead of grey */
  --border: #DDD5C8;
  --shadow-sm: 0 2px 8px rgba(74, 53, 37, 0.06);
  --shadow-md: 0 4px 20px rgba(74, 53, 37, 0.08);
  --shadow-lg: 0 8px 40px rgba(74, 53, 37, 0.12);
  --shadow-xl: 0 16px 60px rgba(74, 53, 37, 0.15);

  /* Typography — Switched to warm, rounded Fredoka */
  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Fredoka', sans-serif;

  /* Spacing */
  --section-pad: clamp(3rem, 8vw, 6rem);
  --container-max: 1200px;
  --gap: 1.5rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --radius-circle: 50%;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-mid: 0.35s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

input, textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

/* Focus States */
:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--forest);
  margin-bottom: 0.75rem;
}

.section-heading {
  margin-bottom: 1rem;
}

.section-subtitle {
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-pill);
  transition: all var(--transition-mid);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--forest);
  color: var(--white);
  border: 2px solid var(--forest);
}

.btn-primary:hover {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--border);
}

.btn-outline-dark:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border: 2px solid #25D366;
}

.btn-whatsapp:hover {
  background: #1EBE57;
  border-color: #1EBE57;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition-mid);
}

.navbar.scrolled {
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  padding: 0.75rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--golden);
  letter-spacing: 0.05em;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
  transition: color var(--transition-fast);
}

.navbar.scrolled .nav-logo {
  color: var(--golden);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--charcoal);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--golden);
  transition: width var(--transition-mid);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.navbar.scrolled .nav-links a {
  color: var(--charcoal);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--forest);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition-mid);
}

.navbar.scrolled .nav-hamburger span {
  background: var(--charcoal);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: var(--charcoal);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background: var(--charcoal);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-mid);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-mid);
}

.mobile-menu.active a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu a:hover {
  color: var(--forest);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--cream);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 var(--section-pad);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212, 168, 67, 0.08) 0%, var(--cream-light) 75%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(45, 90, 39, 0.08);
  color: var(--forest);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(45, 90, 39, 0.15);
}

.hero h1 {
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}

.hero p {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  animation: heroFloat 4s ease-in-out infinite;
}

/* ============================================================
   MARQUEE BANNER
   ============================================================ */
.marquee-section {
  padding: 1.5rem 0;
  overflow: hidden;
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee-row {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
}

.marquee-row + .marquee-row {
  margin-top: 0.75rem;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  flex-shrink: 0;
}

.marquee-row.reverse .marquee-content {
  animation-direction: reverse;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  flex-shrink: 0;
}

.marquee-item .dot {
  width: 8px;
  height: 8px;
  background: var(--golden);
  border-radius: 50%;
  flex-shrink: 0;
}

.marquee-item .mini-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-circle);
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.marquee-item.accent {
  color: var(--forest);
}

.marquee-item.golden {
  color: var(--golden);
}

/* ============================================================
   MENU SECTION
   ============================================================ */
.menu-section {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.menu-section .section-heading {
  text-align: center;
}

.menu-section .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.menu-section .section-label {
  text-align: center;
}

/* Filter Tabs */
.menu-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-mid);
}

.filter-btn:hover {
  color: var(--forest);
  border-color: var(--forest);
}

.filter-btn.active {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--gap);
}

/* Menu Card */
.menu-card {
  background: var(--cream-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition-mid);
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.menu-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.menu-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.menu-card-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.menu-card-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-card-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--forest);
}

.menu-card-btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--charcoal);
  border-radius: var(--radius-pill);
  transition: all var(--transition-mid);
}

.menu-card:hover .menu-card-btn {
  background: var(--forest);
}

.menu-card-btn:hover {
  transform: scale(1.05);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section {
  padding: var(--section-pad) 0;
  background: var(--cream-dark);
}

.gallery-section .section-heading,
.gallery-section .section-label {
  text-align: center;
}

.gallery-section .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.gallery-grid {
  columns: 4;
  column-gap: var(--gap);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--gap);
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  transition: background var(--transition-mid);
}

.gallery-item:hover .gallery-overlay {
  background: rgba(26, 26, 26, 0.55);
}

.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-mid);
}

.gallery-item:hover .gallery-overlay span {
  opacity: 1;
  transform: translateY(0);
}

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

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

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  transform: scale(0.9);
  transition: transform var(--transition-mid);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-circle);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background var(--transition-fast);
  border: none;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0;
  background: var(--espresso);
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(212, 168, 67, 0.05) 0%, transparent 50%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-logo {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  color: var(--golden);
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.contact-section .section-heading,
.contact-section .section-label {
  text-align: center;
}

.contact-section .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--cream-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon svg {
  width: 20px;
  height: 20px;
}

.contact-card h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.contact-card a {
  color: var(--forest);
  font-weight: 600;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Map */
.contact-map {
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 200px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  background: var(--cream-dark);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-mid);
}

.social-icon:hover {
  background: var(--forest);
  border-color: var(--forest);
  transform: translateY(-3px);
}

.social-icon:hover svg {
  fill: var(--white);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--charcoal);
  transition: fill var(--transition-fast);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal);
}

.form-group input,
.form-group textarea {
  padding: 0.9rem 1rem;
  background: var(--cream-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--espresso);
  padding: clamp(3rem, 6vw, 5rem) 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--golden);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social .social-icon {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.footer-social .social-icon svg {
  fill: rgba(255, 255, 255, 0.6);
}

.footer-social .social-icon:hover {
  background: var(--golden);
  border-color: var(--golden);
}

.footer-social .social-icon:hover svg {
  fill: var(--espresso);
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-mid);
  animation: pulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.whatsapp-float .tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--charcoal);
  color: var(--white);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.whatsapp-float:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.55); }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-image img {
    animation: none;
  }

  .marquee-row {
    animation: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet & below */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .gallery-grid {
    columns: 3;
  }

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

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

/* Mobile landscape */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .gallery-grid {
    columns: 2;
  }

  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

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

/* Mobile portrait */
@media (max-width: 480px) {
  .hero {
    min-height: auto;
    padding: 7rem 0 3rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .menu-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
  }

  .menu-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
  }

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

  .gallery-grid {
    columns: 1;
  }

  .cta-logo {
    font-size: clamp(2.5rem, 15vw, 4rem);
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 1rem;
    right: 1rem;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}
