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

:root {
    --primary-color: #c9b037;
    --secondary-color: #1a1a1a;
    --accent-color: #8b4513;
    --text-color: #2c2c2c;
    --light-bg: #f5f5f0;
    --white: #ffffff;
    --luxury-gold: #d4af37;
    --dark-silver: #2c3e50;
    --mercedes-silver: #c0c0c0;
    --shadow: 0 8px 25px rgba(0,0,0,0.15);
    --luxury-shadow: 0 12px 40px rgba(212, 175, 55, 0.25);
}

html {
    height: 100%;
    width: 100%;
    scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@300;400;500;600&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(245,245,240,0.95));
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--luxury-gold);
    box-shadow: var(--luxury-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--luxury-gold);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.logo i {
    margin-right: 12px;
    font-size: 2.2rem;
    color: var(--dark-silver);
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.logo-image {
    width: 140px;
    height: 140px;
    margin-right: 15px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
    transition: all 0.3s ease;
}

.logo-icon {
    width: 70px;
    height: 70px;
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--luxury-gold);
    background: linear-gradient(135deg, #ffffff, #f8f8f8);
    border-radius: 50%;
    border: 3px solid var(--luxury-gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.1);
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.3));
}

.logo:hover .logo-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

.call-btn {
    background: linear-gradient(135deg, var(--luxury-gold), var(--primary-color));
    color: var(--secondary-color) !important;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.call-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-silver));
    color: var(--luxury-gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border: 1px solid var(--luxury-gold);
}

.language-selector {
    margin-left: 1rem;
}

.language-selector select {
    background: linear-gradient(135deg, var(--luxury-gold), var(--primary-color));
    color: var(--secondary-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    font-size: 0.9rem;
}

.language-selector select:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-silver));
    color: var(--luxury-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.language-selector select option {
    background: var(--white);
    color: var(--secondary-color);
    padding: 0.5rem;
}



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

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

/* Hero Section */
.hero {
    background: 
        linear-gradient(135deg, 
            rgba(212, 175, 55, 0.75) 5%, 
            rgba(184, 134, 11, 0.7) 10%, 
            rgba(120, 80, 20, 0.65) 25%, 
            rgba(26, 26, 26, 0.8) 70%
        ),
        url('/attached_assets/download_1752243844841.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 215, 0, 0.08) 0%, 
        transparent 40%, 
        rgba(0, 0, 0, 0.12) 100%
    );
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem; /* Reduced gap */
}

.hero-content h1 {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--white);
    opacity: 0.95;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--luxury-gold), var(--primary-color));
    color: var(--secondary-color);
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.8rem 2rem;
    text-transform: uppercase;
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--luxury-gold));
    transform: translateY(-2px);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--white), var(--mercedes-silver));
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 2px solid var(--luxury-gold);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.btn-vcf {
    background: linear-gradient(135deg, var(--dark-silver), var(--secondary-color));
    color: var(--luxury-gold);
    border: 2px solid var(--luxury-gold);
    backdrop-filter: blur(10px);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-vcf:hover {
    background: linear-gradient(135deg, var(--luxury-gold), var(--primary-color));
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    border: 2px solid var(--white);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}



.luxury-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.whatsapp-badge {
    background: linear-gradient(135deg, #25d366, #20ba5a);
    color: white;
    padding: 1rem;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    border: 3px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    text-decoration: none;
    transition: all 0.4s ease;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-badge:hover {
    background: linear-gradient(135deg, #20ba5a, #1e8e41);
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    border-color: var(--luxury-gold);
}

.whatsapp-badge i {
    color: white;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--light-bg);
}

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

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

.service-card {
    background: linear-gradient(145deg, var(--white), rgba(245,245,240,0.9));
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--luxury-shadow);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
    border-color: var(--luxury-gold);
}

.service-card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--luxury-gold), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}



/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--light-bg);
}

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

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

.feature {
    text-align: center;
    padding: 2rem;
}

.feature i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--secondary-color);
    color: var(--white);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 30px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    opacity: 0.7;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(135deg, var(--luxury-gold), var(--primary-color));
    color: var(--secondary-color);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
    border: 3px solid rgba(255,255,255,0.3);
    z-index: 1000;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    backdrop-filter: blur(15px);
    animation: gentle-bounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-silver));
    color: var(--luxury-gold);
    transform: translateX(50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(26, 26, 26, 0.6);
    width: 250px;
    border-radius: 40px;
    border-color: var(--luxury-gold);
    animation: none;
}

.whatsapp-float i {
    transition: all 0.3s ease;
    color: var(--secondary-color);
}

.whatsapp-float:hover i {
    color: var(--luxury-gold);
}

.whatsapp-text {
    opacity: 0;
    margin-left: 10px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    transform: translateX(-20px);
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-float:hover i {
    margin-right: 5px;
}

/* Logo nelle sezioni */
.hero-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-logo-image {
    width: 320px;
    height: 320px;
    object-fit: contain;
    filter: drop-shadow(3px 3px 8px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

.hero-logo-icon {
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--luxury-gold);
    background: linear-gradient(135deg, #ffffff, #f8f8f8);
    border-radius: 50%;
    border: 5px solid var(--luxury-gold);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
    animation: float 3s ease-in-out infinite;
}

.section-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-logo-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 6px rgba(0,0,0,0.2));
    transition: all 0.3s ease;
}

.section-logo-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--luxury-gold);
    background: linear-gradient(135deg, #ffffff, #f8f8f8);
    border-radius: 50%;
    border: 4px solid var(--luxury-gold);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.section-logo-image:hover {
    transform: scale(1.1);
    filter: drop-shadow(3px 3px 8px rgba(212, 175, 55, 0.4));
}

.section-logo-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* Animation */
@keyframes gentle-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Add styles for the dark mode toggle */
.switch {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.switch input { 
    display: none;
}

.slider {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    background-color: #ccc;
    border-radius: 34px;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.slider:before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #666;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

body.dark-mode {
    background-color: #333;
    color: #fff;
}

body.dark-mode .header,
body.dark-mode .footer {
    background-color: #222;
}

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

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(245,245,240,0.98));
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        border-top: 1px solid var(--luxury-gold);
        padding: 2rem 0;
        z-index: 1000;
    }

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

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-menu a {
        font-size: 1.1rem;
        font-weight: 500;
    }

    .call-btn {
        margin: 1rem 0;
        display: inline-block;
    }

    .language-selector {
        margin: 1rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .mercedes-image {
        max-width: 350px;
    }

    .luxury-overlay {
        top: -10px;
        right: -10px;
    }

    .whatsapp-badge {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        padding: 0.8rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .mercedes-image {
        max-width: 280px;
        border-radius: 15px;
    }

    .whatsapp-badge {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        padding: 0.7rem;
    }

    .luxury-overlay {
        top: -5px;
        right: -5px;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 26px;
        bottom: 15px;
    }

    .whatsapp-float:hover {
        width: 200px;
        transform: translateX(50%) scale(1.05);
    }

    .logo-image {
        width: 90px;
        height: 90px;
        margin-right: 10px;
    }
    
    .hero-logo-image {
        width: 240px;
        height: 240px;
    }
    
    .section-logo-image {
        width: 160px;
        height: 160px;
    }
}