/*
Theme Name: Waschbär Autopflege
Theme URI: https://wb-autopflege.de/
Author: Waschbär Autopflege
Author URI: https://wb-autopflege.de/
Description: A modern, premium WordPress theme for Waschbär Autopflege car detailing service. Features elegant animations, responsive design, and a distinctive dark aesthetic with signature red and white brand colors.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: waschbaer
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns, right-sidebar, footer-widgets, blog, portfolio

Waschbär Autopflege - Premium Car Detailing Theme

Icon Attribution:
The SVG icons used in this theme are based on open-source icon libraries:
- Lucide Icons (https://lucide.dev/) - ISC License
- Feather Icons (https://feathericons.com/) - MIT License
These licenses are permissive and allow free use. Attribution is appreciated but not strictly required.
*/

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
    /* Color Palette - Dark Luxury with Waschbär Red & White */
    --color-bg-primary: #0a0a0c;
    --color-bg-secondary: #111114;
    --color-bg-tertiary: #1a1a1e;
    --color-bg-card: #15151a;
    --color-bg-hover: #1e1e24;
    
    --color-accent-primary: #c41e3a;
    --color-accent-secondary: #9a1830;
    --color-accent-glow: rgba(196, 30, 58, 0.35);
    --color-accent-subtle: rgba(196, 30, 58, 0.12);
    
    --color-text-primary: #ffffff;
    --color-text-secondary: #b8b8c7;
    --color-text-muted: #6b6b7a;
    
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(196, 30, 58, 0.4);
    
    /* Typography */
    --font-display: 'Bebas Neue', 'Impact', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--color-accent-glow);
    
    /* Layout */
    --container-max: 1400px;
    --header-height: 120px;
}

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

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Selection */
::selection {
    background-color: var(--color-accent-primary);
    color: var(--color-bg-primary);
}

/* Focus States */
:focus-visible {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 2px;
}

/* Links */
a {
    color: var(--color-accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

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

/* Lists */
ul, ol {
    list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */

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

.display-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 0.95;
    text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--color-accent-primary) 0%, #ff4d6a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */

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

.section {
    padding: var(--space-4xl) 0;
    position: relative;
}

/* First section after header needs extra top padding for fixed header */
.site-main > .section:first-child {
    padding-top: calc(var(--header-height) + var(--space-3xl));
}

.section--dark {
    background-color: var(--color-bg-secondary);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-accent-secondary) 100%);
    color: var(--color-bg-primary);
    box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px var(--color-accent-glow);
}

.btn--secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn--secondary:hover {
    border-color: var(--color-accent-primary);
    color: var(--color-accent-primary);
}

.btn--large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1rem;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: transparent;
    transition: all var(--transition-normal);
}

/* WordPress Admin Bar adjustment */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

.site-header.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: var(--space-md) 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    position: relative;
    z-index: 10;
}

.site-logo img,
.site-logo .custom-logo,
.site-logo .custom-logo-link img,
.custom-logo-link .custom-logo,
a.custom-logo-link img.custom-logo {
    height: 110px !important;
    max-height: 110px !important;
    width: auto !important;
    max-width: 400px !important;
    object-fit: contain !important;
    transition: transform var(--transition-fast);
}

.site-logo:hover img,
.site-logo:hover .custom-logo {
    transform: scale(1.03);
}

.site-logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-text-primary);
    letter-spacing: 0.08em;
    transition: all var(--transition-fast);
}

.site-logo:hover .site-logo-text {
    letter-spacing: 0.12em;
}

.site-logo-text span {
    color: var(--color-accent-primary);
    text-shadow: 0 0 20px var(--color-accent-glow);
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

/* Floating pill navigation container */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
    padding: 6px 8px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: none;
    letter-spacing: 0.01em;
    position: relative;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.18) 0%, rgba(154, 24, 48, 0.1) 100%);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--color-text-primary);
}

.nav-menu a:hover::before {
    opacity: 1;
}

.nav-menu a.active,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: var(--color-accent-primary);
    background: rgba(196, 30, 58, 0.12);
}

/* CTA Button in Navigation */
.main-nav > .btn {
    padding: 12px 24px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: var(--radius-full);
    background: var(--color-accent-primary);
    color: var(--color-bg-primary);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.main-nav > .btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--color-accent-primary), #ff4d6a, var(--color-accent-primary));
    background-size: 200% 200%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    animation: shimmer-gradient 3s ease infinite;
    transition: opacity var(--transition-normal);
}

