/* --- Variables --- */
:root {
    --color-terra: #cd7f32;     /* Bronze / Terra */
    --color-terra-dark: #8b4513;
    --color-sand: #fdf5e6;      /* Old Lace */
    --color-orange: #ff7f50;    /* Sunrise Orange */
    --color-text: #4b3621;      /* Dark Coffee */
    --color-white: #ffffff;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Raleway', sans-serif;
    
    --radius: 10px;
    --shadow: 0 5px 20px rgba(75, 54, 33, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--color-sand);
    color: var(--color-text);
    line-height: 1.7;
    background-image: url('https://www.transparenttextures.com/patterns/cream-paper.png'); /* Subtle texture */
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: var(--radius); }

.container { width: 90%; max-width: 1100px; margin: 0 auto; }

/* --- Sunrise Bar --- */
.sunrise-bar { background: linear-gradient(to right, #ff7f50, #ff4500); color: #fff; text-align: center; padding: 8px 0; font-size: 0.9rem; }

/* --- Header --- */
.cappa-header { background-color: rgba(253, 245, 230, 0.95); padding: 20px 0; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; border-bottom: 2px solid var(--color-terra); backdrop-filter: blur(5px); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--color-text); letter-spacing: 1px; }
.orange-text { color: var(--color-orange); }

.earth-nav ul { display: flex; gap: 25px; align-items: center; }
.earth-nav a { font-weight: 600; color: var(--color-text); font-size: 1rem; }
.earth-nav a:hover, .earth-nav a.active { color: var(--color-terra); }

.btn-terra { background-color: var(--color-terra); color: var(--color-white) !important; padding: 10px 25px; border-radius: 30px; font-weight: bold; font-family: var(--font-heading); letter-spacing: 1px; }
.btn-terra:hover { background-color: var(--color-terra-dark); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.mobile-toggle span { width: 25px; height: 3px; background-color: var(--color-terra); border-radius: 2px; }

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 250px; height: 100%;
    background-color: var(--color-sand); z-index: 2000;
    display: flex; flex-direction: column; padding: 40px; gap: 20px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1); transition: 0.4s ease; border-left: 3px solid var(--color-terra);
}
.mobile-menu.active { right: 0; }
.close-menu { align-self: flex-end; font-size: 1.5rem; color: var(--color-terra); background: none; border: none; cursor: pointer; }
.mobile-menu a { font-family: var(--font-heading); font-size: 1.2rem; color: var(--color-text); border-bottom: 1px solid rgba(75, 54, 33, 0.1); padding-bottom: 10px; }

/* --- Hero --- */
.hero-cappa {
    position: relative; height: 650px;
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-gradient { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(75, 54, 33, 0.3), rgba(253, 245, 230, 1)); z-index: 1; }

