/* SportBettingBrokers.com - Main Stylesheet */

/* CSS Variables */
:root {
    --color-primary: #1a472a;      /* Dark Green */
    --color-secondary: #f39c12;    /* Gold */
    --color-accent: #3498db;       /* Blue */
    --color-bg: #f8f9fa;           /* Light Gray */
    --color-text: #2c3e50;         /* Dark Gray */
    --color-white: #ffffff;
    --font-heading: 'Inter', 'Roboto', 'Montserrat', sans-serif;
    --font-body: 'Open Sans', 'Lato', 'Source Sans Pro', sans-serif;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

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

/* Header */
.site-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.logo a {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    display: block;
    flex-shrink: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--color-secondary);
    text-decoration: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Main Content */
main {
    background-color: var(--color-white);
    min-height: 60vh;
    padding: 2rem 0;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #666;
}

.breadcrumb a {
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2d6a3e 100%);
    color: var(--color-white);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-cta {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-text);
}

.btn-primary:hover {
    background-color: #e08e0b;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: #2980b9;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-cta {
    background-color: var(--color-secondary);
    color: var(--color-text);
    font-size: 1.1rem;
}

.btn-cta:hover {
    background-color: #e08e0b;
    text-decoration: none;
    transform: scale(1.05);
}

/* CTA Box */
.cta-box {
    background-color: #fff8e1;
    border-left: 5px solid var(--color-secondary);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 5px;
}

.cta-box.primary {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
}

