/* Base styles and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.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"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.2)"/><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.2)"/><circle cx="80" cy="80" r="3" fill="rgba(255,255,255,0.2)"/></svg>');
    opacity: 0.1;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-cats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeIn 1.5s ease-out 0.6s both;
}

.hero-cat {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.hero-cat:hover {
    transform: scale(1.1);
}

/* Cat Sections */
.cat-section {
    margin: 3rem 0;
    animation: fadeInUp 0.8s ease-out;
}

.cat-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.cat-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.cat-info {
    padding: 1.5rem;
}

.cat-info h2 {
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.cat-info p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.personality {
    font-style: italic;
    color: #718096;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.5rem;
    }
    
    .hero-cats {
        gap: 2rem;
    }
    
    .hero-cat {
        width: 120px;
        height: 120px;
    }
    
    .cat-card {
        flex-direction: row;
    }
    
    .cat-image {
        width: 50%;
        height: auto;
    }
    
    .cat-info {
        width: 50%;
    }
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.8rem;
    }
    
    .cat-section {
        margin: 4rem 0;
    }
    
    .cat-image {
        height: 400px;
    }
}

/* Animation delays for sections */
.cat-section:nth-child(2) {
    animation-delay: 0.2s;
}

.cat-section:nth-child(3) {
    animation-delay: 0.4s;
}

.cat-section:nth-child(4) {
    animation-delay: 0.6s;
}