/* Global CSS for Keller Casino */
/* Primary: Sunset Orange (#FF4500) | Accent: Midnight Blue (#191970) */

/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #333 !important;
    background-color: #fff !important;
}

/* Bootstrap navbar margin fix */
.navbar-nav {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    list-style: none !important;
}

.navbar-nav::before,
.navbar-nav::after {
    display: none !important;
    content: none !important;
}

.nav-item {
    margin-bottom: 0 !important;
    list-style: none !important;
}

.nav-item::before,
.nav-item::after,
.nav-item::marker {
    display: none !important;
    content: none !important;
}

.nav-link::before,
.nav-link::after {
    display: none !important;
    content: none !important;
}

/* Navbar Styles */
.navbar {
    background-color: #191970 !important;
    padding: 15px 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.navbar-brand {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.navbar-brand img {
    width: 40px !important;
    height: 40px !important;
    box-shadow: none !important;
}

.navbar .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    transition: color 0.3s ease !important;
}

.navbar .nav-link:hover {
    color: #FF4500 !important;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.5) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* CTA Button in Nav */
.btn-cta-nav {
    background-color: #FF4500 !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    display: inline-block !important;
    transition: background-color 0.3s ease !important;
}

.btn-cta-nav:hover {
    background-color: #e03e00 !important;
    color: #fff !important;
}

/* Hero Section */
.hero-section {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative !important;
    padding: 120px 0 100px !important;
    min-height: 500px !important;
}

.hero-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(25, 25, 112, 0.92) 0%, rgba(25, 25, 112, 0.85) 100%) !important;
    z-index: 1 !important;
}

.hero-content {
    position: relative !important;
    z-index: 2 !important;
    color: #fff !important;
}

.hero-section h1 {
    font-size: 2.8rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: #fff !important;
}

.hero-section p {
    font-size: 1.2rem !important;
    margin-bottom: 30px !important;
    color: rgba(255,255,255,0.95) !important;
    max-width: 700px !important;
}

.btn-hero {
    background-color: #FF4500 !important;
    color: #fff !important;
    padding: 15px 35px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    text-decoration: none !important;
    display: inline-block !important;
    white-space: nowrap !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
}

.btn-hero:hover {
    background-color: #e03e00 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
}

/* Table of Contents */
.toc-section {
    background-color: #f8f9fa !important;
    padding: 40px 0 !important;
}

.toc-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 15px !important;
}

.toc-list li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.toc-list li::before,
.toc-list li::after,
.toc-list li::marker {
    display: none !important;
    content: none !important;
}

.toc-list a {
    display: block !important;
    padding: 15px 20px !important;
    background-color: #fff !important;
    border-left: 4px solid #FF4500 !important;
    color: #191970 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border-radius: 0 4px 4px 0 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
}

.toc-list a:hover {
    background-color: #191970 !important;
    color: #fff !important;
    transform: translateX(5px) !important;
}

/* Main Content Sections */
.content-section {
    padding: 60px 0 !important;
}

.content-section:nth-child(even) {
    background-color: #f8f9fa !important;
}

.content-section h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #191970 !important;
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    border-bottom: 3px solid #FF4500 !important;
}

.content-section h3 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #191970 !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
}

.content-section p {
    font-size: 18px !important;
    line-height: 1.8 !important;
    margin-bottom: 20px !important;
    color: #333 !important;
}

/* Content Images */
.content-section img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    margin: 25px 0 !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
}

/* Lists Styling */
.content-section ul,
.content-section ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 25px !important;
}

.content-section ul li,
.content-section ol li {
    position: relative !important;
    padding-left: 30px !important;
    margin-bottom: 12px !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
}

.content-section ul li::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 10px !important;
    width: 10px !important;
    height: 10px !important;
    background-color: #191970 !important;
    border-radius: 50% !important;
}

.content-section ol {
    counter-reset: item !important;
}

.content-section ol li::before {
    content: counter(item) !important;
    counter-increment: item !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    width: 24px !important;
    height: 24px !important;
    background-color: #191970 !important;
    color: #fff !important;
    border-radius: 50% !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Cards */
.info-card {
    background-color: #fff !important;
    border-radius: 8px !important;
    padding: 30px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08) !important;
    border-top: 4px solid #FF4500 !important;
}

.info-card h3 {
    margin-top: 0 !important;
}

/* Tables */
.table-container {
    overflow-x: auto !important;
    margin: 25px 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08) !important;
}

.content-section table {
    width: 100% !important;
    border-collapse: collapse !important;
    background-color: #fff !important;
    min-width: 600px !important;
}

.content-section table thead {
    background-color: #191970 !important;
}

.content-section table th {
    padding: 15px 20px !important;
    text-align: left !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    white-space: nowrap !important;
}

.content-section table td {
    padding: 15px 20px !important;
    border-bottom: 1px solid #e9ecef !important;
    font-size: 16px !important;
    color: #333 !important;
}

.content-section table tbody tr:hover {
    background-color: #f8f9fa !important;
}

.content-section table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Conversion Buttons */
.btn-conversion {
    background-color: #FF4500 !important;
    color: #fff !important;
    padding: 15px 30px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    text-decoration: none !important;
    display: inline-block !important;
    white-space: nowrap !important;
    text-align: center !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
    border: none !important;
    cursor: pointer !important;
}

.btn-conversion:hover {
    background-color: #e03e00 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
}

/* Material Icons */
.material-icons {
    font-size: 24px !important;
    vertical-align: middle !important;
    color: #FF4500 !important;
}

.material-icons.accent {
    color: #191970 !important;
}

/* Footer Styles */
.footer {
    background-color: #191970 !important;
    color: rgba(255,255,255,0.9) !important;
    padding: 60px 0 30px !important;
}

.footer h5 {
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    margin-bottom: 20px !important;
}

.footer p {
    color: rgba(255,255,255,0.85) !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links li {
    list-style: none !important;
    margin-bottom: 10px !important;
}

.footer-links li::before,
.footer-links li::after,
.footer-links li::marker {
    display: none !important;
    content: none !important;
}

.footer-links a {
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    font-size: 16px !important;
}

.footer-links a:hover {
    color: #FF4500 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    margin-top: 40px !important;
    padding-top: 25px !important;
    text-align: center !important;
}

.footer-bottom p {
    margin: 0 !important;
    color: rgba(255,255,255,0.7) !important;
    font-size: 14px !important;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.2rem !important;
    }

    .hero-section {
        padding: 100px 0 80px !important;
    }

    .navbar-collapse {
        background-color: #191970 !important;
        padding: 15px !important;
        margin-top: 10px !important;
        border-radius: 8px !important;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 1.8rem !important;
    }

    .hero-section p {
        font-size: 1rem !important;
    }

    .content-section h2 {
        font-size: 1.6rem !important;
    }

    .content-section h3 {
        font-size: 1.3rem !important;
    }

    .content-section {
        padding: 40px 0 !important;
    }

    .toc-list {
        grid-template-columns: 1fr !important;
    }

    .footer {
        text-align: center !important;
    }

    .footer-links {
        margin-bottom: 30px !important;
    }
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px !important;
}

/* Strong text styling */
strong {
    color: #191970 !important;
    font-weight: 600 !important;
}
