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

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

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

/* HERO Section */
.hero {
    background: #F5F5DC;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 48px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-size: clamp(32px, 5vw, 40px);
    font-weight: 700;
    color: #000;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(20px, 3vw, 22px);
    font-weight: 400;
    color: #333;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-button {
    background: #FF8C00;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: #e67c00;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

.logo-cartoon {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
    visibility: visible;
}

.logo-cartoon:hover {
    transform: scale(1.05);
}

/* Chi Siamo Section */
.chi-siamo {
    padding: 80px 0;
    background: white;
}

.chi-siamo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.chi-siamo h2 {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 24px;
}

.chi-siamo p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.team-photo {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
    background-color: #f0f0f0;
    object-fit: cover;
}

.team-photo-container {
    position: relative;
    width: 100%;
    height: 400px;
}

.photo-placeholder-card {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #F5F5DC 0%, #e8e8d8 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px dashed #9CAF88;
}

.placeholder-content {
    text-align: center;
    padding: 32px;
}

.placeholder-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.placeholder-content h3 {
    font-size: 28px;
    color: #FF8C00;
    margin-bottom: 12px;
    font-weight: 700;
}

.placeholder-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.4;
}

.placeholder-dogs {
    font-size: 32px;
    margin-top: 12px;
}

.team-photo:hover {
    transform: scale(1.02);
}

.micro-cta {
    color: #FF8C00;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.micro-cta:hover {
    color: #e67c00;
    text-decoration: underline;
}

/* Problema Soluzione Section */
.problema-soluzione {
    background: rgba(156, 175, 136, 0.15);
    padding: 80px 0;
}

.problema-soluzione h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 48px;
}

.problemi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.problema-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.problema-card:hover {
    transform: translateY(-5px);
}

.problema-card i {
    font-size: 48px;
    color: #9CAF88;
    margin-bottom: 16px;
}

.problema-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
}

.problema-card p {
    font-size: 16px;
    line-height: 1.5;
}

.soluzione {
    text-align: center;
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.soluzione p {
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

/* Servizi Section */
.servizi {
    padding: 80px 0;
    background: white;
}

.servizi h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 48px;
}

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

.servizio-card {
    background: #F5F5DC;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.servizio-card:hover {
    transform: translateY(-5px);
}

.servizio-card i {
    font-size: 48px;
    color: #FF8C00;
    margin-bottom: 16px;
}

.servizio-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
}

.servizio-card ul {
    list-style: none;
    text-align: left;
}

.servizio-card li {
    padding: 8px 0;
    font-size: 16px;
    position: relative;
    padding-left: 20px;
}

.servizio-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #9CAF88;
    font-weight: bold;
}

/* Prova Sociale Section */
.prova-sociale {
    background: #F5F5DC;
    padding: 80px 0;
}

.prova-sociale h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 48px;
}

.frasi-motivazionali {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.frase-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.frase-card:hover {
    transform: translateY(-5px);
}

.frase-card i {
    font-size: 48px;
    color: #FF8C00;
    margin-bottom: 16px;
}

.frase-card p {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    font-style: italic;
}

.quote {
    text-align: center;
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.quote p {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    font-style: italic;
}

/* CTA Finale Section */
.cta-finale {
    background: #9CAF88;
    padding: 80px 0;
    text-align: center;
}

.cta-finale h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: white;
    margin-bottom: 32px;
}

.cta-finale-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-gigante {
    background: #FF8C00;
    color: white;
    padding: 24px 48px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-gigante:hover {
    background: #e67c00;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 140, 0, 0.4);
}

.cta-gigante:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 48px 0 24px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-logo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.footer-contacts a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contacts a:hover {
    color: #FF8C00;
}

.footer-contacts i {
    font-size: 16px;
    vertical-align: middle;
}

.copyright {
    font-size: 14px;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-grid,
    .chi-siamo-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .hero-grid .hero-image {
        order: -1;
        display: block !important;
    }
    
    .logo-cartoon {
        max-width: 250px !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    .hero-image {
        display: block !important;
        text-align: center !important;
        padding: 20px !important;
        background-color: rgba(245, 245, 220, 0.5) !important;
        border-radius: 10px !important;
        min-height: 200px !important;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .cta-button {
        flex: 1;
        min-width: 200px;
        text-align: center;
    }
    
    .cta-finale-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-gigante {
        width: 100%;
        max-width: 400px;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 32px 0;
    }
    
    .hero-image {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        min-height: 200px !important;
        background: rgba(255, 140, 0, 0.1) !important;
        border-radius: 15px !important;
        margin: 20px 0 !important;
    }
    
    .logo-cartoon {
        width: 200px !important;
        height: 200px !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        border: 3px solid #FF8C00 !important;
        box-shadow: 0 5px 20px rgba(255, 140, 0, 0.3) !important;
    }
    
    .problema-soluzione,
    .servizi,
    .chi-siamo,
    .prova-sociale,
    .cta-finale {
        padding: 60px 0;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Ripple Effect */
.cta-button:active::after,
.cta-gigante:active::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    to {
        width: 300px;
        height: 300px;
        margin: -150px 0 0 -150px;
        opacity: 0;
    }
}