/* ===== Niyyah Bowls — Brand Site Styles ===== */

/* --- Custom Properties --- */
:root {
  --azure: #d2e8f4;
  --olive: #96963d;
  --red: #7e3f47;
  --orange: #efd6bb;
  --white: #fff;
  --dark: #1a1a1a;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

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

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

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

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: var(--azure);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(210, 232, 244, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav__brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.5px;
}

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  transition: color 0.3s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--olive);
  transition: width 0.3s;
}

.nav__links a:hover {
  color: var(--olive);
}

.nav__links a:hover::after {
  width: 100%;
}

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

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../images/IMG_9932.jpg') center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(126, 63, 71, 0.55) 0%,
    rgba(30, 30, 30, 0.6) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 700px;
}

.hero__title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero__tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  letter-spacing: 1px;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.15s, box-shadow 0.3s;
  border: none;
}

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

.btn--primary:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(126, 63, 71, 0.35);
}

/* --- Section Utilities --- */
.section {
  padding: 5rem 2rem;
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--red);
}

.section__subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- About --- */
.about {
  background: var(--orange);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about__img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

.about__text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--red);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.about__text p {
  margin-bottom: 1.5rem;
  color: #444;
  font-size: 1.02rem;
}

.about__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--olive);
}

.badge svg {
  width: 16px;
  height: 16px;
  fill: var(--olive);
}

/* --- Gallery --- */
.gallery {
  background: var(--azure);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery__item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery__item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.gallery__item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* --- Catering --- */
.catering {
  background: var(--red);
  color: var(--white);
}

.catering .section__title {
  color: var(--orange);
}

.catering .section__subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.catering__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.catering__info h3 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: var(--orange);
}

.catering__features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.catering__features li {
  padding: 0.5rem 0;
  padding-left: 1.6rem;
  position: relative;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.catering__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.catering__events {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
}

.catering__form-container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  min-height: 400px;
}

.catering__form-placeholder {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.catering__form-placeholder p {
  margin-bottom: 0.5rem;
}

.catering__form-placeholder code {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* When real Google Form is embedded */
.catering__form-container iframe {
  display: block;
  width: 100%;
  height: 445px;
  border: none;
}

/* --- Contact Bar --- */
.contact-bar {
  background: var(--red);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  text-align: center;
}

.contact-bar__links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--orange);
  font-weight: 500;
  transition: color 0.3s;
}

.contact-bar__link:hover {
  color: var(--white);
}

.contact-bar__link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- Footer --- */
.footer {
  background: var(--red);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

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

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

  .about__badges {
    justify-content: center;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  /* Mobile nav */
  .nav__links {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: var(--azure);
    padding: 1rem 0;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav__links.open {
    transform: translateY(0);
  }

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

  .nav__links a {
    display: block;
    padding: 0.8rem 0;
    font-size: 1.05rem;
  }

  .hamburger {
    display: flex;
  }

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

  .gallery__item img {
    height: 240px;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }
}
