/* 
  MOLEHE & FAMILY CATERING SERVICES
  DESIGN SYSTEM
  Color Palette: Gold (#f9a61a), Charcoal (#333333), White (#ffffff)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Satisfy&display=swap');

:root {
  --primary-color: #f9a61a;
  --primary-dark: #d48a12;
  --secondary-color: #1b262e;
  /* Navy/Dark Charcoal for sections */
  --text-color: #555555;
  --text-light: #888888;
  --bg-light: #ffffff;
  --bg-dark: #121b21;
  --accent-soft: rgba(249, 166, 26, 0.05);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
.brand-font {
  font-family: 'Playfair Display', serif;
  color: var(--secondary-color);
  font-weight: 700;
}

.script-font {
  font-family: 'Satisfy', cursive;
  color: var(--primary-color);
  text-transform: none;
  font-weight: 400;
}

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

/* ===== UTILITIES ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

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

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

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

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

.btn-dark-outline {
  background-color: transparent;
  border: 1px solid var(--text-light);
  color: var(--text-color);
  font-size: 0.9rem;
  padding: 0.6rem 1.8rem;
}

.btn-dark-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.section-padding {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.section-label {
  display: block;
  text-transform: uppercase;
  color: var(--primary-color);
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--primary-color);
}

/* ===== NAVBAR ===== */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 2rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  position: fixed;
  background-color: var(--secondary-color);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.nav-logo img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
}

.logo-text {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.mobile-nav-header {
  display: none;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding-top: 100px;
  background-color: var(--secondary-color);
  color: white;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: 5rem;
  margin-bottom: 2rem;
  color: white;
  line-height: 1.1;
}

.hero-icon {
  display: block;
  font-size: 2.5rem;
  color: white;
  margin-top: 1rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 450px;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.hero-btns {
  margin-bottom: 4rem;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transform: rotate(-90deg);
  transform-origin: left bottom;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.5);
  margin-left: -10px;
}

.social-line {
  width: 50px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-socials a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  transition: var(--transition);
}

.hero-socials a:hover {
  color: var(--primary-color);
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-main-img {
  width: 120%;
  max-width: 800px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transform: translateX(10%);
}

/* ===== ABOUT SECTION ===== */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6rem;
}

.about-images {
  position: relative;
}

.img-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
}

.img-item {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-large {
  grid-column: 2;
  grid-row: 1 / 3;
  height: 450px;
}

.img-small-1 {
  grid-row: 1;
  height: 250px;
}

.img-small-2 {
  grid-row: 2;
  height: 185px;
}

.welcome-text .section-title {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.welcome-text p {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

/* ===== DARK SECTION ===== */
.dark-section {
  background-color: var(--secondary-color);
  color: white;
  position: relative;
}

.white-text {
  color: white !important;
}

.section-header {
  margin-bottom: 4rem;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.8;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.service-card-premium {
  text-align: center;
  padding: 2rem;
  transition: var(--transition);
}

.service-card-premium i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  display: block;
}

.service-card-premium h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.service-card-premium p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

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

/* ===== MENU SECTION ===== */
.menu-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.menu-item-simple {
  margin-bottom: 2rem;
}

.menu-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.2rem;
}

.item-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  white-space: nowrap;
}

.item-dots {
  flex: 1;
  border-bottom: 1px dotted #dddddd;
  margin: 0 1rem;
  position: relative;
  top: -5px;
}

.item-price {
  font-family: 'Satisfy', cursive;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.item-desc {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== DIVIDERS ===== */
.divider-svg {
  display: block;
  width: 100%;
  height: 80px;
  margin: -1px 0;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 4rem 0 2rem;
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

.footer-brand {
  text-align: center;
}

.footer-brand img {
  filter: brightness(0) invert(1);
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.footer-bottom a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-links i {
  margin-right: 8px;
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== CURVED DIVIDERS ===== */
.curved-upper {
  width: 100%;
  height: 100px;
  background: white;
  clip-path: ellipse(70% 100% at 50% 0%);
  margin-top: -50px;
}

.curved-lower {
  width: 100%;
  height: 100px;
  background: white;
  clip-path: ellipse(70% 100% at 50% 100%);
  margin-bottom: -50px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-left {
  animation: fadeInLeft 1s ease-out forwards;
}

.fade-in-right {
  animation: fadeInRight 1s ease-out forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
  }

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

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

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

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--secondary-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    display: flex !important;
    z-index: 1000;
    padding: 2rem;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-nav-header {
    display: block;
    margin-bottom: 3rem;
    text-align: center;
  }

  .mobile-nav-logo {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    color: white !important;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-image-wrap {
    justify-content: center;
    margin-top: 2rem;
  }

  .hero-main-img {
    width: 80%;
    transform: none;
    margin: 0 auto;
  }

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

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .feature-list li {
    justify-content: center;
  }
}