/* ================= RESET ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* For Chrome, Edge, Safari */
::-webkit-scrollbar {
  display: none;
}

/* For Firefox */
html {
  scrollbar-width: none;
  scroll-behavior: smooth;
}

/* For IE / old Edge */
html {
  -ms-overflow-style: none;
}


/* ================= ROOT ================= */

:root {

  /* COLORS */
  --clr-bg-main: #0f0f0f;
  --clr-bg-secondary: #151515;
  --clr-bg-card: #1a1a1a;

  --clr-primary: #c97b36;
  /* coffee brown */
  --clr-accent: #ff6b00;

  --clr-text-primary: #ffffff;
  --clr-text-secondary: #cccccc;
  --clr-text-muted: #888888;

  --clr-border: #2a2a2a;

  /* TYPOGRAPHY */
  --ff-heading: 'Playfair Display', serif;
  --ff-body: 'Poppins', sans-serif;

  --fs-h1: 56px;
  --fs-h2: 36px;
  --fs-h3: 22px;
  --fs-text: 16px;

  /* SPACING */
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 40px;
  --space-xl: 100px;

  --container-width: 1200px;

  /* RADIUS */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 50px;

  /* TRANSITION */
  --transition: 0.3s ease;
}

.mb-1 {
  margin-bottom: 10px;
}

.mb-2 {
  margin-bottom: 20px;
}

.mb-3 {
  margin-bottom: 30px;
}

.mb-4 {
  margin-bottom: 40px;
}

/* ================= BASE ================= */

body {
  font-family: var(--ff-body);
  background: var(--clr-bg-main);
  color: var(--clr-text-primary);
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ================= CONTAINER ================= */

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-s);
}

/* ================= SECTION ================= */

section {
  padding: var(--space-xl) 0;
}

/* ================= TYPOGRAPHY ================= */

h1,
h2,
h3 {
  font-family: var(--ff-heading);
  font-weight: 600;
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1.2;
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

p {
  font-size: var(--fs-text);
  color: var(--clr-text-secondary);
}

/* ================= BUTTON ================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clr-accent);
  color: #fff;

  padding: 14px 28px;
  border-radius: var(--radius-lg);

  font-size: 14px;
  font-weight: 500;

  transition: var(--transition);
}

.btn:hover {
  background: #ff8126;
  transform: translateY(-2px);
}

/* ================= CARD ================= */

.card {
  background: var(--clr-bg-card);
  padding: var(--space-m);

  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);

  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ================= FLEX ================= */

.flex {
  display: flex;
  align-items: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ================= GRID ================= */

.grid {
  display: grid;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-l);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-m);
}

/* NAVBAR */
/* ================= NAVBAR ================= */

.cafe-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  padding: 20px 0;
  transition: var(--transition);
}

/* NAV */
.cafe-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.cafe-logo a {
  font-family: var(--ff-heading);
  font-size: 20px;
  color: var(--clr-text-primary);
}

/* LINKS */
.cafe-links {
  display: flex;
  gap: 30px;
}

.cafe-links a {
  font-size: 14px;
  color: var(--clr-text-secondary);
  transition: var(--transition);
  position: relative;
}

/* HOVER */
.cafe-links a:hover {
  color: var(--clr-text-primary);
}

/* UNDERLINE EFFECT */
.cafe-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: var(--clr-accent);
  transition: var(--transition);
}

.cafe-links a:hover::after {
  width: 100%;
}

/* CTA */
.cafe-nav-btn {
  font-size: 14px;
  padding: 10px 20px;
}

/* BLUR ON SCROLL */
.cafe-header.scrolled {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  padding: 15px 0;
}

/* HIDE NAVBAR */
.cafe-header.hide {
  transform: translateY(-100%);
}

.btn svg {
  transition: 0.3s;
}

.btn:hover svg {
  transform: translateX(4px);
}

.cafe-nav-btn {
  gap: 3px;
}

/* HAMBARGER */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: white;
  transition: 0.3s ease;
}

.mobile-cta {
  display: none;
}

/* FOOTER */
.cafe-footer {
  background: #0b0b0b;
  padding: 100px 0 40px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

/* WRAPPER */
.footer-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  align-items: start;
}

