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

/* Import Bootstrap Icons */
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

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

:root {
    --primary-color: #FF7F50;
    --accent-color: #FFD700;
    --text-color: #2c3e50;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --footer-bg: #2c3e50;
    --footer-text: #ffffff;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Instrument Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
    font-size: 18px !important;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
    color: var(--text-color) !important;
}

h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-top: 3rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.3 !important;
    color: var(--text-color) !important;
}

h3 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.4 !important;
    color: var(--text-color) !important;
}

p {
    font-size: 18px !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.7 !important;
}

/* Navigation */
.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

.navbar-logo {
    width: 40px;
    height: 40px;
}

.navbar-menu {
    display: flex;
    list-style: none !important;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.navbar-menu li {
    list-style: none !important;
}

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

.navbar-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
}

.navbar-menu a:hover {
    color: var(--primary-color);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* CTA Buttons */
.cta-button {
    background: linear-gradient(135deg, var(--primary-color), #ff6347);
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    transition: var(--transition) !important;
    display: inline-block !important;
    border: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    text-align: center !important;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 127, 80, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FF7F50 0%, #ff9a76 50%, #FFD700 100%) !important;
    padding: 4rem 2rem !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 500px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -25% !important;
    width: 200px !important;
    height: 200px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
}

.hero::after {
    content: '' !important;
    position: absolute !important;
    bottom: -30% !important;
    right: -15% !important;
    width: 300px !important;
    height: 300px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
}

.hero-content {
    max-width: 900px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
}

.hero h1 {
    color: white !important;
    font-size: 3rem !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1) !important;
}

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

.hero .cta-button {
    background: white !important;
    color: var(--primary-color) !important;
    font-size: 18px !important;
    padding: 1rem 2.5rem !important;
    margin-top: 1rem !important;
}

.hero .cta-button:hover {
    background: var(--bg-light) !important;
}

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

/* Table of Contents */
.toc {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: var(--border-radius);
}

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

.toc ul li {
    list-style: none !important;
    margin-bottom: 0.75rem;
}

.toc ul li::before,
.toc ul li::after {
    display: none !important;
    content: none !important;
}

.toc a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: var(--transition);
    display: block;
    padding: 0.5rem 0;
}

.toc a:hover {
    color: var(--primary-color);
    padding-left: 1rem;
}

/* Sections */
section {
    margin: 4rem 0;
    scroll-margin-top: 100px;
}

/* Cards */
.card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

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

ul li, ol li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 18px !important;
    line-height: 1.7;
    list-style: none !important;
}

ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 0;
    height: 0;
    border-left: 8px solid var(--accent-color);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

ul li::after {
    display: none !important;
    content: none !important;
}

ol {
    counter-reset: item;
}

ol li {
    counter-increment: item;
}

ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0.2rem;
    background-color: var(--accent-color);
    color: var(--text-color);
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: none;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    min-width: 600px;
}

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

th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 18px !important;
}

td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    font-size: 18px !important;
}

tbody tr:hover {
    background-color: var(--bg-light);
}

/* Images */
picture img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-site {
    box-shadow: none !important;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 2rem 2rem;
    margin-top: 5rem;
}

footer p {
    color: var(--footer-text) !important;
}

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

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

.footer-section h3 {
    color: var(--footer-text) !important;
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
}

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

.footer-section ul li {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 0.75rem;
}

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

.footer-section a {
    color: var(--footer-text);
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--footer-text);
}

.footer-bottom p {
    font-size: 16px !important;
    color: var(--footer-text) !important;
}

/* Icons */
.bi {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 1rem;
    }

    .navbar-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-toggle {
        display: block;
    }

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

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

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

    .hero h1 {
        font-size: 2.25rem !important;
    }

    .hero {
        padding: 3rem 1.5rem !important;
        min-height: 400px !important;
    }

    .container {
        padding: 2rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .card {
        padding: 1.5rem;
    }

    .toc {
        padding: 1.5rem;
    }
}

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

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

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

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

    .hero h1 {
        font-size: 2rem !important;
    }

    p, ul li, ol li, td, th {
        font-size: 16px !important;
    }

    .cta-button {
        font-size: 14px !important;
        padding: 0.65rem 1.25rem !important;
    }

    .hero .cta-button {
        font-size: 16px !important;
        padding: 0.85rem 2rem !important;
    }
}
