:root {
  --primary-brown: #6b4f3f;
  --dark-brown: #4a3427;
  --bg-light: #f9f8f4;
  --text-color: #333;
  --font-serif: "Playfair Display", serif;
  --font-sans: "Poppins", sans-serif;
  --sakura-pink: #ffdae9;
}

/* CRITICAL: Base Styles - This fixes the scrollbar issue */

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

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.hero {
  height: auto;
  min-height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("img/cover.jpg") center/cover no-repeat;
  color: white;
  display: flex;
  flex-direction: column;
  padding: 0 5%;
  position: relative;
}

.navbar {
  display: flex;
  justify-content: space-between;
  padding: 30px 0;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -5px;
  left: 0;
  background-color: white;
  transition: width 0.3s ease;
}

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

.hero-content {
  margin: auto 0;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mini-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Fix for the Navbar Logo (Text version) */
.navbar .logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  margin: 15px 0;
}

/* Buttons */
.btn {
  padding: 12px 25px;
  text-decoration: none;
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-right: 15px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.btn-primary {
  background: #d4b8a7;
  color: #000;
}

.btn-primary:hover {
  background: #c2a694;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  border: 1px solid white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: #000;
}

.btn-dark {
  background: var(--dark-brown);
  color: white;
  margin-top: 20px;
}

/* Styling for the new smaller text */
.feature-title {
  font-weight: 600;
  margin-top: 15px;
  font-size: 1.1rem;
  color: var(--dark-brown);
}

.feature-sub {
  font-size: 0.85rem;
  color: #777;
  margin-top: 5px;
  line-height: 1.4;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

/* Generic Section Styles */
.section {
  padding: 80px 10%;
  text-align: center;
  background-color: var(--bg-light);
}

.section-label {
  color: #888;
  font-size: 0.8rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
}

h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

/* Grid Systems */
.card-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card,
.menu-item {
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}

.card img,
.menu-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.card:hover img,
.menu-item:hover img {
  transform: scale(1.1);
}

.section h2,
.section-desc,
.features-grid,
.card,
.menu-item,
.location-details {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.reveal {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.card:nth-child(2),
.feature:nth-child(2) {
  transition-delay: 0.1s;
}
.card:nth-child(3),
.feature:nth-child(3) {
  transition-delay: 0.2s;
}

/* Location Section - Combined & Cleaned */
.location-section {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  background-color: var(--bg-light);
  padding: 80px 10%;
  gap: 40px;
}

.map-container {
  flex: 1.2;
  min-width: 350px;
  height: 500px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.location-details {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

/* Footer - Combined & Cleaned */
footer {
  background: #e5d1c5;
  padding: 60px 10%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-sans);
}

/* --- New Brand Wrapper Styles --- */
.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-logo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}

.brand-text h3 {
  margin: 0 0 5px 0;
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.brand-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.7);
}

/* --- Left & Right Containers --- */
.footer-left {
  max-width: 500px;
}

.footer-right h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-right a {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-top: 8px;
  font-size: 0.9rem;
  transition: 0.3s;
}

.footer-right a:hover {
  color: var(--primary-brown);
}

/* --- Social Icons --- */
.social-links {
  display: flex;
  gap: 20px;
  margin-top: 25px;
}

.social-links a {
  color: var(--dark-brown);
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #fff;
  transform: translateY(-3px);
}

/* Sakura Petal Animation - FIXED TO PREVENT OVERFLOW */
.sakura-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.petal {
  position: absolute;
  background-color: var(--sakura-pink);
  border-radius: 150% 0 150% 0;
  width: 15px;
  height: 20px;
  top: -20px;
  opacity: 0.8;
  animation: fall linear infinite;
  will-change: transform;
}

@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg) translateX(0);
  }
  25% {
    transform: translateY(25vh) rotate(180deg) translateX(20px);
  }
  50% {
    transform: translateY(50vh) rotate(360deg) translateX(-20px);
  }
  75% {
    transform: translateY(75vh) rotate(540deg) translateX(20px);
  }
  100% {
    transform: translateY(110vh) rotate(720deg) translateX(0);
    opacity: 0;
  }
}

