/* Custom Homepage Enhancements */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Premium Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1a1f2e;
    background: #FFFFFF;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Section Spacing */
section {
    padding: 80px 0;
}

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

/* Premium Hero Section */
#section-hero {
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.95) 0%, rgba(13, 49, 86, 0.9) 100%);
}

#section-hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
    margin-bottom: 25px;
}

#section-hero .gradient-text {
    background: linear-gradient(135deg, #e8b923 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#section-hero .lead {
    font-size: 1.25rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

/* Premium Hero Description */
.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 30px;
}

/* Trust Indicators - Premium */
.hero-trust-indicators {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.95rem;
}

.trust-item i {
    font-size: 1.5rem;
    color: #e8b923;
}

/* Premium CTA Group */
.hero-cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

@media (min-width: 992px) {
    .hero-cta-group {
        flex-wrap: nowrap !important;
        gap: 10px !important;
    }
    .hero-cta-group .btn-modern-primary,
    .hero-cta-group .btn-modern-secondary {
        padding: 12px 22px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
        gap: 8px !important;
    }
}

.btn-modern-primary {
    background: linear-gradient(135deg, #e8b923 0%, #d4af37 100%);
    color: #0a2540 !important;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(232, 185, 35, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-modern-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(232, 185, 35, 0.6);
    color: #0a2540 !important;
    text-decoration: none;
}

.btn-modern-secondary {
    background: transparent;
    color: #ffffff !important;
    padding: 16px 40px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-modern-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Vehicle Cards Enhancement */
.de-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 31, 46, 0.12);
    background: #FFFFFF;
    border: 1px solid rgba(26, 31, 46, 0.08);
}

.de-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(232, 185, 35, 0.25);
}

.de-item .d-img {
    overflow: hidden;
    position: relative;
    height: 280px;
}

.de-item .d-img img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.de-item:hover .d-img img {
    transform: scale(1.08);
}

.de-item .d-info {
    background: #ffffff;
    padding: 28px;
}

.de-item h4 {
    color: #1a1f2e;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.de-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.de-item .d-price {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.de-item .d-price span {
    color: #D4AF37;
    font-size: 2rem;
    font-weight: 800;
    display: block;
}

