/* style.css */
:root {
    --primary-green: #144533; 
    --light-green: #1e5e46;
    --bg-white: #FFFFFF;
    --bg-offwhite: #F4F6F4;
    --text-dark: #112218;
    --text-muted: #5A6D63;
    --border-light: #D1D9D4;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 600; color: var(--primary-green); }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
a:hover { color: var(--light-green); }

/* Navbar */
nav {
    position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between;
    align-items: center; padding: 20px 50px; background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.logo { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--primary-green); letter-spacing: 2px; font-weight: 700; }
.nav-links { display: flex; gap: 30px; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; color: var(--primary-green); font-weight: 500; }
.btn-invite {
    border: 1px solid var(--primary-green); background-color: var(--bg-white);
    padding: 10px 20px; color: var(--primary-green); text-transform: uppercase;
    font-size: 0.85rem; letter-spacing: 1px; font-weight: 600; transition: all 0.3s ease;
}
.btn-invite:hover { background-color: var(--primary-green); color: var(--bg-white); }

/* Hero Section */
.hero {
    min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,1) 100%), 
    url('https://images.unsplash.com/photo-1559339352-11d035aa65de?q=80&w=2000&auto=format&fit=crop') center/cover;
    padding: 120px 20px 60px;
}
.hero h1 { font-size: 4rem; margin-bottom: 20px; letter-spacing: 2px; color: var(--primary-green); }
.hero p { font-size: 1.1rem; color: var(--text-dark); max-width: 650px; margin-bottom: 20px; font-weight: 400; }

/* Subpage Wrapper (For the 4 new pages) */
.page-wrapper { padding-top: 150px; min-height: calc(100vh - 200px); }

/* Search Bar */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.search-container { margin-top: 40px; width: 100%; max-width: 900px; animation: fadeInUp 1s ease-out forwards; }
.search-bar { display: flex; align-items: center; background-color: var(--bg-white); border-radius: 50px; padding: 10px 10px 10px 30px; box-shadow: 0 20px 40px rgba(20, 69, 51, 0.15); border: 1px solid rgba(20, 69, 51, 0.05); position: relative; }
.search-field { display: flex; flex-direction: column; flex: 1; text-align: left; padding: 10px 20px; border-radius: 30px; cursor: pointer; transition: background-color 0.3s ease; position: relative; }
.search-field:hover { background-color: var(--bg-offwhite); }
.search-field label { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1rem; color: var(--primary-green); margin-bottom: 4px; pointer-events: none; }
.search-field input[type="text"] { border: none; outline: none; background: transparent; font-family: 'Montserrat', sans-serif; font-size: 0.95rem; color: var(--text-dark); font-weight: 400; width: 100%; cursor: pointer; }
.search-field input::placeholder { color: var(--text-muted); opacity: 0.7; }

/* Custom Dropdowns */
.custom-select-trigger { display: flex; align-items: center; justify-content: space-between; font-family: 'Montserrat', sans-serif; font-size: 0.95rem; color: var(--text-dark); width: 100%; }
.custom-select-trigger span.placeholder { color: var(--text-muted); opacity: 0.7; }
.custom-arrow { width: 14px; height: 14px; background-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%23144533" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><polyline points="6 9 12 15 18 9"/></svg>'); background-repeat: no-repeat; background-position: center; transition: transform 0.3s ease; }
.search-field.active .custom-arrow { transform: rotate(180deg); }
.custom-options { position: absolute; top: calc(100% + 15px); left: 0; width: 100%; min-width: 200px; background: var(--bg-white); border-radius: 16px; box-shadow: 0 15px 40px rgba(20, 69, 51, 0.15); list-style: none; padding: 10px 0; z-index: 1001; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; max-height: 250px; overflow-y: auto; }
.custom-options::-webkit-scrollbar { width: 6px; }
.custom-options::-webkit-scrollbar-thumb { background-color: var(--border-light); border-radius: 10px; }
.search-field.active .custom-options { opacity: 1; visibility: visible; transform: translateY(0); }
.custom-options li { padding: 12px 25px; font-family: 'Montserrat', sans-serif; font-size: 0.95rem; color: var(--text-dark); cursor: pointer; transition: all 0.2s ease; }
.custom-options li:hover { background: var(--bg-offwhite); color: var(--primary-green); font-weight: 500; padding-left: 30px; }
.custom-options li.selected { background: var(--primary-green); color: var(--bg-white); font-weight: 500; }
.search-divider { width: 1px; height: 40px; background-color: var(--border-light); margin: 0 10px; }
.search-btn { background-color: var(--primary-green); color: var(--bg-white); border: none; border-radius: 50px; padding: 15px 35px; display: flex; align-items: center; gap: 10px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all 0.3s ease; height: 60px; min-width: 150px; justify-content: center; }
.search-btn:hover { background-color: var(--light-green); box-shadow: 0 5px 15px rgba(20, 69, 51, 0.3); }
.search-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Flatpickr Theme */
.flatpickr-calendar { font-family: 'Montserrat', sans-serif !important; box-shadow: 0 15px 40px rgba(20, 69, 51, 0.15) !important; border: none !important; border-radius: 16px !important; padding: 10px !important; }
.flatpickr-day.selected { background: var(--primary-green) !important; border-color: var(--primary-green) !important; }
.flatpickr-current-month .flatpickr-monthDropdown-months, .flatpickr-current-month .numInputWrapper { font-family: 'Playfair Display', serif !important; color: var(--primary-green) !important; font-size: 1.2rem !important; font-weight: 600 !important; }
.flatpickr-time { border-top: 1px solid var(--border-light) !important; margin-top: 10px !important; }
.flatpickr-time input:hover, .flatpickr-time .flatpickr-am-pm:hover { background: var(--bg-offwhite) !important; }

/* Results Section */
.results-section { padding: 100px 20px; background-color: var(--bg-white); display: none; }
.restaurant-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.restaurant-card { border: 1px solid var(--border-light); border-radius: 12px; overflow: hidden; background-color: var(--bg-white); transition: all 0.4s ease; }
.restaurant-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(20, 69, 51, 0.1); border-color: var(--primary-green); }
.rest-image { height: 250px; background-size: cover; background-position: center; position: relative; }
.premium-badge { position: absolute; top: 15px; right: 15px; background: var(--primary-green); color: var(--bg-white); padding: 5px 12px; font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 600; letter-spacing: 1.5px; border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.rest-info { padding: 25px; }
.rest-info h3 { font-size: 1.5rem; margin-bottom: 8px; color: var(--text-dark); }
.rest-info p { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; margin-bottom: 20px; }
.book-btn { background: transparent; border: 1px solid var(--primary-green); color: var(--primary-green); padding: 12px 20px; width: 100%; cursor: pointer; transition: 0.3s; text-transform: uppercase; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; border-radius: 50px; }
.book-btn:hover { background: var(--primary-green); color: var(--bg-white); }

/* Shared Sections */
section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.5rem; color: var(--primary-green); margin-bottom: 20px; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 700px; margin: 0 auto 60px; font-size: 1rem; }

