* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Georgia', cursive;
  background-color: #dfd3c6;
  color: #1a1212;
}
header {
  background: #e09a17;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header img {
  height: 60px;
}
nav a {
  color: #0c0909;
  text-decoration: none;
  margin: 0 1rem;
  font-size: 1.2rem;
  position: relative;
  font-weight: bold;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffcc00;
  transition: 0.3s ease;
}
nav a:hover::after {
  width: 100%;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
}
.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.hero img {
  max-width: 300px;
  margin-top: 1rem;
}

.logo {
  height: 80px; /* adjust as needed */
  cursor: pointer;
  transition: transform 0.2s ease;
}
.logo:hover {
  transform: scale(1.05);
}

.logo-popup-container {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7); /* dimmed background */
}

.logo-popup-inner {
  background-color:  #e09a17; /* SAME as your navbar background */
  margin: auto;
  padding: 20px;
  border-radius: 12px;
  width: fit-content;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.logo-popup-content {
  max-width: 100%;
  height: auto;
  display: block;
}

.logo-popup-close {
  position: absolute;
  top: 30px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}



/* footer -------------------------------------------------------------------------------------------------------*/
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}
footer .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
footer .links div {
  flex: 1 1 200px;
}
footer h4 {
  margin-bottom: 0.5rem;
  color: #ffcc00;
}
footer ul {
  list-style: none;
  padding: 0;
}
footer ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
}
footer ul li a:hover {
  text-decoration: underline;
}
.social-icons {
  margin-top: 1rem;
}
.social-icons a {
  margin: 0 0.5rem;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
}

.contact-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.contact-section h1 {
  font-family: 'Georgia', cursive;
  font-size: 2.5rem;
  color: #d72638;
}

.contact-section .intro {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.contact-card {
  background: #fafafa;
  padding: 1.5rem;
  border-radius: 12px;
  width: 250px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-card h3 {
  font-size: 1.2rem;
  color: #d72638;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-card a {
  text-decoration: none;
  color: #333;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Feedback Section ---------------------------------------------------------------------------------------------------*/
.feedback-section {
  max-width: 600px;
  margin: 4rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  text-align: center;
}

.feedback-section h1 {
  color: #d72638;
  font-size: 2rem;
}

.feedback-section .intro {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feedback-form input,
.feedback-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}

.feedback-form button {
  padding: 0.9rem;
  background-color: #d72638;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.feedback-form button:hover {
  background-color: #a91e2d;
}

 /* Franchise Section ---------------------------------------------------------------------------------------------------*/
.franchise-form {
  max-width: 700px;
  margin: 4rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  font-family: 'Georgia', cursive;
}

.franchise-form h2 {
  color: #d72638;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.franchise-form p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.franchise-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.franchise-form input,
.franchise-form textarea {
  padding: 1rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: inherit;
}

.franchise-form textarea {
  resize: vertical;
}

.franchise-form button {
  background-color: #d72638;
  color: white;
  font-weight: bold;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.franchise-form button:hover {
  background-color: #a91e2d;
}

@media (max-width: 600px) {
  .franchise-form {
    margin: 2rem 1rem;
    padding: 1.5rem;
  }

  .franchise-form h2 {
    font-size: 1.8rem;
  }

  .franchise-form p {
    font-size: 1rem;
  }
}



/* ===== MENU SECTION ===== ---------------------------------------------------------------------------------------------------*/
.menu {
  padding: 3rem 1rem;
  background-color: #fff8f0;
  font-family: 'Georgia', cursive;
}

.menu h2 {
    text-align: center;
    margin-top: 2rem;
    font-size: 2.5rem;
    color: #ff5a36;
    letter-spacing: 1.2px;
  }

.menu-category {
  margin-bottom: 4rem;
  text-align: center;
}

.menu-category h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #d83f31;
  text-shadow: 1px 1px #ffcece;
}

.menu-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.menu-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.menu-item {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  position: relative;
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.menu-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid #f8d9d6;
}

.menu-item h4 {
  font-size: 1.3rem;
  margin: 0.8rem 0 0.3rem;
  color: #333;
}

.menu-item p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #777;
}

.menu-item img {
  cursor: pointer;
}

.modal-content {
  animation: popIn 0.3s ease;
}



/* Responsive behavior */
@media (max-width: 768px) {
  .menu-grid, .menu-row {
    flex-direction: column;
    align-items: center;
  }

  .menu-item {
    width: 90%;
  }
}


/* Modal base styles ---------------------------------------------------------------------------------------------------*/
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7); /* darker backdrop */
  justify-content: center;
  align-items: center;
}

/* Modal content container */
.modal-content {
  position: relative;
  background-color: #fff;
  padding: 40px 20px 20px 20px; /* increased top padding to make space for close-btn */
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  text-align: center;
}


/* Modal image styles with zoom */
#modalImg {
  max-width: 100%;
  max-height: 400px;
  transform: scale(2);   /* 2x zoom */
  transition: transform 0.3s ease;
  margin-bottom: 15px;
  display: inline-block;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(180, 78, 24, 0.25);
}


/* Pop in animation */
@keyframes popIn {
  0% {opacity: 0; transform: scale(0.8);}
  100% {opacity: 1; transform: scale(1);}
}

/* Modal image */
.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 6px 15px rgba(180, 78, 24, 0.25);
}

/* Modal title */
.modal-content h3 {
  margin-bottom: 12px;
  color: #b64e18;
  font-weight: 800;
  font-size: 1.6rem;
}

/* Modal description */
.modal-content p {
  color: #6f4e37;
  font-weight: 600;
  font-size: 1.1rem;
}

/* scrolling effect ---------------------------------------------------------------------------------------------------*/
.menu-carousel {
  text-align: center;
  padding: 2rem;
  background-color: #060606;
  font-family: 'Georgia', sans-serif;
}

.menu-carousel h2 {
  text-align: center;
  margin-top: 2rem;
  font-size: 2.5rem;
  color: #ff5a36;
  letter-spacing: 1.2px;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 700px; /* adjust based on your image size */
  height: auto;
  aspect-ratio: 1 / 1; /* ensures a square shape */
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


.carousel-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  border-radius: 12px;
}


.carousel-image.active {
  opacity: 1;
}

/* Oi Ramen Stats Section --------------------------------------------------------------------------------*/
.oi-ramen-stats {
  background: #e09a17; /* warm cream background */
  padding: 3rem 2rem;
  border-radius: 15px;
  max-width: 1200px;
  margin: 3rem auto;
  box-shadow: 0 10px 25px rgba(220, 183, 49, 0.2);
  font-size: 1.1rem;
  color: #4a3f35;
  line-height: 1.6;
  font-weight: 500;
}

.oi-ramen-stats .section-title {
  font-size: 3rem;
  color: #ffffff;
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 1.3px;
}

.oi-ramen-stats .story-text {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: left; /* left align text */
  font-style: italic;
  font-weight: 600;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  background: #f9f1d0;
  padding: 1rem 2rem;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  text-align: center;
  width: 130px;
  transition: transform 0.3s ease;
  cursor: default;
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(220, 183, 49, 0.5);
}

.stat-item h3 {
  font-size: 2rem;
  margin-bottom: 0.2rem;
  color: #bb8900;
}

.stat-item p {
  font-size: 1rem;
  color: #6b5b35;
}

.icon {
  font-size: 2.5rem;
  color: #dcb731;
  margin-bottom: 0.5rem;
}
