:root {
    --color-terra: #A0522D;     /* Sienna */
    --color-sand: #F5DEB3;      /* Wheat */
    --color-dark: #2F4F4F;      /* Dark Slate Gray */
    --color-text: #333333;
    --color-bg: #fffbf0;        /* Warm White */
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
    
    --sidebar-width: 280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    display: flex;
    min-height: 100vh;
}

/* --- Sidebar --- */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--color-dark);
    color: var(--color-sand);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    padding: 40px;
    z-index: 1000;
}

.brand { text-align: center; margin-bottom: 60px; }
.logo-icon { font-size: 3rem; margin-bottom: 10px; }
.brand h2 { font-family: var(--font-heading); letter-spacing: 3px; font-size: 1.5rem; line-height: 1.2; }

.side-nav ul { list-style: none; }
.side-nav li { margin-bottom: 20px; }
.side-nav a { text-decoration: none; color: #ccc; font-size: 1.1rem; transition: 0.3s; display: block; padding: 10px; border-radius: 4px; }
.side-nav a:hover, .side-nav a.active { color: var(--color-dark); background-color: var(--color-sand); font-weight: bold; }

.sidebar-footer { margin-top: auto; font-size: 0.8rem; text-align: center; opacity: 0.5; }

/* --- Mobile Header --- */
.mobile-header { display: none; background-color: var(--color-dark); color: var(--color-sand); padding: 15px 20px; justify-content: space-between; align-items: center; position: fixed; width: 100%; z-index: 2000; }
.logo-mobile { font-family: var(--font-heading); font-weight: bold; font-size: 1.2rem; }
.menu-toggle { background: none; border: none; color: var(--color-sand); font-size: 1.5rem; cursor: pointer; }

/* --- Main Content --- */
.content-area {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
}

/* Hero */
.hero-section {
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-section::after { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.4); }
.hero-text { position: relative; z-index: 1; color: #fff; padding: 20px; }
.subtitle { font-family: var(--font-heading); letter-spacing: 5px; color: var(--color-sand); display: block; margin-bottom: 10px; }
.hero-text h1 { font-family: var(--font-heading); font-size: 4rem; margin-bottom: 20px; }
.hero-text p { font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn-terra { background-color: var(--color-terra); color: #fff; padding: 15px 40px; text-decoration: none; font-weight: bold; border-radius: 2px; transition: 0.3s; }
.btn-terra:hover { background-color: #8b3a1d; }

/* Grid Section */
.grid-section { padding: 80px 5%; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--color-dark); }
.line { width: 80px; height: 3px; background-color: var(--color-terra); margin: 15px auto; }

.cards-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.info-card { background-color: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.05); overflow: hidden; transition: 0.3s; border-bottom: 4px solid transparent; }
.info-card:hover { transform: translateY(-5px); border-bottom-color: var(--color-terra); }
.info-card img { width: 100%; height: 250px; object-fit: cover; }
.card-body { padding: 30px; }
.card-body h3 { font-family: var(--font-heading); margin-bottom: 10px; color: var(--color-dark); }
.card-body a { color: var(--color-terra); text-decoration: none; font-weight: bold; margin-top: 15px; display: inline-block; }

/* Content Pages */
.page-content { padding: 80px 10%; max-width: 1000px; margin: 0 auto; }
.page-content h1 { font-family: var(--font-heading); font-size: 3rem; color: var(--color-dark); margin-bottom: 10px; border-left: 5px solid var(--color-terra); padding-left: 20px; }
.intro { font-size: 1.2rem; color: #666; margin-bottom: 50px; font-style: italic; padding-left: 25px; }

/* Timeline */
.timeline-item { border-left: 2px solid var(--color-terra); padding-left: 30px; margin-bottom: 40px; position: relative; }
.timeline-item::before { content: ''; width: 15px; height: 15px; background: var(--color-sand); border: 2px solid var(--color-terra); border-radius: 50%; position: absolute; left: -9px; top: 5px; }
.date { font-weight: bold; color: var(--color-terra); display: block; margin-bottom: 5px; }

/* Reviews */
.reviews-list { display: grid; gap: 30px; }
.review-card { background: #fff; padding: 40px; border: 1px solid #ddd; position: relative; }
.review-card.alt { background: var(--color-dark); color: var(--color-sand); }
.quote-icon { font-size: 3rem; font-family: serif; position: absolute; top: 10px; left: 20px; opacity: 0.2; }
.author { display: block; margin-top: 20px; font-weight: bold; text-align: right; }

/* Form */
.contact-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.info-box { background: var(--color-sand); padding: 20px; margin-top: 30px; color: var(--color-dark); }
.terra-form .form-group { margin-bottom: 20px; }
.terra-form label { display: block; margin-bottom: 5px; font-weight: bold; }
.terra-form input, .terra-form select, .terra-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; font-family: var(--font-body); }
.btn-submit { background-color: var(--color-dark); color: #fff; border: none; padding: 15px 30px; cursor: pointer; font-weight: bold; letter-spacing: 1px; }

/* Responsive */
@media (max-width: 992px) {
    .sidebar { display: none; }
    .mobile-header { display: flex; }
    .content-area { margin-left: 0; width: 100%; margin-top: 60px; }
    .sidebar.active { display: flex; width: 80%; box-shadow: 10px 0 30px rgba(0,0,0,0.5); }
    .hero-text h1 { font-size: 2.5rem; }
    .contact-container { grid-template-columns: 1fr; }
}