/* ============================================
   VEGANFOOD.IE — Ireland's Vegan Directory
   Colour Palette:
   - Forest Green:   #2D6A4F
   - Green Mid:      #40916C
   - Warm Amber:     #E9A319
   - Amber Dark:     #C88A14
   - Warm White:     #FAFAF5
   - Mid-grey:       #6B7280
============================================ */

:root {
    --green: #2D6A4F;
    --green-mid: #40916C;
    --amber: #E9A319;
    --amber-dark: #C88A14;
    --cream: #FAFAF5;
    --charcoal: #1A1A1A;
    --mid-grey: #6B7280;
    --radius: 8px;
    --radius-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--charcoal); line-height: 1.6; background: #fff; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; transition: all 0.2s; cursor: pointer; border: none; }
.btn-primary { background: var(--amber); color: #fff; }
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn-secondary { background: transparent; border: 2px solid rgba(255,255,255,0.3); color: #fff; }
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* HEADER */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(45,106,79,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; font-weight: 700; color: #fff; }
.logo-icon { font-size: 1.4rem; }
.logo-text { color: #fff; }
.logo-dot { color: var(--amber); }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.main-nav a:hover { color: #fff; }
.nav-cta { background: var(--amber); color: #fff !important; padding: 8px 20px; border-radius: var(--radius); font-weight: 600; }
.nav-cta:hover { background: var(--amber-dark); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* HERO */
.hero { padding: 140px 0 80px; background: linear-gradient(135deg, #1B4332 0%, var(--green) 50%, var(--green-mid) 100%); color: #fff; position: relative; overflow: hidden; }
.hero-bg-pattern { position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(233,163,25,0.08) 0%, transparent 50%), radial-gradient(circle at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 40%); }
.hero .container { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(233,163,25,0.15); border: 1px solid rgba(233,163,25,0.4); color: var(--amber); font-size: 0.85rem; font-weight: 600; padding: 6px 16px; border-radius: 99px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.hero-accent { color: var(--amber); }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.8); max-width: 580px; margin-bottom: 36px; line-height: 1.65; }

/* SEARCH BAR */
.hero-search { margin-bottom: 48px; }
.search-bar { display: flex; gap: 0; background: #fff; border-radius: var(--radius-lg); padding: 6px; max-width: 640px; box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
.search-select { flex: 1; padding: 14px 16px; border: none; background: transparent; font-size: 0.95rem; color: var(--charcoal); font-family: inherit; cursor: pointer; appearance: auto; }
.search-select:focus { outline: none; }
.search-btn { white-space: nowrap; border-radius: var(--radius) !important; }

.hero-stats { display: flex; align-items: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 20px 32px; width: fit-content; }
.stat { text-align: center; padding: 0 28px; }
.stat strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--amber); }
.stat span { font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* RESTAURANT CARDS */
.restaurants { padding: 80px 0; background: #fff; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; text-align: center; }
.section-sub { text-align: center; color: var(--mid-grey); font-size: 1.05rem; margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }
.restaurant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.restaurant-card { background: #fff; border: 1px solid #E5E7EB; border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; position: relative; }
.restaurant-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.card-badge { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 99px; font-size: 0.75rem; font-weight: 600; color: #fff; z-index: 2; }
.badge-vegan { background: var(--green); }
.badge-friendly { background: var(--green-mid); }
.badge-fine { background: #7C3AED; }
.card-body { padding: 44px 20px 20px; }
.card-body h3 { font-size: 1.15rem; margin-bottom: 4px; }
.card-location { font-size: 0.85rem; color: var(--mid-grey); margin-bottom: 10px; }
.card-desc { font-size: 0.9rem; color: #4B5563; line-height: 1.55; margin-bottom: 14px; }
.card-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.card-rating { font-size: 0.85rem; color: var(--amber-dark); font-weight: 600; }
.card-rating small { color: var(--mid-grey); font-weight: 400; }
.card-tag { font-size: 0.75rem; background: var(--cream); color: var(--green); padding: 3px 10px; border-radius: 99px; font-weight: 500; }

/* HOW IT WORKS */
.how-it-works { padding: 80px 0; background: var(--cream); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.step-card { background: #fff; border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.step-number { width: 56px; height: 56px; background: var(--amber); color: #fff; font-size: 1.5rem; font-weight: 800; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.step-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--green); }
.step-card p { font-size: 0.95rem; color: var(--mid-grey); line-height: 1.6; }

/* CITY GUIDES */
.cities { padding: 80px 0; background: #fff; }
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.city-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; background: var(--green); display: flex; align-items: flex-end; transition: transform 0.2s; }
.city-card:hover { transform: translateY(-3px); }
.city-dublin { background: linear-gradient(135deg, #1B4332, #2D6A4F); }
.city-cork { background: linear-gradient(135deg, #7C3AED, #A855F7); }
.city-galway { background: linear-gradient(135deg, #0369A1, #0EA5E9); }
.city-belfast { background: linear-gradient(135deg, #B45309, #D97706); }
.city-limerick { background: linear-gradient(135deg, #BE123C, #F43F5E); }
.city-waterford { background: linear-gradient(135deg, #4338CA, #6366F1); }
.city-overlay { padding: 24px; width: 100%; background: linear-gradient(transparent, rgba(0,0,0,0.5)); color: #fff; }
.city-overlay h3 { font-size: 1.4rem; font-weight: 700; }
.city-overlay span { font-size: 0.9rem; opacity: 0.8; }

/* BRANDS */
.brands { padding: 80px 0; background: var(--cream); }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.brand-card { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.brand-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--green); }
.brand-card p { font-size: 0.9rem; color: #4B5563; line-height: 1.55; margin-bottom: 12px; }
.brand-tag { font-size: 0.75rem; background: rgba(45,106,79,0.1); color: var(--green); padding: 4px 12px; border-radius: 99px; font-weight: 600; }

/* STATS BANNER */
.stats-banner { padding: 60px 0; background: linear-gradient(135deg, #1B4332 0%, var(--green) 100%); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-block strong { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--amber); margin-bottom: 4px; }
.stat-block span { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* LIST YOUR BUSINESS */
.list-business { padding: 80px 0; background: #fff; }
.list-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.list-text h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; }
.list-text p { color: var(--mid-grey); font-size: 1.05rem; line-height: 1.65; margin-bottom: 24px; }
.list-benefits { list-style: none; padding: 0; }
.list-benefits li { padding: 8px 0; padding-left: 28px; position: relative; font-size: 0.95rem; color: #4B5563; }
.list-benefits li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.list-form { background: var(--cream); padding: 32px; border-radius: var(--radius-lg); border: 1px solid #E5E7EB; }
.list-form h3 { font-size: 1.2rem; margin-bottom: 20px; text-align: center; }
.list-form input,
.list-form select,
.list-form textarea { width: 100%; padding: 12px 16px; border: 1px solid #D1D5DB; border-radius: var(--radius); font-size: 0.95rem; font-family: inherit; margin-bottom: 12px; background: #fff; }
.list-form input:focus,
.list-form select:focus,
.list-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,106,79,0.1); }
.form-note { font-size: 0.8rem; color: var(--mid-grey); text-align: center; margin-top: 10px; }

/* NEWSLETTER */
.newsletter { padding: 64px 0; background: var(--cream); }
.newsletter h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.newsletter p { color: var(--mid-grey); margin-bottom: 24px; }
.newsletter-row { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.newsletter-row input { flex: 1; padding: 14px 16px; border: 1px solid #D1D5DB; border-radius: var(--radius); font-size: 0.95rem; font-family: inherit; }
.newsletter-row input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,106,79,0.1); }

/* FOOTER */
.site-footer { background: #111; color: rgba(255,255,255,0.7); padding: 56px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand p { margin-top: 12px; font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.5); }
.footer-links-group h4 { color: #fff; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-links-group a { display: block; font-size: 0.9rem; margin-bottom: 10px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links-group a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom nav a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom nav a:hover { color: rgba(255,255,255,0.7); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .main-nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--green); padding: 20px 24px; gap: 16px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .main-nav.active { display: flex; }
    .nav-toggle { display: block; }
    .search-bar { flex-direction: column; gap: 8px; padding: 12px; }
    .search-select { padding: 12px; }
    .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
    .stat { padding: 8px 0; }
    .stat-divider { width: 60px; height: 1px; }
    .steps-grid { grid-template-columns: 1fr; }
    .city-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .list-inner { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
    .city-grid { grid-template-columns: 1fr; }
    .restaurant-grid { grid-template-columns: 1fr; }
    .newsletter-row { flex-direction: column; }
}
