/*
Theme Name: WV Valeting by [Micro Media]
Theme URI:
Author: MicroMediaLTD
Author URI:
Description: Custom WordPress theme for WV Valeting — professional car valeting services.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wv-valeting
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
    --color-primary: #1a1a2e;
    --color-secondary: #80b16d;
    --color-accent: #0f3460;
    --color-gold: #c9a84c;
    --color-light: #f5f5f5;
    --color-white: #ffffff;
    --color-dark: #111111;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #e0e0e0;
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --max-width: 1200px;
    --transition: 0.3s ease;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-primary);
}

h1 { font-size: 3.25rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Grain Texture Overlay
   ========================================================================== */

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section--dark {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section--dark h2,
.section--dark h3 {
    color: var(--color-white);
}

.section--light {
    background-color: var(--color-light);
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__header h2 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section__header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-secondary);
    margin: 0.75rem auto 0;
}

.section__header p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section--dark .section__header p {
    color: #cccccc;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Sweep shine on hover */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 100%
    );
    transition: left 0.5s var(--ease-out-expo);
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn--primary {
    background-color: var(--color-secondary);
    color: var(--color-dark);
    border-color: var(--color-secondary);
}

.btn--primary:hover {
    background-color: transparent;
    color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 177, 109, 0.25);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn--outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.btn--green {
    background-color: #1e3318;
    color: #80b16d;
    border-color: #1e3318;
}

.btn--green:hover {
    background-color: transparent;
    color: #80b16d;
    transform: translateY(-2px);
}

/* ==========================================================================
   Scroll Reveal System
   ========================================================================== */

[data-reveal] {
    opacity: 0;
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-reveal="up"] {
    transform: translateY(50px);
}

[data-reveal="down"] {
    transform: translateY(-50px);
}

[data-reveal="left"] {
    transform: translateX(-60px);
}

[data-reveal="right"] {
    transform: translateX(60px);
}

[data-reveal="fade"] {
    transform: none;
}

[data-reveal="scale"] {
    transform: scale(0.92);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays */
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }
[data-reveal-delay="6"] { transition-delay: 0.6s; }
[data-reveal-delay="7"] { transition-delay: 0.7s; }

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes lineGrow {
    from { width: 0; }
    to { width: 60px; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ==========================================================================
   Top Banner
   ========================================================================== */

.top-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background-color: rgba(17, 17, 17, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.4s var(--ease-out-expo);
}

.top-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.top-banner__offer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.top-banner__icon {
    width: 16px;
    height: 16px;
    color: var(--color-secondary);
    flex-shrink: 0;
}

.top-banner__contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-banner__link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color var(--transition);
}

.top-banner__link:hover {
    color: var(--color-secondary);
}

.top-banner__link svg {
    width: 15px;
    height: 15px;
    color: var(--color-secondary);
    flex-shrink: 0;
}

.top-banner.hidden {
    transform: translateY(-100%);
}

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

.site-header {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), top 0.4s var(--ease-out-expo);
}

.site-header.scrolled {
    background-color: #38383deb;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.site-header.banner-hidden {
    top: 0;
}

.site-header .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-branding__logo {
    display: block;
    transition: transform 0.4s var(--ease-out-expo);
}

.site-branding__logo:hover {
    transform: scale(1.03);
}

.site-branding__logo img {
    height: 45px;
    width: auto;
}

/* Main navigation */
.main-navigation {
    justify-self: center;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.main-navigation a {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.4s var(--ease-out-expo);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}

.main-navigation a:hover {
    color: var(--color-white);
}

/* Dropdown menu */
.main-navigation .menu-item-has-children {
    position: relative;
}

.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background-color: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 6px;
    padding: 0.75rem 0;
    min-width: 220px;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-out-expo), visibility 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    margin-top: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.main-navigation .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.main-navigation .sub-menu li {
    width: 100%;
}

.main-navigation .sub-menu a {
    display: block;
    padding: 0.6rem 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: color var(--transition), padding-left 0.3s var(--ease-out-expo);
}

.main-navigation .sub-menu a::after {
    display: none;
}

.main-navigation .sub-menu a:hover {
    color: var(--color-secondary);
    padding-left: 1.75rem;
}

/* Header right */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    justify-self: end;
}

.btn--sm {
    padding: 0.625rem 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 2px;
}

/* Hamburger */
.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--color-white);
    margin: 6px 0;
    transition: all 0.4s var(--ease-out-expo);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ==========================================================================
   Slide-out Panel
   ========================================================================== */