/* LEFT */
.footer-brand h2 {
  font-size: 28px;
  font-family: var(--ff-heading);
}

/* CENTER LINKS */
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 12px;
}

.footer-links a {
  font-size: 16px;
  color: var(--clr-text-secondary);
  transition: var(--transition);
  display: inline-block;
  width: fit-content;
}

.footer-links a:hover {
  color: var(--clr-accent);
}

/* RIGHT */
.footer-right {
  text-align: right;
}

.community {
  margin-bottom: 15px;
}

/* SOCIAL */
.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-bottom: 20px;
}

/* LINE */
.footer-line {
  width: 120px;
  height: 1px;
  background: var(--clr-border);
  margin-left: auto;
  margin-bottom: 20px;
}

/* CONTACT */
.footer-contact {
  font-size: 20px;
  font-weight: 500;
}

/* BOTTOM */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 50px;
  padding-top: 25px;
  font-size: 13px;
  color: var(--clr-text-muted);
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;

  background: linear-gradient(to right,
      transparent,
      var(--clr-border),
      transparent);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--clr-border);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--clr-accent);
  color: #fff;
  transform: translateY(-3px);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--clr-accent);
  color: #fff;
  transform: translateY(-3px);
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 16px;
  color: var(--clr-text-secondary);

  transition: var(--transition);
}

/* SVG SIZE FIX */
/* .footer-contact svg {
  width: 22px;
  height: 22px;
  display: block;
} */

/* HOVER EFFECT */
.footer-contact a:hover {
  color: var(--clr-accent);
  transform: translateX(3px);
}

.footer-contact svg {
  width: 55px;
  height: 55px;
  display: block;
}

.footer-contact .number {
  font-size: 20px;
}

.created {
  color: var(--clr-accent);
}

/* FLOTING BTN */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;

  width: 50px;
  height: 50px;
  border-radius: 50%;

  background: #E9E2CF;
  /* match your theme */
  color: #4F9A9A;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);

  transition: all 0.3s ease;
  z-index: 999;
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
}

/* Hover */
.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
}

/* ----------------------------- HOME PAGE CSS START HERE ------------------------- */

/* HOME PAGE : HERO */

.cafe-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--clr-bg-main);
  padding-top: 120px;
  width: 100%;
}

/* WRAPPER */
.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-l);
}

/* TEXT */
.hero-content {
  flex: 1;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content p {
  margin-bottom: 30px;
  max-width: 500px;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 15px;
}

/* OUTLINE BUTTON */
.btn-outline {
  background: transparent;
  border: 1px solid var(--clr-border);
}

.btn-outline:hover {
  background: var(--clr-accent);
}

/* IMAGE */
.hero-image {
  flex: 1;
  text-align: right;
}

.hero-image img {
  max-width: 500px;
  transform: scale(1.05);
  border-radius: var(--radius-md);
}

/* SVG ANIMATION */
.btn svg {
  transition: var(--transition);
}

.btn:hover svg {
  transform: translateX(4px);
}


/* HOME PAGE : ABOUT */

/* ================= ABOUT ================= */

.cafe-about {
  background: var(--clr-bg-secondary);
}

/* WRAPPER */
.about-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-l);
}

/* IMAGE */
.about-image {
  flex: 1;
}

.about-image img {
  border-radius: var(--radius-md);
}

/* CONTENT */
.about-content {
  flex: 1;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 15px;
  max-width: 500px;
}

/* HOME PAGE : MENU SECTION */

.cafe-menu {
  background: var(--clr-bg-main);
  padding: var(--space-xl) 0;
}

/* HEADING */

.menu-top {
  margin-bottom: 50px;
}

.menu-top h2 {
  margin-bottom: 14px;
}

.menu-top p {
  max-width: 550px;
}

/* MENU FILTER */

.menu-tabs,
.menu-filter {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 14px;

  margin-bottom: 45px;

  flex-wrap: nowrap;

  overflow-x: auto;

  scrollbar-width: none;
}

.menu-tabs::-webkit-scrollbar,
.menu-filter::-webkit-scrollbar {
  display: none;
}

