/* =============================================
   KARACHI BROAST & GRILL — STYLESHEET
   Inspired by Foodie design by codewithsadee
   ============================================= */

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

:root {
  --karachi-green: #3f7f00;
  --red: #e84040;
  --red-dark: #c73030;
  --dark: #1a1a2e;
  --dark-2: #16213e;
  --dark-3: #0f3460;
  --gold: #ffb700;
  --white: #ffffff;
  --off-white: #f9f5f0;
  --gray: #666;
  --light-gray: #f1f1f1;
  --border: #e8e8e8;
  --font-head: 'Poppins', sans-serif;
  --font-logo: 'Satisfy', cursive;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --transition: 0.3s ease;
}

html,
body {
  font-family: var(--font-head);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  width: 100%;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.full-width {
  width: 100%;
  text-align: center;
}

/* --- SECTION COMMON --- */
.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-eyebrow.center,
.section-title.center,
.section-desc.center {
  display: block;
  text-align: center;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.header.scrolled {
  background: var(--dark);
  padding: 12px 0;
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: var(--font-logo);
  font-size: 1.55rem;
  color: var(--white);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo span {
  color: var(--gold);
}

.navbar ul {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  /* background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 60%, #1a0a0a 100%); */
  background: url(../../images/hero-green.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  min-height: 100vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(232, 64, 64, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding-top: 40px;
  padding-bottom: 60px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  background: var(--red);
  padding: 4px 12px;
  border-radius: 4px;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: var(--red);
  font-weight: 700;
  font-style: italic;
}

.hero-desc {
  color: #fff;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-img-circle {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid rgba(244, 160, 37, 0.35);
  box-shadow: 0 0 80px rgba(232, 64, 64, 0.25);
  animation: float 4s ease-in-out infinite;
}

.hero-img-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 24px;
  right: 0;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: var(--shadow-lg);
  animation: pulse 2s infinite;
}

.badge-num {
  font-size: 1.4rem;
}

.badge-txt {
  font-size: 0.6rem;
  letter-spacing: 1px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(232, 64, 64, 0.4);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(232, 64, 64, 0);
  }
}

/* ============================================
   PROMO CARDS
   ============================================ */
.promo {
  padding: 60px 0;
  background: var(--off-white);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.promo-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.promo-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.promo-card-body {
  padding: 16px 18px 20px;
}

.promo-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.promo-card-body p {
  font-size: 0.83rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 90px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  border-radius: var(--radius);
  width: 100%;
  /* box-shadow: var(--shadow-lg); */
}

.about-badge {
  position: absolute;
  top: 24px;
  right: -16px;
  background: var(--red);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  box-shadow: var(--shadow);
}

.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
  line-height: 1.3;
}

.about-text>p {
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 28px;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.94rem;
}

.about-list i {
  color: var(--red);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================
   MENU
   ============================================ */
.menu-section {
  padding: 90px 0;
  background: var(--off-white);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 9px 24px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

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

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.menu-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray);
  padding: 40px;
  font-size: 1rem;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-left: 4px solid var(--red);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.menu-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.menu-card-body h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark);
  flex: 1;
}

.menu-category-tag {
  background: rgba(26, 26, 46, 0.08);
  color: var(--dark-3);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.menu-card-body p {
  font-size: 0.83rem;
  color: var(--gray);
  line-height: 1.6;
}

.price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.price-current {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--red);
}

.price-original {
  font-size: 0.85rem;
  color: #aaa;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  padding: 80px 0;
  overflow: hidden;
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-text .section-eyebrow.light {
  color: var(--gold);
}

.cta-text h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 28px;
}

.cta-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 90px 0;
  background: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition);
  border-top: 4px solid var(--red);
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.testimonial-card>p {
  color: var(--gray);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviewer img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer div {
  display: flex;
  flex-direction: column;
}

.reviewer strong {
  font-size: 0.93rem;
  color: var(--dark);
  font-weight: 700;
}

.reviewer span {
  font-size: 0.78rem;
  color: var(--red);
  font-weight: 600;
}

/* ============================================
   RESERVATION
   ============================================ */
.reservation {
  padding: 90px 0;
  background: var(--off-white);
}

.reservation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.reservation-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.reservation-text>p {
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--dark);
}

.contact-item i {
  width: 36px;
  height: 36px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.map-wrapper {
  width: 100%;
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 12px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 48px;
  padding-bottom: 50px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

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

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background var(--transition);
}

.social-links a:hover {
  background: var(--red);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.87rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--red);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  gap: 10px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.contact-list i {
  color: var(--red);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

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


@media (max-width: 768px) {
  .hero {
    background-position: calc(75% + 15px) calc(50% - 10px);
  }
   html,
  body {
    overflow-x: hidden;
    width: 100%;
  }
   /* .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 80px;
  } */
.logo img {
    height: 40px;
  }

  .logo p {
    font-size: 20px;
  }
  .container {
    padding: 0 16px;
  }

  .header .btn-outline {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark);
    padding: 80px 28px 40px;
    transition: right var(--transition);
    margin-top: 60px;
    z-index: 999;
  }

  .navbar.open {
    right: 0;
  }

  .navbar ul {
    flex-direction: column;
    gap: 20px;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 36px;
  }

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

  .hero-image {
    display: none;
  }

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

  .about-badge {
    right: 12px;
  }

  .cta-content {
    grid-template-columns: 1fr;
  }

  .cta-img {
    display: none;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

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