/* Global background video component */
.site-video-background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #0d140f;
    background-image: url("../images/landscaping/landscaping1.jpg");
    background-size: cover;
    background-position: center;
}

.site-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.site-video-background.video-ready video {
    opacity: 1;
}

.site-video-overlay {
    display: none;
}

/* Premium global header + hero theme overrides */
html,
body {
    min-height: 100%;
    background: #0d140f;
    background-image: url("../images/landscaping/landscaping1.jpg");
    background-size: cover;
    background-position: center;
}

body {
    padding-top: 90px;
    color: #FFFFFF !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #FFFFFF !important;
}

p, span, li, label, small, strong {
    color: #FFFFFF !important;
}

nav a {
    color: #FFFFFF !important;
}

footer,
footer p,
footer a {
    color: #FFFFFF !important;
}

a:hover {
    color: #A3B18A !important;
    transition: 0.3s ease;
}

body > *:not(.site-video-background) {
    position: relative;
    z-index: 1;
}

header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 96px;
    height: auto;
    background: rgba(18, 38, 28, 0.85) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

header.scrolled {
    background: rgba(14, 31, 23, 0.9) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.header-container {
    min-height: 96px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}


header .logo {
    align-items: center;
}

header .logo-image {
    width: 72px;
    height: 72px;
    margin-right: 14px;
    object-fit: contain;
    display: block;
}

main {
    padding-top: 40px !important;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - 90px);
    padding: 120px 20px !important;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

.hero .container,
.hero-content,
.hero-text,
.section-header {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo-text h1 {
    color: #ffffff !important;
    letter-spacing: 1px;
}

.logo-text .brand-name {
    color: #ffffff !important;
    letter-spacing: 1px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
}

.projects-grid .project-content p {
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.logo-text p {
    color: #cfe8d5 !important;
    letter-spacing: 1px;
}

nav ul li a {
    color: #f8f9fa !important;
    transition: all 0.3s ease !important;
    text-underline-offset: 7px;
}

nav ul li a::after {
    background-color: #a3b18a !important;
    transition: width 0.3s ease;
}

nav ul li a:hover,
nav ul li a:focus-visible,
nav ul li a.active {
    color: #a3b18a !important;
    filter: brightness(1.08);
}

.mobile-menu-btn {
    color: #f8f9fa !important;
}

/* Hero Headings */
.hero h1,
.hero h2,
.hero-text h2 {
    color: #ffffff !important;
    font-size: 56px !important;
    font-weight: 700 !important;
    line-height: 1.2;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
    text-align: center;
}

/* Section Headings (Override for light backgrounds) */
.section-header h2 {
    color: #1b3a2f !important;
    text-shadow: none;
    font-weight: 700 !important;
}

/* Hero Paragraphs */
.hero p,
.hero-text p,
.hero-subtext {
    color: #f1f5f3 !important;
    font-size: 18px !important;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.98;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* Section Paragraphs (Override for light backgrounds) */
.section-header p {
    color: #1f4a3a !important;
    font-size: 18px !important;
    text-shadow: none;
    opacity: 1;
}

/* Option C (Luxury Editorial) theme */
header {
    background: rgba(20, 28, 24, 0.88) !important;
    border-bottom: 1px solid rgba(209, 186, 120, 0.38);
}

.logo-text .brand-name {
    font-size: 22px;
    letter-spacing: 0.8px;
}

.logo-text p {
    color: #e3d6ad !important;
}

nav ul li a {
    color: #f2eee2 !important;
}

nav ul li a::after {
    background-color: #d1ba78 !important;
}

nav ul li a:hover,
nav ul li a:focus-visible,
nav ul li a.active {
    color: #d1ba78 !important;
}

.hero {
    padding: 140px 20px 110px !important;
}

.hero h1,
.hero h2,
.hero-text h2 {
    font-size: 62px !important;
    letter-spacing: 0.3px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.hero p,
.hero-text p,
.hero-subtext {
    font-size: 20px !important;
    max-width: 920px;
}

.btn {
    background: #1f4c39 !important;
    border: 1px solid #d1ba78;
}

.btn:hover {
    background: #193f30 !important;
}

.divider {
    width: 86px;
    height: 2px;
    background: #d1ba78 !important;
}

.service-card,
.project-card {
    border-radius: 6px !important;
    border: 1px solid rgba(209, 186, 120, 0.45);
    box-shadow: none !important;
}

.service-content h3,
.project-content h3 {
    font-family: 'Playfair Display', serif !important;
    color: #14261f !important;
}

footer {
    background: #111816 !important;
    border-top: 1px solid rgba(209, 186, 120, 0.4);
}

@media (max-width: 992px) {
    nav ul {
        background: rgba(18, 38, 28, 0.95) !important;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    nav ul li a {
        color: #f8f9fa !important;
    }
}

@media (max-width: 768px) {
    .site-video-background video {
        object-position: 60% center;
    }

    .hero {
        min-height: auto;
        padding: 90px 20px !important;
    }

    .hero h1,
    .hero h2,
    .hero-text h2 {
        font-size: 42px !important;
    }

    .hero p,
    .hero-text p,
    .hero-subtext {
        font-size: 18px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-video-background video {
        animation: none;
        transition: none;
    }
}
