:root {
    --primary: #7a9e8e;
    --secondary: #4a7c6f;
    --dark: #2c3e35;
    --light: #f5f0e8;
    --body-bg: #ffffff;
    --text-color: #2c3e35;
    --accent: #d4a373;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --border-radius: 12px;
}

body {
    background-color: var(--body-bg);
    color: var(--text-color);
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

.btn {
    border-radius: var(--border-radius);
    padding: 12px 28px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: var(--dark);
}

.btn-outline-secondary {
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline-secondary:hover {
    background-color: var(--secondary);
    color: #fff;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin-top: 15px;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 10px;
}

.text-small {
    font-size: 0.9rem;
}

img {
    max-width: 100%;
}

/* Header */
header .navbar {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header .nav-link {
    color: var(--dark);
    font-weight: 500;
    margin-right: 1rem;
    transition: color 0.3s;
}

header .nav-link:hover {
    color: var(--secondary);
}

header .navbar-brand img {
    max-height: 40px;
    width: auto;
}

/* Hero sections with background */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 160px 0;
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-section .hero-content h1 {
    font-size: 3.5rem;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
}

.hero-section .hero-content p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
    max-width: 600px;
}

/* Overlay for all sections with background image */
.bg-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}

/* Carousel custom styles */
.carousel-item {
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: left;
    left: 10%;
    right: 10%;
    color: #fff;
}

.carousel-caption h2 {
    font-size: 3rem;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
}

.carousel-indicators button {
    background-color: #fff;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    opacity: 0.7;
}

.carousel-indicators button.active {
    background-color: var(--accent);
    opacity: 1;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.3rem;
    color: var(--dark);
}

.card-text {
    color: #666;
}

/* Forms */
.form-control, .form-select {
    border-radius: 10px;
    padding: 14px 18px;
    border: 1px solid #ddd;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(122,158,142,0.25);
}

label {
    font-weight: 600;
    color: var(--dark);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: #fff;
}

footer a {
    color: #cbd5d0;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary);
    text-decoration: none;
}

footer .footer-title {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.35rem;
}

footer hr {
    border-color: rgba(255,255,255,0.2);
}

footer .contact-item {
    margin-bottom: 10px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 450px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    z-index: 1000;
    color: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.cookie-banner .cookie-banner-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-banner .cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-banner .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0;
    }
    .hero-section .hero-content h1 {
        font-size: 2.5rem;
    }
    .carousel-caption {
        left: 5%;
        right: 5%;
        bottom: 30%;
    }
    .carousel-caption h2 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 2rem;
    }
}
/* Accessibility / contrast overrides for service template */
.hero-card .hero-card-title{color:rgba(255,255,255,.95)!important}
.hero-card .lbl{color:rgba(255,255,255,.95)!important}
.price-card.featured{background-color:#16362a!important}
.hero-service h1,.hero-service .hero-desc,.eyebrow,.btn-brand-ghost{color:#fff!important}
@media(max-width:576px){.hero-service{padding-top:8.5rem!important}}

/* Hide dynamically-injected generator banner since a static site cookie banner is embedded in the HTML */
#generator-cookie-consent{display:none!important}
/* Static site cookie banner styling */
#site-cookie-consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:2147483000;display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1000px;margin:0 auto;padding:16px 20px;border-radius:12px;background:#171717;color:#fff;box-shadow:0 10px 35px rgba(0,0,0,.4);font:15px/1.5 Arial,sans-serif}
#site-cookie-consent p{margin:0;color:#fff;font-size:14px}
#site-cookie-consent .cookie-actions{display:flex;gap:10px;flex-shrink:0}
#site-cookie-consent button{border:1px solid #fff;border-radius:7px;padding:9px 16px;font:inherit;font-weight:700;cursor:pointer}
#site-cookie-consent #cookie-decline{background:transparent;color:#fff}
#site-cookie-consent #cookie-accept{background:#fff;color:#171717}
@media(max-width:640px){#site-cookie-consent{left:8px;right:8px;bottom:8px;align-items:stretch;flex-direction:column}#site-cookie-consent .cookie-actions{width:100%}#site-cookie-consent button{flex:1}}

/* Blog hero: provide a solid dark backdrop so the white hero text has sufficient contrast */
section[data-photo-slug="blog-hero"]{background-color:#1b4332 !important;}

/* Contrast overrides for section eyebrow labels (price page & service template) */
.text-uppercase.fw-bold.text-success.small{color:#14532d!important}
.text-uppercase.fw-bold.small[style*="2d6a4f"]{color:#14532d!important}

/* Price hero: ensure white hero text always sits on a dark, non-white backdrop */
section[data-photo-slug="price-hero"]{background-color:#16362a !important;}

/* Service template hero: explicit dark backdrop so white hero text passes contrast checks */
.hero-service{background-color:#16362a !important}
/* Service template contact card: explicit dark backdrop */
.contact-card{background-color:#16362a !important}
