/* Client 79 homepage styles */

:root {
    --primary-red: #e60023;
    --primary-blue: #0052cc;
    --primary-green: #00a651;
    --dark-text: #111111;
    --muted-text: #6c757d;
    --light-bg: #F0F2F7;;
    --card-radius: 14px;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--dark-text);
    background-color: #ffffff;
}

/* Top info bar */
.top-info-bar {
    background: var(--primary-green);
    color: #ffffff;
    font-size: 0.875rem;
}

.top-info-bar .time-badge {
    background: #000000;
    border-radius: 5px;
    padding: 0.1rem 0.8rem;
    font-weight: 500;
}

.top-info-bar .pickup-status {
    background: #ffffff;
    color: #000000;
    border-radius: 999px;
    padding: 0.1rem 0.8rem;
    font-weight: 500;
}

/* Main header */
.client-header {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    background: #ffffff;
}

.client-header .navbar-brand img {
    max-height: 60px;
}

.client-header .nav-link {
    font-weight: 500;
    color: #111111;
}

.client-header .nav-link:hover {
    color: var(--primary-blue);
}

/* Hero section */
.hero-section {
    background-color: var(--light-bg);
    padding: 3rem 0;
}



.hero-main-image {
    
    border-radius: 18px 0 0 18px;
    overflow: hidden;
}


.hero-main-image img {
    width: 100%;
    height: 100%;
}

.hero-canadian-badge {
    z-index: 5;
    position: absolute;
    left: -60px;
    bottom: -40px;
    width: 145px;
}

.hero-login-card {
   background: #ffffff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 16px;
}

.login-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.login-form .form-group {
    margin-bottom: 1rem;
}

.login-form .form-label {
    font-size: 0.875rem;
    color: var(--muted-text);
    margin-bottom: 0.5rem;
}

.login-form .form-control {
    border-radius: 25px;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    font-size: 0.875rem;
}

.login-btn {
    background-color: var(--primary-blue);
    border: none;
    border-radius: 0.375rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    width: 100%;
    margin-top: 1rem;
}

/* Vehicle search section */
.vehicle-search-wrap {
    background: #ffffff;
    padding: 2rem 0;
    text-align: center;
}

.vehicle-search-wrap .mb-3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.vehicle-search-card {
    background: #3a3a3a;
    border-radius: 8px;
    padding: 0.375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    width: 100%;
    font-weight: 700;
   
}

.vehicle-search-card .form-select {
    background: transparent;
    border: none;
    color: #ffffff;
    border-radius: 8px;
    padding: 0.875rem 1rem;
    min-width: 150px;
    font-size: 0.875rem;
    appearance: none;
    
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    
}

.vehicle-search-card .form-select:focus {
    outline: none;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.1);
}

.vehicle-search-card .form-select option {
    background: #3a3a3a;
    color: #ffffff;
}

