:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --dark-color: #264653;
    --light-color: #F7FFF7;
    --text-color: #2C3E50;
}

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

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.header::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"><path d="M20,20 Q40,10 60,20 Q80,30 70,50 Q60,70 40,60 Q20,50 30,30 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100px 100px;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background-color: rgba(255,255,255,0.2);
}

.nav a:hover {
    background-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}


.section {
    padding: 50px 0;
    margin-bottom: 30px;
}

.section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.section h2::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.breeds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.breed-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.breed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.breed-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.breed-card h3 {
    padding: 15px;
    font-size: 1.3rem;
    color: var(--dark-color);
}

.breed-card p {
    padding: 0 15px 15px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.care-item {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.care-item:hover {
    transform: scale(1.05);
}

.care-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.care-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.care-item p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.fact-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.fact-card:hover {
    transform: translateX(5px);
}

.fact-card h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.fact-card p {
    color: var(--text-color);
    font-size: 0.95rem;
}

.footer {
    background: var(--dark-color);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

.footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}


/* Responsive design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .breeds-grid, .care-grid, .facts-grid {
        grid-template-columns: 1fr;
    }
}

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

    .section h2 {
        font-size: 1.6rem;
    }
}