.hero-content { position: relative; z-index: 2; width: 100%; max-width: 800px; padding: 20px; color: var(--color-text); }
.script-font { font-family: 'Times New Roman', serif; font-style: italic; font-size: 1.5rem; color: var(--color-orange); display: block; margin-bottom: 10px; text-shadow: 0 0 10px rgba(255,255,255,0.8); }
.hero-content h1 { font-family: var(--font-heading); font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; color: #2a1b0e; text-shadow: 0 2px 10px rgba(255,255,255,0.5); }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; font-weight: 600; }

.activity-icons { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.act-item { display: flex; flex-direction: column; align-items: center; background: rgba(255,255,255,0.8); padding: 15px; border-radius: 15px; width: 100px; transition: 0.3s; box-shadow: var(--shadow); backdrop-filter: blur(5px); }
.act-item:hover { transform: translateY(-5px); background: #fff; }
.act-item .icon { font-size: 2rem; margin-bottom: 5px; }
.act-item span { font-size: 0.8rem; font-weight: bold; color: var(--color-terra-dark); }

/* --- Grid Section --- */
.section-padding { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--color-terra-dark); }
.divider-icon { font-size: 2rem; color: var(--color-orange); margin-top: 10px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.info-card { background-color: var(--color-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: 0.3s; border: 1px solid #eee; }
.info-card:hover { transform: scale(1.02); border-color: var(--color-orange); }
.info-card img { width: 100%; height: 250px; object-fit: cover; border-radius: 0; }
.card-body { padding: 25px; text-align: center; }
.card-body h3 { font-family: var(--font-heading); color: var(--color-terra); font-size: 1.5rem; margin-bottom: 10px; }
.card-body p { margin-bottom: 20px; font-size: 0.95rem; color: #666; }
.card-body a { color: var(--color-orange); font-weight: bold; border-bottom: 1px solid var(--color-orange); }

/* --- Quote --- */
.quote-section { background-color: var(--color-terra); color: var(--color-white); padding: 60px 0; text-align: center; margin-top: 50px; background-image: url('https://www.transparenttextures.com/patterns/sandpaper.png'); }
.quote-section blockquote { font-family: var(--font-heading); font-size: 2rem; font-style: italic; }

/* --- Valleys (About) --- */
.page-title { text-align: center; margin-bottom: 60px; }
.page-title h1 { font-family: var(--font-heading); font-size: 3rem; color: var(--color-terra-dark); }

.valley-list { display: flex; flex-direction: column; gap: 60px; }
.valley-item { display: flex; align-items: center; gap: 40px; background: var(--color-white); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.valley-item.reverse { flex-direction: row-reverse; }
.v-img { flex: 1; }
.v-img img { height: 300px; width: 100%; object-fit: cover; border-radius: var(--radius); }
.v-text { flex: 1; padding: 20px; }
.v-text h2 { font-family: var(--font-heading); color: var(--color-terra); margin-bottom: 15px; }
.tag { background: var(--color-sand); color: var(--color-text); padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; display: inline-block; margin-top: 15px; border: 1px solid var(--color-terra); }

/* --- Diary (Testimonials) --- */
.diary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.diary-entry { background-color: #fff; padding: 30px; border-radius: var(--radius); border: 1px solid #e0d0c0; position: relative; }
.diary-entry::before { content: '✦'; position: absolute; top: 10px; right: 20px; font-size: 2rem; color: var(--color-orange); opacity: 0.3; }
.entry-date { font-family: var(--font-heading); color: var(--color-terra); font-size: 0.9rem; margin-bottom: 10px; display: block; }
.diary-entry h3 { font-family: var(--font-heading); margin-bottom: 15px; }
.diary-entry p { font-style: italic; color: #555; margin-bottom: 20px; }
.author { display: block; text-align: right; font-weight: bold; color: var(--color-terra-dark); }

/* --- Form --- */
.plan-wrapper { max-width: 800px; margin: 0 auto; background: var(--color-white); padding: 50px; border-radius: 20px; box-shadow: var(--shadow); border-top: 5px solid var(--color-terra); }
.plan-text { text-align: center; margin-bottom: 40px; }
.plan-text h2 { font-family: var(--font-heading); color: var(--color-terra-dark); }
.info-block { margin-top: 20px; background: var(--color-sand); padding: 15px; display: inline-block; border-radius: 10px; }

.terra-form .form-group { margin-bottom: 25px; }
.terra-form label { display: block; font-family: var(--font-heading); color: var(--color-text); margin-bottom: 5px; font-weight: bold; }
.terra-form input[type="text"], .terra-form input[type="email"] { width: 100%; padding: 12px; border: 1px solid #dcdcdc; border-radius: 5px; font-family: var(--font-body); background: #fafafa; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 15px; }
.checkbox-group label { font-family: var(--font-body); font-weight: normal; font-size: 0.95rem; cursor: pointer; }
.btn-submit { width: 100%; background-color: var(--color-terra); color: var(--color-white); padding: 15px; border: none; font-family: var(--font-heading); font-weight: bold; font-size: 1.1rem; cursor: pointer; border-radius: 5px; transition: 0.3s; }
.btn-submit:hover { background-color: var(--color-orange); }

/* --- Legal --- */
.info-doc { max-width: 800px; margin: 0 auto; background: var(--color-white); padding: 50px; border-radius: var(--radius); border: 1px solid #eee; }
.info-doc h1 { font-family: var(--font-heading); color: var(--color-terra-dark); text-align: center; }
.info-doc h3 { color: var(--color-orange); margin-top: 30px; margin-bottom: 10px; font-family: var(--font-heading); }

/* --- Footer --- */
.cappa-footer { background-color: var(--color-text); color: var(--color-sand); padding: 60px 0; margin-top: auto; text-align: center; }
.f-brand { font-family: var(--font-heading); font-size: 1.5rem; letter-spacing: 2px; margin-bottom: 20px; }
.f-social a { color: var(--color-orange); margin: 0 15px; }
.copyright { margin-top: 30px; font-size: 0.8rem; opacity: 0.5; }

@media (max-width: 992px) {
    .earth-nav { display: none; }
    .mobile-toggle { display: flex; }
    .hero-content h1 { font-size: 2.5rem; }
    .valley-item, .valley-item.reverse { flex-direction: column; }
    .diary-grid { grid-template-columns: 1fr; }
}