/*
Theme Name: Wildfire Ridge
Theme URI: https://wildfireridge.com
Author: Wildfire Ridge Inc.
Author URI: https://wildfireridge.com
Description: Custom theme for Wildfire Ridge Inc. — Soft Coated Wheaten Terriers & Whoodles, Webster MA. Est. 2003.
Version: 1.0
License: Private
Text Domain: wildfire-ridge

Colors:
- Deep Brown: #412402
- Warm Brown: #854F0B
- Soft Cream: #FAEEDA
- Golden Amber: #EF9F27
*/

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brown-dark: #412402;
    --brown-mid: #854F0B;
    --cream: #FAEEDA;
    --amber: #EF9F27;
    --white: #ffffff;
    --text-dark: #2C1A0E;
    --text-mid: #5C3A1E;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION
============================================ */
.site-header {
    background: var(--brown-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.site-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--amber);
    letter-spacing: 0.02em;
}

.site-logo a:hover {
    color: var(--cream);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.main-navigation ul li a {
    color: var(--cream);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: block;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a {
    background: var(--brown-mid);
    color: var(--amber);
}

.nav-cta a {
    background: var(--amber) !important;
    color: var(--brown-dark) !important;
    border-radius: 24px !important;
    padding: 8px 18px !important;
}

.nav-cta a:hover {
    background: var(--cream) !important;
    color: var(--brown-dark) !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--amber);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 4px;
}

/* ============================================
   HERO
============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown-mid) 100%);
    min-height: 540px;
    display: flex;
    align-items: center;
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section.has-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section.has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(65,36,2,0.85) 0%, rgba(133,79,11,0.75) 100%);
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    color: var(--amber);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    display: block;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    color: var(--cream);
    margin-bottom: 20px;
}

.hero-content .hero-sub {
    color: var(--cream);
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
============================================ */
.btn-primary,
.wp-block-button__link {
    background: var(--amber);
    color: var(--brown-dark) !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 32px;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.03em;
    border: none;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239,159,39,0.4);
    color: var(--brown-dark) !important;
}

.btn-secondary {
    background: transparent;
    color: var(--cream) !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 13px 32px;
    border-radius: 32px;
    border: 2px solid var(--cream);
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
    background: var(--cream);
    color: var(--brown-dark) !important;
}

/* ============================================
   ANNOUNCEMENT BANNER
============================================ */
.announcement-section {
    background: var(--amber);
    padding: 40px 0;
}

.announcement-box {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(65,36,2,0.15);
}

.announcement-icon {
    font-size: 3rem;
    flex-shrink: 0;
    line-height: 1;
}

.announcement-box h2 {
    font-size: 1.7rem;
    color: var(--brown-dark);
    margin-bottom: 8px;
}

.announcement-box p {
    color: var(--text-mid);
    margin-bottom: 20px;
}

/* ============================================
   SECTIONS
============================================ */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--cream);
}

.section-dark {
    background: var(--brown-dark);
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--brown-dark);
    margin-bottom: 12px;
}

.section-dark .section-title {
    color: var(--amber);
}

.section-sub {
    text-align: center;
    color: var(--text-mid);
    margin-bottom: 48px;
    font-size: 1.05rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FEATURES GRID
============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(65,36,2,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(65,36,2,0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--brown-dark);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ============================================
   TWO COLUMN LAYOUT
============================================ */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.two-col.reverse {
    direction: rtl;
}

.two-col.reverse > * {
    direction: ltr;
}

.two-col img,
.col-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(65,36,2,0.15);
}

.col-image-placeholder {
    width: 100%;
    height: 380px;
    background: var(--cream);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--brown-mid);
    box-shadow: 0 8px 32px rgba(65,36,2,0.1);
}

.content-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--brown-dark);
    margin-bottom: 16px;
}

.content-text p {
    color: var(--text-mid);
    margin-bottom: 16px;
    line-height: 1.75;
}

.content-text ul {
    list-style: none;
    margin-bottom: 24px;
}

