/* ====================================================
   CARLOG CATTLE COMPANY — Shared Design System
   Fonts loaded via <link> in each HTML page head.
   ==================================================== */

:root {
    --gold: #D4AF37;
    --navy-bg: #001F3F;
    --navy-light: #003366;
    --light-bg: #FAFAF8;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --accent-orange: #E85D04;
    --border-gold: rgba(212, 175, 55, 0.3);
}

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

body {
    font-family: 'Lora', serif;
    background: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===== HEADER ===== */
header {
    background: white;
    border-bottom: 2px solid var(--border-gold);
    padding: 1.5rem 2%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img { height: 50px; width: auto; }

nav { display: flex; gap: 2.5rem; }

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav a:hover,
nav a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

nav a.nav-subscriber {
    color: var(--gold);
    font-weight: 600;
}

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

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .hamburger { display: flex; }
    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem 2%;
        border-top: 2px solid var(--border-gold);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        gap: 0;
        z-index: 999;
    }
    nav.open { display: flex; }
    nav a {
        padding: 0.9rem 0;
        border-bottom: 1px solid var(--border-gold);
        font-size: 1rem;
    }
    nav a:last-child { border-bottom: none; }
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, rgba(0,31,63,0.92) 0%, rgba(0,51,102,0.92) 100%), url('/lifestyle-7.jpg') center/cover no-repeat;
    background-attachment: fixed;
    color: #ccc;
    padding: 3rem 2%;
    text-align: center;
}

.footer-container { max-width: 1200px; margin: 0 auto; }

footer h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

footer p { font-size: 0.95rem; margin-bottom: 0.5rem; }
footer .footer-sub { color: #999; font-size: 0.85rem; margin-top: 0.25rem; }

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer-contact a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-contact a:hover { color: var(--accent-orange); }

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212,175,55,0.15);
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 2px;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s;
}

.social-btn:hover { background: var(--gold); color: var(--navy-bg); }
.social-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ===== PAGE HERO (interior pages) ===== */
.page-hero {
    padding: 5rem 2%;
    color: white;
    text-align: center;
    background-attachment: fixed;
}

.page-hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-hero .section-tag { color: var(--gold); }

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.page-hero p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .page-hero { padding: 3.5rem 2%; }
    .page-hero h1 { font-size: 2.2rem; }
}

/* ===== SHARED UTILITIES ===== */
.section-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
    display: block;
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
.section-heading.light { color: white; }

.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: var(--navy-bg);
    text-decoration: none;
    padding: 0.85rem 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 2px solid var(--gold);
    cursor: pointer;
}

.btn-gold:hover { background: white; border-color: white; color: var(--navy-bg); }

.btn-navy {
    display: inline-block;
    background: transparent;
    color: var(--gold);
    text-decoration: none;
    padding: 0.85rem 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 2px solid var(--gold);
    cursor: pointer;
}

.btn-navy:hover { background: var(--gold); color: var(--navy-bg); }