.slideout-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out-expo), visibility 0.4s var(--ease-out-expo);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.slideout-overlay.active {
    opacity: 1;
    visibility: visible;
}

.slideout-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: #38383deb;
    z-index: 1999;
    transition: right 0.5s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
    padding: 3rem 2.5rem;
    border-left: 1px solid rgba(128, 177, 109, 0.1);
}

.slideout-panel.active {
    right: 0;
}

.slideout-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: color var(--transition), transform 0.3s var(--ease-out-expo);
}

.slideout-close:hover {
    color: var(--color-secondary);
    transform: rotate(90deg);
}

.slideout-logo {
    margin-top: 1rem;
}

.slideout-logo img {
    height: 38px;
    width: auto;
}

.slideout-nav {
    margin-top: 1.5rem;
    flex: 1;
}

.slideout-nav ul {
    list-style: none;
}

.slideout-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.slideout-nav a {
    display: block;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 1.25rem 0;
    transition: color var(--transition), padding-left 0.4s var(--ease-out-expo), letter-spacing 0.4s var(--ease-out-expo);
}

.slideout-nav a:hover {
    color: var(--color-secondary);
    padding-left: 0.75rem;
    letter-spacing: 4px;
}

/* Slideout submenu (services dropdown) */
.slideout-submenu {
    list-style: none;
    padding: 0 0 0.5rem 1rem;
}

.slideout-submenu li {
    border-bottom: none;
}

.slideout-submenu a {
    font-size: 0.875rem;
    letter-spacing: 1.5px;
    padding: 0.5rem 0;
    color: #aaaaaa;
}

.slideout-submenu a:hover {
    color: var(--color-secondary);
    padding-left: 0.5rem;
    letter-spacing: 2px;
}

/* Slideout info list (contact details) */
.slideout-info {
    list-style: none;
    padding: 0.25rem 0 0.75rem 0;
}

.slideout-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.4rem 0;
    color: #aaaaaa;
    font-size: 0.875rem;
    line-height: 1.5;
    border-bottom: none;
}

.slideout-info li svg {
    width: 16px;
    height: 16px;
    color: var(--color-secondary);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.slideout-info li a {
    color: #aaaaaa;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    padding: 0;
    transition: color var(--transition);
}

.slideout-info li a:hover {
    color: var(--color-secondary);
    padding-left: 0;
    letter-spacing: 0;
}

/* Slideout about text */
.slideout-about {
    color: #aaaaaa;
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.7;
    padding: 0.25rem 0 0.75rem 0;
}

.slideout-social {
    display: flex;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.slideout-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    transition: all 0.4s var(--ease-out-expo);
}

.slideout-social__link:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.slideout-social__link svg {
    width: 20px;
    height: 20px;
}

body.slideout-open {
    overflow: hidden;
}

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

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    background-color: var(--color-primary);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: heroZoom 20s ease-in-out infinite alternate;
    will-change: transform;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(17, 17, 17, 0.88) 0%,
        rgba(26, 26, 46, 0.75) 80%,
        rgba(26, 26, 46, 0.6) 100%
    );
}

/* Decorative bottom fade */
.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--color-dark), transparent);
    z-index: 1;
    pointer-events: none;
}

/* Split layout wrapper */
.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero__content {
    text-align: left;
}

/* Hero load animations */
.hero__subtitle {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--color-white);
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.3s forwards;
}

.hero__subtitle-accent {
    color: var(--color-secondary);
}

.hero__title {
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: 1.75rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.5s forwards;
}

.hero__description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.7s forwards;
}

.hero__description p {
    margin-bottom: 0.75rem;
}

.hero__description p:last-child {
    margin-bottom: 0;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.9s forwards;
}

/* Hero video */
.hero__video {
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.6s forwards;
}

.hero__video video {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 1.2s forwards;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-secondary), transparent);
    animation: float 2s ease-in-out infinite;
}

/* ==========================================================================
   About Intro Section
   ========================================================================== */

.about-intro {
    background-color: var(--color-dark);
    padding: 7rem 0;
    position: relative;
}

.about-intro__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-intro__row + .about-intro__row {
    margin-top: 6rem;
}

.about-intro__img {
    border-radius: 4px;
    overflow: hidden;
    height: 580px;
    position: relative;
}

.about-intro__img::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(128, 177, 109, 0.15);
    border-radius: 4px;
    pointer-events: none;
}