.main-nav > .btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 32px rgba(196, 30, 58, 0.45), 0 0 0 1px rgba(196, 30, 58, 0.35);
}

.main-nav > .btn:hover::before {
    opacity: 1;
}

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

/* Mobile CTA hidden on desktop */
.nav-cta-mobile {
    display: none;
}

/* Desktop CTA styling */
.nav-cta-desktop {
    margin-left: var(--space-sm);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    -webkit-tap-highlight-color: rgba(196, 30, 58, 0.25);
    touch-action: manipulation;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent-primary);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all var(--transition-fast);
    margin: 2px 0;
}

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

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

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

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
}

body.admin-bar .hero {
    padding-top: calc(var(--header-height) + 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .hero {
        padding-top: calc(var(--header-height) + 46px);
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.3) 0%,
        rgba(10, 10, 15, 0.7) 50%,
        rgba(10, 10, 15, 1) 100%
    );
    z-index: 1;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Gradient Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.hero-orb--1 {
    width: 600px;
    height: 600px;
    background: var(--color-accent-primary);
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.hero-orb--2 {
    width: 400px;
    height: 400px;
    background: #8b1a2d;
    bottom: -10%;
    left: -5%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(0, 50px) scale(0.9); }
    75% { transform: translate(-50px, -25px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-accent-subtle);
    border: 1px solid var(--color-accent-primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-accent-primary);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

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

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--color-accent-primary), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

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

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-primary);
    margin-bottom: var(--space-md);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-subtle);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-normal);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-accent-primary);
}

.service-card:hover .service-icon {
    background: var(--color-accent-primary);
    box-shadow: var(--shadow-glow);
}

.service-card:hover .service-icon svg {
    color: var(--color-bg-primary);
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: var(--space-md);
    color: #000000;
}

.service-description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-accent-primary);
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.service-card:hover .service-link svg {
    transform: translateX(4px);
}

/* ==========================================================================
   Features / Why Choose Us
   ========================================================================== */

.features {
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.feature-item {
    text-align: center;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.feature-item:hover {
    border-color: var(--color-border-hover);
    transform: scale(1.02);
}

.feature-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--color-accent-primary);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.feature-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
}

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

.cta {
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-accent-secondary) 0%, var(--color-accent-primary) 100%);
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    margin-bottom: var(--space-lg);
}

.cta-text {
    font-size: 1.15rem;
    margin-bottom: var(--space-2xl);
}

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

.testimonials-slider {
    display: flex;
    gap: var(--space-xl);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: var(--space-md) 0;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 400px;
    scroll-snap-align: start;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: var(--space-lg);
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    color: #ffc107;
    fill: currentColor;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--color-accent-primary);
}

.testimonial-name {
    font-weight: 600;
    color: var(--color-text-primary);
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

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

.site-footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
    align-items: start;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
}

.footer-logo img,
.footer-logo .custom-logo,
.footer-logo .custom-logo-link img,
.footer-logo a.custom-logo-link img.custom-logo {
    height: 100px !important;
    max-height: 100px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain !important;
    transition: transform var(--transition-fast);
}

.footer-logo a:hover img,
.footer-logo a:hover .custom-logo {
    transform: scale(1.03);
}

.footer-logo span {
    color: var(--color-accent-primary);
}

.footer-description {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
    color: var(--color-bg-primary);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
    padding-top: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent-primary);
}

.footer-contact-item {
    display: flex;
    gap: var(--space-md);
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent-primary);
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: var(--color-text-muted);
}

.footer-legal a:hover {
    color: var(--color-accent-primary);
}

/* ==========================================================================
   Page Templates
   ========================================================================== */

.page-header {
    padding: calc(var(--header-height) + var(--space-4xl) + var(--space-xl)) 0 var(--space-4xl);
    background: var(--color-bg-secondary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

body.admin-bar .page-header {
    padding-top: calc(var(--header-height) + var(--space-4xl) + 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .page-header {
        padding-top: calc(var(--header-height) + var(--space-4xl) + 46px);
    }
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-accent-primary) 0%, transparent 70%);
    opacity: 0.1;
    pointer-events: none;
}

.page-title {
    position: relative;
    z-index: 1;
}

.page-content {
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-4xl);
}

/* ==========================================================================
   Contact Form
   ========================================================================== */

.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--color-text-secondary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-accent-primary);
    box-shadow: 0 0 0 3px var(--color-accent-subtle);
}

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

/* ==========================================================================
   Price List / Services Table
   ========================================================================== */

