/* OnPoint Garage KC - Master Stylesheet */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Inter, Arial, sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

/* STICKY CALL BUTTON */
.sticky-call-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
    color: white;
    padding: 18px 20px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 -3px 15px rgba(0,0,0,0.3);
    text-decoration: none;
    display: block;
    animation: pulse 2s infinite;
}

.sticky-call-btn:hover {
    background: linear-gradient(135deg, #e55d00 0%, #ff6b00 100%);
    transform: translateY(-2px);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 -3px 15px rgba(255,107,0,0.4); }
    50% { box-shadow: 0 -3px 25px rgba(255,107,0,0.7); }
}

/* CONTAINER */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    padding-bottom: 100px;
}

/* SECTION STYLES */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #1a1a1a;
    font-weight: bold;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; margin-bottom: 20px; }
h2 { font-size: 2.2rem; margin: 40px 0 20px; }
h3 { font-size: 1.8rem; margin: 25px 0 15px; }
h4 { font-size: 1.5rem; margin: 20px 0 10px; }

/* CTA BUTTONS */
.cta-button {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
    color: white;
    padding: 25px 60px;
    font-size: 1.6rem;
    text-decoration: none;
    display: inline-block;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(255,107,0,0.4);
    margin: 10px;
    transition: all 0.3s ease;
    border: none;
}

.cta-button:hover {
    background: linear-gradient(135deg, #e55d00 0%, #ff6b00 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,107,0,0.6);
}

.cta-button.emergency {
    background: linear-gradient(135deg, #cc0000 0%, #ff3333 100%);
}

.cta-button.emergency:hover {
    background: linear-gradient(135deg, #990000 0%, #cc0000 100%);
}

.cta-button.secondary {
    background: #28a745;
}

.cta-button.secondary:hover {
    background: #218838;
}

/* GRID LAYOUTS */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* CARDS */
.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card.offer {
    text-align: center;
    border-top: 5px solid #ff6b00;
}

.card.offer h3 {
    color: #ff6b00;
}

.card.offer .price {
    font-size: 3rem;
    color: #1a1a1a;
    font-weight: bold;
    margin: 20px 0;
}

.card.offer .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.3rem;
}

/* FORMS */
.form-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
    border: 2px solid #28a745;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff6b00;
    box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
    color: white;
    padding: 18px 50px;
    font-size: 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #e55d00 0%, #ff6b00 100%);
    transform: translateY(-2px);
}

/* URGENCY BOX */
.urgency-box {
    background: #fff3cd;
    border-left: 6px solid #ffc107;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
    font-size: 1.3rem;
}

.urgency-box strong {
    color: #d45500;
}

.urgency-box.emergency {
    background: #fee;
    border-left-color: #cc0000;
}

.urgency-box.emergency strong {
    color: #cc0000;
}

/* TESTIMONIALS */
.testimonial {
    background: #f9f9f9;
    padding: 30px;
    margin: 25px 0;
    border-left: 5px solid #ff6b00;
    font-style: italic;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.testimonial strong {
    font-style: normal;
    color: #ff6b00;
}

.stars {
    color: #ffc107;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* LISTS */
ul, ol {
    margin: 20px 0 20px 30px;
}

li {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

/* GUARANTEE BADGE */
.guarantee {
    background: #28a745;
    color: white;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    margin: 40px 0;
}

.guarantee h3 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

/* SECTIONS */
.section {
    padding: 60px 20px;
}

.section.light-bg {
    background: #f8f9fa;
}

.section.dark-bg {
    background: #1a1a1a;
    color: white;
}

.section.dark-bg h2,
.section.dark-bg h3 {
    color: #ff6b00;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }

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

    .sticky-call-btn {
        font-size: 1.1rem;
        padding: 15px;
    }

    .cta-button {
        font-size: 1.3rem;
        padding: 20px 40px;
    }

    .form-section {
        padding: 20px;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
        padding-bottom: 100px;
    }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }

    .sticky-call-btn {
        font-size: 1rem;
        padding: 12px;
    }

    .cta-button {
        font-size: 1.1rem;
        padding: 15px 30px;
        margin: 5px;
    }
}

/* ════════════════════════════════════════════════════════════════════
   HOMEPAGE MOBILE ENHANCEMENT - Apr 29, 2026
   Better hero, CTAs, trust signals on mobile
   ════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }

    .heroCard {
        margin-bottom: 24px;
    }

    .heroCard .kicker {
        font-size: 13px;
        padding: 10px 0;
    }

    .heroCard h1 {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .heroCard .sub {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .heroBtns {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-bottom: 16px;
    }

    .heroBtns .btn {
        width: 100% !important;
        padding: 15px 20px !important;
        text-align: center !important;
        justify-content: center !important;
        font-size: 15px !important;
        font-weight: 700 !important;
    }

    /* Trust badges on mobile: 2 cols instead of 4 */
    .opx-badgesRow {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .opx-badge {
        font-size: 13px;
        padding: 10px 12px;
    }

    /* Form booking section on mobile */
    .quickBook {
        padding: 20px 0;
        margin: 16px 0;
    }

    .qbBar {
        flex-direction: column !important;
        gap: 14px !important;
        padding: 16px !important;
    }

    .qbLeft {
        width: 100%;
        text-align: center;
    }

    .qbRight {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .qbRight .btn {
        width: 100% !important;
        padding: 13px 16px !important;
    }
}

@media (max-width: 480px) {
    .heroCard h1 {
        font-size: 24px;
    }

    .heroCard .sub {
        font-size: 14px;
    }

    .heroBtns .btn {
        padding: 13px 16px !important;
        font-size: 14px !important;
    }

    /* Trust badges: single column on very small screens */
    .opx-badgesRow {
        grid-template-columns: 1fr;
    }

    /* Service cards on mobile */
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    /* Better spacing on small screens */
    .section {
        padding: 40px 16px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    /* Form section */
    .form-section {
        padding: 16px;
        margin: 20px 0;
    }

    /* Testimonials on mobile */
    .testimonial {
        padding: 20px;
        margin: 16px 0;
    }

    /* Guarantee badge */
    .guarantee {
        padding: 24px 16px;
        margin: 20px 0;
    }

    .guarantee h3 {
        font-size: 20px;
    }
}
