/* ---------- RESET & BASE STYLES ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Kaisei Decol', serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* ---------- NAVIGATION BAR ---------- */
.logo-img-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: 80px;      /* 🔧 increase for larger logo */
  height: 80px;
  border-radius: 50%;
  border: 3px solid white;
  transition: transform 0.3s ease;
  padding: 5px;
  background-color: white;
}

.logo-img:hover {
  transform: scale(1.05);
}

.top-nav {
  position: absolute;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  z-index: 100;
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: bold;
  color: black;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: black;
  z-index: 200;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
}

.nav-links li {
  position: relative;
  padding: 2px 0;
}

.nav-links a,
.dropbtn {
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  color: black;
  border-radius: 5px;
  transition: background 0.3s;
  display: block;
}

.nav-links a:hover,
.nav-links a.active,
.dropbtn:hover {
  background-color: crimson;
  color: white;
}

/* ---------- DROPDOWN MENU ---------- */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background-color: white;
  top: 100%;
  left: 0;
  min-width: 160px;
  padding: 0;
  margin: 0;
  border-radius: 5px;
  z-index: 999;
  list-style: none;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: visibility 0s linear 0.2s, opacity 0.2s;
}

.dropdown-content li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.dropdown-content li a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover {
  display: block;
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

/* ---------- HERO VIDEO SECTION ---------- */
.hero-video {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-video .overlay {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 20px;
  width: 100%;
}

.logo {
  font-size: 4rem;
  font-weight: 900;
  color: black;
  letter-spacing: 1px;
  margin-top: 60px;
  text-shadow: 1px 1px 3px rgba(255,255,255,0.8);
}

.order-now-btn {
  display: inline-block;
  background-color: crimson;
  color: white;
  padding: 18px 50px;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s;
  margin-top: 30px;
}

.order-now-btn:hover {
  transform: scale(1.05);
}

/* ---------- MAIN CONTENT LAYOUT ---------- */
.main-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  padding: 40px 5%;
  background-color: #fdfdfd;
  gap: 40px;
}

.fade-carousel,
.description {
  width: 48%;
  min-width: 300px;
}

.fade-carousel {
  height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.image-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.image-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.image-slide.active {
  opacity: 1;
}

.description {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.description h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #111;
}

.description p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}

/* ---------- FOOTER STYLES ---------- */
footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 30px 0;
  margin-top: 40px;
}

footer .socials h3 {
  margin-bottom: 10px;
  font-weight: 500;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #333;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.social-icon:hover {
  background-color: crimson;
  transform: scale(1.1);
}

/* ---------- MENU PAGE ---------- */
.menu-page {
  padding: 100px 5% 60px;
  background-color: #fff;
}

.menu-page h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 700;
  color: black;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.menu-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  padding-bottom: 15px;
  transition: transform 0.3s;
}

.menu-item:hover {
  transform: scale(1.03);
}

.menu-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.menu-item h3 {
  font-size: 1.3rem;
  margin: 15px 0 5px;
}

.menu-item p {
  font-size: 1rem;
  padding: 0 10px;
  color: #666;
}

.menu-item span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  font-size: 1.1rem;
  color: crimson;
}

/* ---------- RESPONSIVE STYLES ---------- */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    margin-left: auto;
    margin-right: 10px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 20px 0;
    align-items: center;
    gap: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .fade-carousel,
  .description {
    width: 100%;
  }

  .main-content {
    flex-direction: column;
    gap: 20px;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .mobile-menu.open {
    max-height: 600px;
  }

  .mobile-menu a,
  .mobile-menu button {
    padding: 12px;
    text-decoration: none;
    color: black;
    border: none;
    background: none;
    text-align: left;
    width: 100%;
  }

  .mobile-dropdown .dropdown-content {
    display: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .mobile-dropdown.open .dropdown-content {
    display: block;
  }
}

/* 🔻 Dropdown menu styling (MATCH HEADER BUTTON STYLE) */
.dropdown-content {
  background-color: rgba(255, 255, 255, 0.9); /* semi-transparent like nav */
  border-radius: 5px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  min-width: 160px;
  padding: 0;
  margin: 0;
  z-index: 999;
}

.dropdown-content li a {
  font-family: 'Kaisei Decol', serif;
  font-weight: bold;
  color: black;
  padding: 10px 15px;
  display: block;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.dropdown-content li a:hover {
  background-color: crimson;
  color: white;
}

.dropbtn {
  font-weight: bold;
  color: black;
  background: transparent;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

.dropbtn:hover {
  background-color: crimson;
  color: white;
}

/* ✅ Fix video display for mobile */
@media (max-width: 768px) {
  .hero-video video {
    object-fit: contain;
  }
}
@media (max-width: 768px) {
  .hero-video {
    height: 60vh; /* Smaller but full-width visible crop */
  }

  .hero-video video {
    object-fit: cover !important;
  }
}