.about-intro__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.8s var(--ease-out-expo);
}

.about-intro__img:hover img {
    transform: scale(1.04);
}

.about-intro__label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-secondary);
    display: inline-block;
}

.about-intro__title {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 1.75rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.about-intro__accent {
    color: var(--color-secondary);
}

.about-intro__text {
    color: #aaaaaa;
    font-size: 1.125rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   Trusted & Affordable Section
   ========================================================================== */

.trusted-section {
    background-color: #1a1a1a;
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

/* Decorative background element */
.trusted-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(128, 177, 109, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.trusted-section__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.trusted-section__label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-secondary);
    display: inline-block;
}

.trusted-section__title {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.trusted-section__accent {
    color: var(--color-secondary);
}

.trusted-section__text {
    color: #aaaaaa;
    font-size: 1.125rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.trusted-section__image {
    margin-top: 3.5rem;
    text-align: center;
}

.trusted-section__image img {
    max-width: 70%;
    height: auto;
    margin: 0 auto;
    transition: transform 0.8s var(--ease-out-expo);
}

.trusted-section__image:hover img {
    transform: scale(1.02);
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
    background-color: var(--color-dark);
    padding: 7rem 0;
    position: relative;
}

.services-section__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.services-section__label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-secondary);
    display: inline-block;
}

.services-section__title {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.services-section__accent {
    color: var(--color-secondary);
}

.services-section__text {
    color: #aaaaaa;
    font-size: 1.125rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-block {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out-expo);
}

.service-block:hover {
    transform: translateY(-8px);
}

.service-block__image {
    position: relative;
    height: 420px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.service-block__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out-expo);
}

.service-block:hover .service-block__image img {
    transform: scale(1.08);
}

/* Hover gradient overlay */
.service-block__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(17, 17, 17, 0.8) 0%,
        rgba(17, 17, 17, 0.2) 40%,
        transparent 100%
    );
    opacity: 0.4;
    transition: opacity 0.5s var(--ease-out-expo);
}

.service-block:hover .service-block__image::after {
    opacity: 0.7;
}

.service-block__number {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-secondary);
    background-color: rgb(0, 0, 0);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.4rem 0.85rem;
    border-radius: 0;
    letter-spacing: 2px;
    z-index: 1;
    border: 1px solid rgba(128, 177, 109, 0.2);
}

/* Find out more button */
.service-block__cta {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    display: block;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    color: var(--color-white);
    background-color: var(--color-secondary);
    padding: 0.75rem 1.5rem;
    border: none;
    z-index: 1;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo), background-color 0.3s ease;
    pointer-events: none;
}

.service-block__cta:hover {
    color: var(--color-white);
    background-color: #6a9a59;
}

