/* ===== Base Styles ===== */
:root {
  --primary: #2F4F2F;
  --accent: #EBA733;
  --text-light: #E6DFD6;
  --orange: #EE7639;
  --beige: #DBBFA3;
  --gold: #DD971C;
  --light-brown: #DFA97B;
  --dark-brown: #786C3B;
  --cream: #BEB48D;
  --light-cream: #E8BA99;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--primary);
  color: white;
  line-height: 1.6;
  padding-top: 80px;
}

/* ===== Typography ===== */
.restaurant-name {
  margin-top: 100px;
  position: relative;
}

.restaurant-name p {
  font-family: "Beau Rivage", cursive;
  font-size: 300px;
  color: var(--accent);
  text-align: center;
  line-height: 0.9;
}

.restaurant-name span {
  position: absolute;
  right: 100px;
  bottom:-40px;
  font-size: 24px;
}

.reviewheader {
  font-family: "Beau Rivage", cursive;
  color: #C99F12;
  text-align: center;
}

/* ===== Navigation ===== */
.navbar {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 1000;
  background-color: var(--primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar .logo{
  margin-left:100px;
  color:var(--accent)
}
.navbar p{
  font-size:40px;
  font-family: 'beau rivage';
}

.navbar-items {
  margin-right: 200px;
  width: 400px;
}

.navbar-items ul {
  list-style: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-items a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.navbar-items a:hover {
  color: var(--accent);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: white;
  z-index: 1000;
}

.hamburger i.fa-times {
  display: none;
}

/* ===== Mobile Navigation ===== */
@media (max-width: 992px) {
  .navbar-items {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    padding: 2rem;
    margin-right: 0;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }

  .navbar .logo{
    margin-left:20px;
  }

  .navbar-items.active {
    transform: translateY(0);
  }

  .navbar-items ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active i.fa-bars {
    display: none;
  }

  .hamburger.active i.fa-times {
    display: inline-block;
  }
}

/* ===== Main Content ===== */
.home-container {
  margin-top: 50px;
}

/* Hero Carousel */
.image-scroller-wrapper {
  position: relative;
  width: 100%;
  margin: 6rem auto 0;
  max-width: 1400px;
}

.single-image img {
  width: 100%;
  height: 70vh;
  max-height: 700px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: opacity 0.6s ease;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.scroll-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.scroll-btn.left {
  left: 1.5rem;
}

.scroll-btn.right {
  right: 1.5rem;
}

/* Spice Section */
.spices {
  text-align: center;
  margin: 6rem auto;
  max-width: 1200px;
}

.spices span {
  display: inline-block;
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: bold;
  text-transform: uppercase;
  margin: 0 0.5rem;
}

.spices span:nth-child(1) {
  color: var(--orange);
}

.spices span:nth-child(2) {
  color: var(--beige);
}

.spices span:nth-child(3) {
  color: var(--gold);
}

.spices span:nth-child(4) {
  color: var(--light-brown);
}

.spices p {
  font-size: 1.25rem;
  color: white;
  width: 80%;
  margin: 2rem auto;
  opacity: 0.8;
  max-width: 800px;
}

.spicesimagediv {
  width: 90%;
  height: 50vw;
  max-height: 600px;
  margin: 4rem auto;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.spicesimagediv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.spicesimagediv:hover img {
  transform: scale(1.03);
}

/* Menu Cards */
.discover {
  margin: 6rem 0 3rem;
}

.discover p {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--accent);
  text-align: center;
}

.discover-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 90%;
  margin: 2rem auto;
  max-width: 1200px;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.imagediv {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  background-color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.imagediv img {
  width: 80%;
  height: auto;
  object-fit: contain;
}

.card p {
  color: var(--light-cream);
  margin-top: 1.5rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Reviews */
.reviewheader {
  font-size: clamp(3rem, 10vw, 8rem);
  margin: 6rem 0 1rem;
}

.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 90%;
  margin: 4rem auto;
  max-width: 1200px;
}

.review-card {
  background-color: var(--dark-brown);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: scale(1.02);
}

.stars {
  color: gold;
  font-size: 1.5rem;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.review-card p {
  color: white;
  margin: 0.5rem 0;
  font-size: 1rem;
  line-height: 1.6;
}

.review-card p:last-child {
  font-weight: 600;
  margin-top: 1rem;
  color: var(--text-light);
}

/* Footer */
.site-footer {
  background-color: #222;
  color: #eee;
  padding: 40px 20px;
  font-family: 'Outfit', sans-serif;
  border-top: 3px solid var(--accent);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-left p {
  font-size: 1rem;
  line-height: 1.5;
  color: #ccc;
}

.footer-left p:nth-child(1) {
  font-size: 40px;
  font-family: 'Beau Rivage', cursive;
  color: var(--accent);
}

.footer-left p:nth-child(2) {
  width: 200px;
}

.footer-links h4,
.footer-social h4,
.getintouch h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #fff;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--accent);
}

.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-icons a {
  color: #ddd;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--accent);
}

.getintouch {
  width:300px;
}

.getintouch p {
  margin: 8px 0;
  font-size: 1rem;
  color: #ccc;
  width:300px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.getintouch i {
  min-width: 20px;
  font-size: 1.2rem;
}

.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 0.9rem;
  color: #999;
}

.reviewbuttonandheader{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reviewbutton{
   padding: 12px 24px;
  background:#ffffff;
  color: #000000;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.review-form{
  margin-top:100px;
}

/* Form container styling */
form#reviewForm {
  max-width: 400px;
  margin: 100px auto 30px;
  padding: 20px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  font-family: 'Poppins', sans-serif;
}

/* Labels */
form#reviewForm label {
  font-weight: 600;
  font-size: 1rem;
  color: #333;
}

/* Inputs and textarea */
form#reviewForm input[type="text"],
form#reviewForm textarea {
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  margin-bottom: 16px;
  border: 1.5px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

form#reviewForm input[type="text"]:focus,
form#reviewForm textarea:focus {
  border-color: #ff9800;
  outline: none;
}

/* Star rating container */
#starContainer {
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  display: inline-block;
  color: #000; /* default color */
  margin-bottom: 12px;
}

/* Stars spacing */
#starContainer .star {
  margin-right: 6px;
  transition: color 0.2s ease;
}

/* Submit button */
form#reviewForm button[type="submit"] {
  background-color: #ff9800;
  color: white;
  padding: 12px 20px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form#reviewForm button[type="submit"]:hover {
  background-color: #DD971C;
}
.messages {
  list-style: none;
  padding: 0;
  margin:20px auto;
  max-width: 400px;
  text-align: center;
}

.alert {
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: 5px;
  font-weight: 600;
}

.alert.success {
  background-color: #d4edda;
  color: #155724;
}

.alert.error {
  background-color: #f8d7da;
  color: #721c24;
}


/* Responsive */
@media (max-width: 480px) {
  form#reviewForm {
    margin: 50px 10px 15px;
    padding: 15px;
  }

  #starContainer {
    font-size: 1.5rem;
  }
}



/* ===== Responsive Styles ===== */
@media (max-width: 768px) {

  .restaurant-name {
    margin-top:50px;
  }
  .restaurant-name p {
    font-size: 20vw;
  }

  .restaurant-name span {
    position: absolute;
    right: 30px;
    top: 90px;
    font-size: 1rem;
  }

  .spicesimagediv {
    height: 70vw;
  }
}

@media (max-width: 576px) {
  .discover-container {
    grid-template-columns: 1fr;
  }
  .navbar .logo{
    margin-left:5px;
  }

  .review-card {
    padding: 1.5rem;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-left p:nth-child(2) {
    width: 100%;
  }

  .single-image img {
    height: 50vh;
  }

  .spices span {
    font-size:28px;
    margin: 20px 0;
  }
  .spices p{
    margin-top: 0px;
    font-size:14px;
  }
  .spicesimagediv {
  margin: 1rem auto;
}
.reviewbutton {
    width: 100%;
    padding: 10px 20px;
  }
}