/* ========== Base Reset & Typography ========== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: #f5efe5; /* warm tan */
    color: #2c2430;            /* dark charcoal */
}

/* Center the main content area */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 32px;
}

/* Headings */
h1,
h2,
h3,
h4 {
    margin: 0 0 0.5em;
    font-weight: 600;
    color: #3e1827; /* deep maroon */
}

/* Paragraphs */
p {
    margin: 0 0 1em;
}

/* Links */
a {
    color: #8b5a1f;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

/* ========== Header & Navigation ========== */

header {
    background-color: #3e1827; /* deep maroon */
    color: #fdf7ec;
    border-bottom: 3px solid #c9a24f; /* gold line */
}

/* Outer header layout */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
}

/* Branding block: logo + text */
.branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Logo sizing – bump this up if you want it even bigger */
.site-logo {
    display: block;
    height: 52px;      /* main desktop size */
    width: auto;
}

/* In case some pages temporarily don't have a logo */
.branding-text {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.site-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Nav container */
.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Nav buttons */
.main-nav a {
    display: inline-block;
    margin-left: 8px;
    margin-bottom: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    background-color: #fdf7ec;
    color: #3e1827;
    border: 1px solid #c9a24f;
    white-space: nowrap;
    text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus {
    background-color: #c9a24f;
    color: #241018;
}

/* ========== Hero / Landing Section ========== */

.hero {
    padding: 40px 0 32px;
    background: linear-gradient(135deg, #f5efe5 0%, #fdf7ec 50%, #f1e3cf 100%);
}

.hero .container,
.hero-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
}

/* Text block in hero */
.hero-text {
    flex: 1 1 320px;
    max-width: 720px;
}

.hero-kicker {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8b5a1f;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: 2rem;
    margin-bottom: 0.4rem;
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-signature-line {
    font-size: 0.95rem;
    font-style: italic;
    color: #4b1b2b;
    margin-bottom: 1.25rem;
}

/* Optional hero image */
.hero-image {
    flex: 0 0 260px;
    max-width: 260px;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

/* CTA buttons */
.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: #3e1827;
    color: #fdf7ec;
    border-color: #3e1827;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #5b2136;
}

.btn-secondary {
    background-color: transparent;
    color: #3e1827;
    border-color: #c9a24f;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #c9a24f;
    color: #241018;
}

/* ========== Generic Sections ========== */

.section {
    padding: 32px 0;
}

.section-alt {
    background-color: #f1e3cf;
}

.section-heading {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #c9a24f;
    padding-bottom: 0.25rem;
}

/* Narrower inner content for readability */
.section .content-narrow {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* Lists */
.section ul {
    margin: 0 0 1em 1.2em;
    padding: 0;
}

.section li {
    margin-bottom: 0.4em;
}

/* ========== Footer ========== */

footer {
    background-color: #3e1827;
    color: #fdf7ec;
    padding: 18px 0;
    font-size: 0.85rem;
    margin-top: 32px;
}

footer .container,
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

footer a {
    color: #f7e3a6;
    text-decoration: none;
}

footer a:hover,
footer a:focus {
    text-decoration: underline;
}

/* ========== Utilities ========== */

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.muted {
    color: #6b5d71;
    font-size: 0.9rem;
}

/* ========== Responsive ========== */

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .container {
        padding: 20px 18px;
    }

    .hero .container,
    .hero-inner {
        flex-direction: column;
    }

    .hero-text {
        max-width: 100%;
    }

    .site-logo {
        height: 42px; /* slightly smaller on mobile */
    }
}
