/* css/culinary-style.css */
/* Styles specifically for the Culinary Exploration page */

/* ===== Overall Page Theme ===== */
body.culinary-page {
    background-color: #FFFEFA; /* Soft, warm off-white background */
    color: #404040; /* Dark grey text for readability */
    font-family: 'Lato', sans-serif; /* Default body font */
    font-weight: 400;
    line-height: 1.7;
}

/* Ensure links fit the new theme */
body.culinary-page a {
    color: #B08D57; /* Muted gold/brass for links */
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

body.culinary-page a:hover,
body.culinary-page a:focus {
    color: #745d3a; /* Darker gold on hover */
    text-decoration: none;
}

/* Define CSS Variables specific to the culinary page */
body.culinary-page {
    --culinary-text-primary: #404040; /* Main dark text */
    --culinary-text-secondary: #666666; /* Lighter grey text */
    --culinary-accent: #B08D57;         /* Gold accent */
    --culinary-accent-dark: #745d3a;     /* Darker gold */
    --culinary-bg: #FFFEFA;             /* Main background */
    --culinary-bg-alt: #F8F6F0;         /* Alternate slightly darker bg */
    --culinary-border: #EAE8E1;         /* Border color */
}

/* ===== Header and Footer Overrides ===== */
/* Make header less intrusive */
body.culinary-page #header.scrolled {
    background-color: rgba(255, 254, 250, 0.9); /* Semi-transparent light background */
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--culinary-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

body.culinary-page #header .logo-text {
    color: var(--culinary-text-primary); /* Darker logo text */
}
body.culinary-page #header .logo-text:hover {
    color: var(--culinary-accent);
}

body.culinary-page #header .nav-link.back-link {
    color: var(--culinary-text-secondary);
    border: 1px solid var(--culinary-border); /* Use variable */
    border-radius: 4px; /* Match other styles */
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}
body.culinary-page #header .nav-link.back-link:hover {
    color: var(--culinary-accent-dark);
    border-color: var(--culinary-accent);
    background-color: rgba(176, 141, 87, 0.05);
}
body.culinary-page #header .nav-link.back-link i {
    margin-right: 0.4rem;
}

/* Adjust mobile nav background if needed */
@media (max-width: 767.98px) {
     body.culinary-page .nav-list {
         background-color: var(--culinary-bg); /* Light background for mobile nav */
         border-left: 1px solid var(--culinary-border);
     }
      body.culinary-page .nav-link {
          color: var(--culinary-text-secondary); /* Adjust mobile link color */
      }
      body.culinary-page .nav-link:hover,
      body.culinary-page .nav-link.active {
          color: var(--culinary-accent-dark);
      }
      /* Ensure back link looks okay on mobile nav */
      body.culinary-page .nav-list .nav-link.back-link {
          border: none;
          padding: 0.8rem 0; /* Match other mobile nav links */
          color: var(--culinary-text-secondary);
          background-color: transparent;
      }
       body.culinary-page .nav-list .nav-link.back-link:hover {
           color: var(--culinary-accent-dark);
       }
 }

/* Footer adjustments */
body.culinary-page #footer {
    background-color: var(--culinary-bg-alt); /* Slightly darker cream for footer */
    border-top: 1px solid var(--culinary-border);
    color: var(--culinary-text-secondary);
    padding: 1.5rem 0; /* Slightly less padding */
}
body.culinary-page #footer p {
    color: var(--culinary-text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}
body.culinary-page #footer .footer-link {
    color: var(--culinary-accent);
    font-weight: 500; /* Medium weight */
}
body.culinary-page #footer .footer-link:hover {
    color: var(--culinary-accent-dark);
}


/* ===== Culinary Header Section ===== */
.culinary-header {
    padding: clamp(4rem, 10vh, 6rem) 0 clamp(3rem, 7vh, 4rem) 0; /* Adjusted padding */
    text-align: center;
    border-bottom: 1px solid var(--culinary-border);
    margin-bottom: 0; /* Remove bottom margin, handled by next section's padding */
    position: relative; /* Needed for pseudo-elements if any */
}