.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.philosophy-text p { margin-bottom: 20px; color: var(--text-muted); font-size: 1.05rem; }
.philosophy-text strong { color: var(--primary-green); font-family: 'Playfair Display', serif; font-size: 1.2rem; }
.image-box { background: url('https://images.unsplash.com/photo-1600565193348-f74bd3c7ccdf?q=80&w=1000&auto=format&fit=crop') center/cover; height: 400px; border-radius: 4px; box-shadow: 0 10px 30px rgba(20, 69, 51, 0.1); }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature-card { background-color: var(--bg-white); padding: 40px 30px; border: 1px solid var(--border-light); transition: all 0.4s ease; position: relative; }
.feature-card.no-border { border: none; padding: 20px; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--primary-green); box-shadow: 0 15px 30px rgba(20, 69, 51, 0.05); }
.feature-card.no-border:hover { border-color: transparent; box-shadow: none; transform: translateY(-5px); }
.feature-number { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-style: italic; color: var(--primary-green); opacity: 0.8; margin-bottom: 20px; }
.feature-number::after { content: ''; display: block; width: 30px; height: 1px; background-color: var(--primary-green); margin-top: 15px; opacity: 0.5; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 15px; letter-spacing: 0.5px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

.tiers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tier-card { border: 1px solid var(--border-light); padding: 40px 20px; text-align: center; background-color: var(--bg-white); transition: transform 0.4s ease; }
.tier-card:hover { transform: translateY(-5px); }
.tier-title { font-size: 1.5rem; color: var(--primary-green); margin-bottom: 5px; letter-spacing: 1px; }
.tier-subtitle { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.tier-card ul { list-style: none; text-align: left; margin-top: 20px; border-top: 1px solid var(--border-light); padding-top: 20px; }
.tier-card ul li { margin-bottom: 15px; font-size: 0.85rem; color: var(--text-muted); padding-left: 20px; position: relative; }
.tier-card ul li::before { content: '—'; position: absolute; left: 0; color: var(--primary-green); font-size: 0.8rem; font-weight: 300; }

.tier-platinum { background-color: var(--primary-green); border-color: var(--primary-green); color: var(--bg-white); box-shadow: 0 10px 30px rgba(20, 69, 51, 0.2); }
.tier-platinum .tier-title, .tier-platinum h4 { color: var(--bg-white); }
.tier-platinum .tier-subtitle { color: rgba(255,255,255,0.8); }
.tier-platinum ul { border-top-color: rgba(255,255,255,0.2); }
.tier-platinum ul li { color: rgba(255,255,255,0.9); }
.tier-platinum ul li::before { color: var(--bg-white); }

/* Footer */
footer { background-color: var(--primary-green); color: var(--bg-white); padding: 60px 20px; text-align: center; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--bg-white); margin-bottom: 20px; letter-spacing: 2px; }
.footer-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; font-size: 0.9rem; }
.footer-links a { color: rgba(255,255,255,0.8); }
.footer-links a:hover { color: var(--bg-white); }
.footer-copy { color: rgba(255,255,255,0.5); font-size: 0.8rem; }

/* Responsive */
@media (max-width: 992px) {
    .philosophy-grid { grid-template-columns: 1fr; gap: 30px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .tiers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    nav { padding: 15px 20px; } .logo { font-size: 1.4rem; } .nav-links { display: none; }
    .page-wrapper { padding-top: 100px; }
    .hero { padding: 100px 15px 40px; } .hero h1 { font-size: 2.2rem; }
    .search-bar { flex-direction: column; border-radius: 20px; padding: 15px; align-items: stretch; }
    .search-field { padding: 12px 15px; border-radius: 12px; }
    .search-divider { width: 100%; height: 1px; margin: 5px 0; }
    .search-btn { margin-top: 15px; justify-content: center; border-radius: 12px; }
    section { padding: 60px 20px; } .features-grid, .restaurant-grid, .tiers-grid { grid-template-columns: 1fr; }
    .footer-links { flex-direction: column; align-items: center; gap: 15px; }
}