.de-item .d-price-label {
    color: #999;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Step Numbers - Premium */
.step-number {
    width: 90px;
    height: 90px;
    line-height: 90px;
    background: linear-gradient(135deg, #C4985C 0%, #9E7A35 100%);
    color: #ffffff;
    border-radius: 50%;
    font-size: 36px;
    font-weight: 800;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(196, 152, 92, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-number:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 35px rgba(196, 152, 92, 0.25);
}

/* Premium Icon Boxes */
.de-box-icon {
    padding: 40px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

@media (max-width: 767.98px) {
    .de-box-icon {
        padding: 20px 10px;
    }
    .de-box-icon i {
        font-size: 2rem !important;
        margin-bottom: 12px !important;
    }
    .de-box-icon h4 {
        font-size: 15px !important;
        margin-bottom: 8px;
    }
    .de-box-icon p {
        font-size: 13px !important;
        line-height: 1.5;
    }
}

.de-box-icon:hover {
    background: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.de-box-icon i {
    transition: all 0.4s ease;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.de-box-icon i.id-color {
    color: #D4AF37;
}

.de-box-icon:hover i {
    transform: scale(1.2) rotate(5deg);
}

.de-box-icon h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1a1f2e;
}

.de-box-icon p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Premium Testimonials */
.de-image-text {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(26, 31, 46, 0.08);
}

.de-image-text:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.de-image-text .d-text {
    padding: 40px;
}

.de-image-text .d-quote {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #D4AF37;
}

.de-image-text blockquote {
    border-left: 4px solid #D4AF37;
    padding-left: 25px;
    font-style: italic;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.de-image-text blockquote .by {
    display: block;
    margin-top: 20px;
    font-weight: 700;
    color: #1a1f2e;
    font-style: normal;
    font-size: 1rem;
}

/* Premium Statistics Counter */
.de_count {
    padding: 50px;
    text-align: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(26, 39, 68, 0.05) 0%, rgba(232, 185, 35, 0.05) 100%);
    border: 1px solid rgba(26, 31, 46, 0.08);
    transition: all 0.4s ease;
}

.de_count:hover {
    background: linear-gradient(135deg, rgba(26, 39, 68, 0.08) 0%, rgba(232, 185, 35, 0.08) 100%);
}

.de_count h3 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8941E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.de_count span {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: #1a1f2e;
}

/* Premium Buttons */
.btn-main {
    background: linear-gradient(135deg, #D4AF37 0%, #B8941E 100%);
    border: none;
    padding: 14px 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    color: #1a1f2e !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-main:hover {
    background: linear-gradient(135deg, #B8941E 0%, #D4AF37 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
    color: #1a1f2e !important;
    text-decoration: none;
}

.btn-lg {
    padding: 18px 45px;
    font-size: 1.1rem;
}

/* Parallax Sections */
.jarallax {
    position: relative;
    background-size: cover;
    background-position: center;
}

.jarallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.75) 0%, rgba(26, 31, 46, 0.65) 100%);
    z-index: 1;
}

.jarallax-img {
    object-fit: cover !important;
    object-position: center !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
}

.jarallax .container {
    position: relative;
    z-index: 2;
}

/* Attribute Icons */
.d-atr-group {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.d-atr {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f0f2f5;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1f2e;
    border: 1px solid rgba(26, 31, 46, 0.08);
}

.d-atr img {
    width: 18px;
    height: 18px;
}

/* Vehicle Selector Premium Styling */
.vehicle-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    margin: 0 auto 12px;
    background: #F4F6FB;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.vehicle-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(0.2);
}

.vehicle-option-wrapper input[type="radio"]:checked+.vehicle-option-card .vehicle-icon {
    filter: brightness(0) invert(0.2);
}

/* Vehicle Carousel Gold Outline Selection */
.vehicle-carousel-container .vehicle-option-wrapper input[type="radio"]:checked+.vehicle-option-card {
    border: 3px solid #e8b923 !important;
    box-shadow: 0 0 0 3px rgba(232, 185, 35, 0.1) !important;
    background: #f8f9fa !important;
}

/* Welcome Column Spacing */
.welcome-col {
    padding-left: 50px;
}

@media (max-width: 991px) {
    .welcome-col {
        padding-left: 15px;
        padding-top: 30px;
    }

    .welcome-card {
        margin-top: 0;
        /* Handled by parent column padding on mobile */
    }
}

/* Welcome Card Premium Styling */
.welcome-card {
    background: #FFFFFF !important;
    border-radius: 20px !important;
    padding: 48px !important;
    box-shadow: 0 8px 32px rgba(26, 39, 68, 0.10) !important;
    border: 1px solid rgba(26, 39, 68, 0.08) !important;
}

/* Welcome Section - Equal Height Fix */
.section-light .row.align-items-start {
    align-items: stretch !important;
}

.section-light .col-lg-6:first-child {
    display: flex;
    flex-direction: column;
}

.vehicle-slideshow {
    flex: 1 !important;
    height: 100% !important;
    min-height: 500px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

.vehicle-slide,
.vehicle-slide img {
    height: 100% !important;
    min-height: 500px !important;
    object-fit: cover !important;
}

.section-light .col-lg-6:last-child {
    display: flex;
    flex-direction: column;
}

.section-light .col-lg-6:last-child>div {
    flex: 1;
    height: 100% !important;
}

/* Premium Typography */
h1 {
    letter-spacing: -1px;
}

h2 {
    letter-spacing: -0.5px;
    margin-bottom: 35px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    #section-hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    #section-hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 50px 0;
    }

    .de_count h3 {
        font-size: 2.5rem;
    }

    .vehicle-slideshow {
        min-height: 350px !important;
    }

    .vehicle-slide,
    .vehicle-slide img {
        min-height: 350px !important;
    }

    .welcome-card {
        padding: 30px !important;
    }

    /* CTA Section - Different Background */
    .section-dark-blue.jarallax:last-of-type,
    section.section-dark-blue:last-of-type {
        background: linear-gradient(135deg, #0d3156 0%, #1a4a7a 100%) !important;
    }
}