/* House of Wrapz - Premium Car Wrapping Website Styles */

/* ===== CSS Variables ===== */
:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --accent-gold: #d4af37;
    --accent-gold-light: #f4d03f;
    --accent-blue: #1e3a5f;
    --accent-blue-light: #2c5282;
    --text-white: #ffffff;
    --text-gray: #e0e0e0;
    --text-gray-dark: #b0b0b0;
    --border-color: #333333;
    --transition: all 0.3s ease;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Figtree', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-gray);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-white);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

h3 {
    font-size: 1.8rem;
}

p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-gold-light);
}

/* ===== Navigation ===== */
.navbar {
    background-color: #000000;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    transition: var(--transition);
    overflow: visible;
    margin: 0; /* Ensure no margin */
    border-bottom: 2px solid var(--accent-gold); /* thin yellow accent line */
}

.navbar .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    overflow: visible;
}

/* Desktop: Flexbox layout for centered nav */
@media (min-width: 992px) {
    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

.navbar-collapse {
    overflow: visible;
}

.navbar-nav {
    overflow: visible !important;
}

/* Desktop: Center nav links, push phone + Book Now to the right */
@media (min-width: 992px) {
    .navbar-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        flex: 1;
    }
    
    .navbar-nav .nav-item.d-none.d-lg-block.ms-2 {
        margin-left: auto; /* phone link starts right-aligned group */
    }
}

/* Mobile: Let Bootstrap handle the collapse menu */
@media (max-width: 991.98px) {
    .navbar-nav {
        display: block;
        flex: none;
    }
    
    /* Ensure dropdown menu works properly on mobile */
    .navbar .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0.5rem;
        margin-left: 0;
        background-color: var(--secondary-dark);
        border: 1px solid var(--border-color);
        box-shadow: none;
    }
    
    .navbar-nav .dropdown {
        position: static;
    }
    
    .navbar-nav .dropdown-toggle {
        width: 100%;
        padding-right: 2.5rem;
        position: relative;
    }
    
    .navbar-nav .dropdown-toggle::after {
        position: absolute;
        text-align: left;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        margin-top: 0;
    }
    
    .navbar-nav .dropdown-item {
        padding: 0.75rem 1.5rem;
        display: block;
        width: 100%;
    }
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white) !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img.logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    flex-shrink: 0;
}

.navbar-brand:hover img.logo-img {
    opacity: 0.9;
}

.logo-img {
    width: auto;
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-white);
    display: block;
}

.brand-tagline {
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-gray-dark);
    display: block;
    margin-top: 2px;
}

.navbar-nav .nav-link {
    color: var(--text-gray) !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0.25rem;
    padding: 0.5rem 0.5rem !important;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: var(--transition);
    position: relative;
}

/* Desktop: Center nav links, push phone + Book Now to the right */
@media (min-width: 992px) {
    .navbar-nav {
        flex-wrap: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        flex: 1;
    }
    
    .navbar-nav .nav-item.d-none.d-lg-block.ms-2 {
        margin-left: auto; /* phone link starts right-aligned group */
    }
}

.navbar-nav .nav-item:last-of-type .btn {
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.navbar-nav .nav-item.d-none.d-lg-block.ms-3 {
    margin-left: 0.5rem !important;
}

.navbar .container {
    overflow: visible;
}

.navbar-nav .nav-item .btn {
    min-width: fit-content;
}

/* Underline effect for regular nav links (not dropdown) */
.navbar-nav .nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover::after,
.navbar-nav .nav-link:not(.dropdown-toggle).active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .dropdown-toggle:hover,
.navbar-nav .dropdown-toggle.show {
    color: var(--accent-gold) !important;
}

/* Underline for dropdown toggle when open - use ::before to avoid conflict with Bootstrap's ::after chevron */
.navbar-nav .dropdown.show > .dropdown-toggle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: var(--accent-gold);
}