.price-table {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.price-category {
    padding: var(--space-lg) var(--space-xl);
    background: var(--color-bg-tertiary);
    border-bottom: 1px solid var(--color-border);
}

.price-category h3 {
    margin: 0;
    font-size: 1.1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition-fast);
}

.price-item:last-child {
    border-bottom: none;
}

.price-item:hover {
    background: var(--color-bg-hover);
}

.price-name {
    font-weight: 500;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-accent-primary);
}

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

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: var(--space-xl);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: var(--space-lg);
    }
    
    .footer-description {
        max-width: 400px;
    }
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
    
    .footer-logo img,
    .footer-logo .custom-logo,
    .footer-logo .custom-logo-link img,
    .footer-logo a.custom-logo-link img.custom-logo {
        height: 80px !important;
        max-height: 80px !important;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .site-header {
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    /* Mobile menu backdrop overlay */
    .mobile-menu-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
        pointer-events: none;
    }
    
    .mobile-menu-backdrop.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile */
        z-index: 1000;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: calc(var(--header-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
        border: none;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0;
        gap: var(--space-xs);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        list-style: none;
        flex-shrink: 0;
    }
    
    .nav-menu a {
        display: block;
        width: 100%;
        min-height: 48px;
        font-size: 0.95rem;
        padding: var(--space-md) var(--space-lg);
        border-radius: var(--radius-md);
        text-align: left;
        border: 1px solid transparent;
        color: var(--color-text-secondary);
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(196, 30, 58, 0.25);
        touch-action: manipulation;
        transition: all var(--transition-fast);
    }
    
    .nav-menu a:hover,
    .nav-menu a.active,
    .nav-menu .current-menu-item > a {
        background: rgba(196, 30, 58, 0.1);
        border-color: rgba(196, 30, 58, 0.18);
        color: var(--color-accent-primary);
    }
    
    .nav-menu a:active {
        background: rgba(196, 30, 58, 0.18);
    }
    
    .nav-cta-desktop {
        display: none !important;
    }
    
    /* Show CTA in mobile menu */
    .nav-cta-mobile {
        display: block;
        margin-top: auto;
        padding-top: var(--space-lg);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        flex-shrink: 0;
    }
    
    .nav-cta-mobile .nav-cta-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-sm);
        min-height: 48px;
        padding: var(--space-md) var(--space-lg) !important;
        background: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-accent-secondary) 100%);
        color: #ffffff !important;
        font-weight: 600;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        border-radius: var(--radius-md) !important;
        box-shadow: 0 4px 20px rgba(196, 30, 58, 0.35);
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(196, 30, 58, 0.35);
        touch-action: manipulation;
    }
    
    .nav-cta-mobile .nav-cta-link::before {
        display: none !important;
    }
    
    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    /* Ensure main nav doesn't interfere with mobile menu */
    .main-nav {
        position: relative;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        flex: 0 0 calc(100vw - var(--space-2xl) * 2);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }
    
    .footer-description {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-column {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-lg);
    }
    
    .section {
        padding: var(--space-3xl) 0;
    }
    
    .service-card {
        padding: var(--space-xl);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
}

/* ==========================================================================
   Animations & Effects
   ========================================================================== */

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-children.visible > *:nth-child(1) { animation: fadeInUp 0.6s 0.1s forwards; }
.stagger-children.visible > *:nth-child(2) { animation: fadeInUp 0.6s 0.2s forwards; }
.stagger-children.visible > *:nth-child(3) { animation: fadeInUp 0.6s 0.3s forwards; }
.stagger-children.visible > *:nth-child(4) { animation: fadeInUp 0.6s 0.4s forwards; }
.stagger-children.visible > *:nth-child(5) { animation: fadeInUp 0.6s 0.5s forwards; }
.stagger-children.visible > *:nth-child(6) { animation: fadeInUp 0.6s 0.6s forwards; }
.stagger-children.visible > *:nth-child(7) { animation: fadeInUp 0.6s 0.7s forwards; }

/* Water ripple effect for buttons */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, var(--color-accent-primary) 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform 0.5s, opacity 1s;
}

.ripple:active::after {
    transform: scale(0, 0);
    opacity: 0.3;
    transition: 0s;
}

/* Shimmer effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}

/* ==========================================================================
   WordPress Specific Styles
   ========================================================================== */

/* WordPress alignment classes */
.alignleft {
    float: left;
    margin-right: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.alignright {
    float: right;
    margin-left: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* WordPress captions */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    padding: var(--space-sm) 0;
}

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* WordPress gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.gallery-item img {
    transition: transform var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

