* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation - IDENTICA A SHOES E ABOUT */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-height: 70px;
}

nav.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.logo:hover {
    color: #ff6b9d;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #ff6b9d;
}

.contact-btn {
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    color: #2c3e50 !important;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.3px;
}

.contact-btn:hover {
    transform: translateY(-1px);
    color: white !important;
}

.contact-btn::after {
    display: none;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 24px;
    height: 2px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 1px;
}

/* Hero Section - FIX: Padding top aumentato e layout responsive */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 40px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="colorful-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23colorful-dots)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateX(0px) translateY(0px);
    }
    25% {
        transform: translateX(5px) translateY(-5px);
    }
    50% {
        transform: translateX(-3px) translateY(5px);
    }
    75% {
        transform: translateX(-5px) translateY(-3px);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    color: white;
    padding-right: 20px;
}

.hero-text h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -1px;
    animation: fadeInLeft 1s ease-out;
}

.hero-text p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 2.5rem;
    opacity: 0.8;
    line-height: 1.7;
    animation: fadeInLeft 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    animation: fadeInLeft 1s ease-out 0.6s both;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4);
    color: white;
    padding: 1rem 2.2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 157, 0.25);
    background: linear-gradient(135deg, #4ecdc4, #ff6b9d);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2.2rem;
    border: 2px solid white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.3px;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
    padding-left: 20px;
}

.hero-shoe {
    width: 100%;
    max-width: 350px;
    height: 280px;
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4, #45b7d1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    transition: all 0.3s ease;
    animation: gentle-bounce 4s ease-in-out infinite;
}

@keyframes gentle-bounce {
    0%, 100% {
        transform: translateY(0px) rotateY(0deg);
    }
    50% {
        transform: translateY(-10px) rotateY(5deg);
    }
}

.hero-shoe:hover {
    transform: translateY(-15px) rotateY(-5deg) scale(1.05);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
    animation-play-state: paused;
}

.hero-shoe::before {
    content: url('../img/mister\ jerry\ \(3\).svg');
    opacity: 0.9;
    font-size: 8rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Features Section */
.features {
    padding: 7rem 0;
    background: #ffffff;
}

.features h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.features-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #7f8c8d;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b9d, #4ecdc4, #45b7d1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-card:nth-child(1)::before {
    background: linear-gradient(135deg, #ff6b9d, #ff8a95);
}

.feature-card:nth-child(2)::before {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
}

.feature-card:nth-child(3)::before {
    background: linear-gradient(135deg, #a8e6cf, #7fcdcd);
}

.feature-card:nth-child(4)::before {
    background: linear-gradient(135deg, #ffd93d, #ff6b6b);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.8;
}

.feature-card h3 {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

/* Contact Section */
.contact-section {
    padding: 7rem 0;
    background: #2c3e50;
    color: white;
}

.contact-content {
    text-align: center;
}

.contact-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.contact-section p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-bottom: 4rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.contact-item h3 {
    color: #4ecdc4;
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: white;
}

/* Fix per numeri di telefono su mobile */
.contact-item p a,
.contact-item p {
    color: white !important;
    text-decoration: none !important;
}

/* Forza il colore bianco per i link automatici dei telefoni */
a[href^="tel"] {
    color: inherit !important;
    text-decoration: none !important;
}

/* Footer */
footer {
    background: #1a252f;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-content .logo {
    color: white;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    opacity: 1;
    color: #4ecdc4;
}

.footer-info {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    flex-basis: auto;
}

.footer-info p {
    opacity: 0.6;
    font-size: 0.9rem;
    margin: 0;
}

.copyright, .piva, .cod-univoco {
    font-size: 0.85rem;
}

/* Responsive per footer */
@media (max-width: 834px) {
    .footer-content {
        flex-direction: row;
        text-align: center;
        justify-content: space-between;
        align-items: center;
    }

    .footer-info {
        text-align: right;
        flex-basis: auto;
    }

    .footer-links {
        justify-content: center;
        margin: 0 20px;
    }
}

/* Responsive Design */
@media (max-width: 834px) {
    nav {
        padding: 0.5rem 0;
        min-height: 60px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        padding-top: 80px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        padding-right: 0;
    }

    .hero-image {
        padding-left: 0;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 70px;
    }

    .logo {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }

    .contact-btn {
        padding: 0.7rem 1.5rem;
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}