/* Punch the Monkey Tracker - Styles */
:root {
    --primary: #ff6b6b;
    --primary-dark: #ff4757;
    --secondary: #4ecdc4;
    --accent: #ffd166;
    --dark: #2d3436;
    --light: #f9f9f9;
    --gray: #636e72;
    --light-gray: #dfe6e9;
    --success: #00b894;
    --warning: #fdcb6e;
    --danger: #e17055;
    --info: #0984e3;
    
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
    --radius: 16px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
header {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    border-bottom: 5px solid var(--primary);
}

.header-content h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.header-content h1 i {
    color: var(--primary);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--light-gray);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
}

.last-updated i {
    color: var(--secondary);
}

/* Status Grid */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.status-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.status-card.current-status {
    border-top-color: var(--success);
}

.status-card.recent-news {
    border-top-color: var(--info);
}

.status-card.timeline {
    border-top-color: var(--secondary);
}

.status-card.quick-facts {
    border-top-color: var(--accent);
}

.status-card.social-media {
    border-top-color: var(--warning);
}

.status-card.zoo-info {
    border-top-color: var(--danger);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
}

.card-header h2 {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h2 i {
    color: inherit;
}

.status-badge, .news-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.good {
    background: #d4edda;
    color: #155724;
}

.news-badge {
    background: #d1ecf1;
    color: #0c5460;
}

/* Current Status */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.indicator-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.indicator-circle.good {
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
}

.indicator-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.status-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--light);
    border-radius: 10px;
}

.detail-item i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* News */
.news-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.news-item {
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--light-gray);
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-date {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 5px;
    font-weight: 500;
}

.news-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--info);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 8px;
}

.news-link:hover {
    text-decoration: underline;
}

/* Timeline */
.timeline-content {
    position: relative;
    padding-left: 20px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--light-gray);
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 5px;
}

.timeline-dot {
    position: absolute;
    left: -26px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid white;
    z-index: 1;
}

.timeline-item.positive .timeline-dot {
    background: var(--success);
}

.timeline-item.neutral .timeline-dot {
    background: var(--warning);
}

.timeline-item.negative .timeline-dot {
    background: var(--danger);
}

.timeline-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Quick Facts & Zoo Info */
.facts-content, .zoo-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fact-item, .zoo-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--light);
    border-radius: 10px;
}

.fact-item i, .zoo-detail i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* Social Media */
.social-content {
    text-align: center;
}

.social-metrics {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
}

.social-metric {
    text-align: center;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 5px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.social-link.twitter {
    background: #1da1f2;
    color: white;
}

.social-link.instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: white;
}

.social-link.reddit {
    background: #ff4500;
    color: white;
}

.social-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Gallery Section */
.gallery-section {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--accent);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-header h2 i {
    color: var(--accent);
}

.section-subtitle {
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    background: var(--light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

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

.gallery-caption {
    padding: 1.5rem;
}

.gallery-caption h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.gallery-caption p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.gallery-date {
    display: inline-block;
    background: var(--light-gray);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.gallery-note {
    background: #fff9e6;
    border-left: 4px solid var(--warning);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--dark);
}

.gallery-note i {
    color: var(--warning);
    margin-right: 10px;
}

/* Call to Action */
.call-to-action {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--secondary);
}

.call-to-action h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.call-to-action h2 i {
    color: var(--secondary);
}

.call-to-action > p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto 1rem;
    gap: 10px;
}

.subscribe-form input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
}

.subscribe-form input:focus {
    outline: none;
    border-color: var(--secondary);
}

.subscribe-form button {
    padding: 15px 30px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.subscribe-form button:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.form-note {
    font-size: 0.9rem;
    color: var(--gray);
    font-style: italic;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    border-radius: var(--radius);
    padding: 2rem;
    margin-top: 2rem;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-logo i {
    color: var(--primary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-copyright {
    color: var(--light-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-copyright p {
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .status-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-metrics {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    header, .status-card, .call-to-action, footer {
        padding: 1.5rem;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .status-badge, .news-badge {
        align-self: flex-start;
    }
}