/* Salva questo file come style.css */
:root { 
    --primary: #4f46e5; 
    --primary-hover: #4338ca;
    --success: #10b981; 
    --success-hover: #059669;
    --dark: #1f2937; 
    --light: #f9fafb;
    --gray: #6b7280;
}

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

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    color: var(--dark); 
    background: var(--light);
    line-height: 1.5;
}

header { 
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo { 
    font-size: 22px; 
    font-weight: 800; 
    color: var(--primary); 
    text-decoration: none; 
    letter-spacing: -0.5px; 
}

.lang-select { 
    padding: 6px 12px; 
    border-radius: 6px; 
    border: 1px solid #d1d5db; 
    font-size: 14px; 
    background: white; 
    cursor: pointer; 
    outline: none; 
}

.hero {
    background: linear-gradient(135deg, #e0e7ff 0%, #e0f2fe 100%);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.hero h1 { 
    font-size: 36px; 
    font-weight: 800; 
    letter-spacing: -1px; 
    margin-bottom: 15px; 
    color: #111827; 
    line-height: 1.2; 
}

.hero p.subtitle { 
    font-size: 18px; 
    color: var(--gray); 
    margin-bottom: 35px; 
    font-weight: 500; 
}

.search-box { 
    display: flex; 
    flex-direction: column;
    gap: 10px; 
    max-width: 600px; 
    margin: 0 auto 25px auto; 
    background: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.search-box input { 
    flex: 1; 
    padding: 14px; 
    font-size: 16px; 
    border: 1px solid transparent; 
    border-radius: 8px; 
    outline: none; 
    text-align: center;
}

.search-box input:focus { 
    background: #f3f4f6; 
}

.btn { 
    padding: 14px 28px; 
    font-size: 16px; 
    font-weight: 700; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
    text-decoration: none; 
    transition: all 0.2s; 
    text-align: center; 
}

.btn-primary { 
    background: var(--primary); 
    color: white; 
}

.btn-primary:hover { 
    background: var(--primary-hover); 
}

.btn-success { 
    background: var(--success); 
    color: white; 
    display: inline-block; 
    box-shadow: 0 4px 6px -1px rgba(16,185,129,0.2); 
}

.btn-success:hover { 
    background: var(--success-hover); 
    transform: translateY(-1px); 
}

.pet-gallery {
    max-width: 1000px;
    margin: -20px auto 50px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.pet-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    height: 200px;
}

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

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

.features { 
    max-width: 900px; 
    margin: 0 auto 60px auto; 
    padding: 0 20px; 
    text-align: center; 
}

.features h2 { 
    font-size: 26px; 
    font-weight: 700; 
    margin-bottom: 30px; 
}

.grid-features { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 20px; 
}

.feature-item { 
    background: white; 
    padding: 25px; 
    border-radius: 12px; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); 
    font-size: 16px; 
    font-weight: 600; 
    text-align: center; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

@media (min-width: 600px) {
    .search-box { 
        flex-direction: row; 
    }
    .search-box input { 
        text-align: left; 
        padding-left: 15px; 
    }
    .hero h1 { 
        font-size: 46px; 
    }
    .grid-features { 
        grid-template-columns: repeat(3, 1fr); 
    }
    .pet-gallery { 
        grid-template-columns: repeat(4, 1fr); 
    }
    .pet-card { 
        height: 180px; 
    }
}

