

:root {
  --dark: #1f1b18;
  --brown: #6f4e37;
  --gold: #f19935;
  --cream: #f8f5f2;
  --glass: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(180deg, #14110f, #2a211d);
  color: white;
  overflow-x: hidden;
}

/* ===== GLASS NAVBAR ===== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.35);
  z-index: 1000;
}

nav h1 a {
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s;
}

nav h1 a:hover {
  color: #f9c86c;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--gold);
}

@media (max-width: 768px) {
  nav {
    padding: 0.8rem 1.5rem;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .nav-links a {
    font-size: 0.9rem;
  }
}

/* ===== HERO ===== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 8%;
  background:
    linear-gradient(660deg, rgba(85, 76, 51, 0.75), transparent),
    url("sources/logo and posters/mainpic.jpg") center / cover no-repeat;
}

.hero-content {
  max-width: 600px;
}

.hero h2 {
  font-size: 3.5rem;
  line-height: 1.1;
}

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

.hero p {
  margin: 1.5rem 0;
  color: #fff;
}

.hero-btn {
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255,255,255,0.2);
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.7s ease;
}

.hero-btn:hover::before {
  transform: rotate(45deg) translateX(100%);
}


/* ===== LEAVE A COMMENT SECTION ===== */
#comments {
  padding: 1rem 8%;
  text-align: center;
}

#comments h2 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
}

/* Container */
.comment-container {
  max-width: 400px;
  max-height: 250px;
  margin: 0 auto;
  background: var(--glass);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.4);
}

/* Form */
#commentForm {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Textarea */
#commentText {
  width: 100%;
  min-height: 120px;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  border: none;
  resize: vertical;
  font-size: 1rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  color: white;
  outline: none;
}

#commentText::placeholder {
  color: #d89531;
  font-size: 13px;
}

/* Submit button tweak (scoped) */
#commentForm .glass-btn {
  align-self: flex-end;
  padding: 0.8rem 2rem;
  font-size: 0.95rem;
}

/* Comments display */
#commentsSection {
  margin-top: 2rem;
  text-align: left;
}

/* Individual comment */
.comment {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  padding: 1rem 1.2rem;
  border-radius: 14px;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.comment p {
  margin: 0;
  font-size: 0.95rem;
  color: #f1f1f1;
}

/* Mobile */
@media (max-width: 300px) {
  .comment-container {
    padding: 1rem;
  }

  #commentForm .glass-btn {
    width: 50%;
    height: 20%;
    align-self: center;
  }
}



/* ===== GLASS BUTTON BASE ===== */
.glass-btn {
  display: inline-block;
  border: none;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  color: #fff;
}

/* ===== SECTIONS ===== */
section {
  padding: 6rem 8%;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

/* ===== MENU CARDS ===== */
.menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
}

.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  background: rgba(255,255,255,0.12); /* soft glass glow */

}

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

.card div {
  padding: 1.4rem;
}

.card h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.4s;
}

.gallery img:hover {
  transform: scale(1.08);
  filter: brightness(1.05) saturate(1.1);
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 3rem 1rem;
  background: #120f0d;
  color: #aaa;
}

@media (max-width: 768px) {
  .hero h2 { font-size: 2.4rem; }
  .gallery img { height: 180px; }
}

/* ===== BACK TO TOP & RATE US ===== */
#backToTop, #rateUsBtn {
  position: fixed;
  bottom: 30px;
  z-index: 1000;
}

#backToTop {
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  display: none;
}

#rateUsBtn {
  left: 30px;
}

/* ===== RATING POPUP ===== */
.rating-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
    transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(0.8);
}

.rating-popup.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.rating-box {
  background: rgba(30, 24, 20, 0.95);
  padding: 2.5rem;
  border-radius: 22px;
  text-align: center;
  max-width: 360px;
  width: 90%;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.rating-box h3 {
  margin-bottom: 0.5rem;
  color: var(--gold);
}

.rating-box p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.stars {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.stars span {
  cursor: pointer;
  color: #555;
  transition: color 0.3s, transform 0.2s;
}

.stars span:hover,
.stars span.active {
  color: var(--gold);
  transform: scale(1.2);
}

.thank-you {
  display: none;
  margin-top: 1rem;
  color: var(--gold);
  font-weight: 600;
}

/* ===== ORDER SECTION ===== */
#order {
  padding: 6rem 8%;
  text-align: center;
}

#order p {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  font-size: 1rem;
  color: #fff;
}

/* Order buttons container */
#order .order-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center buttons horizontally */
  align-items: center;     /* align buttons vertically if multiple rows */
  gap: 1rem;               /* spacing between buttons */
  margin-top: 1rem;
}

/* Scoped order buttons */
#order .order-btn {
  flex: 0 0 auto;          /* don't shrink, don't grow */
  padding: 1rem 2.2rem;
  font-size: 1rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08); /* glass effect */
  backdrop-filter: blur(12px);
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
  display: inline-flex;     /* align text properly inside button */
  justify-content: center;
  align-items: center;
  min-width: 200px;         /* optional, consistent button size */
}

#order .order-btn:hover {
    background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(236,160,74,0.6); /* coffee-gold glow */
}

/* Responsive tweaks */
@media (max-width: 480px) {
  #order .order-buttons {
    flex-direction: column; /* stack buttons vertically on small screens */
  }

  #order .order-btn {
    width: 80%; /* make them take most of the width on mobile */
    min-width: unset;
  }
}

/* HERO WORD ANIMATION */
#typing {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

#typing.show {
  opacity: 1;
  transform: translateY(0);
}


/* CONTACT LINK STYLE */
.contact-link {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 800;
  


}




