* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #c9a961;
    --text-color: #2c2c2c;
    --text-light: #666;
    --light-bg: #fafafa;
    --white: #ffffff;
    --border-color: #e5e5e5;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    background: var(--white);
}

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

/* Header & Navigation */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1.25rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.15rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.logo p {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--white);
    padding: 140px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3.25rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.92;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.3);
}

.btn-primary:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--white);
    width: 100%;
    margin-top: 1rem;
}

.btn-secondary:hover {
    background: #2d2d2d;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* About Section */
.about {
    padding: 100px 20px;
    background: var(--light-bg);
}

.about h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 3.5rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.75rem;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--text-light);
}

.features {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.features li {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-weight: 500;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}

.features li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

/* Vendita Section */
.vendita {
    padding: 100px 20px;
    background: var(--white);
}

.vendita h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 3.5rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.auto-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--secondary-color);
}

.auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.auto-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.auto-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.auto-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.auto-card:hover .auto-image img {
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vendita-badge {
    background: #28a745;
    color: var(--white);
}

.venduta-badge {
    background: #6c757d;
    color: var(--white);
}

.auto-info {
    padding: 1.5rem;
}

.auto-info h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.auto-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.auto-details {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.auto-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.venduta-price {
    color: #6c757d;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Contatti Section */
.contatti {
    padding: 80px 20px;
    background: var(--light-bg);
}

.contatti h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.contatti-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contatti-info h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.contatti-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.phone-number {
    font-size: 1.5rem;
    margin: 0;
}

.phone-number a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.phone-number a:hover {
    color: #b8941f;
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 20px;
}

footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #b8941f;
    text-decoration: underline;
}

footer strong {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .auto-grid {
        grid-template-columns: 1fr;
    }


    .features {
        grid-template-columns: 1fr;
    }

    .about h2,
    .vendita h2,
    .contatti h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 20px;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .logo h1 {
        font-size: 1.4rem;
    }
}

