﻿/* =========================
   AUTOPRO GARAGE
   Main Styles
========================= */

:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --secondary: #2563eb;
    --dark: #172033;
    --text: #4b5563;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e5e7eb;
    --success: #16a34a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 800;
    color: var(--dark);
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 15px rgba(15, 23, 42, 0.06);
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark) !important;
}

.logo-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    margin-right: 8px;
}

.navbar-nav .nav-link {
    color: #475569;
    font-weight: 600;
    margin: 0 7px;
    transition: 0.2s ease;
}

    .navbar-nav .nav-link:hover {
        color: var(--primary);
    }

/* =========================
   BUTTONS
========================= */

.btn-primary-custom {
    background: var(--primary);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    transition: 0.2s ease;
}

    .btn-primary-custom:hover {
        background: var(--primary-dark);
        color: white;
        transform: translateY(-2px);
    }

.btn-secondary-custom {
    background: white;
    color: var(--dark);
    border: 2px solid var(--border);
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 700;
    transition: 0.2s ease;
}

    .btn-secondary-custom:hover {
        border-color: var(--secondary);
        color: var(--secondary);
    }

/* =========================
   HERO
========================= */

.hero {
    padding: 110px 0 90px;
    background: radial-gradient(circle at 85% 20%, rgba(249, 115, 22, 0.12), transparent 30%), radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.08), transparent 30%), #f8fafc;
}

    .hero h1 {
        font-size: clamp(2.5rem, 5vw, 4.3rem);
        line-height: 1.05;
        letter-spacing: -2px;
        margin-bottom: 24px;
    }

        .hero h1 span {
            color: var(--primary);
        }

    .hero p {
        font-size: 1.1rem;
        max-width: 600px;
        margin-bottom: 30px;
    }

.hero-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
}

    .hero-image img {
        width: 100%;
        height: 460px;
        object-fit: cover;
    }

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 25px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

    .hero-feature i {
        color: var(--success);
    }

/* =========================
   GENERAL SECTIONS
========================= */

.section {
    padding: 90px 0;
}

.section-light {
    background: var(--light);
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

    .section-heading .eyebrow {
        display: inline-block;
        color: var(--primary);
        background: #fff7ed;
        padding: 7px 14px;
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .section-heading h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .section-heading p {
        margin: 0;
        color: #64748b;
    }

/* =========================
   BENEFITS
========================= */

.benefit-card {
    height: 100%;
    padding: 30px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: 0.25s ease;
}

    .benefit-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    }

.benefit-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff7ed;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.benefit-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* =========================
   SERVICES
========================= */

.service-card {
    height: 100%;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    transition: 0.25s ease;
}

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.09);
        border-color: rgba(249, 115, 22, 0.3);
    }

.service-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: var(--secondary);
    border-radius: 14px;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.94rem;
    margin-bottom: 18px;
}

.service-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

    .service-link:hover {
        color: var(--primary-dark);
    }

/* =========================
   ABOUT
========================= */

.about-image {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

    .about-image img {
        width: 100%;
        height: 500px;
        object-fit: cover;
    }

.about-content {
    padding-left: 35px;
}

    .about-content h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

.about-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

    .about-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 15px;
    }

    .about-list i {
        color: var(--success);
        font-size: 1.2rem;
        margin-top: 3px;
    }

/* =========================
   PROCESS
========================= */

.process-card {
    text-align: center;
    position: relative;
    padding: 10px 20px;
}

.process-number {
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
}

.process-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.process-card p {
    font-size: 0.9rem;
}

/* =========================
   APPOINTMENT
========================= */

.appointment {
    background: #172033;
    color: white;
}

    .appointment h2 {
        color: white;
    }

    .appointment .section-heading p {
        color: #cbd5e1;
    }

.appointment-form {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.form-label {
    color: var(--dark);
    font-weight: 700;
    font-size: 0.9rem;
}

.form-control,
.form-select {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 9px;
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
    }

/* =========================
   FOOTER
========================= */

footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 55px 0 25px;
}

    footer h5 {
        color: white;
        margin-bottom: 18px;
    }

.footer-brand {
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        color: #94a3b8;
        transition: 0.2s ease;
    }

        .footer-links a:hover {
            color: white;
        }

.social-links {
    display: flex;
    gap: 10px;
}

    .social-links a {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #1e293b;
        color: white;
        transition: 0.2s ease;
    }

        .social-links a:hover {
            background: var(--primary);
        }

.footer-bottom {
    border-top: 1px solid #1e293b;
    margin-top: 35px;
    padding-top: 20px;
    font-size: 0.85rem;
}

/* =========================
   TOAST
========================= */

.toast {
    border: none;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.2);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
    .hero {
        padding: 80px 0 70px;
    }

    .hero-image {
        margin-top: 45px;
    }

    .about-content {
        padding-left: 0;
        margin-top: 35px;
    }

    .navbar-nav {
        padding-top: 15px;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 65px 0;
    }

    .hero h1 {
        font-size: 2.6rem;
        letter-spacing: -1px;
    }

    .hero-image img {
        height: 330px;
    }

    .section-heading h2,
    .about-content h2 {
        font-size: 2rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 10px;
    }

    .about-image img {
        height: 350px;
    }

    .appointment-form {
        padding: 25px;
    }
}

/* =========================
   APPOINTMENT FORM - CUSTOM
========================= */

.appointment-form {
    max-width: 950px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
}

    /* Etiquetas */
    .appointment-form label {
        display: block;
        margin-bottom: 8px;
        color: #172033;
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.4px;
        text-transform: uppercase;
    }

    /* Inputs, select y textarea */
    .appointment-form input,
    .appointment-form select,
    .appointment-form textarea {
        width: 100%;
        border: 1px solid #d9dee7;
        border-radius: 10px;
        background: #ffffff;
        color: #172033;
        font-family: inherit;
        font-size: 0.95rem;
        padding: 13px 15px;
        outline: none;
        transition: all 0.2s ease;
    }

    /* Altura uniforme */
    .appointment-form input,
    .appointment-form select {
        height: 50px;
    }

    /* Textarea */
    .appointment-form textarea {
        min-height: 125px;
        resize: vertical;
    }

        /* Placeholder */
        .appointment-form input::placeholder,
        .appointment-form textarea::placeholder {
            color: #9ca3af;
        }

        /* Cuando seleccionas un campo */
        .appointment-form input:focus,
        .appointment-form select:focus,
        .appointment-form textarea:focus {
            border-color: #f97316;
            box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
        }

    /* Select */
    .appointment-form select {
        cursor: pointer;
    }

    /* Botón */
    .appointment-form button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: 175px;
        padding: 13px 25px;
        border: none;
        border-radius: 50px;
        background: #f97316;
        color: #ffffff;
        font-family: inherit;
        font-size: 0.95rem;
        font-weight: 800;
        cursor: pointer;
        transition: all 0.2s ease;
    }

        /* Hover del botón */
        .appointment-form button:hover {
            background: #ea580c;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
        }

        /* Icono del botón */
        .appointment-form button i {
            font-size: 0.9rem;
        }

    /* Espacio del botón */
    .appointment-form .col-12:last-child {
        text-align: center;
        padding-top: 5px;
    }


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .appointment-form {
        padding: 25px 20px;
        border-radius: 18px;
    }

        .appointment-form input,
        .appointment-form select {
            height: 48px;
        }

        .appointment-form button {
            width: 100%;
            max-width: 250px;
        }
}