/* CLT Mobile Window Tints - Premium High-Converting Styles */

:root {
    --primary-red: #ff0000;
    --dark-black: #000000;
    --medium-black: #111111;
    --text-white: #ffffff;
    --text-muted: #aaaaaa;
    --text-dark: #333333;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* --- Base Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.centered { text-align: center; }
.italic { font-style: italic; }
.text-red { color: var(--primary-red); }
.text-white { color: #fff; }
.text-muted { color: var(--text-muted); }
.dark-bg { background-color: var(--dark-black); color: #fff; }

.rounded-img { border-radius: 10px; }
.shadow-lg { box-shadow: 0 20px 40px rgba(0,0,0,0.15); }

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 750px;
    background-image: url('../img/redcarbg.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    padding-top: 40px;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
}

.hero-logo-centered {
    margin-bottom: 50px;
}

.hero-logo-centered img {
    height: 60px;
    width: auto;
}

.hero h1 {
    font-size: clamp(28px, 5vw, 52px);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: none;
    color: #fff;
}

.hero-subtext {
    font-size: clamp(18px, 2.2vw, 24px);
    margin-bottom: 45px;
    color: #eee;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--primary-red);
    color: #fff;
    border: none;
    padding: 20px 50px;
    font-size: 24px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.4);
}

/* --- Trust Section --- */
.trust-section {
    padding: 80px 0;
    background-color: #fff;
}

.trust-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.google-logo {
    width: 280px;
    height: auto;
}

.testimonial-quote {
    font-size: 19px;
    font-style: italic;
    color: #444;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 700;
    font-size: 18px;
    border-top: 2px solid #000;
    padding-top: 15px;
    display: inline-block;
}

/* --- Benefits Section --- */
.benefits-section, .quality-section {
    padding: 100px 0;
}

.section-title {
    font-size: 42px;
    margin-bottom: 25px;
    font-weight: 800;
}

.benefit-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.benefit-text { flex: 1; }
.benefit-images { flex: 1; text-align: center; }
.benefit-images img { width: 100%; height: auto; }

.benefit-list {
    list-style: none;
    margin-top: 30px;
}

.benefit-list li {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.reverse { flex-direction: row-reverse; }

.guarantee-badge {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: #151515;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-red);
}

.badge-icon { font-size: 45px; }

/* --- Gallery Section --- */
.gallery-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* --- Final CTA --- */
.final-cta {
    padding: 120px 0;
    text-align: center;
}

.final-cta h2 { font-size: 48px; margin-bottom: 20px; font-weight: 800; }
.final-cta p { font-size: 24px; margin-bottom: 45px; opacity: 0.9; }

.cta-call {
    margin-top: 40px;
    font-size: 22px;
}

/* --- Footer --- */
.footer {
    background-color: #000;
    color: #fff;
    padding: 80px 0 60px;
}

.footer-logo { height: 70px; margin-bottom: 30px; }

.footer-bottom {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #222;
    color: #555;
    font-size: 15px;
}

/* --- Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: #fff;
    margin: 5vh auto;
    padding: 50px;
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    position: relative;
}

.multi-step .question h2 {
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-icon {
    font-size: 30px;
}

.step-desc {
    color: #666;
    margin-bottom: 25px;
    font-size: 15px;
}

.answers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.answer-btn {
    width: 100%;
    background-color: #f8f8f8;
    border: 2px solid #eee;
    padding: 18px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.answer-btn:hover {
    border-color: var(--primary-red);
    background-color: #fff;
    color: var(--primary-red);
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background-color: #eee;
    border-radius: 3px;
    margin-bottom: 40px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.full-width {
    width: 100%;
    margin-top: 20px;
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    color: #bbb;
}

.modal-header { text-align: center; margin-bottom: 35px; }
.modal-header h3 { font-size: 32px; margin-bottom: 10px; }

.quote-form .form-group { margin-bottom: 20px; }
.quote-form label { display: block; margin-bottom: 10px; font-weight: 700; font-size: 15px; }
.quote-form input, .quote-form select {
    width: 100%;
    padding: 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-red);
    color: #fff;
    border: none;
    padding: 20px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}

/* --- Floating Quote Button --- */
.floating-quote-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-red);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
    z-index: 1000;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
}

.floating-quote-btn i {
    font-size: 18px;
}

.floating-quote-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.5);
}

.floating-quote-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
    .floating-quote-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .floating-quote-btn span {
        display: none;
    }
    
    .floating-quote-btn {
        width: 55px;
        height: 55px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

/* --- Animations --- */
.fade-in { animation: fadeIn 1s ease-out forwards; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

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

/* --- Responsive --- */
@media (max-width: 992px) {
    .benefit-row, .trust-grid { flex-direction: column; text-align: center; gap: 50px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .hero h1 { font-size: 42px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .modal-content { padding: 30px; margin: 2vh auto; }
}

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 32px; }
    .hero-logo-centered img { height: 50px; }
}

/* --- Floating Action Button --- */
.floating-quote-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    background-color: var(--primary-red);
    color: #fff;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-quote-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-quote-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
    background-color: #e60000;
}

@media (max-width: 480px) {
    .floating-quote-btn {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
        font-size: 14px;
        width: calc(100% - 30px);
        text-align: center;
        border-radius: 8px;
    }
}
