/* ========== LOGOS MARQUE SCROLL SECTION ========== */

.marquee-section {
    padding: 5rem 2rem 1rem 2rem;
    width: 100%;
}

.marquee-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 28px 0;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    /* fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 70px;
    padding: 0 30px;
    flex-shrink: 0;
    animation: marquee-scroll 20s linear infinite;
}

.marquee-content img {
    height: 52px;
    width: 52px;
    object-fit: contain;
    /* Dark theme - light gray logos */
    filter: brightness(0) invert(0.6);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

/* Light theme - dark gray logos */
body.light .marquee-content img {
    filter: brightness(0) invert(0.3);
    opacity: 0.45;
}

.marquee-content img:hover {
    opacity: 1;
    filter: brightness(0) invert(0.85);
}

body.light .marquee-content img:hover {
    opacity: 1;
    filter: brightness(0) invert(0.4);
}

.marquee-track:hover .marquee-content {
    animation-play-state: paused;
}

/* Media Queries */
@media (max-width: 768px) {
    .marquee-section {
        padding: 3.5rem 1rem 0.5rem 1rem;
    }
}

/* ========== CTA SECTION ========== */

.cta-section {
    padding: 0rem 2rem 2rem 0rem;
}

.cta-container {
    max-width: 1300px;
    margin: 0 auto;
    background-image: url("../images/assets/cta-bg-dark.jpg");
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 16px;
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

/* dark overlay in dark theme */
.cta-container::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.90) 0%,
            rgba(0, 0, 0, 0.70) 40%,
            rgba(0, 0, 0, 0.20) 100%);
}

body.light .cta-container {
    background-image: url('../images/assets/cta-bg-light.jpg');
}

/* light overlay in light theme */
body.light .cta-container::before {
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.75) 0%,
            rgba(255, 255, 255, 0.50) 40%,
            rgba(255, 255, 255, 0.10) 100%);
}

/* all direct children sit above overlay */
.cta-container>* {
    position: relative;
    z-index: 1;
}

.cta-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
}

.cta-section .section-title {
    font-size: 1.6rem;
}

.cta-call-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--gold);
    color: #000000;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--gold);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: pulse 2s infinite;
}

.cta-call-btn i {
    color: green;
    font-size: 1.2rem;
}

.cta-call-btn:hover {
    animation: none;
}

.cta-call-btn:active {
    transform: scale(0.95);
}

.cta-btn-number {
    font-size: 1rem;
    font-weight: 700;
}

.cta-call-btn:hover i {
    transform: scale(1.07);
}

/* Media Queries */
@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 2rem 1.5rem;
    }

    .cta-content {
        align-items: center;
    }

    .cta-section .section-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 1rem;
    }

    .cta-call-btn {
        font-size: 0.85rem;
        padding: 0.65rem 1rem;
    }
}


/* ========== REVIEWS SECTION ========== */

.reviews-swiper {
    width: 100%;
    padding-bottom: 1rem;
    overflow: hidden;
}

.reviews-swiper .swiper-slide {
    height: auto;
    align-self: stretch;
}

.reviews-section {
    padding: 4rem 2rem;
    background-image: url('../images/assets/hero-emblems-bg-dark.png');
    background-size: 500px;
    background-repeat: repeat;
    background-position: center;
    background-color: var(--primary-bg);
    position: relative;
    scroll-margin-top: calc(var(--nav-height) - 20px);
}

/* dark overlay in dark theme */
.reviews-section::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.82);
    z-index: 0;
}

body.light .reviews-section {
    background-image: url('../images/assets/hero-emblems-bg-light.png');
}

/* light overlay in light theme */
body.light .reviews-section::before {
    background-color: rgba(255, 255, 255, 0.92);
}