.vehicle-search-card .btn-search {
    background: var(--primary-blue);
    border: none;
    border-radius: 8px;
    padding: 13.996px 53.832px;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vehicle-search-card .btn-search:hover {
    background: #0041a3;
}

/* Welcome & specials */
.welcome-section {
    width: 100%;
    padding: 64px 128px;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    display: flex;
}

.welcome-container {
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    display: flex;
}

.welcome-title {
    align-self: stretch;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: var(--dark-text);
    font-size: 32px;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-weight: 700;
    line-height: 30px;
    word-wrap: break-word;
    margin: 0;
}

.welcome-description {
    align-self: stretch;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: var(--dark-text);
    font-size: 16px;
    font-family: 'Open Sans', system-ui, sans-serif;
    font-weight: 400;
    word-wrap: break-word;
    margin: 0;
}


.section {
    display: flex;
 
    margin: 0 auto;
    padding: 64px 40px;
    flex-direction: row;
    align-items: flex-start;
    gap: 96px;
    display: flex;
    
    padding-bottom: 64px;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

.section-container {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    
padding: 0 40px;

gap: 96px;
align-self: stretch;
}

.section-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    flex: 1;
}

.section-title {
    color: var(--Text-Text-primary, #000);
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
    letter-spacing: -1.2px;
    margin: 0;
}

.section-description {
    color: var(--Text-Text-primary, #000);
    font-family: "Open Sans", system-ui, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--Text-Text-primary, #000);
    font-family: "Open Sans", system-ui, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.feature-list li::before {
    content: "✓";
    color: #00a651;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}


.monthly-specials-banner {
    align-self: stretch;
    padding: 42px 402px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.60) 36%, rgba(0, 0, 0, 0.60) 64%, rgba(0, 0, 0, 0) 100%);
    border-radius: 16px;
    background-image: url('../../wwwroot/homepage/79/images/monthly-specials.png');
    background-size: cover;
    background-position: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    display: flex;
}


.specials-card {
    justify-content: center;
    align-items: center;
    gap: 8px;
    display: flex;
}

.specials-card-description {
    position: absolute;
    color: #FFF;
    text-align: center;
    font-family: "Bai Jamjuree";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    text-transform: uppercase;
    padding: 20px 402px;
}

.specials-content {
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    display: flex;
}

.specials-title {
    align-self: stretch;
    text-align: center;
    color: white;
    font-size: 24px;
    font-family: 'Bai Jamjuree', system-ui, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 40px;
    word-wrap: break-word;
    margin: 0;
}

.specials-btn {
    padding: 16px;
    background: #E50000;
    border: none;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    display: inline-flex;
    color: white;
    font-size: 16px;
    font-family: 'Open Sans', system-ui, sans-serif;
    font-weight: 600;
    word-wrap: break-word;
    cursor: pointer;
}

.specials-btn:hover {
    background: #cc0000;
}

/* Brand grid */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 32px;
    flex: 1;
    align-items: center;
    justify-items: center;
}

.brand-grid img {
    max-width: 120px;
    height: 48px;
    object-fit: contain;
    filter: grayscale(0);
    transition: all 0.3s ease;
}

.brand-grid img:hover {
    filter: grayscale(0);
    transform: scale(1.05);
}

/* Lower login & copy */
.lower-login-card {
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: #ffffff;
    padding: 2rem;
    height: fit-content;
}

    .lower-login-card .card-header {
        background: transparent;
        border: none;
        padding: 0 0 1rem 0;
    }

    .lower-login-card .card-body {
        padding: 0;
    }

    .lower-login-card .form-control {
        border-radius: 0.375rem;
        padding: 0.75rem 1rem;
        border: 1px solid #e0e0e0;
        margin-bottom: 1rem;
    }

    .lower-login-card .btn-primary {
        background-color: var(--primary-blue);
        border: none;
        border-radius: 0.375rem;
        padding: 0.75rem 2rem;
        font-weight: 600;
        width: 100%;
    }


/* Footer */
.client-footer {
    background: #f9fafc;
    border-top: 1px solid #e5e7eb;
}

    .client-footer .footer-links a {
        color: #111111;
        margin-inline: 0.75rem;
        font-size: 0.95rem;
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: 24px;
        text-decoration: none;
        text-transform: capitalize;
    }

.client-footer .footer-links a:hover {
    color: var(--primary-blue);
}

.client-footer .social-links a {
    color: #111111;
    margin-left: 0.6rem;
}

.client-footer .social-links a:hover {
    color: var(--primary-blue);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-card {
        border-radius: 18px;
        overflow: visible;
    }

    .hero-main-image {
        border-radius: 18px 18px 0 0;
        margin-bottom: 0;
    }

    .hero-login-card {
        border-radius: 0 0 18px 18px;
        border-top: 1px solid #f0f0f0;
    }

    .hero-canadian-badge {
       z-index: 5;
        position: absolute;
        left: 73px;
        bottom: -4px;
    }

    .vehicle-search-card {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        border-radius: 12px;
        max-width: 100%;
    }

    .vehicle-search-card .form-select {
        width: 100%;
        min-width: auto;
        text-align: center;
    }

    .vehicle-search-card .btn-search {
        width: 100%;
        justify-content: center;
    }

    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 24px;
    }

    .section {
        flex-direction: column;
        gap: 48px;
        padding: 48px 24px;
    }

    .welcome-section {
        padding: 48px 24px;
    }

    .monthly-specials-banner {
        padding: 24px 48px;
    }
}

@media (max-width: 767.98px) {
    .top-info-bar .text-end,
    .top-info-bar .text-start {
        text-align: center !important;
        margin-top: 0.25rem;
    }

    .hero-section {
        padding-top: 1.5rem;
    }

    .vehicle-search-card {
        padding: 1rem;
    }

    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 20px;
    }

    .section {
        padding: 32px 16px;
        gap: 32px;
    }

    .section-title {
        font-size: 28px;
        line-height: 36px;
        letter-spacing: -0.8px;
    }

    .section-description {
        font-size: 14px;
        line-height: 20px;
    }

    .client-footer .footer-center {
        margin-top: 0.75rem;
    }

    .welcome-section {
        padding: 32px 16px;
    }

    .welcome-title {
        font-size: 24px;
        line-height: 28px;
    }

    .welcome-description {
        font-size: 14px;
    }

    .monthly-specials-banner {
        padding: 24px 16px;
    }

    .specials-title {
        font-size: 20px;
        line-height: 32px;
    }
}

@media (max-width: 575.98px) {
    .vehicle-search-card .form-select {
        margin-bottom: 0.5rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .hero-canadian-badge {
        width: 80px;
        bottom: 0.75rem;
        left: 0.75rem;
    }

    .brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.vc-navbar {
    display: flex;
    gap: 32px;
    font-size: 15px;
}