/* Randomizing the petals - CONSTRAINED TO VIEWPORT */
.petal:nth-child(1) {
  left: 8%;
  animation-duration: 7s;
}
.petal:nth-child(2) {
  left: 20%;
  animation-duration: 9s;
  animation-delay: 2s;
}
.petal:nth-child(3) {
  left: 35%;
  animation-duration: 6s;
  animation-delay: 4s;
}
.petal:nth-child(4) {
  left: 48%;
  animation-duration: 8s;
  animation-delay: 1s;
}
.petal:nth-child(5) {
  left: 62%;
  animation-duration: 10s;
  animation-delay: 5s;
}
.petal:nth-child(6) {
  left: 75%;
  animation-duration: 7s;
  animation-delay: 3s;
}
.petal:nth-child(7) {
  left: 15%;
  animation-duration: 11s;
  animation-delay: 2s;
}
.petal:nth-child(8) {
  left: 42%;
  animation-duration: 8s;
  animation-delay: 6s;
}
.petal:nth-child(9) {
  left: 82%;
  animation-duration: 9s;
  animation-delay: 0.5s;
}
.petal:nth-child(10) {
  left: 28%;
  animation-duration: 7s;
  animation-delay: 4s;
}

/* Minimalist Icon Styling */
.icon-wrapper {
  font-size: 2rem;
  color: var(--primary-brown);
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  width: 60px;
  background-color: #fdfaf8;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.feature:hover .icon-wrapper {
  background-color: #ffdae9;
  color: var(--dark-brown);
  transform: scale(1.1);
}

.feature-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark-brown);
  margin-top: 10px;
}

.feature-sub {
  font-size: 0.85rem;
  color: #888;
  max-width: 200px;
  margin-top: 5px;
}

