/* ============================================
   Nazrawi Ethiopian Restaurant - Stylesheet
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  color: #4a4a4a;
  background-color: #f4f6f4;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.2;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn-primary {
  background-color: #5f9764;
  color: #fff;
  border-color: #5f9764;
}

.btn-primary:hover {
  background-color: #4d7e52;
  border-color: #4d7e52;
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  background-color: #fff;
  color: #3b2314;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s, box-shadow 0.3s;
  background-color: transparent;
}

.site-header.scrolled {
  background-color: #3b2314;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  position: relative;
}

.header-social {
  position: absolute;
  left: 24px;
  display: flex;
  gap: 14px;
}

.header-social a {
  color: #fff;
  font-size: 1rem;
  transition: opacity 0.3s;
}

.header-social a:hover {
  opacity: 0.7;
}

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

.header-nav {
  position: absolute;
  right: 24px;
}

.header-nav ul {
  display: flex;
  gap: 28px;
}

.header-nav a {
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.header-nav a:hover {
  opacity: 0.7;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  position: absolute;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/hero.jpg') center center / cover no-repeat;
  text-align: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-welcome {
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: 4px;
}

/* ============================================
   Sections (general)
   ============================================ */
.section {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #5f9764;
  margin-bottom: 16px;
}

.section-heading {
  font-size: 2.4rem;
  color: #3b2314;
  margin-bottom: 28px;
}

/* ============================================
   About
   ============================================ */
.about {
  text-align: center;
}

.about-text {
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}

.about-text p {
  margin-bottom: 18px;
}

/* ============================================
   Menu
   ============================================ */
.menu {
  text-align: center;
  background-color: #fff;
}

.menu-subtext {
  max-width: 780px;
  margin: 0 auto 40px;
}

.menu-pages {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.menu-page {
  flex: 1 1 400px;
  max-width: 520px;
}

.menu-page img {
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Gallery Band (auto-scrolling strip)
   ============================================ */
.gallery-band {
  overflow: hidden;
  background-color: #3b2314;
  padding: 0;
}

.gallery-scroll {
  overflow: hidden;
}

.gallery-scroll-inner {
  display: flex;
  width: max-content;
  animation: gallery-scroll 30s linear infinite;
}

.gallery-scroll-inner img {
  height: 220px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  object-fit: cover;
}

.gallery-scroll:hover .gallery-scroll-inner {
  animation-play-state: paused;
}

@keyframes gallery-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   Contact
   ============================================ */
.contact {
  background-color: #3b2314;
  color: #fff;
  padding: 80px 0;
}

.contact-heading {
  color: #fff;
}

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

.contact-block {
  margin-bottom: 28px;
}

.contact-block h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: #d4a96a;
}

.contact-block a {
  color: #fff;
  transition: opacity 0.3s;
}

.contact-block a:hover {
  opacity: 0.7;
}

.contact-block .btn-outline {
  margin-top: 10px;
  padding: 10px 24px;
  font-size: 0.8rem;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: 4px;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background-color: #2a1a0e;
  color: #fff;
  text-align: center;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-social {
  display: flex;
  gap: 18px;
}

.footer-social a {
  color: #fff;
  font-size: 1.1rem;
  transition: opacity 0.3s;
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background-color: #3b2314;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.35s ease;
    z-index: 999;
  }

  .header-nav.open {
    right: 0;
  }

  .header-nav ul {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .header-nav a {
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

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

  .section-heading {
    font-size: 1.8rem;
  }

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

  .menu-pages {
    flex-direction: column;
    align-items: center;
  }

  .menu-page {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .section {
    padding: 56px 0;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.8rem;
  }

  .header-social {
    gap: 10px;
    left: 16px;
  }
}
