/**
 * alt.Health Stylesheet
 * Clean, modern design for review site
 */

/* === Base Styles === */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fafafa;
}

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

/* === Header === */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo a {
    text-decoration: none;
    color: #111;
    font-size: 24px;
    font-weight: 700;
}

.tagline {
    display: block;
    font-size: 13px;
    color: #666;
    font-weight: 400;
    margin-top: 2px;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #4a7c3a;
}

.search-box input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    width: 200px;
}

.search-box button {
    background: #4a7c3a;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    margin-left: 8px;
}

/* === Hero Section === */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c3a 100%);
    color: #fff;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero .subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-categories {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.3);
}

.category-badge:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* === Sections === */
section {
    margin-bottom: 60px;
}

section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #111;
}

/* === Review Cards === */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.review-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.review-card.featured {
    border: 2px solid #4a7c3a;
}

.review-header {
    margin-bottom: 16px;
}

.review-header h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.review-header h3 a {
    color: #111;
    text-decoration: none;
}

.review-header h3 a:hover {
    color: #4a7c3a;
}

.category-tag {
    display: inline-block;
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
}

.review-rating {
    margin-bottom: 16px;
}

.stars {
    color: #ffa500;
    font-size: 18px;
}

.star.empty {
    color: #ddd;
}

.rating-number {
    font-size: 14px;
    color: #666;
    margin-left: 8px;
}

.review-excerpt {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.price {
    font-size: 20px;
    font-weight: 700;
    color: #3d6b2e;
}

.read-more {
    color: #3d6b2e;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.read-more:hover {
    text-decoration: underline;
}

/* === About Snippet === */
.about-snippet {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

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

.feature {
    text-align: center;
}

.feature .icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature p {
    color: #666;
    font-size: 15px;
}

/* === Footer === */
.site-footer {
    background: #1a3a1a;
    color: #e8f5e8;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 16px;
    color: #fff;
}

.footer-section p {
    color: #bdc3c7;
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: #fff;
}

.disclaimer {
    font-size: 12px;
    color: #95a5a6;
    margin-top: 20px;
    padding: 16px;
    background: rgba(0,0,0,0.2);
    border-radius: 6px;
    font-style: italic;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #95a5a6;
}

.affiliate-notice {
    margin-top: 12px;
    font-size: 12px;
}

/* === Responsive === */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .search-box {
        width: 100%;
        order: 2;
    }
    
    .search-box input {
        width: 100%;
    }
}

/* === Review Card Images === */
.review-card-image {
    margin: -24px -24px 16px -24px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    max-height: 200px;
}

.review-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.review-card:hover .review-card-image img {
    transform: scale(1.05);
}

/* === Review Hero Image === */
.review-hero-image {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    max-height: 400px;
}

.review-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .review-hero-image {
        max-height: 250px;
        border-radius: 8px;
    }
    
    .review-hero-image img {
        height: 250px;
    }
    
    .review-card-image {
        max-height: 160px;
    }
    
    .review-card-image img {
        height: 160px;
    }
}

/* === Utilities === */
.no-reviews {
    text-align: center;
    color: #999;
    padding: 60px 20px;
    font-size: 18px;
}