/* Contact Info Container */
.contact-info {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Individual Item Wrapper */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

/* Icon Style */
.contact-item i {
  color: var(--primary-brown);
  font-size: 1.2rem;
  margin-top: 5px;
}

/* Text Adjustment */
.contact-item p {
  margin: 0;
  line-height: 1.5;
  color: var(--text-color);
}

.contact-item strong {
  color: var(--dark-brown);
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Styling for the Directions Button */
.location-details .btn-dark {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

/* Hover Effect: Glowing & Lifting */
.location-details .btn-dark:hover {
  background-color: var(--primary-brown);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(107, 79, 63, 0.3);
  color: #fff;
}

.location-details .btn-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s;
}

.location-details .btn-dark:hover::before {
  left: 100%;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

/* Tablet Responsive */
@media (max-width: 992px) {
  .location-section {
    padding: 60px 5%;
    gap: 30px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section {
    padding: 60px 8%;
  }

  h2 {
    font-size: 2rem;
  }
}

/* Mobile Responsive - 768px */
@media (max-width: 768px) {
  /* Navbar - Fixed at top on mobile */
  .hero {
    padding: 0 4%;
  }

  .navbar {
    padding: 20px 0;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .navbar .logo {
    font-size: 1rem;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 0.75rem;
  }

  /* Hero Content */
  .hero-content {
    margin: 80px 0 40px 0;
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .mini-logo {
    width: 60px;
    height: 60px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .welcome-text {
    font-size: 0.75rem;
  }

  .hero-subtext {
    font-size: 0.9rem;
  }

  /* Buttons */
  .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .btn {
    margin-right: 0;
    width: 100%;
    text-align: center;
  }

  /* Sections */
  .section {
    padding: 50px 5%;
  }

  h2 {
    font-size: 1.8rem;
  }

  .section-desc {
    font-size: 0.9rem;
  }

  /* Features Grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
  }

  .icon-wrapper {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .feature-sub {
    max-width: 100%;
  }

  /* Card Grid */
  .card-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
  }

  .card img,
  .menu-item img {
    height: 250px;
  }

  /* Location Section */
  .location-section {
    flex-direction: column;
    padding: 40px 5%;
    gap: 30px;
  }

  .map-container {
    height: 300px;
    width: 100%;
    min-width: auto;
  }

  .location-details {
    text-align: center;
    min-width: auto;
  }

  .contact-info {
    align-items: center;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .contact-item i {
    margin-top: 0;
  }

  /* Footer */
  footer {
    flex-direction: column;
    gap: 40px;
    padding: 40px 5%;
    text-align: center;
  }

  .brand-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .footer-logo {
    width: 60px;
    height: 60px;
  }

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

  .footer-left {
    max-width: 100%;
  }

  .footer-right {
    width: 100%;
  }

  .social-links {
    justify-content: center;
  }

  /* Petals - Smaller on mobile */
  .petal {
    width: 10px;
    height: 15px;
  }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
  .navbar {
    padding: 15px 0;
  }

  .navbar .logo {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }

  /* Hero Content */
  .hero-content {
    margin: 60px 0 30px 0;
  }

  .mini-logo {
    width: 50px;
    height: 50px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .welcome-text {
    font-size: 0.7rem;
  }

  .hero-subtext {
    font-size: 0.85rem;
  }

  .btn {
    font-size: 0.75rem;
    padding: 10px 20px;
  }

  /* Sections */
  .section {
    padding: 40px 4%;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section-label {
    font-size: 0.7rem;
  }

  .section-desc {
    font-size: 0.85rem;
  }

  /* Features */
  .icon-wrapper {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .feature-title {
    font-size: 1rem;
  }

  .feature-sub {
    font-size: 0.8rem;
  }

  /* Cards */
  .card img,
  .menu-item img {
    height: 200px;
  }

  .menu-item p {
    font-size: 0.85rem;
    padding: 10px;
  }

  /* Location */
  .location-section {
    padding: 30px 4%;
  }

  .map-container {
    height: 250px;
  }

  .contact-item p {
    font-size: 0.85rem;
  }

  .contact-item strong {
    font-size: 0.8rem;
  }

  /* Footer */
  footer {
    padding: 30px 4%;
  }

  .footer-logo {
    width: 50px;
    height: 50px;
  }

  .brand-text h3 {
    font-size: 1.1rem;
  }

  .brand-text p {
    font-size: 0.85rem;
  }

  .footer-right h4 {
    font-size: 1rem;
  }

  .footer-right a {
    font-size: 0.85rem;
  }

  .social-links a {
    font-size: 1.2rem;
  }

  /* Petals - Even smaller */
  .petal {
    width: 8px;
    height: 12px;
  }
}

/* Extra Small Mobile - 375px */
@media (max-width: 375px) {
  .navbar .logo {
    font-size: 0.75rem;
  }

  .nav-links a {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
  }

  .hero-content h1 {
    font-size: 1.4rem;
  }

  .welcome-text {
    font-size: 0.65rem;
  }

  .hero-subtext {
    font-size: 0.8rem;
  }

  .btn {
    font-size: 0.7rem;
    padding: 8px 15px;
  }

  h2 {
    font-size: 1.3rem;
  }

  .section-label {
    font-size: 0.65rem;
  }

  .section-desc {
    font-size: 0.8rem;
  }

  .icon-wrapper {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .feature-title {
    font-size: 0.95rem;
  }

  .feature-sub {
    font-size: 0.75rem;
  }

  .card img,
  .menu-item img {
    height: 180px;
  }

  .menu-item p {
    font-size: 0.8rem;
  }

  .map-container {
    height: 220px;
  }

  .contact-item p {
    font-size: 0.8rem;
  }

  .contact-item i {
    font-size: 1rem;
  }

  .brand-text h3 {
    font-size: 1rem;
  }

  .brand-text p {
    font-size: 0.8rem;
  }

  .footer-right a {
    font-size: 0.8rem;
  }
}

/* Landscape Mobile Fix */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    height: auto;
    min-height: 100vh;
  }

  .hero-content {
    margin: 50px 0 30px 0;
  }

  .mini-logo {
    width: 45px;
    height: 45px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .navbar {
    padding: 15px 0;
  }
}

.menu-item-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit; /* Ensures text matches your site font */
  width: 100%; /* Allows the button to fill its container */
  transition: transform 0.2s ease;
}

.menu-item-button:hover {
  transform: scale(1.05); /* Subtle pop effect when hovering */
}

.menu-item-button:active {
  transform: scale(0.98); /* "Pressed" effect when clicked */
}
