/* Global Styles */
:root {
    --primary-color: #4A90E2;
    --secondary-color: #50E3C2;
    --accent-color: #FF6B6B;
    --text-dark: #333;
    --text-light: #666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    padding-top: 56px;
}

/* Navbar */
.navbar {
    background: rgba(102, 126, 234, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-brand img {
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: rotate(10deg) scale(1.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-section .lead {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Features Section */
.features-section {
    background: white;
}

.features-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.features-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.features-section .material-icons {
    transition: transform 0.3s ease;
}

.features-section .card:hover .material-icons {
    transform: scale(1.1);
}

/* Pet Categories */
.pet-categories .card {
    transition: all 0.3s ease;
    border-radius: 15px;
    cursor: pointer;
}

.pet-categories .card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* Community Section */
.community .card {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.community .card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.community .card-footer {
    background: transparent;
    border-top: 1px solid #eee;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Newsletter */
.newsletter {
    background: #f8f9fa;
}

/* Footer */
.footer {
    background: #2c3e50;
}

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

.footer a:hover {
    color: white !important;
}

.footer .material-icons {
    font-size: 18px;
}

/* Material Icons */
.material-icons {
    vertical-align: middle;
}

/* Buttons */
.btn {
    border-radius: 25px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Cards */
.card {
    border: none;
}

.card-title {
    font-weight: 600;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
        min-height: 400px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
