/* Guide Enhancements CSS
 * Improvements for Sprint Track guide pages
 */

/* Global Typography Improvements */
body {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3 {
    font-weight: 700;
    color: #222;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2rem; margin: 2.5rem 0 1.5rem; }
h3 { font-size: 1.3rem; margin: 1.5rem 0 0.75rem; }

.guide-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #eee;
}

/* Primary CTA - Top of Page */
.primary-cta {
    text-align: center;
    margin: 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(to right, #f0f4ff, #e6f0ff);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.primary-cta .btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.primary-cta .btn-large:hover {
    background-color: #0069d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.primary-cta .btn-large svg {
    width: 1.2rem;
    height: 1.2rem;
}

.cta-subtext {
    margin-top: 0.75rem;
    font-style: italic;
    color: #666;
    display: none; /* hidden for affiliate model */
}

/* Enhanced Shoe Cards */
.shoe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.shoe-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background-color: white;
}

.shoe-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.shoe-info {
    padding: 1.25rem;
}

.shoe-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.shoe-info h3 a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}

.shoe-info h3 a:hover {
    color: #007bff;
}

.rating {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.rating-stars {
    color: #ffc107; /* Gold for stars */
    margin-right: 0.25rem;
}

.shoe-description {
    font-size: 0.9rem;
    margin: 0.75rem 0;
    color: #555;
    line-height: 1.5;
}

.shoe-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0 0.75rem;
}

.chip {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 16px;
    background-color: #eef4ff;
    color: #2f5bd3;
    font-size: 0.75rem;
    font-weight: 600;
}

.why-fit {
    font-size: 0.9rem;
    color: #555;
    margin: 0.5rem 0 0.75rem;
}

.price-range {
    font-weight: 600;
    color: #28a745;
    margin: 0.75rem 0;
    font-size: 1.1rem;
}

.buttons {
    margin-top: 1rem;
}

.btn-secondary {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #007bff;
    color: white;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: #0069d9;
    text-decoration: none;
}

.amazon-redirect-disclaimer {
    font-size: 0.75rem;
    color: #777;
    text-align: center;
    margin-top: 0.5rem;
}

/* Enhanced Tips Section */
.guide-tips {
    background-color: #f9f9fa;
    padding: 3rem 2rem;
    margin: 3rem -2rem;
    border-radius: 8px;
}

/* Advice (community quotes) */
.advice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.advice-card {
    background: #fff;
    border: 1px solid #eaeef6;
    border-radius: 8px;
    padding: 1.25rem 1.25rem 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.advice-quote {
    font-style: italic;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.advice-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eef4ff;
    color: #2f5bd3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-meta .name { font-weight: 600; color: #222; }
.author-meta .meta { font-size: 0.8rem; color: #6b7280; }

/* Enhanced CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
    min-width: 280px;
}

.btn-primary:hover {
    background-color: #0069d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: #007bff;
    border: 1px solid #007bff;
    min-width: 260px;
}

.btn-outline:hover {
    background-color: #f0f7ff;
    transform: translateY(-2px);
}

/* Conclusion Section */
.guide-conclusion {
    background-color: #f9f9fa;
    padding: 3rem 1rem;
    margin: 3rem 0;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Center-align all content that appears after the Where to Watch Tokyo 2025 section */
.watch-info.centered {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.watch-content {
    max-width: 600px;
    margin: 0 auto;
}

.watch-content h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.watch-content h3 {
    font-size: 1.5rem;
    color: #34495e;
    margin: 1.5rem 0 1rem 0;
}

.watch-content p, 
.watch-content ul,
.watch-content li {
    font-size: 1.15rem;
    line-height: 1.6;
}

.streaming-logos {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.streaming-logo {
    height: 32px;
    width: auto;
    transition: transform 0.2s ease;
}

.streaming-logo:hover {
    transform: scale(1.1);
}

.key-times {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
    font-size: 1.15rem;
}

.key-times ul {
    list-style: none;
    padding: 0;
}

.key-times li {
    margin: 0.5rem 0;
    padding: 0.3rem 0;
    font-size: 1.1rem;
}

.watch-info + .guide-conclusion,
.guide-conclusion,
.guide-conclusion p,
.advice-grid,
.advice-card,
.advice-quote,
.advice-author {
    text-align: center;
}

.guide-conclusion p,
.advice-quote {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .shoe-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-card-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .primary-cta .btn-large {
        width: 100%;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
}