.tab,
.menu-filter button {
  flex-shrink: 0;

  padding: 10px 20px;

  border-radius: 20px;

  border: 1px solid var(--clr-border);

  background: transparent;

  color: var(--clr-text-secondary);

  cursor: pointer;

  transition: var(--transition);
}

.tab.active,
.tab:hover,
.menu-filter button.active,
.menu-filter button:hover {
  background: var(--clr-accent);
  color: #fff;
}

/* MENU CONTAINER */

.menu-grid {
  display: flex;

  gap: 24px;

  overflow-x: auto;

  scroll-behavior: smooth;

  scroll-snap-type: x mandatory;

  scrollbar-width: none;

  padding-bottom: 10px;
}

.menu-grid::-webkit-scrollbar {
  display: none;
}

/* MENU CARD */

.menu-card {
  flex: 0 0 340px;

  scroll-snap-align: start;

  overflow: hidden;

  border-radius: var(--radius-md);
}

.menu-card:hover {
  transform: none;
}

/* MENU IMAGE */

.menu-card img {
  width: 100%;

  height: 260px;

  object-fit: cover;

  border-radius: var(--radius-md);

  margin-bottom: 18px;

  transition: .5s ease;
}

/* MENU CONTENT */

.menu-card-content {
  padding: 24px;
}

.menu-card h3 {
  margin-bottom: 10px;
}

.menu-card p {
  font-size: 15px;

  line-height: 1.8;

  margin-bottom: 18px;
}

/* PRICE */

.price,
.menu-price {
  font-size: 26px;

  font-weight: 700;

  color: var(--clr-accent);
}


/* HOME PAGE : WHY US */

.cafe-why {
  background: var(--clr-bg-secondary);
}

/* GRID */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-m);
}

/* CARD */
.why-card {
  text-align: center;
}

/* ICON */
.why-icon {
  margin-bottom: 15px;
  color: var(--clr-accent);
}

/* TEXT */
.why-card h3 {
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
}

/* HOME PAGE : GALLERY */

.cafe-gallery {
  background: var(--clr-bg-main);
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

/* ITEM */
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
}

/* IMAGE */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

/* HOVER EFFECT */
.gallery-item:hover img {
  transform: scale(1.1);
}

.card,
.why-card,
.testimonial-card {
  will-change: transform;
}

/* HOME PAGE : TESTIMONIALS */

.cafe-testimonials {
  background: var(--clr-bg-secondary);
}

/* GRID */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-m);
}

/* CARD TEXT */
.testimonial-card p {
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--clr-text-secondary);
}

/* USER */
.user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.user h4 {
  font-size: 14px;
}

.user span {
  font-size: 12px;
  color: var(--clr-text-muted);
}

/* HOME PAGE : LOCATION */

.cafe-location {
  background: var(--clr-bg-main);
}

/* WRAPPER */
.location-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-l);
  align-items: center;
}

/* INFO */
.location-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.info-item p {
  font-size: 14px;
}

/* MAP */
.location-map iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: var(--radius-md);
}

.icon {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  color: var(--clr-accent);
}

.info-item h3 {
  display: flex;
  align-items: center;
}

.location-info .btn {
  width: fit-content;
}

.location-info .btn {
  width: fit-content;
  margin-top: 10px;
}

.location-info {
  align-items: flex-start;
}

.whatsapp-link {
  font-size: 14px;
  color: var(--clr-text-secondary);
  transition: var(--transition);
}

.whatsapp-link:hover {
  color: #25D366;
  /* WhatsApp green */
}

.icon.whatsapp {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
}

/* HOME PAGE : CTA */
/* ================= CTA ================= */

.cafe-cta {
  background: var(--clr-bg-secondary);
}

/* BOX */
.cta-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* TEXT */
.cta-box h2 {
  margin-bottom: 20px;
}

.cta-box p {
  margin-bottom: 30px;
}

/* BUTTONS */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* ICON ANIMATION */
.btn svg {
  transition: var(--transition);
}

.btn:hover svg {
  transform: translateX(4px);
}

.cafe-cta {
  background: radial-gradient(circle at center, #1a1a1a, #0f0f0f);
}

.WhatsApp-btn svg {
  height: 22px;
  width: 22px;
  display: block;
}