/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-hero {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text h4 {
    margin-bottom: 8px;
    font-size: 18px;
}

.cookie-text p {
    font-size: 14px;
    opacity: 0.9;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 50%;
    padding: 0 60px;
    color: white;
}

.advertorial-badge {
    position: absolute;
    top: -80px;
    right: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-car-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
}

.featured-car-name {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.featured-car-price {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 25px;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 80%;
    z-index: 2;
}

.hero-car {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px 0 0 20px;
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.3);
}

/* Cars Collection */
.cars-collection {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: #1a1a2e;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.car-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

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

.car-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.car-card:hover .car-image img {
    transform: scale(1.05);
}

.car-info {
    padding: 25px;
}

.car-name {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1a1a2e;
    line-height: 1.3;
    height: 65px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.car-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 20px;
}

.car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.spec {
    background: #f1f3f4;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    color: #5f6368;
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-contact h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.footer-contact a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        width: 60%;
        padding: 0 40px;
    }
    
    .hero-image {
        width: 40%;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .cars-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        height: auto;
        min-height: 100vh;
        padding: 40px 0;
    }
    
    .hero-content {
        width: 100%;
        padding: 0 20px;
        order: 2;
    }
    
    .hero-image {
        position: relative;
        width: 100%;
        height: 300px;
        top: auto;
        transform: none;
        order: 1;
        margin-bottom: 40px;
    }
    
    .hero-car {
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .advertorial-badge {
        top: 20px;
        right: 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .cars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-car-info {
        padding: 20px;
    }
    
    .featured-car-name {
        font-size: 1.2rem;
    }
    
    .featured-car-price {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .car-name {
        font-size: 1.1rem;
        height: auto;
    }
    
    .car-price {
        font-size: 1.5rem;
    }
}

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

.car-card {
    animation: fadeInUp 0.6s ease forwards;
}

.car-card:nth-child(even) {
    animation-delay: 0.1s;
}

.car-card:nth-child(3n) {
    animation-delay: 0.2s;
}

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


/* Clickable Card Styles */
.clickable-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.clickable-card:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.clickable-card .btn {
    pointer-events: none;
    cursor: pointer;
}

.clickable-card:hover .btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    transform: scale(1.05);
}

/* Remove advertorial badge styles */
.advertorial-badge {
    display: none;
}

/* Enhanced hover effects for clickable cards */
.clickable-card:hover .car-image img {
    transform: scale(1.05);
}

.clickable-card:hover .car-name {
    color: #ff6b35;
}

.clickable-card:hover .car-price {
    color: #f7931e;
    transform: scale(1.05);
}

/* Ensure proper cursor for entire card */
.clickable-card {
    cursor: pointer;
}

.clickable-card * {
    cursor: pointer;
}

