
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Manrope:wght@400;500;700;800&display=swap');

:root {
    --c-primary: #8C271E; /* Deep Terracotta / Rust */
    --c-primary-dark: #661C15;
    --c-bg: #F4F1EA; /* Sand / Off-white */
    --c-bg-alt: #E8E4D9;
    --c-dark: #1A1C1A; /* Charcoal / Forest Dark */
    --c-forest: #2C3E2D; /* Deep Forest Green */
    --c-earth: #8C7A6B; /* Earthy brown/grey */
    --c-light: #FFFFFF;
    
    --f-display: 'Bebas Neue', sans-serif;
    --f-serif: 'Lora', serif;
    --f-body: 'Manrope', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: var(--f-body); 
    background-color: var(--c-bg); 
    color: var(--c-dark); 
    line-height: 1.6; 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4 { font-weight: normal; }
h1 { font-family: var(--f-display); font-size: clamp(3.5rem, 8vw, 8rem); line-height: 0.9; letter-spacing: 1px; text-transform: uppercase; }
h2 { font-family: var(--f-display); font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1; letter-spacing: 1px; text-transform: uppercase; }
h3 { font-family: var(--f-serif); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 500; }
h4 { font-family: var(--f-body); font-size: 1.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--c-primary); }
p { font-size: 1.1rem; color: #4A4A4A; max-width: 65ch; }
.lead { font-family: var(--f-serif); font-size: 1.5rem; color: var(--c-dark); line-height: 1.5; }

/* Layout & Utility */
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--spacing-sm); }
@media (min-width: 768px) { .container { padding: 0 var(--spacing-md); } }
.section { padding: var(--spacing-xl) 0; }
.section-sm { padding: var(--spacing-lg) 0; }
.grid { display: grid; gap: var(--spacing-md); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media(min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Header & Nav */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(244, 241, 234, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: var(--spacing-sm) 0;
    transition: transform 0.3s ease;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--f-display); font-size: 2.5rem; color: var(--c-dark); letter-spacing: 2px; }
.logo span { color: var(--c-primary); }
.nav-links { display: none; gap: var(--spacing-md); align-items: center; }
.nav-links a { font-family: var(--f-body); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--c-dark); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--c-primary); transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }
.mobile-toggle { display: block; background: none; border: none; cursor: pointer; display: flex; flex-direction: column; gap: 5px; z-index: 1001; }
.mobile-toggle span { display: block; width: 30px; height: 2px; background: var(--c-dark); transition: 0.3s; }
.mobile-nav {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: var(--c-dark); padding: var(--spacing-xl) var(--spacing-md);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999; display: flex; flex-direction: column; gap: var(--spacing-md);
}
.mobile-nav.open { right: 0; }
.mobile-nav a { color: var(--c-light); font-family: var(--f-display); font-size: 3rem; text-transform: uppercase; letter-spacing: 2px; }
.mobile-nav a:hover { color: var(--c-primary); }

@media(min-width: 1024px) {
    .nav-links { display: flex; }
    .mobile-toggle { display: none; }
    .mobile-nav { display: none !important; }
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1rem 2rem; font-family: var(--f-body); font-weight: 800;
    text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem;
    border: 2px solid var(--c-dark); background: transparent; color: var(--c-dark);
    cursor: pointer; transition: all 0.3s ease; border-radius: 0;
}
.btn-primary { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-light); }
.btn-primary:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); }
.btn-outline:hover { background: var(--c-dark); color: var(--c-light); }
.btn-light { border-color: var(--c-light); color: var(--c-light); }
.btn-light:hover { background: var(--c-light); color: var(--c-dark); }

