/*
Theme Name: Patserve's Shine Brite
Theme URI: https://thefreewebsiteguys.com
Author: The Free Website Guys
Author URI: https://thefreewebsiteguys.com
Description: Professional theme for Patserve's Shine Brite - Pressure Washing & Soft Washing Services
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: patserve-shine-brite
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* ==========================================================================
   CSS Variables - Customizer Driven
   ========================================================================== */

:root {
    /* Colors - These are set via inline styles from Customizer */
    --background: 0 0% 4%;
    --foreground: 0 0% 95%;
    --card: 0 0% 7%;
    --card-foreground: 0 0% 95%;
    --primary: 115 100% 50%;
    --primary-foreground: 0 0% 0%;
    --secondary: 0 0% 12%;
    --secondary-foreground: 0 0% 95%;
    --muted: 0 0% 15%;
    --muted-foreground: 0 0% 60%;
    --accent: 115 100% 50%;
    --accent-foreground: 0 0% 0%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 95%;
    --border: 0 0% 18%;
    --input: 0 0% 18%;
    --ring: 115 100% 50%;
    --radius: 0.5rem;
    --neon-glow: 115 100% 50%;
    --neon-muted: 115 80% 35%;
    --surface-dark: 0 0% 6%;
    --surface-darker: 0 0% 3%;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: hsl(var(--foreground));
}

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

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

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Container
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-primary {
    color: hsl(var(--primary));
}

.text-muted {
    color: hsl(var(--muted-foreground));
}

.text-foreground {
    color: hsl(var(--foreground));
}

.bg-background {
    background-color: hsl(var(--background));
}

.bg-card {
    background-color: hsl(var(--card));
}

.bg-surface-darker {
    background-color: hsl(var(--surface-darker));
}

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

.text-glow {
    text-shadow: 0 0 10px hsl(var(--neon-glow) / 0.5), 0 0 30px hsl(var(--neon-glow) / 0.3);
}

.border-glow {
    box-shadow: 0 0 15px hsl(var(--neon-glow) / 0.3), inset 0 0 15px hsl(var(--neon-glow) / 0.05);
}

.shadow-neon {
    box-shadow: 0 0 20px hsl(var(--neon-glow) / 0.3);
}

.shadow-neon-intense {
    box-shadow: 0 0 40px hsl(var(--neon-glow) / 0.5);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.btn-hero {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    box-shadow: 0 0 20px hsl(var(--neon-glow) / 0.3);
}

.btn-hero:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px hsl(var(--neon-glow) / 0.5);
}

.btn-hero-light {
    background-color: hsl(var(--primary) / 0.2);
    color: hsl(var(--primary));
    border: 2px solid hsl(var(--primary));
}

.btn-hero-light:hover {
    background-color: hsl(var(--primary) / 0.4);
    box-shadow: 0 0 20px hsl(var(--neon-glow) / 0.3);
}

.btn-xl {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    height: 3.5rem;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: hsl(var(--background) / 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border));
    box-shadow: 0 4px 20px hsl(0 0% 0% / 0.5);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 6rem;
}

.navbar-logo img {
    height: 5rem;
    width: auto;
}

.navbar-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .navbar-nav {
        display: flex;
    }
}

.navbar-nav a {
    color: hsl(var(--muted-foreground));
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav a:hover {
    color: hsl(var(--primary));
}

.navbar-cta {
    display: none;
}

@media (min-width: 768px) {
    .navbar-cta {
        display: block;
    }
}

.mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: none;
    border: none;
    color: hsl(var(--foreground));
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }
}

.mobile-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid hsl(var(--border));
}

.mobile-menu.active {
    display: block;
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-nav a {
    color: hsl(var(--muted-foreground));
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: hsl(var(--background) / 0.8);
    backdrop-filter: blur(4px);
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, hsl(var(--neon-glow) / 0.15), transparent);
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease-out forwards;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 48rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease-out 0.1s forwards;
    opacity: 0;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

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

.services {
    padding: 6rem 0;
    background-color: hsl(var(--background));
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 42rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    padding: 2rem;
    border-radius: 0.75rem;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: hsl(var(--primary) / 0.5);
    box-shadow: 0 0 20px hsl(var(--neon-glow) / 0.3);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    background-color: hsl(var(--primary) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: hsl(var(--primary) / 0.2);
}

.service-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: hsl(var(--primary));
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-description {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

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

.about {
    padding: 6rem 0;
    background-color: hsl(var(--card));
}

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

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image-wrapper {
    position: relative;
    max-width: 28rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .about-image-wrapper {
        margin: 0;
    }
}

.about-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 2px solid hsl(var(--primary) / 0.3);
    box-shadow: 0 0 15px hsl(var(--neon-glow) / 0.3), inset 0 0 15px hsl(var(--neon-glow) / 0.05);
}

.about-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsl(var(--background) / 0.6), transparent, transparent);
}

