:root {
  --primary: #e63946;
  --secondary: #f4a261;
  --accent: #2a9d8f;
  --dark: #264653;
  --light: #f8f9fa;
  --gold: #e9c46a;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.sitename {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 2.2rem;
  letter-spacing: 1px;
}

/* Header Styles */
.header {
  background: rgba(93, 206, 150, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 10px 0;
  background: rgba(93, 206, 150, 0.95);
}

.topbar {
  background: var(--dark);
  color: white;
  padding: 8px 0;
  font-size: 0.9rem;
}

.contact-info a {
  color: white;
  text-decoration: none;
  margin-left: 5px;
  font-family: Lucida Sans Typewriter, Lucida Console, monaco, Bitstream Vera Sans Mono, monospace;
}

.contact-info a:hover {
  color: var(--secondary);
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

/* Navigation Menu */
.navmenu ul {
  display: flex;
  list-style: none;
}

.navmenu ul li {
  margin: 0 15px;
}

.navmenu ul li a {
  color: var(--dark);
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

.navmenu ul li a:hover,
.navmenu ul li a.active {
  color: var(--primary);
}

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

.navmenu ul li a:hover::after,
.navmenu ul li a.active::after {
  width: 100%;
}

/* Mobile: Stack logo and nav, hide unnecessary elements */
@media (max-width: 768px) {
  .header .container {
    flex-direction: raw;
    text-align: center;
    padding: 10px 0;
  }

  .logo {
    order: 0;
    margin-bottom: 12px;
  }

  .logo img {
    height: 45px;
  }

  .sitename {
    font-size: 1.6rem;
    margin-left: 8px;
  }

  .navmenu {
    order: 1;
    width: 100%;
  }

  .navmenu ul {
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
  }

  .navmenu ul li {
    margin: 5px 0;
    width: 15%;
  }

  .navmenu ul li a {
    display: block;
    padding: 10px 0;
  }

  /* Hide Book a Table button */
  .btn-book-a-table {
    display: none !important;
  }

  /* Topbar adjustments */
  .topbar .container {
    flex-direction: column;
    gap: 6px;
  }

  .contact-info {
    flex-direction: column;
    gap: 4px;
    font-size: 0.9rem;
  }

  .contact-info i {
    flex-direction: row;
    gap: 1px;
  }

  .languages {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 700px;
}

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.hero p {
  font-size: 1.4rem;
  margin-bottom: 30px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  margin: 0 10px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}

.cta-btn:hover {
  background: transparent;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn:nth-child(2) {
  background: transparent;
}

/* Section Styling */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary);
}

.section-title p {
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 15px;
}

/* About Section */
.about {
  background: linear-gradient(to right, rgba(248, 249, 250, 0.9) 0%, rgba(248, 249, 250, 0.7) 100%), url('img/about-bg.jpg');
  background-size: cover;
  background-position: center;
}

.about-img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about h3 {
  color: var(--dark);
  font-size: 2rem;
  margin-bottom: 25px;
}

.about p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.about ul {
  list-style: none;
  padding: 0;
}

.about ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.about ul li i {
  color: var(--primary);
  font-size: 1.2rem;
  margin-right: 10px;
  margin-top: 5px;
}

/* Specials Section */
.specials {
  margin-top: 5px;
  background: #b9dded;
  background: linear-gradient(90deg, rgba(185, 221, 237, 1) 46%, rgba(38, 51, 43, 1) 100%, rgba(168, 163, 126, 1) 62%);
}

.nav-tabs {
  border: none;
}

.nav-tabs .nav-link {
  background: white;
  border: 1px solid #ddd;
  border-radius: 0;
  margin-bottom: -1px;
  padding: 15px 20px;
  color: var(--dark);
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.nav-tabs .nav-link:hover:not(.active) {
  background: #f0f0f0;
}

.tab-content {
  background: white;
  padding: 30px;
  border: 1px solid #ddd;
  border-top: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tab-pane h3 {
  color: var(--dark);
  margin-bottom: 15px;
}

.tab-pane p {
  line-height: 1.8;
}

.tab-pane img {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Events Section */
.events {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.events-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.events-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.event-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.event-item h3 {
  color: var(--dark);
  margin-bottom: 20px;
}

.event-item p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.event-item ul {
  list-style: none;
  padding: 0;
}

.event-item ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.event-item ul li i {
  color: var(--accent);
  font-size: 1.2rem;
  margin-right: 10px;
  margin-top: 5px;
}

.swiper {
  padding: 20px 0;
}

.swiper-pagination {
  position: relative;
  margin-top: 30px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--primary);
}

/* Contact Section */
.contact {
  background: #2A7B9B;
  background: linear-gradient(90deg, rgba(42, 123, 155, 1) 0%, rgba(38, 51, 43, 1) 100%, rgba(168, 163, 126, 1) 22%);
}

.info-item {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.info-item:hover {
  transform: translateY(-5px);
}

.info-item i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-right: 20px;
}

.info-item h3 {
  color: var(--dark);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.info-item p {
  margin: 0;
  line-height: 1.6;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
}

/* Footer */
.endfooter {
  background: var(--dark);
  color: white;
  padding: 30px 0;
  text-align: center;
}

.endfooter .sitename {
  color: var(--secondary);
}

/* Scroll Top */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

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

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

  .logo {
    margin-bottom: 12px;
    text-align: center;
  }

  .logo img {
    height: 45px;
  }

  .sitename {
    font-size: 1.6rem;
    margin-left: 8px;
  }

  /* Scrollable horizontal nav container */
  .navmenu {
    order: 1;
    width: 100%;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox: hide scrollbar */
    -ms-overflow-style: none; /* IE/Edge */
  }

  .navmenu::-webkit-scrollbar {
    display: none; /* Chrome/Safari: hide scrollbar */
  }

  .navmenu ul {
    display: flex;
    flex-direction: row !important;
    list-style: none;
    margin: 0;
    padding: 0 10px;
    gap: 20px;
    min-width: max-content; /* Ensures it doesn't shrink */
  }

  .navmenu ul li {
    flex: 0 0 auto; /* Prevents flex from collapsing items */
    margin: 0;
    white-space: nowrap;
  }

  .navmenu ul li a {
    display: block;
    color: var(--dark);
    font-weight: 500;
    padding: 8px 12px;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s;
  }

  .navmenu ul li a:hover,
  .navmenu ul li a.active {
    color: var(--primary);
  }

  /* Ensure no outer container is clipping */
  .branding,
  .header {
    overflow: visible !important;
  }

  /* Hide button */
  .btn-book-a-table {
    display: none !important;
  }

  /* Topbar */
  .topbar .container {
    flex-direction: column;
    gap: 6px;
  }

  .contact-info {
    flex-direction: column;
    gap: 4px;
    font-size: 0.9rem;
  }
}