/* ===================================
   Ryogoku Kokugikan - Modern Clean UI
   =================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary-red: #C41E3A;
    --primary-dark: #1a1a1a;
    --secondary-gold: #D4AF37;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-light: #6b6b6b;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --accent-green: #10b981;
    --accent-yellow: #f59e0b;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Noto Serif JP', serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.btn-primary:hover {
    background: #a01629;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-light);
    border-color: var(--text-primary);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary-red);
    margin: 0;
}

.nav-logo span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: block;
    margin-top: -4px;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition-base);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: var(--spacing-xl);
}

.hero-content h1 {
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.quick-nav-pills {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.pill {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    transition: var(--transition-base);
}

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

.trust-signals {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(15px); }
}

/* Quick Answers Bar */
.quick-answers {
    padding: var(--spacing-xl) 0;
    background: var(--primary-dark);
    color: white;
}

.quick-answers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.answer-card {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-base);
}

.answer-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.answer-card h3 {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: var(--spacing-xs);
}

.answer-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-gold);
    margin-bottom: var(--spacing-sm);
}

.answer-link {
    color: white;
    font-size: 0.875rem;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.answer-link:hover {
    opacity: 1;
    color: var(--secondary-gold);
}

/* Experience Finder */
.experience-finder {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.experience-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-base);
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.experience-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.experience-card h3 {
    color: var(--primary-red);
    margin-bottom: var(--spacing-xs);
}

.experience-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.experience-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.experience-features li {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

.experience-features li::before {
    content: '•';
    position: absolute;
    left: 8px;
    top: var(--spacing-xs);
    color: var(--primary-red);
    font-weight: bold;
    line-height: 1;
}

/* Tournament Schedule */
.tournament-schedule {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.schedule-cards {
    display: grid;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.schedule-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.schedule-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.schedule-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.schedule-card.happening-now {
    border-color: var(--primary-red);
}

.schedule-card.happening-now .schedule-status {
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary-red);
}

.schedule-card.available {
    border-color: var(--accent-green);
}

.schedule-card.available .schedule-status {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.schedule-card.pre-registration {
    border-color: var(--accent-yellow);
}

.schedule-card.pre-registration .schedule-status {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-yellow);
}

.schedule-card h3 {
    margin-bottom: var(--spacing-sm);
}

.schedule-dates {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.schedule-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.schedule-footer {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

/* Essential Guides */
.essential-guides {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-light);
}

.guide-section {
    margin-bottom: var(--spacing-3xl);
}

.guide-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 3px solid var(--primary-red);
}

.guide-icon {
    font-size: 2.5rem;
}

.guide-header h3 {
    font-size: 2rem;
    margin: 0;
}

.guide-cards {
    display: grid;
    gap: var(--spacing-lg);
}

.guide-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.guide-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.guide-card.featured {
    border: 2px solid var(--primary-red);
}

.guide-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.guide-badge {
    font-size: 2rem;
}

.guide-card h4 {
    margin: 0;
    color: var(--text-primary);
}

.guide-card > p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.guide-list {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.guide-list li {
    padding: var(--spacing-xs) 0;
    padding-left: 24px;
    color: var(--text-secondary);
    position: relative;
}

.guide-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: var(--spacing-xs);
    color: var(--primary-red);
    font-weight: bold;
    line-height: 1;
}

.guide-link {
    color: var(--primary-red);
    font-weight: 600;
    transition: var(--transition-fast);
}

.guide-link:hover {
    color: #a01629;
}

/* Comparison Section */
.comparison-section {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.comparison-card {
    background: var(--bg-light);
    padding: var(--spacing-xl);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-base);
}

.comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.comparison-card h3 {
    margin-bottom: var(--spacing-sm);
}

.comparison-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
}

.comparison-card ul {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.comparison-card li {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
}

/* Visitor Reviews */
.visitor-reviews {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.review-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.review-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.review-text {
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.review-source {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.review-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Newsletter */
.newsletter {
    padding: var(--spacing-3xl) 0;
    background: var(--primary-dark);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    margin-bottom: var(--spacing-sm);
}

.newsletter-content > p {
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

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

.newsletter-note {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-col h4 {
    margin-bottom: var(--spacing-md);
    color: var(--secondary-gold);
    font-size: 1rem;
}

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

.footer-col li {
    margin-bottom: var(--spacing-xs);
}

.footer-col a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: white;
    padding-left: 4px;
}

.footer-social {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-xl) 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-social a {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    color: var(--secondary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
}

/* Scroll Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.reveal-fade.revealed {
    opacity: 1;
}

/* Responsive Design */
/* Image Grid Responsive */
.guide-card img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    /* Stack seating comparison images on mobile */
    .guide-card div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        transition: var(--transition-base);
        gap: var(--spacing-md);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .quick-nav-pills {
        gap: var(--spacing-xs);
    }

    .pill {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .experience-grid,
    .comparison-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .schedule-actions {
        flex-direction: column;
    }

    .schedule-actions .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-social {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }

    .hero {
        min-height: 500px;
    }

    .answer-value {
        font-size: 1.5rem;
    }

    .experience-icon {
        font-size: 3rem;
    }
}

/* Article Page Styles */
.article-page {
    background: var(--bg-white);
}

.article-header {
    padding: 6rem 0 3rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--primary-red);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-hero {
    padding: 2rem 0;
}

.article-content {
    padding: 3rem 0 5rem;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 3px solid var(--primary-red);
    padding-bottom: 0.5rem;
}

.content-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.content-section p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
}

.checklist li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    top: 0.75rem;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

/* Alert Boxes */
.alert {
    padding: 1.25rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid;
}

.alert-warning {
    background: #fff3cd;
    border-left-color: #f59e0b;
    color: #856404;
}

.alert strong {
    display: block;
    margin-bottom: 0.5rem;
}

/* Tip Box */
.tip-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
    border-left: 4px solid var(--accent-green);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.tip-box h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--accent-green);
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.advantage-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.advantage-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.advantage-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Comparison Table */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table thead {
    background: var(--primary-dark);
    color: white;
}

.comparison-table thead th {
    font-weight: 600;
}

.comparison-table tbody tr:hover {
    background: var(--bg-light);
}

.comparison-table .highlight-row {
    background: #fff3e0;
}

.comparison-table .highlight-row:hover {
    background: #ffe0b2;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

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

.badge-very-good {
    background: #cfe2ff;
    color: #084298;
}

.badge-low {
    background: #f8d7da;
    color: #842029;
}

.badge-difficult {
    background: #f8d7da;
    color: #842029;
}

/* Recommendation Box */
.recommendation-box {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid var(--secondary-gold);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.recommendation-box h3 {
    color: var(--primary-dark);
    margin-top: 0;
    margin-bottom: 1rem;
}

.recommendation-box ul {
    margin: 1rem 0;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-red) 0%, #a31530 100%);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.cta-banner h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.cta-banner .btn {
    background: white;
    color: var(--primary-red);
    font-weight: 700;
}

.cta-banner .btn:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Related Guides Grid */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.related-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition-base);
    display: block;
}

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

.related-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.related-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.related-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Mobile Responsive for Article */
@media (max-width: 768px) {
    .article-header {
        padding: 5rem 0 2rem;
    }

    .article-meta {
        font-size: 0.85rem;
        gap: 1rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }

    .cta-banner {
        padding: 2rem 1.5rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-red) 0%, #a31530 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 1000;
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(196, 30, 58, 0.5);
    background: linear-gradient(135deg, #d92140 0%, #c41e3a 100%);
}

.floating-cta:active {
    transform: translateY(-1px);
}

.cta-icon {
    font-size: 1.25rem;
    animation: pulse 2s ease-in-out infinite;
}

.cta-text {
    white-space: nowrap;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Mobile adjustments for floating button */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 1rem;
        right: 1rem;
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }

    .cta-text {
        display: none;
    }

    .cta-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .floating-cta {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem;
    }
}

/* Print Styles */
@media print {
    .main-nav,
    .scroll-indicator,
    .newsletter,
    .footer-social,
    .floating-cta {
        display: none;
    }
}
/* ===================================
   NAVBAR DROPDOWN MENU
   =================================== */

.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    z-index: 1000;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-red);
    padding-left: 1.5rem;
}

/* Mobile Dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.05);
        margin-top: 0.5rem;
        border-radius: 0;
    }
    
    .nav-dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
}

/* ===================================
   GUIDES HUB PAGE
   =================================== */

/* Guides Hero */
.guides-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2d2d2d 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.guides-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.guides-hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.guides-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--secondary-gold);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Guides Page */
.guides-page {
    padding: 4rem 0;
    background: var(--bg-light);
}

/* Category Sections */
.guides-category {
    margin-bottom: 4rem;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.category-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Guides Grid Layouts */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.guides-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Large Guide Cards */
.guide-card-large {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

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

.guide-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.guide-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.guide-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.guide-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.guide-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.guide-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.guide-card-content > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.guide-highlights {
    list-style: none;
    margin: 1.5rem 0;
    flex: 1;
}

.guide-highlights li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.guide-card-content .btn {
    margin-top: auto;
}

/* Compact Guide Cards */
.guide-card-compact {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.guide-card-compact:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.guide-card-compact.featured {
    border-color: var(--secondary-gold);
    background: linear-gradient(135deg, #fffef5 0%, white 100%);
}

.guide-compact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guide-card-compact h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.guide-card-compact p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.guide-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-fast);
}

.guide-link:hover {
    gap: 0.75rem;
}

/* Guides CTA Section */
.guides-cta {
    background: linear-gradient(135deg, var(--primary-red) 0%, #a31530 100%);
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 4rem;
    color: white;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.cta-note {
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.85;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .guides-hero {
        padding: 4rem 0 3rem;
    }
    
    .guides-hero-stats {
        gap: 2rem;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
    }
    
    .guides-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .guide-card-content {
        padding: 1.5rem;
    }
    
    .guides-cta {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .guide-card-image {
        height: 180px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ===================================
   IMAGE LIGHTBOX / ZOOM MODAL
   =================================== */

.lightbox-trigger {
    cursor: zoom-in;
    transition: opacity 0.3s ease;
}

.lightbox-trigger:hover {
    opacity: 0.9;
}

.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-wrapper {
    position: relative;
    cursor: grab;
    transition: transform 0.3s ease;
    touch-action: none;
}

.lightbox-image-wrapper.dragging {
    cursor: grabbing;
    transition: none;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    display: block;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.lightbox-close::before,
.lightbox-close::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: white;
}

.lightbox-close::before {
    transform: rotate(45deg);
}

.lightbox-close::after {
    transform: rotate(-45deg);
}

.lightbox-controls {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.lightbox-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-btn:active {
    transform: scale(0.95);
}

.lightbox-zoom-level {
    display: flex;
    align-items: center;
    color: white;
    font-size: 0.9rem;
    padding: 0 0.5rem;
    min-width: 60px;
    justify-content: center;
}

.lightbox-hint {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10002;
}

.lightbox-hint.show {
    opacity: 1;
}

@media (max-width: 768px) {
    .lightbox-controls {
        bottom: 20px;
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }

    .lightbox-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
    }

    .lightbox-image {
        max-width: 95vw;
        max-height: 95vh;
    }
}