.reviews-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.review-card {
    background-color: var(--card-bg);
    border: none;
    border-left: 3px solid transparent;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.review-card:hover {
    border-left: 3px solid var(--gold);
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background-color: var(--card-bg);
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.reviewer-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.reviewer-city {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.reviewer-car {
    font-size: 0.75rem;
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.review-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    flex: 1;
}

.reviewer-purchased {
    font-size: 0.78rem;
    color: var(--text-secondary);
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.reviewer-purchased strong {
    color: var(--gold);
    font-weight: 600;
}

.reviews-btn-wrapper {
    display: flex;
    justify-content: center;
}

.reviews-google-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    margin-top: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--gold);
    color: var(--text-primary);
    background-color: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.reviews-google-btn:hover {
    background: linear-gradient(135deg,
            #c9a227 0%,
            #f5d060 50%,
            #c9a227 100%);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.reviews-google-btn i {
    font-size: 1rem;
    color: #4285f4;
}

.reviews-google-btn:active {
    transform: scale(0.95);
}

/* Media Queries */
@media (max-width: 768px) {
    .reviews-section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .reviews-section {
        padding: 2rem 1rem;
    }

    .review-card {
        padding: 1rem;
    }

    .reviewer-name {
        font-size: 0.85rem;
    }

    .review-text {
        font-size: 0.82rem;
    }

    .reviews-google-btn {
        font-size: 0.8rem;
        padding: 0.7rem 1.2rem;
    }
}


/* ========== WHYUS SECTION ========== */

.whyus-section {
    padding: 3.5rem 2rem;
    scroll-margin-top: calc(var(--nav-height) - 20px);
}

.whyus-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.whyus-card {
    background-color: var(--card-bg);
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: border-color 0.3s ease;
    box-shadow: var(--card-shadow);
}

/* Bottom border for whyus card from center fading on both sides */
.whyus-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    background: linear-gradient(to right,
            transparent 0%,
            var(--gold) 30%,
            var(--gold) 70%,
            transparent 100%);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.whyus-card:hover::after {
    transform: scaleX(1);
}

.whyus-icon {
    width: 44px;
    height: 44px;
    background: var(--gold-subtle);
    border: 1px solid rgba(201, 162, 39, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.whyus-card:hover .whyus-icon {
    transform: translateX(-4px) scale(1.1);
    background: rgba(201, 162, 39, 0.18);
}

.whyus-icon i {
    color: var(--gold);
    font-size: 1.2rem;
}

.whyus-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.whyus-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Media Queries */
@media (max-width: 1280px) {
    .whyus-section {
        padding-top: 1rem;
    }
}

@media (max-width: 900px) {
    .whyus-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .whyus-section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .whyus-grid {
        grid-template-columns: 1fr;
    }

    .whyus-section {
        padding: 2rem 1rem;
    }

    .whyus-card {
        padding: 1rem;
    }
}

/* ========== FAQ SECTION ========== */

/* radial gradient on dark theme */
.faq-section {
    padding: 4rem 2rem;
    scroll-margin-top: calc(var(--nav-height) - 20px);
    background-image: radial-gradient(circle,
            rgba(201, 162, 39, 0.14) 1.5px,
            transparent 1.5px);
    background-size: 40px 40px;
}

/* radial gradient in light theme */
body.light .faq-section {
    background-image: radial-gradient(circle,
            rgba(201, 162, 39, 0.25) 1.5px,
            transparent 1.5px);
    background-size: 40px 40px;
}

.faq-container {
    margin: 0 auto;
    max-width: 1400px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--gold-hover);
    box-shadow: var(--navbar-shadow);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 1rem;
}

.faq-item.active .faq-question {
    border-bottom: 1px solid var(--border);
}

.question-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: color 0.3s ease;
}

.faq-item:hover .question-text {
    color: var(--gold);
}

.faq-icon {
    color: var(--text-primary);
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.answer-text {
    background-color: var(--secondary-bg);
    padding: 1.25rem 1.5rem 1.25rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Media Queries */
@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 1.5rem;
    }

    .faq-question {
        padding: 1rem 1.25rem;
    }

    .question-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 2rem 1rem;
    }

    .question-text {
        font-size: 0.88rem;
    }
}