/* Health & Nutrition Page Styles */

/* Hero Section */
.health-nutrition-hero {
    background-color: #2a9d8f;
    color: white;
    text-align: center;
    padding: 50px 20px;
    position: relative;
    overflow: hidden;
    min-width: 100vw;
}

.health-nutrition-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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.health-nutrition-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.health-nutrition-hero .hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.6;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2d3436;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-header p {
    font-size: 1.2rem;
    color: #636e72;
    max-width: 600px;
    margin: 0 auto;
}

/* Nutrition Section */
.nutrition-section {
    padding: 80px 20px;
    background: transparent;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.nutrition-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid; /* Accent border */
    padding: 30px;
    overflow: hidden;
}

.nutrition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.nutrition-card .card-header {
    display: flex;
    align-items: center;
    padding: 0;
    background: none !important; /* Override any previous background styles */
    color: #2d3436;
    margin-bottom: 25px;
    position: static;
}

.nutrition-card .card-header i {
    font-size: 2.5rem;
    margin-right: 20px;
    margin-bottom: 0;
    display: block;
}

.nutrition-card .card-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

/* Color accents for border and icon */
.dog-nutrition {
    border-left-color: #f76d6d;
}
.dog-nutrition .card-header i {
    color: #f76d6d;
}

.cat-nutrition {
    border-left-color: #64c29e;
}
.cat-nutrition .card-header i {
    color: #64c29e;
}

.bird-nutrition {
    border-left-color: #6ebaf7;
}
.bird-nutrition .card-header i {
    color: #6ebaf7;
}

.card-content {
    padding: 0;
}

.nutrition-tip {
    margin-bottom: 20px;
}

.nutrition-tip:last-child {
    margin-bottom: 0;
}

.nutrition-tip h4 {
    color: #2d3436;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.nutrition-tip ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nutrition-tip li {
    padding: 6px 0 6px 20px;
    line-height: 1.6;
    position: relative;
    color: #636e72;
}

.nutrition-tip li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
    top: 50%;
    transform: translateY(-50%);
}

/* Health Monitoring Section */
.health-monitoring-section {
    padding: 80px 0;
    background: white;
}

.monitoring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.monitoring-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.monitoring-card:hover {
    background: white;
    border-color: #74b9ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(116, 185, 255, 0.2);
}

.monitoring-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.monitoring-icon i {
    font-size: 2rem;
    color: white;
}

.monitoring-card h3 {
    color: #2d3436;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.monitoring-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.monitoring-card li {
    padding: 8px 0;
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.monitoring-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00b894;
    font-weight: bold;
}

/* Wellness Section */
.wellness-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.wellness-tips {
    max-width: 800px;
    margin: 40px auto 0;
}

.wellness-tip {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.wellness-tip:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.tip-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 25px;
    flex-shrink: 0;
}

.tip-content h3 {
    color: #2d3436;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.tip-content p {
    color: #636e72;
    line-height: 1.6;
    margin: 0;
}

/* Emergency Section */
.emergency-section {
    padding: 80px 0;
    background: white;
}

.emergency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.emergency-card {
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.emergency-card.urgent {
    background: linear-gradient(135deg, #ff7675, #d63031);
    color: white;
}

.emergency-card.warning {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    color: white;
}

.emergency-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.emergency-icon i {
    font-size: 2rem;
}

.emergency-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.emergency-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.emergency-card li {
    padding: 8px 0;
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.emergency-card li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-card:hover {
    border-color: #74b9ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(116, 185, 255, 0.2);
}

.contact-card i {
    font-size: 3rem;
    color: #74b9ff;
    margin-bottom: 20px;
    display: block;
}

.contact-card h3 {
    font-size: 1.3rem;
    color: #2d3436;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-card p {
    color: #636e72;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .health-nutrition-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .health-nutrition-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .nutrition-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .monitoring-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .emergency-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .wellness-tip {
        flex-direction: column;
        text-align: center;
    }
    
    .tip-number {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .health-nutrition-hero {
        padding: 60px 15px;
    }
    
    .health-nutrition-hero .hero-title {
        font-size: 2rem;
    }
    
    .nutrition-section,
    .health-monitoring-section,
    .wellness-section,
    .emergency-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .nutrition-card,
    .monitoring-card,
    .wellness-tip,
    .emergency-card,
    .contact-card {
        margin: 0 15px;
    }
    
    .card-content,
    .monitoring-card,
    .wellness-tip {
        padding: 20px;
    }
}