.navbar-toggler {
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(212, 175, 55, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile navbar fixes */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
    
    .brand-tagline {
        font-size: 0.65rem;
    }
    
    .navbar-brand img.logo-img {
        height: 40px;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
    }
}

/* Dropdown Menu Styling */
.navbar .dropdown {
    position: relative;
}

.navbar .dropdown-menu {
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 200px;
    overflow: visible;
}

.dropdown-menu-dark {
    background-color: var(--secondary-dark);
    border-color: var(--border-color);
}

.dropdown-menu-dark .dropdown-item {
    color: var(--text-gray);
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    display: block;
    width: 100%;
    clear: both;
    font-weight: 400;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item:focus {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
}

.dropdown-divider {
    border-color: var(--border-color);
    margin: 0.5rem 0;
    height: 0;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

/* Ensure dropdown toggle chevron is visible */
.navbar-nav .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.5rem;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* For inner pages, just clear the fixed navbar */
    margin-top: 80px; /* space for fixed navbar */
    padding: 3rem 0 2rem 0;
    color: var(--text-white);
}

/* Generic inner-page hero with dark overlay */
.hero-section.inner-hero {
    height: 50vh;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-section.inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-section.inner-hero .hero-content {
    position: relative;
    z-index: 2;
}

/* Home page hero – clean responsive design */
.hero-section.home-hero {
    min-height: 84vh;
    padding-top: 80px; /* Space for fixed navbar */
    padding-bottom: 4rem;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Adjust home hero padding when availability widget is in header */
body:has(.availability-widget-header) .hero-section.home-hero {
    padding-top: 120px;
}

/* Small desktop (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section.home-hero {
        min-height: 90vh;
        padding-top: 80px;
        padding-bottom: 3rem;
    }
    
    /* Tablet: Inner page heroes */
    .hero-section.inner-hero {
        height: 45vh;
        min-height: 300px;
        margin-top: 70px;
        padding: 2.5rem 0 2rem 0;
    }
}

/* Tablet (max-width: 767.98px) */
@media (max-width: 767.98px) {
    .hero-section.home-hero {
        min-height: 85vh;
        padding-top: 70px;
        padding-bottom: 140px; /* Extra space for badge, indicators, and sticky action bar (85px) */
    }
    
    .hero-section.inner-hero {
        height: 45vh;
        min-height: 300px;
        margin-top: 70px;
        padding: 2rem 0 1.5rem 0;
    }
}

/* Hero Carousel Container */
.hero-carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Page-specific inner hero backgrounds */
.about-hero {
    background-image: url('../images/about_wrap_senators.png');
}

.services-hero {
    background-image: url('../images/services/introduction-hero.jpg');
}

.galleries-hero {
    background-image: url('../images/galleries/service-full-wraps.jpg');
}

.articles-hero {
    background-image: url('../images/articles/2025-wrap-technology-innovations.jpg');
}

.contact-hero {
    background-image: url('../images/contact_us.jpg');
}

.faq-hero {
    background-image: url('../images/services/paint-protection-film.jpg');
}

.careers-hero {
    background-image: url('../images/about_wrap_senators.png');
}

/* Scroll margin for anchor links to account for fixed navbar */
#current-openings {
    scroll-margin-top: 120px;
    padding-top: 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay (bg-black/50) for readability */
    z-index: 2;
    pointer-events: none; /* Allow clicks to pass through to buttons */
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Live Availability Badge - Clean positioning within flow */
.hero-section.home-hero .live-availability-badge {
    position: relative !important;
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 25px auto 1rem auto;
    transition: all 0.3s ease;
    cursor: pointer;
    line-height: 1.4;
    max-width: calc(100% - 2rem);
    width: auto;
    word-wrap: break-word;
    white-space: normal;
    z-index: 10;
}

.hero-section.home-hero .live-availability-badge:hover {
    background: rgba(0, 0, 0, 0.9); /* Darker on hover for better contrast */
    border-color: var(--accent-gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    color: var(--text-white);
    text-decoration: none;
}

.live-dot {
    width: 10px;
    height: 10px;
    background-color: #00ff00;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-green 2s infinite;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
}

@keyframes pulse-green {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.3);
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.9);
    }
}

.live-badge-text {
    color: var(--text-white);
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Badge responsive adjustments */
@media (max-width: 991.98px) {
    .hero-section.home-hero .live-availability-badge {
        font-size: 0.85rem;
        padding: 0.65rem 1.25rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section.home-hero .live-availability-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .hero-section.home-hero .live-availability-badge .live-dot {
        flex-shrink: 0;
    }
    
    .hero-section.home-hero .live-availability-badge .availability-text {
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 95%;
}

.hero-content p {
    font-size: 1.1rem;
    margin: 0;
    max-width: 1220px;
    line-height: 1.6;
    animation: fadeInUp 1.2s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    animation: fadeInUp 1.4s ease;
}

.hero-contact-info {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
    animation: fadeInUp 1.6s ease;
}

.hero-contact-info p {
    margin: 0 0 0.5rem 0;
    line-height: 1.6;
}

.hero-contact-info p:last-child {
    margin-bottom: 0;
}

/* Responsive typography */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-contact-info {
        font-size: 0.9rem;
    }
}

/* Hero Carousel Navigation */
.hero-carousel-prev,
.hero-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    pointer-events: auto;
    transition: var(--transition);
    font-size: 1.2rem;
    outline: none;
}

.hero-carousel-prev:hover,
.hero-carousel-next:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.hero-carousel-prev {
    left: 20px;
}

.hero-carousel-next {
    right: 20px;
}

/* Hero Carousel Indicators */
.hero-carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    pointer-events: auto;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    pointer-events: auto;
    outline: none;
}

.hero-indicator.active,
.hero-indicator:hover {
    background: var(--accent-gold);
}

/* Map Container */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    width: 100%;
}

/* Enhanced Map Container with Custom Overlays */
.map-container-enhanced {
    position: relative;
}

.map-container-enhanced iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 10px;
}

/* Mask to hide Google Maps popup (top-left corner) */
.map-popup-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    height: 120px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 0 0 10px 0;
    z-index: 9;
    pointer-events: none; /* Allow clicks to pass through */
}

/* Custom Info Window Overlay - positioned to cover Google Maps popup area */
.map-info-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    border: 2px solid var(--accent-gold);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    max-width: 300px;
    animation: fadeInUp 0.5s ease;
}

.map-info-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.map-info-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
}

.map-info-content h4 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.2;
}

