@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    /* Color Palette: Warm Acoustic (No Blue) */
    --bg-color: #F7F4F0; /* Cream / Off-white */
    --bg-card: #FFFFFF;
    --text-main: #222222; /* Dark Charcoal */
    --text-light: #555555; /* Medium Gray */
    --primary: #1B3B36; /* Deep Forest Green */
    --primary-hover: #132a26;
    --accent: #E59A54; /* Warm Amber */
    --accent-hover: #cf8643;
    --footer-bg: #0d1e1c;
    --border-color: #E2DDD5;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --border-radius: 8px;
    --shadow-sm: 0 2px 8px rgba(27, 59, 54, 0.05);
    --shadow-md: 0 8px 24px rgba(27, 59, 54, 0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Header & Navigation (Slim & Not Sticky) */
.site-header {
    background-color: var(--bg-card);
    padding: 15px 5%;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo:hover {
    color: var(--primary-hover);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background-color: var(--primary);
    color: #fff;
    padding: 80px 5%;
    text-align: center;
}

.hero h1 {
    color: #fff;
    font-size: 3.5rem;
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--bg-color);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Card Grid Layout Engine */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Card Architecture */
.card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    flex: 1;
}

/* Detail Pages */
.detail-header {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.detail-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.detail-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.detail-content h2 {
    margin-top: 40px;
    font-size: 2rem;
}

.detail-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.detail-content li {
    margin-bottom: 10px;
}

.detail-content p {
    margin-bottom: 20px;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* Footer (Mandatory across all pages) */
.site-footer {
    background-color: var(--footer-bg);
    color: #e0e0e0;
    padding: 60px 5% 30px;
    margin-top: auto;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #a0a0a0;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #888;
}

/* Cookie Consent Pop-up */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    padding: 20px 5%;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    border-top: 1px solid var(--border-color);
    display: none; /* Controlled by JS */
}

.cookie-content p {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.cookie-content a {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: var(--shadow-sm);
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero h1 { font-size: 2.2rem; }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .section { padding: 50px 0; }
    .hero { padding: 50px 5%; }
    .hero h1 { font-size: 1.8rem; }
}