/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-top {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}



/* Header and Navigation */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo h2 {
    color: #1a365d;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #1a365d;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3182ce;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.35) 80%), url('../img/hero-banner-2-compressed.jpeg') center center/cover no-repeat;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    color: #1a365d;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.car-placeholder {
    width: 300px;
    height: 200px;
    background: linear-gradient(45deg, #3182ce, #1a365d);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.car-placeholder i {
    font-size: 4rem;
    color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: #3182ce;
    color: white;
}

.btn-primary:hover {
    background-color: #2c5aa0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(49, 130, 206, 0.3);
}

.btn-secondary {
    background-color: #1a365d;
    color: white;
    border-color: #1a365d;
}

.btn-secondary:hover {
    background-color: #0e1c31;
    border-color: #0e1c31;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #3182ce;
    border-color: #3182ce;
}

.btn-outline:hover {
    background-color: #3182ce;
    color: white;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background-color: #f8fafc;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #3182ce, #63b3ed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    color: #1a365d;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Featured Vehicles Section */
.featured-vehicles {
    padding: 80px 0;
}

.featured-vehicles h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 50px;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.vehicle-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.vehicle-image {
    height: 200px;
    background: linear-gradient(45deg, #e6f3ff, #f0f9ff);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-image .car-placeholder {
    width: 150px;
    height: 100px;
    background: linear-gradient(45deg, #3182ce, #1a365d);
}

.vehicle-image .car-placeholder i {
    font-size: 2.5rem;
}

.vehicle-info {
    padding: 25px;
}

.vehicle-info h3 {
    color: #1a365d;
    font-size: 1.3rem;
    margin-top: 18px;
    margin-bottom: 8px; 
    font-weight: 700;
}

.vehicle-details {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.vehicle-price {
    color: #3182ce;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #1a365d 0%, #2c5aa0 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: #e6f3ff;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta .btn-primary {
    background-color: #3182ce;
}

.cta .btn-secondary {
    background-color: transparent;
    border-color: white;
    color: white;
}

.cta .btn-secondary:hover {
    background-color: white;
    color: #1a365d;
}

/* Footer */
footer {
    background-color: #1a365d;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #63b3ed;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: #e6f3ff;
    margin-bottom: 15px;
}

.footer-section p {
    color: #cbd5e0;
    margin-bottom: 10px;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #63b3ed;
}

.footer-section i {
    margin-right: 10px;
    color: #63b3ed;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2c5aa0;
    color: #cbd5e0;
}

/* About Us Page Styles */
.about-intro {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    color: #1a365d;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #3182ce;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

.intro-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-image img {
    border-radius: 18px;
    object-fit: cover;
}


.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #3182ce, #1a365d);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mission-vision {
    padding: 80px 0;
    background-color: #ffffff;
}

.mission-vision h2 {
    text-align: center;
    color: #1a365d;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mission-item {
    text-align: center;
    padding: 40px 30px;
    background-color: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3182ce, #1a365d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 35px;
    color: white;
}

.mission-item h3 {
    color: #1a365d;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.mission-item p {
    color: #555;
    line-height: 1.8;
}

.team {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.team h2 {
    text-align: center;
    color: #1a365d;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.member-photo {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #3182ce, #1a365d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
}

.member-info {
    padding: 30px;
}

.member-info h3 {
    color: #1a365d;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.member-role {
    color: #3182ce;
    font-weight: 600;
    margin-bottom: 15px;
}

.member-description {
    color: #555;
    line-height: 1.6;
}

.services {
    padding: 80px 0;
    background-color: #ffffff;
}

.services h2 {
    text-align: center;
    color: #1a365d;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-item {
    text-align: center;
    padding: 40px 30px;
    background-color: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3182ce, #1a365d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 30px;
    color: white;
}

.service-item h3 {
    color: #1a365d;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-item p {
    color: #555;
    line-height: 1.7;
}

.why-choose-us {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.why-choose-us h2 {
    text-align: center;
    color: #1a365d;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.reason-item {
    text-align: center;
    padding: 40px 30px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.reason-number {
    font-size: 3rem;
    font-weight: 700;
    color: #3182ce;
    margin-bottom: 20px;
}

.reason-item h3 {
    color: #1a365d;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.reason-item p {
    color: #555;
    line-height: 1.7;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal .close {
    color: #999;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    margin-top: -5px;
    margin-right: -5px;
}

.modal .close:hover,
.modal .close:focus {
    color: #1a365d;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .intro-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .intro-text h2 {
        font-size: 2rem;
    }
    

    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .image-placeholder {
        width: 250px;
        height: 250px;
        font-size: 60px;
    }
    
    .mission-vision h2,
    .team h2,
    .services h2,
    .why-choose-us h2 {
        font-size: 2rem;
    }
    
    .mission-vision-grid,
    .team-grid,
    .services-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .features h2,
    .featured-vehicles h2,
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 700px) {
    .vehicles-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
    }
    .vehicle-card {
        flex-direction: column !important;
        min-height: unset !important;
        width: 100% !important;
    }
    .vehicle-card .vehicle-image {
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
        border-radius: 12px 12px 0 0 !important;
        height: 220px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .vehicle-card .vehicle-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 12px 12px 0 0 !important;
    }
    .vehicle-card .vehicle-info {
        padding: 14px 12px !important;
    }
}

span#results-count {
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 20px;
}

/* Cookie Consent Banner Styles */
#cookieConsent {
    position: fixed;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    background: #23272b;
    color: #fff;
    padding: 18px 32px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    z-index: 5000;
    min-width: 320px;
    max-width: 90vw;
    width: auto;
    display: none;
}
#cookieConsent.show {
    display: block;
}
#cookieConsent .d-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
#cookieConsent p {
    margin-bottom: 0;   
    font-size: 1rem;
}
#cookieConsent a {
    color: #fff;
    text-decoration: underline;
}
#cookieConsent .btn {
    min-width: 110px;
    margin-left: 8px;
    font-size: 1rem;
    border-radius: 6px;
    padding: 8px 18px;
}
#cookieConsent .btn-success {
    background: #28a745;
    border: none;
    color: white;
}
#cookieConsent .btn-danger {
    background: #dc3545;
    border: none;
    color: white
}
@media (max-width: 600px) {
    #cookieConsent {
        left: 50%;
        bottom: 12px;
        padding: 12px 8px;
        min-width: 0;
        max-width: 98vw;
        font-size: 0.95rem;
    }
    #cookieConsent .d-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    #cookieConsent .btn {
        width: 100%;
        margin-left: 0;
        margin-bottom: 6px;
    }
}

/* Autohaus Info Section */
.autohaus-info {
    padding: 128px 0;
}

.autohaus-title {
    text-align: center;
    color: #1a365d;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: 0.01em;
}

.autohaus-desc {
    text-align: center;
    color: #444;
    font-size: 1.25rem;
    line-height: 1.85;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .autohaus-info {
        padding: 36px 0 22px 0;
        border-radius: 12px;
        margin-bottom: 18px;
    }
    .autohaus-title {
        font-size: 1.5rem;
        margin-bottom: 18px;
    }
    .autohaus-desc {
        font-size: 1.05rem;
    }
}

.autohaus-divider {
    width: 64px ;
    height: 4px;
    background: #2560a8;
    border-radius: 2px;
    margin: 32px auto 0 auto;
    opacity: 0.15;
}

@media (max-width: 900px) {
    .intro-content {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        text-align: center !important;
        padding: 24px 12px !important;
    }
    .intro-image {
        justify-content: center !important;
        margin-top: 18px !important;
        width: 100%;
        padding: 0 0 12px 0;
    }
    .intro-image img {
        max-width: 100%;
        width: 100%;
        height: auto;
        border-radius: 16px;
        box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    }
    .intro-text {
        text-align: center !important;
        padding: 0 8px;
    }
}