.map-info-content p {
    color: var(--text-white);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Hide info overlay and mask on mobile for cleaner look */
@media (max-width: 767.98px) {
    .map-info-overlay,
    .map-popup-mask {
        display: none;
    }
    
    .map-container-enhanced iframe {
        min-height: 350px;
    }
}

/* Adjust mask size on smaller screens */
@media (max-width: 991.98px) {
    .map-popup-mask {
        width: 280px;
        height: 100px;
    }
}

@media (max-width: 991.98px) {
    .map-container-enhanced iframe {
        min-height: 400px;
    }
}

.location-details p {
    margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
    /* Hide authority bar on mobile to give more space to hero */
    .authority-bar {
        display: none !important;
    }
    
    /* Home hero content adjustments */
    .hero-section.home-hero .hero-content {
        padding: 1.5rem 1rem;
        gap: 1.25rem;
    }
    
    /* Inner hero content adjustments */
    .hero-section.inner-hero .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-content h1 {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
        line-height: 1.3;
        padding: 0 0.75rem;
    }
    
    .hero-section.inner-hero .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        padding: 0 1rem;
    }
    
    .hero-section.inner-hero .hero-content p {
        font-size: 0.85rem;
    }
    
    /* Button adjustments for mobile */
    .hero-buttons {
        gap: 0.75rem;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        white-space: normal !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0.75rem 1rem !important;
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    /* Fix "Book a Consultation" button text overflow */
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        white-space: normal !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0.75rem 0.9rem !important;
        font-size: 0.75rem !important;
        letter-spacing: 0.5px !important;
    }

    .hero-contact-info {
        font-size: 0.85rem;
        padding: 0 1rem;
        margin-top: 0.5rem;
    }

    .hero-carousel-indicators {
        bottom: 100px; /* Position above sticky action bar (85px height + 15px gap) */
        padding: 0.4rem 0.6rem;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 20px;
        backdrop-filter: blur(5px);
        z-index: 5;
    }

    .hero-carousel-prev,
    .hero-carousel-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        /* Ensure buttons don't overlap with sticky bar by keeping them in the center area */
    }
    
    .hero-carousel-prev {
        left: 5px;
        bottom: auto; /* Reset any bottom positioning */
    }
    
    .hero-carousel-next {
        right: 5px;
        bottom: auto; /* Reset any bottom positioning */
    }
    
    /* Ensure carousel navigation buttons don't go below sticky bar */
    .hero-section.home-hero .hero-carousel-prev,
    .hero-section.home-hero .hero-carousel-next {
        max-height: calc(100vh - 120px); /* Prevent buttons from overlapping sticky bar */
    }

    /* Adjust spacing after hero since authority bar is hidden */
    .hero-section + section:not(.authority-bar) {
        margin-top: 2rem !important;
        padding-top: 1rem !important;
        position: relative;
        z-index: 5;
    }
}

.hero-contact-info a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.hero-contact-info a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

.hero-contact-info .text-gold {
    color: var(--accent-gold);
}

.hero-contact-info .text-white {
    color: var(--text-white);
}

/* ===== Buttons ===== */
.btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 0;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
}

/* Ensure CTAs align with text content */
.container .btn,
.row .btn,
.col-lg-6 .btn,
.col-md-6 .btn,
.col-md-4 .btn,
.col-lg-4 .btn {
    margin-left: 0;
    margin-right: auto;
    width: auto;
}

/* For centered sections, allow center alignment */
.text-center .btn,
.section-title .btn,
.card-body.text-center .btn {
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
}

/* Ensure buttons in columns align with text */
.col-lg-6 p + .btn,
.col-md-6 p + .btn,
.col-lg-6 ul + .btn,
.col-md-6 ul + .btn {
    margin-top: 1rem;
    margin-left: 0;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
    position: relative;
    overflow: hidden;
}

/* Shimmer animation every 5 seconds */
@keyframes shimmer {
    0%, 90% {
        left: -100%;
    }
    95% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    z-index: 1;
    animation: shimmer 5s infinite;
    pointer-events: none;
}

.btn-primary:hover::before {
    animation: none;
    left: 100%;
    transition: left 0.6s ease;
}

