/* Base CSS for CRMSport.pl */
/* Primary: Amber (#f59e0b), Accent: Onyx Black (#1c1917) */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', sans-serif;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #1c1917 !important;
    background-color: #fafaf9 !important;
}

/* Navigation Styles */
.nav-menu li {
    margin-bottom: 0 !important;
    list-style: none !important;
}

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

.nav-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

nav ul,
nav ol,
footer ul,
footer ol {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

nav li,
footer li {
    list-style: none !important;
    margin-bottom: 0 !important;
}

nav li::before,
nav li::after,
footer li::before,
footer li::after {
    content: none !important;
    display: none !important;
}

/* Header and Navigation */
.site-header {
    background-color: #1c1917 !important;
    padding: 1rem 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

.nav-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.logo {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    text-decoration: none !important;
}

.logo img {
    width: 45px !important;
    height: 45px !important;
    box-shadow: none !important;
}

.logo-text {
    color: #f59e0b !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

.desktop-nav {
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
}

.nav-links {
    display: flex !important;
    gap: 1.5rem !important;
    list-style: none !important;
}

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

.nav-links a {
    color: #fafaf9 !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

.nav-links a:hover {
    color: #f59e0b !important;
}

.cta-btn {
    background-color: #f59e0b !important;
    color: #1c1917 !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    transition: background-color 0.3s ease !important;
}

.cta-btn:hover {
    background-color: #d97706 !important;
}

/* Mobile Navigation */
.mobile-toggle {
    display: none !important;
    flex-direction: column !important;
    gap: 5px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0.5rem !important;
}

.mobile-toggle span {
    width: 25px !important;
    height: 3px !important;
    background-color: #f59e0b !important;
    border-radius: 2px !important;
}

.mobile-nav {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background-color: #1c1917 !important;
    padding: 1rem !important;
}

.mobile-nav.active {
    display: block !important;
}

.mobile-nav ul {
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

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

.mobile-nav a {
    color: #fafaf9 !important;
    text-decoration: none !important;
    font-size: 1rem !important;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-toggle {
        display: flex !important;
    }
}

/* Hero Section */
.hero {
    position: relative !important;
    min-height: 500px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(28, 25, 23, 0.9) 0%, rgba(28, 25, 23, 0.7) 100%) !important;
}

.hero-content {
    position: relative !important;
    z-index: 1 !important;
    text-align: center !important;
    max-width: 800px !important;
    padding: 3rem 1.5rem !important;
}

.hero h1 {
    color: #f59e0b !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
}

.hero p {
    color: #fafaf9 !important;
    font-size: 1.125rem !important;
    margin-bottom: 2rem !important;
    line-height: 1.8 !important;
}

.hero-btn {
    display: inline-block !important;
    background-color: #f59e0b !important;
    color: #1c1917 !important;
    padding: 1rem 2rem !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1.125rem !important;
    white-space: nowrap !important;
    transition: background-color 0.3s ease !important;
}

.hero-btn:hover {
    background-color: #d97706 !important;
}

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

    .hero {
        min-height: 400px !important;
    }
}

/* Main Content */
.main-content {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 3rem 1.5rem !important;
}

/* Table of Contents */
.toc {
    background-color: #fef3c7 !important;
    border-left: 4px solid #f59e0b !important;
    padding: 1.5rem 2rem !important;
    margin-bottom: 3rem !important;
    border-radius: 0 8px 8px 0 !important;
}

.toc ol {
    list-style: decimal !important;
    padding-left: 1.5rem !important;
    margin: 0 !important;
}

.toc li {
    margin-bottom: 0.5rem !important;
    font-size: 1rem !important;
}

.toc li::marker {
    color: #f59e0b !important;
    font-weight: 600 !important;
}

.toc a {
    color: #1c1917 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.toc a:hover {
    color: #f59e0b !important;
}

/* Section Styling */
.content-section {
    margin-bottom: 3rem !important;
}

.content-section h2 {
    color: #1c1917 !important;
    font-size: 1.875rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 3px solid #f59e0b !important;
}

.content-section h3 {
    color: #1c1917 !important;
    font-size: 1.375rem !important;
    font-weight: 600 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
}

.content-section p {
    color: #44403c !important;
    font-size: 1.0625rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.8 !important;
}

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

.content-section ul li,
.content-section ol li {
    position: relative !important;
    padding-left: 1.75rem !important;
    margin-bottom: 0.75rem !important;
    font-size: 1.0625rem !important;
    line-height: 1.7 !important;
}

.content-section ul li::before {
    content: '\2192' !important;
    position: absolute !important;
    left: 0 !important;
    color: #1c1917 !important;
    font-weight: bold !important;
}

/* Cards */
.card {
    background-color: #ffffff !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    border: 1px solid #e7e5e4 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.card-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.card h3 {
    color: #1c1917 !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

.card ul {
    list-style: none !important;
    padding-left: 0 !important;
}

.card ul li {
    position: relative !important;
    padding-left: 1.5rem !important;
    margin-bottom: 0.5rem !important;
}

.card ul li::before {
    content: '\2192' !important;
    position: absolute !important;
    left: 0 !important;
    color: #1c1917 !important;
}

/* Tables */
.table-container {
    overflow-x: auto !important;
    margin-bottom: 1.5rem !important;
    border-radius: 8px !important;
    border: 1px solid #e7e5e4 !important;
}

.styled-table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 1rem !important;
    min-width: 600px !important;
}

.styled-table thead {
    background-color: #1c1917 !important;
}

.styled-table th {
    color: #f59e0b !important;
    font-weight: 600 !important;
    padding: 1rem !important;
    text-align: left !important;
}

.styled-table td {
    padding: 1rem !important;
    border-bottom: 1px solid #e7e5e4 !important;
    color: #44403c !important;
}

.styled-table tbody tr:nth-child(even) {
    background-color: #fafaf9 !important;
}

.styled-table tbody tr:hover {
    background-color: #fef3c7 !important;
}

/* Images */
.content-section img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    margin: 1.5rem 0 !important;
}

.img-float-left {
    float: left !important;
    max-width: 45% !important;
    margin: 0 1.5rem 1rem 0 !important;
}

.img-full {
    width: 100% !important;
    margin: 1.5rem 0 !important;
}

@media (max-width: 768px) {
    .img-float-left {
        float: none !important;
        max-width: 100% !important;
        margin: 1rem 0 !important;
    }
}

/* FAQ Section */
.faq-item {
    background-color: #ffffff !important;
    border: 1px solid #e7e5e4 !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    margin-bottom: 1rem !important;
}

.faq-item h3 {
    color: #1c1917 !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.75rem !important;
    margin-top: 0 !important;
}

.faq-item p {
    color: #44403c !important;
    margin-bottom: 0 !important;
}

/* Footer */
.site-footer {
    background-color: #1c1917 !important;
    padding: 3rem 1.5rem 1.5rem !important;
    margin-top: 3rem !important;
}

.footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

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

.footer-col h4 {
    color: #f59e0b !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

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

.footer-col li {
    margin-bottom: 0.5rem !important;
    list-style: none !important;
}

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

.footer-col a {
    color: #a8a29e !important;
    text-decoration: none !important;
    font-size: 0.9375rem !important;
    transition: color 0.3s ease !important;
}

.footer-col a:hover {
    color: #f59e0b !important;
}

.footer-col p {
    color: #a8a29e !important;
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
}

.footer-bottom {
    border-top: 1px solid #44403c !important;
    padding-top: 1.5rem !important;
    text-align: center !important;
}

.footer-bottom p {
    color: #78716c !important;
    font-size: 0.875rem !important;
}

/* Icons */
.bi {
    color: #f59e0b !important;
    margin-right: 0.5rem !important;
}

/* Conversion Buttons */
.conversion-btn {
    display: inline-block !important;
    background-color: #f59e0b !important;
    color: #1c1917 !important;
    padding: 1rem 2rem !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1.0625rem !important;
    white-space: nowrap !important;
    text-align: center !important;
    transition: background-color 0.3s ease !important;
    margin: 1.5rem 0 !important;
}

.conversion-btn:hover {
    background-color: #d97706 !important;
}

/* Utility Classes */
.text-center {
    text-align: center !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.clearfix::after {
    content: '' !important;
    display: table !important;
    clear: both !important;
}