.cta-box h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.cta-note {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Broker Cards */
.broker-list {
    margin: 3rem 0;
}

.broker-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.broker-card {
    background-color: var(--color-white);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.broker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.broker-card.featured {
    border: 3px solid var(--color-secondary);
    position: relative;
}

.broker-rank {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 50%;
    font-size: 0.9rem;
}

.broker-logo {
    margin: 1rem 0;
}

.broker-logo img {
    max-width: 200px;
    height: auto;
}

.broker-rating {
    color: var(--color-secondary);
    font-size: 1.1rem;
    margin: 1rem 0;
}

.broker-features {
    list-style: none;
    text-align: left;
    margin: 1rem 0;
}

.broker-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

/* Hub Pages */
.hub-intro {
    background-color: var(--color-white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.page-card {
    background-color: var(--color-white);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.page-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.page-card h3 {
    color: var(--color-primary);
}

.page-card a {
    color: var(--color-accent);
    font-weight: 600;
}

/* Override for buttons inside cards */
.page-card .btn-primary,
.page-card .btn-secondary,
.page-card .btn-cta,
.broker-card .btn-primary,
.broker-card .btn-secondary,
.broker-card .btn-cta {
    color: var(--color-white) !important;
}

/* Footer */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: var(--color-white);
    text-decoration: none;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.disclaimer {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.5rem;
}

/* Language Selector */
.language-selector {
    text-align: center;
    margin: 2rem 0 1rem;
    position: relative;
    display: flex;
    justify-content: center;
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    color: var(--color-white);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
}

.language-toggle:hover {
    background-color: rgba(255,255,255,0.2);
    border-color: var(--color-secondary);
}

.language-toggle .flag {
    font-size: 1.4rem;
    line-height: 1;
}

.language-toggle .lang-code {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.language-toggle .arrow {
    font-size: 0.7rem;
    opacity: 0.7;
}

.language-dropdown {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.language-selector:hover .language-dropdown,
.language-selector.open .language-dropdown {
    opacity: 1;
    visibility: visible;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.2rem;
    color: var(--color-text);
    text-decoration: none;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

.language-option.active {
    background-color: #e8f5e9;
    font-weight: 600;
}

.language-option.active::after {
    content: "✓";
    margin-left: auto;
    color: var(--color-primary);
    font-weight: bold;
}

.language-option .flag {
    font-size: 1.6rem;
    line-height: 1;
}

.language-option .lang-name {
    font-size: 0.95rem;
}

/* ======================================================================
   VISUAL IMPROVEMENTS - Content Pages
   Added: 2026-02-16 for better readability and visual hierarchy
   ====================================================================== */

/* Article & Content Sections */
article {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

article > section {
    margin-bottom: 2.5rem;
}

article h2 {
    color: var(--color-primary);
    border-left: 4px solid var(--color-secondary);
    padding-left: 1rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

article h3 {
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

article p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

article ul, article ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

article li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

/* Author Meta */
.author-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--color-secondary);
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.author-name {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.05rem;
}

.publish-date {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Quick Facts Box */
.quick-facts {
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8cc 100%);
    border: 2px solid var(--color-secondary);
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.15);
}

.quick-facts h2 {
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-left: none;
    padding-left: 0;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-facts h2:before {
    content: "⭐";
    font-size: 1.5rem;
}

.quick-facts table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.quick-facts tr {
    background-color: var(--color-white);
    border-radius: 6px;
}

.quick-facts td {
    padding: 1rem;
    border: none;
}

.quick-facts td:first-child {
    font-weight: 600;
    color: var(--color-primary);
    width: 35%;
    border-radius: 6px 0 0 6px;
}

.quick-facts td:last-child {
    color: var(--color-text);
    border-radius: 0 6px 6px 0;
}

/* Pros & Cons Section */
.pros-cons {
    margin: 2.5rem 0;
}

.pros-cons h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.pros, .cons {
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.pros {
    margin-bottom: 2rem;
}

.pros {
    background: linear-gradient(135deg, #f0f9f4 0%, #d4edda 100%);
    border: 2px solid #28a745;
}

.pros h3 {
    color: #155724;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
}

.pros h3:before {
    content: "✅";
    font-size: 1.3rem;
}

.pros ul {
    list-style: none;
    padding-left: 0;
}

.pros li {
    padding-left: 1.8rem;
    position: relative;
    margin-bottom: 1rem;
}

.pros li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.3rem;
}

.cons {
    background: linear-gradient(135deg, #fff5f5 0%, #f8d7da 100%);
    border: 2px solid #dc3545;
}

.cons h3 {
    color: #721c24;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
}

.cons h3:before {
    content: "⚠️";
    font-size: 1.3rem;
}

.cons ul {
    list-style: none;
    padding-left: 0;
}

.cons li {
    padding-left: 1.8rem;
    position: relative;
    margin-bottom: 1rem;
}

.cons li:before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
    font-size: 1.3rem;
}

/* Intro Section Highlight */
.intro {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
    margin: 2rem 0;
}

.intro p:first-child {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-primary);
}

/* Comparison Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

thead {
    background-color: var(--color-primary);
    color: var(--color-white);
}

thead th {
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
}

tbody tr {
    border-bottom: 1px solid #e9ecef;
}

tbody tr:hover {
    background-color: #f8f9fa;
}

tbody td {
    padding: 1.2rem;
}

tbody td:first-child {
    font-weight: 600;
    color: var(--color-primary);
}

/* FAQ Section */
.faq-section, .faq {
    margin: 3rem 0;
}

.faq-item {
    background-color: var(--color-white);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.faq-item h3, .faq-item h4 {
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.faq-item h3:before, .faq-item h4:before {
    content: "❓";
    flex-shrink: 0;
}

.faq-item p {
    color: var(--color-text);
    line-height: 1.7;
}

/* Verdict/Conclusion Sections */
.verdict, .conclusion, .final-verdict {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid var(--color-accent);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.verdict h2, .conclusion h2, .final-verdict h2 {
    color: var(--color-primary);
    margin-top: 0;
    border-left: none;
    padding-left: 0;
}

/* Related Content Section */
.related-content {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2.5rem 0;
}

.related-content h2 {
    margin-top: 0;
}

.related-content ul {
    list-style: none;
    padding-left: 0;
}

.related-content li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #dee2e6;
}

.related-content li:last-child {
    border-bottom: none;
}

.related-content a {
    color: var(--color-accent);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.related-content a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Feature Lists with Icons */
article ul li strong {
    color: var(--color-primary);
}

/* Recommendation Boxes */
.broker-recommendation {
    background-color: var(--color-white);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.broker-recommendation h3 {
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.broker-recommendation ul {
    margin-bottom: 1.5rem;
}

.broker-recommendation p {
    font-weight: 600;
    color: var(--color-primary);
    margin: 1.5rem 0;
}

/* Buttons & CTAs */
.btn-primary, .btn-secondary, .btn-cta {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #e08e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
    text-decoration: none;
}

.btn-cta {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 1.1rem;
}

.btn-cta:hover {
    background-color: #155a1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 71, 42, 0.4);
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    article {
        padding: 1.5rem;
    }
    
    .pros-cons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .author-meta {
        flex-direction: column;
        text-align: center;
    }
    
    .quick-facts {
        padding: 1.5rem;
    }
    
    .quick-facts table {
        font-size: 0.95rem;
    }
    
    .quick-facts td:first-child {
        width: 40%;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    thead th, tbody td {
        padding: 0.8rem;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .site-header .container {
        position: relative;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-primary);
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .main-nav.mobile-nav-open {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-nav a {
        display: block;
        padding: 1rem 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .logo span {
        font-size: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .broker-cards {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}