.btn-primary:hover {
    background-color: var(--accent-gold-light);
    border-color: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary > * {
    position: relative;
    z-index: 2;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== Section Styles ===== */
.section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.section.compact {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-gold);
}

.section-title p {
    color: var(--text-gray-dark);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ===== Card Styles ===== */
.card {
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 0;
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

.card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-title {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-text {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* ===== Feature Cards ===== */
.feature-card {
    padding: 2rem;
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
}

.feature-icon {
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-gray);
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--secondary-dark);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: var(--transition);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* ===== Accordion Styles ===== */
.accordion {
    margin-top: 2rem;
}

.accordion-item {
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 0;
}

.accordion-button {
    background-color: var(--secondary-dark);
    color: var(--text-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.5rem;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.accordion-body {
    background-color: var(--secondary-dark);
    color: var(--text-gray);
    padding: 2rem;
}

/* ===== Testimonials ===== */
.testimonial-card {
    background: var(--secondary-dark);
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    height: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
}

.testimonial-rating {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.testimonial-text {
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 1.1rem;
    line-height: 1.6;
    min-height: 140px;
    max-height: 140px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    text-overflow: ellipsis;
}

.testimonial-author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    flex-shrink: 0;
}

.testimonial-avatar {
    flex-shrink: 0;
}

.testimonial-author-details {
    flex-grow: 1;
}

.testimonial-author {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-vehicle {
    color: var(--text-gray-dark);
    font-size: 0.9rem;
    margin: 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: var(--accent-gold);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

/* ===== Testimonials ===== */
/* Ensure all testimonial cards in a row have equal height */
#testimonialsCarousel .row.g-4 .col-md-4 {
    display: flex;
}

.testimonial-card {
    background: var(--secondary-dark);
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    height: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
}

.testimonial-rating {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    flex-grow: 1;
    line-height: 1.6;
    min-height: 140px;
    max-height: 140px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.testimonial-author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    flex-shrink: 0;
}

.testimonial-avatar {
    flex-shrink: 0;
}

.testimonial-author-details {
    flex-grow: 1;
}

.testimonial-author {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-vehicle {
    color: var(--text-gray-dark);
    font-size: 0.9rem;
    margin: 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: var(--accent-gold);
}

/* Pricing Box */
.pricing-box {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-gold);
    border-radius: 5px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-list li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.pricing-list li:last-child {
    border-bottom: none;
}

/* Warranty Badge */
.warranty-badge {
    background: rgba(212, 175, 55, 0.15);
    border-left: 4px solid var(--accent-gold);
    padding: 1rem;
    border-radius: 5px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.warranty-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border-radius: 50%;
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.warranty-badge-content {
    flex-grow: 1;
}

.warranty-badge-link {
    color: var(--accent-gold);
    text-decoration: underline;
    font-weight: 600;
}

.warranty-badge-link:hover {
    color: var(--accent-gold-light);
}

.warranty-badges {
    margin: 1.5rem 0;
}

.warranty-badge-small {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-gold);
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    font-size: 0.9rem;
    display: inline-block;
    width: 100%;
}

/* ===== Forms ===== */
.form-control {
    background-color: var(--secondary-dark);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 1rem;
    border-radius: 0;
    transition: var(--transition);
}

.form-control::placeholder {
    color: var(--text-gray-dark) !important;
    opacity: 1 !important;
}

.form-control:focus {
    background-color: var(--secondary-dark);
    border-color: var(--accent-gold);
    color: var(--text-white);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.form-control:focus::placeholder {
    color: var(--text-gray-dark) !important;
    opacity: 0.7 !important;
}

.form-label {
    color: var(--text-white);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

textarea.form-control::placeholder {
    color: var(--text-gray-dark) !important;
    opacity: 1 !important;
}

textarea.form-control:focus::placeholder {
    color: var(--text-gray-dark) !important;
    opacity: 0.7 !important;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder {
    color: var(--text-gray-dark) !important;
    opacity: 1 !important;
}

input[type="text"]:focus::placeholder,
input[type="email"]:focus::placeholder,
input[type="tel"]:focus::placeholder,
input[type="number"]:focus::placeholder,
textarea:focus::placeholder {
    color: var(--text-gray-dark) !important;
    opacity: 0.7 !important;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--primary-dark);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    margin-top: 2rem;
}

.footer h5 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer p,
.footer a {
    color: var(--text-gray-dark);
    margin-bottom: 0.5rem;
}

.footer a:hover {
    color: var(--accent-gold);
}

/* Local SEO Grid - Dense list of clickable links */
.local-seo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1rem;
    margin-top: 0.5rem;
}

.local-seo-link {
    color: var(--text-gray-dark);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.6;
    transition: color 0.2s ease;
    display: block;
}

.local-seo-link:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .local-seo-grid {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    
    .local-seo-link {
        font-size: 0.85rem;
    }
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-gray-dark);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    color: var(--accent-gold);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.messaging-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.messaging-links .btn {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.messaging-links .btn:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

/* Footer Get Quote CTA on home page */
.btn-footer-cta {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background-color: transparent;
}

.btn-footer-cta:hover {
    border-color: var(--accent-gold-light);
    color: var(--accent-gold-light);
    background-color: transparent;
}

/* Contact Form Anchor Offset */
#contact-form {
    scroll-margin-top: 120px; /* Increased to account for fixed navbar */
    padding-top: 20px;
}

/* Adjust navbar padding on mobile for fixed positioning */
@media (max-width: 991.98px) {
    body {
        padding-top: 0; /* No padding needed - navbar is fixed */
    }
    
    .hero-carousel-prev {
        left: 5px;
    }

    .hero-carousel-next {
        right: 5px;
    }
    
    /* Authority bar visible on tablet, adjust spacing */
    @media (min-width: 768px) {
        .hero-section + .authority-bar {
            margin-top: 2rem !important;
            padding-top: 1.5rem !important;
            position: relative;
            z-index: 5;
        }

        .hero-section + section:not(.authority-bar) {
            margin-top: 2rem;
            padding-top: 1rem;
            position: relative;
            z-index: 5;
        }
    }
    
    #contact-form {
        scroll-margin-top: 100px;
    }
    
    /* Ensure navbar is at the very top on mobile */
    .navbar {
        top: 0;
        margin-top: 0;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* ===== Article Styles ===== */
.article-card {
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
}

.article-item {
    margin-bottom: 1.5rem !important;
}

.article-item .article-card {
    margin-bottom: 0 !important;
}

.article-card-body {
    padding: 1.5rem;
}

.article-card-body .card-text {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.article-card-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.article-card-body {
    padding: 2rem;
}

.article-meta {
    color: var(--text-gray-dark);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-meta span {
    color: var(--accent-gold);
}

/* ===== Photo Gallery Grid (Galleries page) ===== */
.gallery-filters {
    margin-bottom: 2rem;
}

.filter-btn {
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    padding: 0.75rem 1.5rem;
    margin: 0.25rem;
    border-radius: 5px;
    transition: var(--transition);
    cursor: pointer;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.5rem; /* Minimal gap for tight masonry layout */
    grid-auto-rows: 4px; /* Smaller base row for more precise control */
    align-items: start; /* Align items to start to prevent extra spacing */
    grid-auto-flow: row dense; /* Dense packing to minimize gaps */
}

/* Masonry layout - items span multiple rows based on aspect ratio */
.photo-grid-item-wrapper {
    grid-row-end: span var(--row-span, 50); /* Default span for ~200px at 4px base (200/4 = 50) */
    position: relative;
    margin: 0; /* Remove any margin */
    padding: 0; /* Remove any padding */
    break-inside: avoid; /* Prevent items from breaking across grid lines */
    display: block; /* Ensure block display */
    overflow: hidden; /* Prevent content overflow */
}

.photo-grid-item-wrapper img {
    width: 100%;
    height: auto; /* Match .photo-grid-img */
    object-fit: cover;
    display: block;
}

/* Enhanced masonry effect with JavaScript */
@media (min-width: 768px) {
    .photo-grid {
        gap: 0.6rem; /* Slightly larger gap on tablets */
    }
}

@media (min-width: 992px) {
    .photo-grid {
        gap: 0.75rem; /* Consistent gap on desktop - still tight */
    }
}

.photo-grid-item {
    border: none;
    padding: 0;
    margin: 0;
    background: none;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

.photo-grid-img {
    width: 100%;
    height: auto; /* Let height adjust based on aspect ratio */
    min-height: 200px; /* Reduced minimum height */
    max-height: 500px; /* Maximum height to prevent extremely tall images */
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0.9);
    display: block;
    vertical-align: top; /* Prevent extra spacing */
}

.photo-grid-item:hover .photo-grid-img {
    transform: scale(1.05);
    filter: brightness(1);
}

.before-after-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.before-after-instruction {
    padding: 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--accent-gold);
    border-radius: 5px;
}

.before-after-instruction p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

.before-after-instruction i {
    color: var(--accent-gold);
}

.before-after-instruction strong {
    color: var(--text-white);
}

.before-label {
    background: rgba(200, 50, 50, 0.9);
}

.after-label {
    background: rgba(50, 200, 50, 0.9);
    left: auto;
    right: 10px;
}

.photo-grid-item-wrapper.hidden {
    display: none;
}

/* ===== Video Gallery Styles ===== */
.gallery-card {
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 0; /* Match website theme - no rounded corners like other cards */
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 500px; /* Increased height to prevent CTA cutoff - proportions: 70% video, 30% content */
}

.gallery-card:hover {
    transform: translateY(-10px); /* Match website theme hover effect (same as .card:hover) */
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
}

.gallery-card .ratio {
    border-radius: 0; /* Match website theme */
    overflow: hidden;
    flex-shrink: 0;
}

.gallery-card iframe {
    border: none;
    border-radius: 0; /* Match website theme */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery-card .video-container-large {
    height: 70%; /* 70% of card height for video */
    flex-shrink: 0;
}

.gallery-card .video-container-large .ratio {
    height: 100%; /* Full height of container */
}

/* Card body takes remaining 30% and is split into 3 equal parts */
.gallery-card .card-body {
    padding: 1.25rem 1rem 1.25rem; /* Adequate padding on all sides, extra bottom for buttons */
    height: 30%; /* Remaining 30% for text content and CTAs */
    min-height: 150px; /* Ensure enough space for all content */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Changed from space-between for better control */
    flex-shrink: 0;
    box-sizing: border-box; /* Ensure padding is included in height */
}

/* Heading: 10% of total card height - match website theme */
.gallery-card .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    min-height: 50px; /* Minimum height for heading */
    display: flex;
    align-items: center;
    color: var(--accent-gold); /* Match website theme - gold color for titles */
    font-weight: 600;
    line-height: 1.3;
}

/* Description: 10% of total card height */
.gallery-card .card-text {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    min-height: 40px; /* Minimum height for description */
    display: flex;
    align-items: flex-start;
    color: var(--text-gray) !important; /* Ensure visibility - override text-muted */
    line-height: 1.5;
    flex: 1;
}

/* CTAs: 10% of total card height - ensure they don't get cut off */
.gallery-card .card-body > .d-flex {
    min-height: 50px; /* Minimum height to ensure buttons are fully visible */
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Ensure buttons in video cards are visible */
.gallery-card .btn-outline {
    color: var(--text-white) !important;
    border-color: var(--text-white) !important;
}

.gallery-card .btn-outline:hover {
    background-color: var(--text-white) !important;
    color: var(--primary-dark) !important;
}

/* Responsive adjustments for video tiles */
@media (max-width: 991.98px) {
    .gallery-card {
        height: 450px; /* Maintain proportions on tablets */
    }
    
    .gallery-card .card-body {
        min-height: 135px;
        padding: 1.15rem 1rem 1.15rem;
    }
    
    .gallery-card .card-body > .d-flex {
        min-height: 50px;
    }
}

@media (max-width: 767.98px) {
    .gallery-card {
        height: 420px; /* Maintain proportions on mobile */
    }
    
    .gallery-card .card-body {
        min-height: 126px;
        padding: 1rem 0.875rem 1rem;
    }
    
    .gallery-card .card-title {
        font-size: 1rem;
        min-height: 45px;
    }
    
    .gallery-card .card-text {
        font-size: 0.85rem;
        min-height: 35px;
        margin-bottom: 0.5rem;
    }
    
    .gallery-card .card-body > .d-flex {
        min-height: 48px;
        padding-top: 0.5rem;
    }
    
    .gallery-card .btn-sm {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* Fix text visibility - ensure text-muted is visible on dark backgrounds */
.text-muted {
    color: var(--text-gray) !important; /* Override Bootstrap's default gray */
}

/* Ensure all card text elements are visible */
.gallery-card .card-text.text-muted {
    color: var(--text-gray) !important;
    opacity: 1;
}

/* Instagram Widget */
.instagram-widget {
    margin-top: 1.5rem;
}

/* Calendly CTA Box */
.calendly-cta-box {
    border: 1px solid var(--accent-gold);
    border-left: 4px solid var(--accent-gold);
    transition: var(--transition);
}

.calendly-cta-box:hover {
    border-color: var(--accent-gold-light);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

/* Social Media Embeds */
.social-embeds {
    margin-top: 2rem;
}

.youtube-embed-container {
    margin-bottom: 1.5rem;
}

.youtube-embed-container iframe {
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.instagram-embed-container {
    max-width: 100%;
    overflow: hidden;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.instagram-embed-container iframe {
    max-width: 100%;
    border-radius: 5px;
}

/* Pricing Table Styles */
.pricing-box .table {
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.3);
}

.pricing-box .table thead th {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent-gold);
    border-bottom: 2px solid var(--accent-gold);
}

.pricing-box .table tbody tr:hover {
    background: rgba(212, 175, 55, 0.1);
}

.pricing-disclaimer {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
}

/* Performance Optimization - Image Loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Google Reviews Widget */
.google-reviews-summary {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.review-rating-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.rating-number {
    display: block;
    line-height: 1;
}

.stars-large {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

/* Preview Share Buttons */
.preview-share {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

/* ===== Mobile Sticky Action Bar ===== */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 9999;
    padding: 0.75rem 0;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 
        0 -4px 20px rgba(0, 0, 0, 0.6),
        0 -2px 8px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.mobile-sticky-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 0.5rem;
    text-decoration: none;
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.mobile-sticky-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.mobile-sticky-btn:active::before {
    left: 100%;
}

.mobile-sticky-btn i {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.mobile-call-btn {
    width: 40%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.mobile-call-btn:active {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: scale(0.97);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mobile-quote-btn {
    width: 60%;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8941f 100%);
    color: var(--primary-dark);
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mobile-quote-btn:active {
    background: linear-gradient(135deg, #b8941f 0%, #9a7a1a 100%);
    transform: scale(0.97);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Add bottom padding to body on mobile to prevent content overlap */
@media (max-width: 767px) {
    body {
        padding-bottom: 90px; /* Slightly increased to ensure safe spacing */
    }
    
    /* Ensure hero section has enough bottom padding on mobile */
    .hero-section.home-hero {
        padding-bottom: 140px !important; /* Account for sticky bar (85-90px) + indicators + spacing */
    }
}

/* ===== Featured Project Badge ===== */
.featured-project {
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ===== Video Play Overlay ===== */
.photo-grid-item-wrapper[data-type="video"] {
    position: relative;
}

.photo-grid-item-wrapper[data-type="video"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    z-index: 5;
    pointer-events: none;
    transition: all 0.3s ease;
}

.photo-grid-item-wrapper[data-type="video"]::before {
    content: '\f04b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-45%, -50%);
    color: var(--primary-dark);
    font-size: 1.5rem;
    z-index: 6;
    pointer-events: none;
}

.photo-grid-item-wrapper[data-type="video"]:hover::after {
    background: var(--accent-gold);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Video in lightbox */
#photoLightboxVideo {
    width: 100%;
    max-width: 100%;
    max-height: 80vh;
    display: none;
}

#photoLightboxVideo.show {
    display: block;
}

#photoLightboxImage.hide {
    display: none;
}

/* Certification Logos */
.cert-logo {
    transition: opacity 0.3s ease;
}

.cert-logo:hover {
    opacity: 1 !important;
    filter: grayscale(0%) !important;
}

/* Mobile Responsiveness Enhancements */
@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .pricing-box .table {
        font-size: 0.9rem;
    }
    
    .warranty-badge {
        flex-direction: column;
        text-align: center;
    }
    
    .warranty-badge-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .google-reviews-summary {
        padding: 1.5rem;
    }
    
    .review-rating-large {
        font-size: 2rem;
    }
    
    .gallery-card .card-body {
        padding: 1rem;
    }
}

.photo-lightbox-img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.photo-lightbox-img.hide {
    display: none;
}

.photo-lightbox-img.show {
    display: block;
}

.lightbox-content-wrapper {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-lightbox-caption {
    color: var(--text-gray);
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
}

.photo-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(0,0,0,0.6);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}

.photo-lightbox-prev {
    left: 15px;
}

.photo-lightbox-next {
    right: 15px;
}

.photo-lightbox-nav:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.photo-lightbox-nav:active {
    transform: translateY(-50%) scale(0.95);
}

/* Ensure modal can receive focus for keyboard events */
#photoLightboxModal {
    outline: none;
}

#photoLightboxModal:focus {
    outline: none;
}

/* ===== Quote Calculator ===== */
.quote-calculator {
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.quote-result {
    animation: fadeInUp 0.5s ease;
}

.quote-result .alert {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-gold);
    border-radius: 10px;
    color: var(--text-gray);
}

/* ===== Virtual Preview Tool ===== */
.preview-tool-section {
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2.5rem;
    margin-top: 2rem;
}

.preview-tool-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 2rem;
}

.preview-controls {
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border-radius: 10px;
    height: 100%;
}

.color-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.color-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.color-btn:hover {
    border-color: var(--accent-gold);
    transform: scale(1.1);
}

.color-btn.active {
    border-color: var(--accent-gold);
    border-width: 3px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.preview-canvas-container {
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.booking-calendar {
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    overflow: hidden;
}

/* ===== Accessibility Improvements ===== */
:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Ensure sufficient color contrast - WCAG AA compliant */
.text-gray {
    color: var(--text-gray) !important;
}

/* Fix text visibility issues - ensure text-muted is visible on dark backgrounds */
.text-muted {
    color: var(--text-gray) !important; /* Override Bootstrap's default gray for better visibility on dark background */
    opacity: 1 !important; /* Ensure full opacity */
}

/* Ensure all text elements have sufficient contrast */
p, .card-text, .text-muted {
    color: var(--text-gray) !important;
}

/* Override any Bootstrap classes that might make text invisible */
.card-body .text-muted {
    color: var(--text-gray) !important;
    opacity: 1 !important;
}

/* Keyboard navigation improvements */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===== Performance Optimizations ===== */
img {
    image-rendering: -webkit-optimize-contrast;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ===== Pagination ===== */
.pagination {
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-link {
    background-color: var(--secondary-dark);
    border-color: var(--border-color);
    color: var(--text-white);
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.page-link:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
}

.page-item.active .page-link {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
}

/* ===== Team Section ===== */
.team-card {
    text-align: center;
    background: var(--secondary-dark);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.team-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--accent-gold);
}

.team-name {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--text-gray-dark);
    font-style: italic;
}

/* ===== Map Container ===== */
.map-container {
    height: 400px;
    width: 100%;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(50%) invert(10%);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(30%) invert(5%);
}

@media (max-width: 768px) {
    .map-container {
        height: 300px;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    /* Ensure authority bar doesn't overlap hero on mobile */
    /* Authority bar hidden on mobile - handled in @media (max-width: 768px) */
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        white-space: normal !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Ensure btn-lg doesn't override mobile wrapping */
    .btn-lg {
        white-space: normal !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.8rem !important;
    }
    
    /* Fix Google Reviews button text overflow on mobile */
    /* Container for Google Reviews button */
    .text-center.mt-4 {
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }
    
    /* Specifically target the Google Reviews button */
    a.btn-outline[href*="google.com"],
    .text-center .btn-outline[href*="google.com"],
    .text-center.mt-4 .btn-outline[href*="google.com"] {
        white-space: normal !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0.7rem 0.75rem !important;
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
        max-width: 100% !important;
        width: calc(100% - 2rem) !important;
        min-width: auto !important;
        display: inline-flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center;
        margin: 0.5rem auto !important;
        letter-spacing: 0.3px !important;
        box-sizing: border-box;
    }
    
    /* Remove margin-end from Google Reviews button on mobile */
    a.btn-outline[href*="google.com"].me-2 {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    
    /* Ensure icon and text wrap properly */
    a.btn-outline[href*="google.com"] i {
        flex-shrink: 0;
        margin-right: 0.4rem !important;
    }
    
    /* Fix "Learn More About EV Wraps" button - keep text on one line, make wider */
    a.btn-primary[href*="full-wraps.html"],
    a.btn[href*="full-wraps.html"] {
        white-space: nowrap !important;
        width: auto !important;
        max-width: calc(100% - 2rem) !important;
        min-width: 366px !important;
        padding: 0.75rem 1.2rem !important;
        font-size: 0.85rem !important;
        letter-spacing: 0.5px !important;
        display: inline-block !important;
        text-align: center;
        margin: 0.5rem auto !important;
        box-sizing: border-box;
    }
    
    /* Fix "Book a Consultation" button text overflow on mobile */
    /* Target buttons with calendar icon or consultation-related links */
    a.btn[href*="contact.html#contact-form"],
    a.btn[href*="contact.html#booking-calendar"],
    a[aria-label*="consultation"],
    a[aria-label*="Consultation"] {
        white-space: normal !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0.75rem 0.9rem !important;
        font-size: 0.75rem !important;
        letter-spacing: 0.5px !important;
    }
    
    /* Target buttons containing calendar icon (more reliable than :has) */
    .btn .fa-calendar {
        flex-shrink: 0;
    }
    
    /* Ensure parent button allows wrapping when it contains calendar icon */
    .btn-primary .fa-calendar,
    .btn-outline .fa-calendar {
        margin-right: 0.5rem;
    }
    
    .send-message {
        max-width: 84px;
    }
}

/* ===== Utility Classes ===== */
.text-gold {
    color: var(--accent-gold);
}

.bg-dark-section {
    background-color: var(--secondary-dark);
}

.mt-section {
    margin-top: 5rem;
}

.mb-section {
    margin-bottom: 5rem;
}

/* ===== Toast Notification ===== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
}

.toast-notification {
    background-color: var(--secondary-dark);
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideInRight 0.3s ease-out;
    min-width: 300px;
    max-width: 400px;
}

.toast-notification.success {
    border-color: #28a745;
}

.toast-notification.error {
    border-color: #dc3545;
}

.toast-notification .toast-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.toast-notification.success .toast-icon {
    color: #28a745;
}

.toast-notification.error .toast-icon {
    color: #dc3545;
}

.toast-notification .toast-content {
    flex: 1;
}

.toast-notification .toast-title {
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.toast-notification .toast-message {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.toast-notification .toast-close {
    background: none;
    border: none;
    color: var(--text-gray-dark);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.toast-notification .toast-close:hover {
    color: var(--text-white);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast-notification.hiding {
    animation: slideOutRight 0.3s ease-out forwards;
}

@media (max-width: 576px) {
    .toast-container {
        left: 20px;
        right: 20px;
        min-width: auto;
    }
    
    .toast-notification {
        min-width: auto;
        max-width: none;
    }
}

/* ===== Why Us Authority Bar ===== */
.authority-bar {
    margin-top: 0;
    padding-top: 1rem;
    position: relative;
    z-index: 2;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(40, 40, 40, 0.3) 2px,
            rgba(40, 40, 40, 0.3) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(40, 40, 40, 0.3) 2px,
            rgba(40, 40, 40, 0.3) 4px
        );
    background-color: #0f0f0f;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

/* Carbon fiber texture overlay */
.authority-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(212, 175, 55, 0.03) 10px,
            rgba(212, 175, 55, 0.03) 20px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            rgba(212, 175, 55, 0.03) 10px,
            rgba(212, 175, 55, 0.03) 20px
        );
    pointer-events: none;
    z-index: 0;
}

.authority-bar .container {
    position: relative;
    z-index: 1;
}

.authority-stat {
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    padding: 1rem 0.75rem;
    position: relative;
    transition: background-color 0.3s ease;
}

.authority-stat:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

.authority-stat:last-child {
    border-right: none;
}

.authority-stat-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.authority-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 0.25rem;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.authority-stat:hover .authority-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.5));
}

.authority-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1.00rem;
    font-size: 1.25rem;
    color: var(--accent-gold);
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

.authority-stat-label {
    font-size: 0.85rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767.98px) {
    .authority-bar {
        padding: 1.25rem 0;
    }
    
    .authority-stat {
        border-right: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        padding: 1rem 0.5rem;
    }
    
    .authority-stat:nth-child(2n) {
        border-left: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .authority-stat:last-child,
    .authority-stat:nth-last-child(2) {
        border-bottom: none;
    }
    
    .authority-icon {
        font-size: 1.75rem;
    }
    
    .authority-stars {
        font-size: 1.1rem;
    }
    
    .authority-stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.8px;
    }
}

/* ===== Quality Note Box ===== */
.quality-note-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid var(--accent-gold);
    border-left: 4px solid var(--accent-gold);
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quality-note-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
}

.quality-note-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.quality-note-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.quality-note-title {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.quality-note-text {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

@media (max-width: 767.98px) {
    .quality-note-box {
        padding: 1.25rem;
    }
    
    .quality-note-icon {
        font-size: 1.25rem;
    }
    
    .quality-note-title {
        font-size: 1rem;
    }
    
    .quality-note-text {
        font-size: 0.9rem;
    }
}

/* ===== Quality Standards Section ===== */
.quality-standard-card {
    background: var(--secondary-dark);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.quality-standard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.quality-standard-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.quality-standard-card:hover::before {
    transform: scaleX(1);
}

.quality-standard-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    border: 2px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.quality-standard-card:hover .quality-standard-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.2));
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.quality-standard-icon i {
    font-size: 2.5rem;
    color: var(--accent-gold);
}

.quality-standard-card h4 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.quality-standard-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

@media (max-width: 767.98px) {
    .quality-standard-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1rem;
    }
    
    .quality-standard-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }
    
    .quality-standard-icon i {
        font-size: 2rem;
    }
    
    .quality-standard-card h4 {
        font-size: 1.1rem;
    }
}

/* ===== Warranty & Quality Shield Section ===== */
.warranty-section {
    background: var(--secondary-dark);
    border: 2px solid var(--accent-gold);
    border-radius: 10px;
    padding: 3rem 2rem;
}

.warranty-badge {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--primary-dark);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.warranty-badge:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.warranty-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.warranty-badge h4 {
    color: var(--text-white);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.warranty-badge p {
    color: var(--text-gray);
    margin-bottom: 0;
    line-height: 1.6;
}

.warranty-premium-materials {
    text-align: center;
    padding: 2rem;
    background: var(--primary-dark);
    border-radius: 8px;
    border: 1px solid var(--accent-gold);
    margin-top: 2rem;
}

.premium-brands {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.premium-brands .brand-logo {
    font-size: 2.5rem;
    color: var(--accent-gold);
    font-weight: 900;
    display: inline-block;
}

.brand-name {
    font-size: 1.1rem;
    color: var(--text-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-separator {
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-weight: 700;
}

.warranty-precision {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--primary-dark);
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
}

.precision-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.warranty-precision p {
    margin-bottom: 0;
    color: var(--text-gray);
}

@media (max-width: 767.98px) {
    .warranty-section {
        padding: 2rem 1.5rem;
    }
    
    .warranty-badge {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .warranty-icon {
        font-size: 2.5rem;
    }
    
    .warranty-premium-materials {
        padding: 1.5rem 1rem;
    }
    
    .premium-brands {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .warranty-precision {
        flex-direction: column;
        text-align: center;
    }
    
    .precision-icon {
        margin-top: 0;
    }
}

/* ===== FOMO Availability Widget ===== */
/* Note: Navbar position is fixed (defined earlier) - do not override */

.availability-widget-header {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 2px solid var(--accent-gold);
    z-index: 1020;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    margin: 0; /* Ensure no margin */
}

.availability-widget-hero {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: 2px solid var(--accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.availability-dot {
    width: 12px;
    height: 12px;
    background-color: #ffa500;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-amber 2s infinite;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.6);
}

@keyframes pulse-amber {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 165, 0, 0.6);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(255, 165, 0, 0.9);
    }
}

.availability-text {
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .availability-widget-header {
        position: relative;
        top: 0;
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .availability-widget-hero {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .availability-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .availability-widget-header {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 0.5rem;
    }
    
    .availability-widget-hero {
        flex-direction: column;
        text-align: center;
        padding: 0.75rem 1rem;
    }
    
    .availability-text {
        font-size: 0.75rem;
        text-align: center;
    }
}

/* ===== Winter Protection Banner ===== */
.winter-protection-banner {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
    padding: 3rem 2rem;
    border-top: 3px solid var(--accent-gold);
    border-bottom: 3px solid var(--accent-gold);
    position: relative;
    overflow: hidden;
}

.winter-protection-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(212, 175, 55, 0.03) 10px, rgba(212, 175, 55, 0.03) 20px);
    pointer-events: none;
}

.winter-protection-banner h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.winter-protection-banner .lead {
    color: var(--text-gray);
    font-size: 1.1rem;
}

@media (max-width: 991.98px) {
    .winter-protection-banner {
        padding: 2rem 1.5rem;
    }
    
    .winter-protection-banner h2 {
        font-size: 1.75rem;
    }
    
    .winter-protection-banner .lead {
        font-size: 1rem;
    }
}

/* ===== Button Accessibility - Min Width ===== */
.btn-primary,
.btn-outline,
.btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-sm {
    min-height: 36px;
    padding: 0.5rem 1rem;
}

.btn-lg {
    min-height: 52px;
    padding: 0.75rem 2rem;
}

