/* style.css */
:root {
  --brown: #a97452; 
}

body {
    margin: 0;
    font-family: 'Georgia', serif;
    background-color: #fef3e7;
    color: #4b2e2e;
  }
  
  header {
    background-color: #f5c9ae;
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 0; /* Ensure no gap below */
    padding-bottom: 0;
  }
  
  header h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #6a3d3d;
  }
  
  header p {
    font-size: 1.2rem;
    color: #7b4f4f;
    margin-top: 10px;
  }

  .header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .header-side-img {
    height: 90px;
    width: auto;
    opacity: 0.85;
    flex: 1;
    max-width: 150px;
    object-fit: contain;
  }

  .logo-wrapper {
    height: 100px;         /* controls visible height */
    width: auto;
    overflow: hidden;
    border-radius: 20px;
    display: inline-block;
    max-width: 250px;
    margin-bottom: 0; /* Prevents space under the image */
  }
  
  .logo {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    transform: translateY(-29%);
    border-radius: 20px;
  }

  nav {
    background-color: #f5c9ae;
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0;
    padding: 0;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #5c3b3b;
    font-weight: bold;
    font-size: 1.1rem;
  }
  
  nav ul li a:hover {
    text-decoration: underline;
  }
  
  section {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
  }
  
  section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
  }

  #home {
    background-color: #fef3e7;
    border-radius: 12px;
  }

  #home h2 span {
    display: inline-block;
    border-bottom: 2px solid #e18a62;
    font-size: 2rem;
    padding-bottom: 5px;
  }
  
  .image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .image-grid img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  #about p,
  #contact p {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .contact-form-container select {
      font-size: 16px;
      width: 100%;
      margin-top: 6px;
      border: 1px solid #d4a373;
      border-radius: 6px;
      padding: 12px;
      background-color: #fffdfb;
      color: #4b2e2e;
      appearance: none;
      background-image: url('data:image/svg+xml;utf8,<svg fill="%234b2e2e" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 16px 16px;
    }

    .contact-form-container select:focus {
      border-color: var(--secondary);
      outline: none;
    }
  
  footer {
    background-color: #f5c9ae;
    text-align: center;
    padding: 20px;
    font-size: 0.95rem;
    color: #5c3b3b;

  }
  
  a {
    color: #a0522d;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }

  .story-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
  }

  .story-heading {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .story-heading h2 {
    font-size: 2rem;
    display: inline-block;
    border-bottom: 2px solid #e18a62;
  }
  
  .story-text {
    flex: 1;
    min-width: 250px;
  }
  
  .story-image {
    flex: 1;
    min-width: 250px;
    text-align: center;
  }
  
  .story-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(225, 138, 98, 0.3);
  }

  #gallery {
    text-align: center;
    background-color: #ffe1c8; 
    padding: 40px 20px;
    border-radius: 12px;
    margin-top: 40px;
  }

  #gallery h2 {
    display: inline-block;
    text-align: center;
    border-bottom: 2px solid #e18a62;
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .gallery-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }
  
  .gallery-scroll img {
    height: 250px;
    width: 250px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(225, 138, 98, 0.25);
    scroll-snap-align: start;
    transition: transform 0.3s ease;
  }
  
  .gallery-scroll img:hover {
    transform: scale(1.05);
  }

  .menu-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: auto;
  }

  .menu-details {
    font-size: 0.95rem;
    color: #6b4c3a;
    margin-top: 4px;
    line-height: 1.4;
  }
  
  .menu-list li {
    display: flex;
    flex-direction: column; /* stack content vertically */
    padding: 20px;
    border-bottom: 1px solid #e18a62;
    font-size: 1.1rem;
    background-color: #fff8f2;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }

  .menu-list li:hover {
    background-color: #ffe8d9;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
    transition: 0.2s ease;
  }
  
  .menu-list .item-name {
    font-weight: 500;
    color: #4b2e2e;
  }
  
  .menu-list .item-price {
    color: #9b5a3c;
    font-weight: 500;
    margin-bottom: 6px;
  }

  #menu h2,
  #contact h2 {
    text-align: center;
  }
  


  #menu h2 span,
  #contact h2 span {
    display: inline-block;
    border-bottom: 2px solid #e18a62;
    font-size: 2rem;
    padding-bottom: 5px;
  }

  #contact,
  #commercial {
    background-color: #bd825d;
    color: white;
  }

  #contact a,
  #commercial a {
    color: #fff;
    text-decoration: underline;
  }

  #contact input,
  #contact textarea {
    background-color: #fff;
    color: #333;
  }

  .contact-form-container {
    margin-top: 30px;
    background-color: white;
    color: #4b2e2e !important; /* Force override of white text */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 30px auto 0 auto;
  }
  
  .contact-form-container h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
  }
  
  .contact-form-container label {
    font-weight: 500;
    margin-top: 10px;
  }
  
  .contact-form-container input,
  .contact-form-container textarea {
    font-size: 16px;
    width: 100%;
    margin-top: 6px;
    border: 1px solid #d4a373;
    border-radius: 6px;
    padding: 12px;
    transition: border-color 0.3s;
  }
  
  .contact-form-container input:focus,
  .contact-form-container textarea:focus {
    border-color: var(--secondary);
    outline: none;
  }
  
  .contact-form-container button {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
  }

  .icon-left,
  .icon-right {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin: 0 10px;
  }

  @media (max-width: 600px) {
    header h1 {
      font-size: 1.8rem;
    }
  
    nav ul {
      flex-direction: row; /* ✅ This keeps it horizontal */
      flex-wrap: wrap;
      gap: 15px;
    }

    nav ul li a {
      padding: 10px;
      display: inline-block;
    }
  
    .story-flex {
      flex-direction: column;
      text-align: center;
    }
  
    .gallery-scroll {
      padding-bottom: 15px;
      gap: 15px;
    }
  
    .gallery-scroll img {
      height: 200px;
      width: 200px;
    }
  
    .menu-list li {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .menu-list .item-price {
      margin-top: 5px;
    }
  
    section {
      padding: 30px 15px;
    }
  }