/* Container for the SVG Logo */
.culinary-logo-container {
    width: 160px; /* Adjust as needed */
    max-width: 70%; /* Prevent extreme sizes */
    height: auto;
    margin: 0 auto 2rem auto; /* Centering and space below */
    line-height: 0; /* Prevent extra space */
}

/* Styling the SVG Logo itself */
.culinary-logo-svg {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s ease;
}

/* Override the SVG's internal fill color */
.culinary-logo-svg path {
     fill: var(--culinary-accent, #B08D57); /* Use the gold accent color */
}

/* Optional: Hover effect for logo */
.culinary-logo-container:hover .culinary-logo-svg {
    transform: scale(1.05);
}

/* Title styling */
.culinary-title {
    font-family: 'Playfair Display', serif; /* Elegant serif font */
    font-size: clamp(2.5rem, 6vw, 3.8rem); /* Responsive font size */
    color: var(--culinary-text-primary);
    font-weight: 700;
    margin-bottom: 0.5rem; /* Space below title */
    position: relative;
    display: inline-block; /* Allows centering of the underline */
    padding-bottom: 0.8rem;
}

/* Subtitle styling */
.culinary-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--culinary-text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem auto; /* Space below subtitle */
    font-weight: 400;
    line-height: 1.6;
}

/* Title underline */
.culinary-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px; /* Width of the underline */
    height: 2px;
    background-color: var(--culinary-accent); /* Gold accent color */
}

/* Restaurant Introduction in Header */
.restaurant-intro {
    max-width: 700px;
    margin: 1.5rem auto 0 auto; /* Space between subtitle and intro */
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--culinary-text-secondary);
}

.restaurant-intro p {
    margin-bottom: 0.75rem;
}
.restaurant-intro p:last-of-type {
    margin-bottom: 0; /* No margin on last paragraph */
}

.restaurant-intro strong {
    color: var(--culinary-text-primary);
    font-weight: 600; /* Use Outfit semibold if available */
}

.restaurant-intro em { /* For subarashii, etc. */
    font-style: italic;
    color: var(--culinary-accent-dark);
}

hr.intro-divider {
    border: 0;
    height: 1px;
    background-color: var(--culinary-border);
    width: 100px;
    margin: 2rem auto 0 auto; /* Space after intro text, before end of header padding */
}

/* ===== Michelin-Inspired Menu Styles ===== */

/* Menu Content Area */
.culinary-menu-content {
    padding: clamp(3rem, 8vw, 5rem) 0; /* Padding top and bottom */
    background-color: var(--culinary-bg); /* Ensures background consistency */
}

.menu-container {
    max-width: 800px; /* Control width for readability */
    margin: 0 auto;
}

/* Menu Category Styling */
.menu-category {
    text-align: center;
    margin-bottom: 3.5rem;
}

.menu-category-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: var(--culinary-accent-dark); /* Use darker gold for category */
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.6rem;
    letter-spacing: 1px;
    text-transform: uppercase; /* Optional: Uppercase for category */
}

.menu-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--culinary-accent);
}

/* Individual Menu Item Styling */
.menu-item {
    margin-bottom: 3rem; /* Generous spacing between items */
    padding-bottom: 2rem; /* Space before the border */
    border-bottom: 1px dashed var(--culinary-border); /* Subtle separator */
}

.menu-item:last-child {
    border-bottom: none; /* No border for the last item */
    margin-bottom: 0;
}

.menu-item-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    color: var(--culinary-text-primary);
    font-weight: 600; /* Slightly less bold than category */
    margin-bottom: 0.5rem;
}

