/* ====== Base Styles ====== */
:root {
  --primary: #e6c229;
  --primary-dark: #d4b025;
  --secondary: #1a1a1a;
  --secondary-light: #2e2e2e;
  --light: #fff8e0;
  --white: #ffffff;
  --black: #000000;
  --gray: #f5f5f5;
  --dark-gray: #777777;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--secondary);
  background-color: var(--white);
  padding-top: 120px; /* Added for fixed header */
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

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

.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  background-color: var(--primary);
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.btn-book:hover {
  background-color: var(--primary);
  color: var(--secondary);
}

.section {
  padding: 8rem 0;
}

.section-title {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: var(--secondary);
}

.subtitle {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

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

/* ====== Top Bar ====== */
.topbar {
  background-color: var(--secondary);
  color: var(--white);
  padding: 1rem 0;
  font-size: 1.4rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
}

.topbar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.topbar-item i {
  color: var(--primary);
}

.separator {
  width: 1px;
  height: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
}

/* ====== Header ====== */
.header {
  position: fixed;
  top: 3.6rem;
  left: 0;
  width: 100%;
  padding: 2rem 0;
  background-color: var(--secondary);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.sticky {
  top: 0;
  background-color: rgba(26, 26, 26, 0.95);
}

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

.logo img {
  height: 5rem;
  transition: all 0.3s ease;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 2.5rem;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: all 0.3s ease;
}

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

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

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

.navbar-list {
  display: flex;
  gap: 3rem;
}

.navbar-list a {
  color: var(--white);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.navbar-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.navbar-list a:hover,
.navbar-list a.active {
  color: var(--primary);
}

.navbar-list a:hover::after,
.navbar-list a.active::after {
  width: 100%;
}

/* ====== Hero Section ====== */
.hero {
  height: 100vh;
  position: relative;
  margin-top: -3.6rem;
}

.hero-slider {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

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

.slide .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  width: 90%;
  max-width: 800px;
}

.slide .subtitle {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.slide h1 {
  font-size: 5.6rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide .text {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 5rem;
  height: 5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-btn:hover {
  background-color: var(--primary);
  color: var(--secondary);
}

.prev {
  left: 2rem;
}

.next {
  right: 2rem;
}

.hero-btn {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 6rem;
  background-color: var(--primary);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 10;
  transition: all 0.3s ease;
}

.hero-btn i {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.hero-btn:hover {
  background-color: var(--white);
  transform: translateX(-50%) scale(1.1);
}

/* ====== About Section ====== */
.about {
  background-color: var(--light);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-banner {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  background-color: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 3px solid var(--primary);
}

.team-member h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.team-member p {
  font-size: 1.4rem;
  color: var(--dark-gray);
}

/* ====== Menu Section ====== */
.menu {
  background-color: var(--white);
  position: relative;
}

.menu-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  position: sticky;
  top: 8rem;
  background-color: var(--white);
  padding: 1.5rem 0;
  z-index: 100;
}

.menu-category {
  padding: 0.8rem 2rem;
  background-color: var(--light);
  color: var(--secondary);
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-category.active {
  background-color: var(--primary);
}

.menu-category:not(.active):hover {
  background-color: rgba(230, 194, 41, 0.2);
}

.menu-grid {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3rem;
}

.menu-grid.active {
  display: grid;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.menu-item {
  display: flex;
  gap: 2rem;
  background-color: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-1rem);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.menu-item img {
  width: 12rem;
  height: 12rem;
  object-fit: cover;
}

.menu-item .details {
  padding: 1.5rem 1.5rem 1.5rem 0;
  flex: 1;
}

.menu-item h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.menu-item p {
  font-size: 1.4rem;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

/* Gallery Section */
.gallery {
  background-color: var(--light);
  padding: 8rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  height: 25rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

.gallery-item h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  }
  
  .gallery-item {
    height: 20rem;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    height: 25rem;
  }
}

/* ====== Reviews Section ====== */
.reviews {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/gallery-1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
  padding: 10rem 0;
  position: relative;
}

.reviews .section-header {
  margin-bottom: 6rem;
}

.reviews .subtitle {
  font-size: 1.8rem;
  color: var(--primary);
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
  display: block;
}

.reviews .section-title {
  font-size: 5rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.reviews .section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: var(--primary);
}

.review-slider {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.review {
  display: none;
}

.review.active {
  display: block;
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.quote {
  font-size: 6rem;
  color: var(--primary);
  margin-bottom: 3rem;
  opacity: 0.8;
  line-height: 1;
}

.review .text {
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 4rem;
  line-height: 1.8;
  position: relative;
  padding: 0 5rem;
}

.review .text::before,
.review .text::after {
  content: '"';
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.5;
  position: absolute;
}

.review .text::before {
  top: -1.5rem;
  left: 0;
}

.review .text::after {
  bottom: -3rem;
  right: 0;
}

.client {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
}

.client img {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 2rem;
  border: 4px solid var(--primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.client h4 {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
  color: var(--white);
}

.client p {
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 5rem;
}

.dot {
  width: 1.5rem;
  height: 1.5rem;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s ease;
}

.dot.active {
  background-color: var(--primary);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(230, 194, 41, 0.5);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .reviews .section-title {
    font-size: 4rem;
  }
  
  .review .text {
    font-size: 1.8rem;
    padding: 0 3rem;
  }
}

@media (max-width: 768px) {
  .reviews {
    padding: 8rem 0;
    background-attachment: scroll;
  }
  
  .reviews .section-title {
    font-size: 3.5rem;
    letter-spacing: 2px;
  }
  
  .quote {
    font-size: 5rem;
  }
  
  .review .text {
    padding: 0 2rem;
  }
}

@media (max-width: 576px) {
  .reviews .section-title {
    font-size: 2.8rem;
  }
  
  .review .text {
    font-size: 1.6rem;
    padding: 0 1rem;
  }
  
  .client img {
    width: 8rem;
    height: 8rem;
  }
}

/* ====== Contact Section ====== */
.contact {
  background-color: var(--white);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background-color: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-content {
  padding: 4rem;
}

.form-content h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
  color: var(--secondary);
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

input, select, textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 194, 41, 0.2);
}

textarea {
  min-height: 15rem;
  resize: vertical;
}

.contact-info {
  padding: 4rem;
  background: linear-gradient(rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.9)), url('images/gallery-2.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.contact-info h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-item i {
  font-size: 2rem;
  color: var(--primary);
}

.info-item p {
  font-size: 1.4rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background-color: var(--primary);
  color: var(--secondary);
  border-radius: 50%;
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--white);
  transform: translateY(-3px);
}

/* ====== Footer ====== */
.footer {
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('images/footer-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 6rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

.footer-logo {
  height: 5rem;
  margin-bottom: 1.5rem;
}

.footer-col p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--primary);
  color: var(--secondary);
}

.footer-col ul li {
  margin-bottom: 1rem;
}

.footer-col ul a {
  font-size: 1.4rem;
  color: var(--white);
  transition: all 0.3s ease;
}

.footer-col ul a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-item i {
  font-size: 1.6rem;
  color: var(--primary);
  margin-top: 0.3rem;
}

.contact-item p {
  font-size: 1.4rem;
  line-height: 1.6;
}

.copyright {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 1.4rem;
}

.copyright a {
  color: var(--primary);
  font-weight: 600;
}

/* ====== Back to Top Button ====== */
.back-to-top {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  width: 5rem;
  height: 5rem;
  background-color: var(--primary);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  border: none;
  cursor: pointer;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--white);
  transform: translateY(-0.5rem);
}

/* ====== Responsive Styles ====== */
@media (max-width: 992px) {
  .about .container {
    grid-template-columns: 1fr;
  }
  
  .about-banner {
    order: -1;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .menu-categories {
    top: 7rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 6rem 0;
  }
  
  .section-title {
    font-size: 3.2rem;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .navbar-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 35rem;
    height: 100vh;
    background-color: var(--secondary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    transition: right 0.5s ease;
    z-index: 1000;
  }
  
  .navbar-list.active {
    right: 0;
  }
  
  .slide h1 {
    font-size: 4rem;
  }
  
  .form-group {
    grid-template-columns: 1fr;
  }
  
  .menu-categories {
    top: 6.5rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2.8rem;
  }
  
  .slide h1 {
    font-size: 3.2rem;
  }
  
  .hero-btn {
    width: 5rem;
    height: 5rem;
    font-size: 1.2rem;
  }
  
  .hero-btn i {
    font-size: 1.6rem;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .menu-categories {
    position: static;
    padding: 0;
    margin-bottom: 2rem;
  }
  
  .header {
    top: 3rem;
  }
  
  .topbar {
    padding: 0.5rem 0;
  }
  
  .topbar .container {
    gap: 1rem;
  }
  
  .separator {
    display: none;
  }
}
