/* CamperCasino - Main Stylesheet */
/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-color: #DC143C;
    --accent-color: #000000;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --bg-light: #f8f9fa;
    --bg-dark: #111111;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Prompt', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* Navigation Menu - CRITICAL RULES */
.nav-menu li {
    margin-bottom: 0 !important;
}

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

.nav-menu li::marker {
    content: none !important;
    display: none !important;
}

nav ul,
nav ol,
.navbar ul,
.navbar ol,
header ul,
header ol {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

nav ul li::before,
nav ul li::after,
nav ol li::before,
nav ol li::after,
header ul li::before,
header ul li::after {
    content: none !important;
    display: none !important;
}

/* Footer - No markers */
footer ul,
footer ol {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
}

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

footer p,
footer a,
footer span {
    color: #cccccc !important;
}

/* Typography */
h1 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
}

h2 {
    font-size: 1.75rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-bottom: 0.75rem !important;
    margin-top: 2rem !important;
    color: var(--text-dark) !important;
}

h3 {
    font-size: 1.35rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
}

p {
    font-size: 1.1rem !important;
    margin-bottom: 1rem !important;
}

/* Content Lists - Styled with star markers */
main ul,
article ul,
section ul:not(.nav-menu),
.content ul {
    list-style: none !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1rem !important;
}

main ul li,
article ul li,
section ul:not(.nav-menu) li,
.content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

main ul li::before,
article ul li::before,
section ul:not(.nav-menu) li::before,
.content ul li::before {
    content: "\2605";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 0.9rem;
}

main ol,
article ol,
section ol,
.content ol {
    list-style: none !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1rem !important;
    counter-reset: item;
}

main ol li,
article ol li,
section ol li,
.content ol li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    counter-increment: item;
}

main ol li::before,
article ol li::before,
section ol li::before,
.content ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
}

/* Cards */
.card {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Table Container - Horizontal Scroll */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: #ffffff;
}

thead {
    background: var(--accent-color);
}

thead th {
    color: var(--text-light) !important;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.2s ease;
}

tbody tr:hover {
    background: #f9fafb;
}

tbody td {
    padding: 1rem;
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color) !important;
    color: var(--text-light) !important;
}

.btn-primary:hover {
    background: #b01030 !important;
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--accent-color) 0%, #1a1a1a 100%) !important;
    min-height: 500px !important;
    padding: 4rem 2rem !important;
}

.hero h1 {
    color: var(--text-light) !important;
}

.hero p {
    color: #e0e0e0 !important;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Logo - No shadow */
.logo img,
.brand-logo,
img[src*="logo"] {
    box-shadow: none !important;
}

/* Animations - Square elements */
@keyframes slideInSquare {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes rotateSquare {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Animations - Round elements */
@keyframes bounceRound {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseRound {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 20, 60, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(220, 20, 60, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 20, 60, 0);
    }
}

/* Animations - Wave elements */
@keyframes waveMove {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes waveFade {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Animation Classes */
.animate-slide {
    animation: slideInSquare 0.6s ease-out;
}

.animate-pulse-square {
    animation: pulseSquare 2s ease-in-out infinite;
}

.animate-bounce-round {
    animation: bounceRound 2s ease-in-out infinite;
}

.animate-pulse-round {
    animation: pulseRound 2s infinite;
}

.animate-wave {
    animation: waveMove 3s ease-in-out infinite;
}

.animate-wave-fade {
    animation: waveFade 3s ease-in-out infinite;
}

/* Section styling */
section {
    padding: 3rem 0;
}

section:nth-child(even) {
    background: #ffffff;
}

section:nth-child(odd) {
    background: var(--bg-light);
}

/* Icons - Font Awesome styling */
.fa, .fas, .far, .fab {
    color: var(--primary-color);
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

/* Table of Contents */
.toc {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0;
}

.toc a {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.toc a:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    .hero {
        padding: 3rem 1.5rem !important;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.35rem !important;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--accent-color);
        flex-direction: column;
        padding: 1rem;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-menu li {
        margin: 0.5rem 0 !important;
    }

    .hero {
        padding: 2rem 1rem !important;
        min-height: auto !important;
    }

    .toc {
        justify-content: center;
    }

    .table-container {
        margin: 1rem -1rem;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem !important;
    }

    h2 {
        font-size: 1.25rem !important;
    }

    p, li {
        font-size: 1rem !important;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
}