.menu-item-ingredients {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    color: var(--culinary-accent); /* Gold for ingredients */
    margin-bottom: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-item-description {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: var(--culinary-text-secondary); /* Secondary text color */
    line-height: 1.8;
    font-weight: 300; /* Lighter weight for description */
    margin-bottom: 0; /* Remove default paragraph margin */
}

.menu-item-description em { /* For French/Japanese phrases */
    font-style: italic;
    color: var(--culinary-accent-dark);
}

/* ===== Gallery Section Styles (Original & Highlights) ===== */
/* Common styling for gallery container */
.culinary-gallery-highlights {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background-color: var(--culinary-bg-alt); /* Slightly different background */
    border-top: 1px solid var(--culinary-border);
}

.gallery-title {
     font-family: 'Playfair Display', serif;
     text-align: center;
     font-size: clamp(1.8rem, 4vw, 2.4rem);
     color: var(--culinary-accent-dark);
     margin-bottom: 3rem;
     font-weight: 700;
}

.culinary-gallery-grid {
    display: grid;
    /* Adjusted grid for highlights section */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Flexible columns */
    gap: 1.5rem; /* Slightly smaller gap */
}

.culinary-gallery-grid img {
    width: 100%;
    height: auto;
    /* Aspect ratio could be added back if desired, e.g., aspect-ratio: 4 / 3; */
    object-fit: cover;
    border-radius: 4px; /* Consistent radius */
    border: 1px solid var(--culinary-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
    display: block; /* Remove extra space below image */
}

.culinary-gallery-grid img:hover {
     transform: scale(1.03);
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
     cursor: pointer; /* Indicate interactivity */
}

/* ===== Back to Top Button Adjustment (Optional) ===== */
body.culinary-page .back-to-top {
    background: var(--culinary-accent);
    color: white; /* White icon on gold */
    box-shadow: 0 4px 10px rgba(176, 141, 87, 0.3); /* Shadow matching accent */
}
body.culinary-page .back-to-top:hover {
    background: var(--culinary-accent-dark);
    color: white;
    box-shadow: 0 6px 15px rgba(116, 93, 58, 0.4); /* Darker shadow */
}

/* ===== General Page Structure ===== */
/* Ensure main content has enough top padding below fixed header */
body.culinary-page .project-detail-main-content {
    padding-top: 80px; /* Adjust based on your actual fixed header height */
    /* Ensure it doesn't overlap footer */
    padding-bottom: 1px; /* Prevents margin collapse with footer */
    min-height: calc(100vh - 80px - 60px); /* Example: viewport - header - footer height */
    display: flex;
    flex-direction: column;
}
/* Push footer down if content is short */
body.culinary-page main > section:last-of-type {
    flex-grow: 1;
}


/* ===== Responsive Adjustments ===== */
@media (max-width: 767.98px) {
     .menu-container {
         max-width: 90%; /* More width on smaller screens */
     }
     .menu-item-title {
         font-size: clamp(1.2rem, 4vw, 1.4rem);
     }
     .menu-item-description {
         font-size: 0.9rem;
     }
      .culinary-gallery-grid {
          /* Adjust grid for mobile if needed, auto-fit usually works well */
          grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
          gap: 1rem;
      }
      body.culinary-page .project-detail-main-content {
          padding-top: 70px; /* Adjust if mobile header is shorter */
      }
 }

@media (max-width: 576px) {
    .culinary-header {
        padding: 3rem 0 2rem 0;
    }
    .culinary-logo-container {
        width: 120px; /* Smaller logo on small screens */
        margin-bottom: 1.5rem;
    }
     .culinary-title {
         font-size: clamp(2rem, 8vw, 2.5rem);
     }
     .culinary-subtitle {
         font-size: clamp(0.9rem, 3vw, 1rem);
         margin-bottom: 1.5rem;
     }
      .restaurant-intro {
          font-size: 0.9rem;
      }
     hr.intro-divider {
         margin-top: 1.5rem;
     }
     .culinary-menu-content, .culinary-gallery-highlights {
         padding: 2rem 0;
     }
     .menu-category-title {
          font-size: clamp(1.5rem, 5vw, 1.8rem);
          margin-bottom: 2.5rem;
     }
     .menu-item {
          margin-bottom: 2rem;
          padding-bottom: 1.5rem;
     }
     .gallery-title {
         font-size: clamp(1.5rem, 5vw, 1.8rem);
         margin-bottom: 2rem;
     }
     .culinary-gallery-grid {
         grid-template-columns: 1fr; /* Single column gallery on very small screens */
         gap: 1rem;
     }
}