.about-decorative-1 {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 6rem;
    height: 6rem;
    background-color: hsl(var(--primary) / 0.2);
    border-radius: 50%;
    filter: blur(2rem);
}

.about-decorative-2 {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 8rem;
    height: 8rem;
    background-color: hsl(var(--primary) / 0.1);
    border-radius: 50%;
    filter: blur(3rem);
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .about-content h2 {
        font-size: 3rem;
    }
}

.about-content p {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-checklist {
    margin-top: 2rem;
}

.about-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.about-checklist-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--primary));
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.about-checklist-item span {
    color: hsl(var(--foreground));
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background-color: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    transition: border-color 0.3s ease;
}

.highlight-card:hover {
    border-color: hsl(var(--primary) / 0.5);
}

.highlight-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background-color: hsl(var(--primary) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--primary));
}

.highlight-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.highlight-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */

.gallery {
    padding: 6rem 0;
    background-color: hsl(var(--background));
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    width: 100%;
}

@media (min-width: 640px) {
    .gallery-item {
        width: calc(50% - 0.75rem);
    }
}

@media (min-width: 1024px) {
    .gallery-item {
        width: calc(33.333% - 1rem);
    }
}

.gallery-item-inner {
    position: relative;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsl(var(--background)), hsl(var(--background) / 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    transform: translateY(1rem);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
    opacity: 1;
}

.gallery-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-radius: 9999px;
    margin-bottom: 0.5rem;
}

.gallery-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.gallery-border {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    transition: border-color 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-border {
    border-color: hsl(var(--primary) / 0.5);
}

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

.testimonials {
    padding: 6rem 0;
    background-color: hsl(var(--card));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    position: relative;
    padding: 2rem;
    border-radius: 0.75rem;
    background-color: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    transition: border-color 0.3s ease;
}

.testimonial-card:hover {
    border-color: hsl(var(--primary) / 0.3);
}

.testimonial-quote {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2rem;
    height: 2rem;
    color: hsl(var(--primary) / 0.2);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: hsl(var(--primary));
    color: hsl(var(--primary));
}

.testimonial-text {
    color: hsl(var(--foreground));
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: hsl(var(--foreground));
}

.testimonial-location {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
    padding: 6rem 0;
    background-color: hsl(var(--background));
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
}

.contact-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background-color: hsl(var(--primary) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--primary));
}

.contact-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: hsl(var(--muted-foreground));
    transition: color 0.3s ease;
}

a.contact-value:hover {
    color: hsl(var(--primary));
}

.contact-cta {
    padding: 2rem;
    border-radius: 0.75rem;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--primary) / 0.3);
    box-shadow: 0 0 15px hsl(var(--neon-glow) / 0.3), inset 0 0 15px hsl(var(--neon-glow) / 0.05);
}

.contact-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-cta-note {
    text-align: center;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-top: 1.5rem;
}

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

.footer {
    padding: 3rem 0;
    background-color: hsl(var(--surface-darker));
    border-top: 1px solid hsl(var(--border));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-brand img {
    height: 6rem;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    color: hsl(var(--muted-foreground));
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: hsl(var(--primary));
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--muted-foreground));
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: hsl(var(--primary));
}

.footer-contact svg {
    width: 1rem;
    height: 1rem;
    color: hsl(var(--primary));
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--border));
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: hsl(var(--primary));
    transition: text-decoration 0.3s ease;
}

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

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

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

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px hsl(var(--neon-glow) / 0.3);
    }
    50% {
        box-shadow: 0 0 35px hsl(var(--neon-glow) / 0.5);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-glow-pulse {
    animation: glowPulse 2s ease-in-out infinite;
}

/* ==========================================================================
   Screen Reader Only
   ========================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
