/* ============================================
   Smilerent Public Pages
   Bootstrap 5 + Poppins + Brand Orange #FF6B35
   ============================================ */

/* --- Variables --- */
:root {
    --brand-orange: #C24A18;
    --brand-orange-hover: #A33E14;
    --brand-orange-active: #8A3411;
    --primary-blue: #0088FE;
    --secondary-orange: #FE9200;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --text-color: #374151;
    --border-color: #e5e7eb;
}

/* --- Base --- */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

/* --- Navbar --- */
.navbar {
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
    transition: background 0.3s;
}

.site-logo {
    height: 32px;
    width: auto;
    transform: scale(1.8);
    transform-origin: left center;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--text-color) !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--brand-orange) !important;
}

.navbar-nav {
    align-items: center;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, #4DA8F7 0%, #8EC5FC 40%, #F6B980 70%, #F7A76C 100%);
    color: #fff;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' fill='white' opacity='0.1'%3E%3Cpolygon points='1000,100 1000,0 0,100'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: bottom;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.btn-hero {
    background: var(--accent-color);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-hero:hover {
    background: #d97706;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
}

/* --- Section Titles --- */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-color);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* --- Service Cards --- */
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4DA8F7 0%, #F7A76C 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

/* --- CTA Buttons --- */
.btn-brand {
    background: var(--brand-orange);
    color: #fff;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-brand:hover {
    background: var(--brand-orange-hover);
    color: #fff;
    transform: translateY(-1px);
}

.btn-brand:active {
    background: var(--brand-orange-active);
    color: #fff;
}

.btn-brand:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-brand-outline {
    border: 2px solid var(--brand-orange);
    color: var(--brand-orange);
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-brand-outline:hover {
    background: var(--brand-orange);
    color: #fff;
}

/* --- Car Cards --- */
.car-card {
    background: #fff;
    border: none;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

.car-card .stretched-link:focus {
    outline: 2px solid var(--brand-orange);
    outline-offset: 2px;
}

.car-card-img {
    height: 200px;
    object-fit: cover;
}

.car-card-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-orange);
}

.car-card-title {
    font-size: 1.25rem;
    font-weight: 700;
}

/* --- Filter Bar --- */
.filter-bar {
    background: #F8F9FA;
    border: 1px solid #DEE2E6;
    border-radius: 0.5rem;
}

.filter-bar .form-select:focus,
.filter-bar .btn-filter:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.25);
}

/* --- Fast Delivery Badge --- */
.badge-fast-delivery {
    background: var(--brand-orange);
    color: #fff;
}

/* --- Pagination --- */
.page-item.active .page-link {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
}

.page-link {
    color: #212529;
}

.page-link:hover {
    color: var(--brand-orange);
}

/* --- Feature Cards (homepage) --- */
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

/* --- How It Works --- */
.step-number {
    width: 56px;
    height: 56px;
    background: var(--brand-orange);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* --- Stats Section --- */
.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-orange);
}

/* --- Testimonial Cards --- */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.testimonial-card .stars {
    color: var(--accent-color);
}

/* --- Footer --- */
.site-footer {
    background: var(--dark-color);
    color: #fff;
    padding: 3.5rem 0 1.5rem;
    margin-top: 0;
}

.footer-logo {
    height: 32px;
    width: auto;
    transform: scale(1.8);
    transform-origin: left center;
}

.footer-desc {
    color: #d1d5db;
    font-size: 0.95rem;
    margin-top: 1rem;
}

.site-footer h3 {
    color: var(--secondary-orange);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.05rem;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    padding: 0.3rem 0;
}

.site-footer ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.site-footer ul li a:hover {
    color: var(--secondary-orange);
}

.footer-contacts li {
    display: flex;
    align-items: center;
}

.footer-contacts li i {
    color: var(--secondary-orange);
    flex-shrink: 0;
}

.social-links a {
    color: #d1d5db;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--secondary-orange);
}

.footer-divider {
    border-color: #374151;
    margin: 1.5rem 0;
}

.footer-bottom {
    color: #9ca3af;
    font-size: 0.85rem;
}

/* --- Page Header (inner pages) --- */
.page-header {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-hover) 100%);
    color: #fff;
    padding: 6rem 0 3rem;
    margin-top: 60px;
    text-align: center;
}

.page-header h1 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header .lead {
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* --- Contact Form --- */
.contact-form .form-control:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.15);
}

/* --- FAQ Accordion --- */
.faq-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(255, 107, 53, 0.08);
    color: var(--brand-orange);
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.15);
    border-color: var(--brand-orange);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* --- Utility --- */
.bg-gradient-brand {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-orange) 100%);
}

.text-brand {
    color: var(--brand-orange) !important;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 7rem 0 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

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

    .site-logo {
        transform: scale(1.5);
    }

    .footer-logo {
        transform: scale(1.5);
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .page-header h1 {
        font-size: 2rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}
