/* ===========================
   Don Joaquin Food Shop
   Brand colors from official logo
   =========================== */

:root {
  --blue: #00A3E0;
  --blue-dark: #0082B3;
  --blue-deep: #006B94;
  --green: #00A651;
  --green-dark: #008C44;
  --red: #E31C23;
  --gold: #D4A017;
  --gold-light: #F5D76E;
  --fiesta-orange: #F39C12;
  --white: #FFFFFF;
  --cream: #FFFBF5;
  --text: #1A2A33;
  --text-muted: #4A5C66;
  --shadow: 0 12px 36px rgba(0, 100, 150, 0.10);
  --radius: 18px;
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
  padding: 13px 22px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(0, 163, 224, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-deep) 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 130, 180, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--blue-deep);
  border-color: rgba(0, 163, 224, 0.5);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--blue-deep);
  border-color: var(--white);
}

.btn-white:hover {
  background: #E8F7FC;
  transform: translateY(-2px);
}

.btn-grab {
  background: #00B14F;
  color: var(--white);
  border-color: #00B14F;
}

.btn-grab:hover {
  background: #009A43;
  border-color: #009A43;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 177, 79, 0.3);
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 252, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 130, 179, 0.07);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 252, 248, 0.97);
  box-shadow: 0 4px 20px rgba(0, 70, 110, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-img {
  height: 58px;
  width: auto;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--text);
  letter-spacing: 0.015em;
}

.nav a:hover {
  color: var(--blue-deep);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

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

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--blue-deep);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  background: linear-gradient(145deg, #006B94 0%, #00A3E0 55%, #D4A017 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 85% 15%, rgba(245, 215, 110, 0.18) 0%, transparent 42%),
    linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hero-product-img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  transform: rotate(3deg);
  transition: transform 0.4s ease;
  border: 5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.28);
}

.hero-product-img:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-image-caption {
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C5EAF5;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}

.hero-text {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.65;
  opacity: 0.95;
  margin-bottom: 30px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-hours {
  font-size: 0.92rem;
  opacity: 0.88;
  letter-spacing: 0.02em;
}

/* ========== Sections ========== */
.section {
  padding: 90px 0;
}

.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-eyebrow.light {
  color: #B8E8F8;
}

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

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.15rem, 4.5vw, 2.8rem);
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

/* ========== About ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  color: var(--text);
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.about-visuals {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.about-logo-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.about-logo {
  max-width: 400px;
  width: 100%;
  filter: drop-shadow(0 8px 20px rgba(0, 80, 120, 0.12));
}

.about-photo {
  max-width: 260px;
  text-align: center;
}

.about-biko-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 80, 120, 0.12);
  border: 4px solid #fff;
  object-fit: cover;
  aspect-ratio: 1;
}

.about-photo-caption {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  font-style: italic;
}

/* ========== Products ========== */
.products {
  background: linear-gradient(180deg, #FFF9F0 0%, #EEF7FB 100%);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0, 90, 140, 0.08);
  border: 1px solid rgba(0, 130, 179, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 100, 150, 0.13);
  border-color: rgba(0, 163, 224, 0.12);
}

.product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: #F0F8FC;
}

.product-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #00A3E0, #0082B3);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  text-align: center;
  padding: 20px;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.25;
}

.product-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.products-note {
  text-align: center;
  margin-top: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========== Proudly Dumaguete ========== */
.proudly-dumaguete {
  background: #FFF9F0;
  padding: 70px 0;
}

.proudly-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.proudly-header h2 {
  margin-bottom: 12px;
}

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

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

.icon-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.icon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 130, 179, 0.15);
}

.icon-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.icon-card h3 {
  margin: 18px 16px 6px;
  font-size: 1.15rem;
  color: var(--blue-deep);
}

.icon-card p {
  margin: 0 16px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========== Order ========== */
.order {
  background: linear-gradient(135deg, #006B94 0%, #00A3E0 100%);
  color: var(--white);
}

.order-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.order-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 16px;
}

.order-box > p {
  opacity: 0.92;
  margin-bottom: 28px;
}

.order-steps {
  list-style: none;
  text-align: left;
  max-width: 420px;
  margin: 0 auto 36px;
  background: rgba(255,255,255,0.1);
  padding: 24px 28px;
  border-radius: var(--radius);
}

.order-steps li {
  margin-bottom: 12px;
  font-size: 0.98rem;
}

.order-steps li:last-child {
  margin-bottom: 0;
}

.order-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ========== Location ========== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.location-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  color: var(--text);
  margin-bottom: 16px;
}

.location-address {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.location-landmark {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.detail strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 4px;
}

.detail a {
  color: var(--blue-deep);
  font-weight: 500;
}

.detail a:hover {
  text-decoration: underline;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.location-map {
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #E0F2FA;
  position: relative;
}

.location-map iframe {
  width: 100%;
  height: 100%;
}

.map-note {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(255,255,255,0.95);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ========== Footer ========== */
.footer {
  background: linear-gradient(180deg, #005A7A 0%, #003D56 100%);
  color: rgba(255,255,255,0.9);
  padding: 56px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 68px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.82;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  font-size: 0.95rem;
  opacity: 0.82;
  letter-spacing: 0.01em;
}

.footer-links a:hover {
  opacity: 1;
  color: #9EE0F5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 26px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-bottom p + p {
  margin-top: 6px;
}

/* ========== Floating Buttons ========== */
.fab-container {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: var(--transition);
}

.fab:hover {
  transform: scale(1.08);
}

.fab-messenger {
  background: #0084FF;
  color: white;
}

.fab-call {
  background: var(--green);
  color: white;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

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

  .hero-product-img {
    max-width: 320px;
    transform: rotate(2deg);
  }

  .about-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .location-map {
    height: 300px;
  }

  .about-logo {
    max-width: 320px;
  }

  .about-visuals {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .hero {
    min-height: 82vh;
    padding: 120px 0 70px;
  }

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

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

  .section {
    padding: 70px 0;
  }

  .order-buttons {
    flex-direction: column;
  }

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

  .logo-img {
    height: 48px;
  }
}

@media (max-width: 480px) {
  .fab {
    width: 52px;
    height: 52px;
  }
}