.content-text ul li {
    color: var(--text-mid);
    padding: 7px 0 7px 28px;
    position: relative;
    line-height: 1.5;
}

.content-text ul li::before {
    content: "🐾";
    position: absolute;
    left: 0;
    font-size: 0.75rem;
    top: 10px;
}

/* ============================================
   PAGE HERO (inner pages)
============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown-mid) 100%);
    padding: 72px 24px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--cream);
    margin-bottom: 12px;
}

.page-hero p {
    color: var(--cream);
    opacity: 0.85;
    font-size: 1.1rem;
}

/* ============================================
   PRICING BOX
============================================ */
.pricing-box {
    background: var(--white);
    border: 2px solid var(--amber);
    border-radius: 20px;
    padding: 44px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 4px 32px rgba(65,36,2,0.1);
}

.pricing-box h2 {
    color: var(--brown-dark);
    font-size: 2rem;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--amber);
    font-family: 'Playfair Display', serif;
    margin: 12px 0 4px;
    line-height: 1;
}

.pricing-price span {
    font-size: 1.2rem;
    color: var(--text-mid);
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

.pricing-box > p {
    color: var(--text-mid);
    margin-bottom: 20px;
}

.pricing-box ul {
    list-style: none;
    margin: 20px 0 28px;
}

.pricing-box ul li {
    padding: 11px 0 11px 32px;
    border-bottom: 1px solid var(--cream);
    color: var(--text-mid);
    position: relative;
}

.pricing-box ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--amber);
    font-weight: 700;
    font-size: 1.1rem;
}

.disclaimer {
    background: var(--cream);
    border-left: 4px solid var(--amber);
    border-radius: 0 8px 8px 0;
    padding: 18px 22px;
    margin-top: 28px;
    font-size: 0.9rem;
    color: var(--text-mid);
    font-style: italic;
    line-height: 1.65;
}

/* ============================================
   GALLERY GRID
============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(65,36,2,0.12);
    background: var(--white);
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 36px rgba(65,36,2,0.18);
}

.gallery-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.gallery-card-caption {
    padding: 16px 20px;
    font-weight: 700;
    color: var(--brown-dark);
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
}

/* ============================================
   VIDEO
============================================ */
.video-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(65,36,2,0.18);
    margin-top: 32px;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   CONTACT FORM
============================================ */
.contact-form-wrap {
    background: var(--white);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 8px 40px rgba(65,36,2,0.12);
}

.contact-form-wrap h2 {
    color: var(--brown-dark);
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 6px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #E8D5C0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(239,159,39,0.15);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
    background: var(--brown-dark);
    color: var(--cream);
    padding: 64px 0 32px;
}

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

.footer-col h3 {
    color: var(--amber);
    font-size: 1.1rem;
    margin-bottom: 16px;
    font-family: 'Playfair Display', serif;
}

.footer-col p {
    color: var(--cream);
    opacity: 0.8;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

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

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

.footer-col ul li a {
    color: var(--cream);
    opacity: 0.8;
    font-size: 0.95rem;
    transition: opacity 0.2s, color 0.2s;
}

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

.footer-col a {
    color: var(--amber);
}

.footer-bottom {
    border-top: 1px solid rgba(250,238,218,0.2);
    padding-top: 24px;
    text-align: center;
    color: var(--cream);
    opacity: 0.5;
    font-size: 0.85rem;
}

/* ============================================
   WORDPRESS CORE OVERRIDES
============================================ */
.wp-block-image img {
    border-radius: 16px;
}

.aligncenter {
    text-align: center;
    margin: 0 auto;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 900px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .two-col.reverse {
        direction: ltr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--brown-dark);
        padding: 16px 24px 24px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
        z-index: 999;
    }
    
    .main-navigation.open {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 4px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .announcement-box {
        flex-direction: column;
    }
    
    .contact-form-wrap {
        padding: 28px 20px;
    }
    
    .pricing-box {
        padding: 28px 20px;
    }
    
    .hero-section {
        padding: 60px 24px;
        min-height: 420px;
    }
}