/* Heroes */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; padding-bottom: var(--spacing-xl); overflow: hidden; background: var(--c-dark); color: var(--c-light); }
.hero-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; z-index: 0; }
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-content h1 { margin-bottom: var(--spacing-sm); color: var(--c-light); text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.hero-content p { color: #E8E4D9; font-size: 1.25rem; margin-bottom: var(--spacing-md); text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero.sm { min-height: 60vh; align-items: center; padding-bottom: 0; }

/* Components - Niche Specific */
.editorial-block { display: flex; flex-direction: column; gap: var(--spacing-md); align-items: center; }
@media(min-width: 1024px) { .editorial-block { flex-direction: row; gap: var(--spacing-xl); } }
.editorial-block.reverse { flex-direction: row-reverse; }
.editorial-img { width: 100%; flex: 1; position: relative; }
.editorial-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.editorial-img::before { content: ''; position: absolute; top: -15px; left: -15px; width: 100%; height: 100%; border: 2px solid var(--c-primary); z-index: -1; }
.editorial-text { flex: 1; padding: var(--spacing-md) 0; }
.editorial-text h2 { margin-bottom: var(--spacing-sm); }
.editorial-text p { margin-bottom: var(--spacing-sm); }

.product-card { display: flex; flex-direction: column; group: product; cursor: pointer; }
.product-img-wrapper { position: relative; overflow: hidden; aspect-ratio: 1/1; background: var(--c-bg-alt); margin-bottom: var(--spacing-sm); }
.product-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-img-wrapper img { transform: scale(1.05); }
.product-badge { position: absolute; top: 1rem; left: 1rem; background: var(--c-primary); color: white; padding: 0.2rem 0.8rem; font-family: var(--f-body); font-weight: 800; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; z-index: 2; }
.product-info { display: flex; justify-content: space-between; align-items: flex-start; }
.product-title { font-family: var(--f-display); font-size: 2rem; line-height: 1; margin-bottom: 0.5rem; }
.product-type { font-family: var(--f-serif); font-style: italic; color: var(--c-earth); font-size: 1rem; }
.product-price { font-family: var(--f-body); font-weight: 700; font-size: 1.2rem; }

.route-card { border: 1px solid var(--c-earth); display: flex; flex-direction: column; background: var(--c-light); transition: transform 0.3s ease; }
.route-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.route-img { height: 250px; overflow: hidden; }
.route-img img { width: 100%; height: 100%; object-fit: cover; }
.route-meta { display: flex; border-bottom: 1px solid var(--c-bg-alt); }
.route-meta > div { flex: 1; padding: 1rem; text-align: center; border-right: 1px solid var(--c-bg-alt); }
.route-meta > div:last-child { border-right: none; }
.route-meta span { display: block; font-family: var(--f-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--c-earth); margin-bottom: 0.2rem; }
.route-meta strong { font-family: var(--f-display); font-size: 1.5rem; line-height: 1; color: var(--c-dark); }
.route-content { padding: 2rem; }
.route-content h3 { font-family: var(--f-display); font-size: 2.5rem; margin-bottom: 0.5rem; }
.route-content p { font-size: 1rem; margin-bottom: 1.5rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.quote-section { background: var(--c-forest); color: var(--c-light); text-align: center; padding: var(--spacing-xl) 1rem; position: relative; }
.quote-section blockquote { font-family: var(--f-serif); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.2; max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
.quote-section blockquote::before { content: '"'; font-family: var(--f-display); font-size: 10rem; position: absolute; top: -4rem; left: 50%; transform: translateX(-50%); opacity: 0.1; color: var(--c-primary); z-index: -1; }
.quote-author { display: block; margin-top: 2rem; font-family: var(--f-body); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; color: var(--c-primary); }

.stat-banner { background: var(--c-dark); color: var(--c-light); padding: var(--spacing-lg) 0; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--f-display); font-size: 4rem; color: var(--c-primary); line-height: 1; }
.stat-label { font-family: var(--f-body); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; font-weight: 700; color: #aaa; }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-family: var(--f-body); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; margin-bottom: 0.5rem; }
.form-control { width: 100%; padding: 1rem; background: transparent; border: 1px solid var(--c-earth); font-family: var(--f-body); font-size: 1rem; color: var(--c-dark); transition: border-color 0.3s; }
.form-control:focus { outline: none; border-color: var(--c-primary); }
textarea.form-control { min-height: 150px; resize: vertical; }

/* Footer */
.site-footer { background: var(--c-dark); color: #888; padding: var(--spacing-xl) 0 var(--spacing-md); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: var(--spacing-lg); border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: var(--spacing-lg); margin-bottom: var(--spacing-lg); }
@media(min-width: 768px) { .footer-top { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand h2 { color: var(--c-light); margin-bottom: 1rem; }
.footer-brand p { color: #888; }
.footer-links h4 { color: var(--c-light); margin-bottom: 1.5rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links a:hover { color: var(--c-primary); }
.footer-bottom { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; text-align: center; }
@media(min-width: 768px) { .footer-bottom { flex-direction: row; text-align: left; } }

/* Modals & Popups */
.modal-overlay { position: fixed; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 2000; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.modal-overlay.active { display: flex; opacity: 1; }
.modal-content { background: var(--c-bg); padding: var(--spacing-md); width: 90%; max-width: 500px; position: relative; border: 4px solid var(--c-dark); }
.modal-close { position: absolute; top: 10px; right: 15px; font-size: 2rem; font-family: var(--f-body); cursor: pointer; line-height: 1; }