.service-block:hover .service-block__cta {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.service-block__title {
    color: var(--color-white);
    font-size: 1.125rem;
    text-align: center;
    padding: 1.5rem 0 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: text-decoration-color 0.4s var(--ease-out-expo);
    text-decoration: underline transparent;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.service-block:hover .service-block__title {
    text-decoration-color: var(--color-secondary);
}

/* ==========================================================================
   About / Why Choose Us
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__image {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out-expo);
}

.about__image:hover img {
    transform: scale(1.04);
}

.about__content h2 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about__content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-secondary);
    margin-top: 0.75rem;
}

.about__content p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.features-list {
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--color-text);
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 8px;
    height: 8px;
    background-color: var(--color-secondary);
    border-radius: 0;
    transform: rotate(45deg);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 2.5rem;
    transition: transform 0.5s var(--ease-out-expo), border-color 0.5s var(--ease-out-expo);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(128, 177, 109, 0.2);
}

.testimonial-card__stars {
    color: var(--color-gold);
    font-size: 1.125rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-card__text {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #cccccc;
}

.testimonial-card__author {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.875rem;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta {
    text-align: center;
    background: linear-gradient(135deg, var(--color-secondary), #4a7a3a, #2d5a27, var(--color-secondary));
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    color: var(--color-white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.cta h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn--outline:hover {
    color: var(--color-secondary);
}

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

.site-footer {
    background-color: var(--color-dark);
    color: #aaaaaa;
    padding: 5rem 0 0;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(128, 177, 109, 0.3), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.25rem;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--color-secondary);
    margin-top: 0.5rem;
}

.footer-col p {
    line-height: 1.8;
    color: #888888;
    font-size: 0.9375rem;
}

/* Footer nav — top-level horizontal */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 2rem;
}

.footer-nav > li {
    margin-bottom: 0;
}

.footer-nav > li > a {
    color: #888888;
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.footer-nav > li > a:hover {
    color: var(--color-secondary);
}

/* Footer nav — sub-links stacked below Services */
.footer-nav__parent {
    position: relative;
}

.footer-nav__sub {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.footer-nav__sub li {
    margin-bottom: 0;
}

.footer-nav__sub a {
    color: #666666;
    font-size: 0.8125rem;
    transition: color var(--transition);
}

.footer-nav__sub a:hover {
    color: var(--color-secondary);
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-size: 0.9375rem;
    color: #888888;
}

.footer-contact li a {
    color: #888888;
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.footer-contact li a:hover {
    color: var(--color-secondary);
}

.footer-contact__icon {
    width: 16px;
    height: 16px;
    color: var(--color-secondary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Footer social */
.footer-social {
    margin-top: 1.25rem;
}

.footer-social__link {
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.footer-social__link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.footer-social__link img {
    width: 28px;
    height: 28px;
    filter: invert(64%) sepia(18%) saturate(878%) hue-rotate(67deg) brightness(92%) contrast(86%);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.8125rem;
    letter-spacing: 0.5px;
    color: #666666;
}

.footer-credit {
    color: var(--color-secondary);
    margin-top: 0.5rem;
}

.footer-credit a {
    color: var(--color-secondary);
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Page Content
   ========================================================================== */

.page-header {
    background-color: var(--color-dark);
    padding: 8rem 0 4rem;
    text-align: center;
    color: var(--color-white);
}

.page-header h1 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-secondary);
    max-width:fit-content;
    margin: 0 auto;
}

.page-content {
    padding: 4rem 0;
    background-color: #1a1a1a;
    color:var(--color-white);
}

.page-content .container {
    max-width: 1200px;
}

.page-content h2,
.page-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color:var(--color-white);
}

.page-content p {
    margin-bottom: 1.5rem;
    font-size:18px;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style: disc;
}

.page-content li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Single Post
   ========================================================================== */

.post-meta {
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.post-meta span {
    margin-right: 1rem;
}

.post-thumbnail {
    margin-bottom: 2rem;
    border-radius: 4px;
    overflow: hidden;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
    margin-top: 3rem;
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-404 {
    text-align: center;
    padding: 8rem 0;
}

.error-404 h1 {
    font-size: 8rem;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-404 h2 {
    margin-bottom: 1rem;
}

.error-404 p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin: 0 auto 1.5rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-align: center;
    padding: 0.5rem 0;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal;
}

.screen-reader-text:focus {
    background-color: var(--color-light);
    clip: auto;
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    padding: 1rem;
    top: 5px;
    width: auto;
    z-index: 100000;
}

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

@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero__content {
        text-align: center;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__title {
        font-size: 2.75rem;
    }

    .hero__video video {
        max-height: 360px;
        object-fit: cover;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-intro__row,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .about-intro__label {
        display: inline-block;
    }

    .about-intro__row + .about-intro__row {
        margin-top: 3rem;
    }

    .about-intro__img {
        height: 350px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-banner {
        display: none;
    }

    .site-header {
        top: 0;
    }

    .site-header .container {
        display: flex;
        justify-content: space-between;
    }

    .main-navigation {
        display: none;
    }

    .header-actions .btn--sm {
        display: none;
    }

    .hero {
        height: auto;
        min-height: 100svh;
        padding: 7rem 0 4rem;
    }

    .hero__title {
        font-size: 2.25rem;
    }

    .hero__subtitle {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }

    .hero__description {
        font-size: 1rem;
    }

    .hero__video {
        order: -1;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3.5rem 0;
    }

    .about-intro,
    .trusted-section,
    .services-section {
        padding: 4.5rem 0;
    }

    .slideout-panel {
        width: 300px;
        right: -300px;
        padding: 2.5rem 1.5rem;
    }

    .hero__scroll {
        display: none;
    }

    /* Reduce animation distances on mobile */
    [data-reveal="up"] { transform: translateY(30px); }
    [data-reveal="left"] { transform: translateX(-30px); }
    [data-reveal="right"] { transform: translateX(30px); }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.75rem;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .cta h2 {
        font-size: 1.75rem;
    }
}

.wp-block-group{
    padding: 2rem;
    margin-top: 2rem;
}