/* PanelWashPro - UI Components & Psychological Marketing Cards */

/* Buttons & Pill Variations */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    font-size: var(--fs-sm);
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(0, 136, 255, 0.25);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 136, 255, 0.38);
}

.btn-pill {
    border-radius: var(--radius-pill);
}

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

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: rgba(0, 136, 255, 0.05);
}

/* High-Contrast White Outline Button for Dark Overlays */
.btn-outline-white {
    background-color: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--color-white) !important;
}

.btn-outline-white i {
    color: var(--color-white) !important;
}

.btn-outline-white:hover {
    background-color: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-dark) !important;
    transform: translateY(-2px);
}

.btn-outline-white:hover i {
    color: var(--color-dark) !important;
}

.btn-full {
    width: 100%;
}

/* Service Card Blocks (Unified Rounded Corners) */
.service-block-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-block-card.reverse {
    direction: rtl;
}

.service-block-card.reverse > * {
    direction: ltr;
}

.service-block-content h2 {
    font-size: var(--fs-3xl);
    color: var(--color-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-block-content p {
    color: var(--color-text-muted);
    font-size: var(--fs-base);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-block-img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* Service Card Grid Elements */
.service-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.service-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Hero Fast Swiper Carousel */
.hero-swiper-container {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--color-border);
    position: relative;
    background-color: var(--color-dark);
}

.hero-swiper {
    width: 100%;
    height: 420px;
    position: relative;
    overflow: hidden;
}

.hero-swiper .swiper-slide {
    width: 100% !important;
    height: 420px !important;
    position: relative;
    overflow: hidden;
}

.hero-swiper-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Semi-transparent Light Glassmorphism Pill Caption with Dark Blue Text & Icons */
.hero-swiper-caption {
    position: absolute;
    bottom: 2rem;
    left: 1.25rem;
    z-index: 10;
    padding: 0.65rem 1.1rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--color-dark);
    font-size: var(--fs-xs);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);
    max-width: calc(100% - 2.5rem);
}

.hero-swiper-caption i {
    color: var(--color-primary) !important;
    font-size: 1rem;
}

/* Checklists with Blue Icon Square */
.blue-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 1.5rem 0 2rem 0;
}

.blue-checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--fs-sm);
    color: var(--color-text);
    font-weight: 500;
}

.blue-check-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background-color: rgba(0, 136, 255, 0.12);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* High Contrast for Checklists inside Dark Sections */
.bg-dark-texture .blue-checklist-item {
    color: rgba(255, 255, 255, 0.95) !important;
}

.bg-dark-texture .blue-checklist-item * {
    color: rgba(255, 255, 255, 0.95) !important;
}

.bg-dark-texture .blue-check-icon {
    background-color: rgba(16, 185, 129, 0.2);
}

.bg-dark-texture .blue-check-icon i {
    color: var(--color-eco) !important;
}

/* Psychological Loss Aversion Banner with Photo & Dark Overlay */
.loss-aversion-banner-photo {
    background: linear-gradient(rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.92)), url('/assets/img/photos/29.webp') no-repeat center center / cover;
    color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.loss-aversion-banner-photo h2 {
    color: var(--color-white);
    font-size: var(--fs-3xl);
    font-weight: 800;
}

.loss-highlight {
    color: #ff4d4d;
    font-weight: 800;
}

/* Trust Badges Row */
.trust-badges-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.25rem 0;
}

.trust-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--color-dark);
    background-color: var(--color-white);
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

/* Social Proof & Customer Reviews (Yelp Certified) */
.review-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-stars {
    color: #ffb400;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.review-text {
    font-size: var(--fs-sm);
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--fs-xs);
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
}

.review-author-name {
    font-weight: 700;
    color: var(--color-dark);
}

.review-author-loc {
    color: var(--color-text-muted);
}

.yelp-review-tag {
    color: #d32323;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Swiper Custom Navigation & Pagination */
.swiper-container-box {
    position: relative;
    padding-bottom: 3.5rem;
}

.swiper-pagination {
    bottom: 0.5rem !important;
}

.swiper-pagination-bullet-active {
    background: var(--color-primary) !important;
}

/* CTA Banner with Photo Background & Dark Card Overlay */
.cta-photo-banner-29 {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: url('/assets/img/photos/29.webp') no-repeat center center / cover;
    min-height: 440px;
    display: flex;
    align-items: center;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.cta-dark-card {
    max-width: 480px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-dark-card h2 {
    color: var(--color-white);
    font-size: var(--fs-2xl);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.cta-dark-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--fs-sm);
    margin-bottom: 1.5rem;
}

.cta-dark-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}

.cta-dark-checklist-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--fs-sm);
    font-weight: 500;
}

.cta-dark-checklist-item span {
    color: var(--color-white);
    font-weight: 600;
}

/* Vertical Video Component - 2-Column Space-Efficient Layout */
.video-section-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
}

.vertical-video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vertical-video-card {
    width: 100%;
    max-width: 320px;
    background-color: var(--color-dark);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 136, 255, 0.3);
    position: relative;
    transition: var(--transition);
}

.vertical-video-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 24px 48px rgba(0, 136, 255, 0.25);
}

.vertical-video-player {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

.vertical-video-caption {
    padding: 0.85rem 1rem;
    background-color: var(--color-white);
    text-align: center;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--color-dark);
    border-top: 1px solid var(--color-border);
}

/* Form Controls with Unified Rounded Corners */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    font-size: var(--fs-base);
    font-family: inherit;
    color: var(--color-dark);
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.15);
}

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

/* Accordion (FAQ) with Unified Rounded Corners */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--color-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-body {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: var(--color-text-muted);
    display: none;
}

.accordion-item.active .accordion-body {
    display: block;
}

/* Helper Cards & Border Utility Classes */
.card-padded {
    padding: 2.25rem;
    border-radius: var(--radius-lg);
}

.card-accent-border {
    border-left: 4px solid var(--color-primary);
}

.card-eco-border {
    border-left: 4px solid var(--color-eco);
}

.hero-phone-single {
    font-weight: 700;
    color: var(--color-dark);
    font-size: 1.25rem;
}

.badge-pill-accent {
    background: rgba(0, 136, 255, 0.1);
    color: #0088ff;
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.badge-pill-eco {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Page Hero Title Block */
.page-title-block {
    text-align: center;
    padding: 3.5rem 0 2.5rem 0;
}

.page-title-block h1 {
    font-size: var(--fs-4xl);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.page-title-block p {
    font-size: var(--fs-lg);
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* 404 Error Styles */
.error-container {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem;
}

.error-code {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.error-msg {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .video-section-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .service-block-card,
    .service-block-card.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.75rem;
    }
    
    .cta-photo-banner-29 {
        padding: 1.5rem;
    }
    
    .cta-dark-card {
        max-width: 100%;
        width: 100%;
    }
}
