@import url("/css/base.css");
@import url("/css/header.css");
@import url("/css/footer.css");
@import url("/css/home.css");
@import url("/css/tutorials.css");
@import url("/css/commands.css");
@import url("/css/responsive.css");

/* All navigation and header styles have been migrated to modular CSS files. */
/* ...existing code... */

/* ...existing code... */

/* ========================================
   HOME PAGE - CTA SECTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.2) 0%, rgba(42, 42, 42, 0.95) 100%);
    border: 2px solid #FFA500;
    text-align: center;
    padding: 22px 18px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.cta-section h3 {
    font-size: 19px;
    color: #FFA500;
    margin-top: 20px;
    margin-bottom: 25px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-weight: bold;
}

.cta-section p {
    font-size: 13px;
    color: #ffffff;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    padding: 10px 18px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button.primary {
    background-color: #FFA500;
    color: #000;
    border: 2px solid #FFA500;
}

.cta-button.primary:hover {
    background-color: #FF8C00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
}

.cta-button.secondary {
    background-color: transparent;
    color: #FFA500;
    border: 2px solid #FFA500;
}

.cta-button.secondary:hover {
    background-color: #FFA500;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
}

/* ========================================
   HOME PAGE - DISCLAIMER
   ======================================== */

.disclaimer-block {
    background-color: rgba(51, 51, 51, 0.8);
    border: 1px solid #666;
    border-left: 4px solid #FFA500;
    border-radius: 8px;
    padding: 20px 25px;
}

.disclaimer-block p {
    font-size: 12px;
    color: #b0b0b0;
    line-height: 1.6;
    margin: 0;
}

.disclaimer-block strong {
    color: #FFA500;
}

/* ========================================
   TUTORIALS PAGE - GRID
   ======================================== */

.tutorials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.home-container h1 {
    font-size: 36px;
    color: #FFD700;
    margin-bottom: 20px;
    text-align: center;
}

.tutorial-section {
    margin-bottom: 60px;
}

.tutorial-section h2 {
    font-size: 27px;
    color: #FFA500;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFA500;
    padding-top: 0;
}

.tutorial-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
        margin-top: 20px;
}

@media (max-width: 1100px) {
    .tutorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .tutorial-grid {
        grid-template-columns: 1fr;
    }
}

.tutorial-card {
    background-color: rgba(42, 42, 42, 0.9);
    border: 1px solid #444;
    border-radius: 8px;
    padding: 14px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    display: block;
}

.tutorial-card:hover {
    background-color: rgba(51, 51, 51, 0.95);
    border-color: #FFA500;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 165, 0, 0.4);
}

.tutorial-card h3 {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 12px;
}

.tutorial-card p {
    font-size: 11px;
    color: #e0e0e0;
    line-height: 1.6;
}
/* ========================================
   TUTORIAL ARTICLE - HEADER & META
   ======================================== */

.tutorial-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.tutorial-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #FFA500;
}

.tutorial-header h1 {
    font-size: 22px;
    color: #FFA500;
    margin-bottom: 20px;
}

.tutorial-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12px;
}

.tutorial-meta span {
    background-color: rgba(42, 42, 42, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #555;
}

.category {
    color: #FFD700;
}

.difficulty {
    color: #00CED1;
}

.duration {
    color: #98FB98;
}

/* ========================================
   TUTORIAL ARTICLE - SECTIONS
   ======================================== */

.tutorial-section {
    background-color: rgba(42, 42, 42, 0.85);
    border: 1px solid #555;
    border-radius: 10px;
    padding: 18px 12px;
    margin-bottom: 30px;
}

.tutorial-section h3 {
    font-size: 16px;
    color: #FFA500;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #555;
}

.tutorial-section p {
    font-size: 12px;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 15px;
}

.summary-section {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(42, 42, 42, 0.9) 100%);
    border: 2px solid #FFA500;
}

/* ========================================
   TUTORIAL ARTICLE - VOCABULARY
   ======================================== */

.vocabulary-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vocab-item {
    background-color: rgba(51, 51, 51, 0.8);
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #FFA500;
}

.vocab-term {
    color: #FFA500;
    font-size: 13px;
}

.vocab-definition {
    color: #e0e0e0;
    font-size: 11px;
}

/* ========================================
   TUTORIAL ARTICLE - PREREQUISITES
   ======================================== */

.prerequisites-list {
    list-style: none;
    padding: 0;
}

.prerequisites-list li {
    background-color: rgba(51, 51, 51, 0.8);
    padding: 7px 12px;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 4px solid #00CED1;
    color: #ffffff;
}

.prerequisites-list li:before {
    content: "✓ ";
    color: #00CED1;
    font-weight: bold;
    margin-right: 10px;
}

/* ========================================
   TUTORIAL ARTICLE - STEPS
   ======================================== */

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-item {
    display: flex;
    gap: 20px;
    background-color: rgba(51, 51, 51, 0.8);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #555;
}

.step-number {
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    color: #000;
    font-weight: bold;
    font-size: 11px;
    padding: 10px 15px;
    border-radius: 8px;
    height: fit-content;
    min-width: 80px;
    text-align: center;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    color: #FFA500;
    font-size: 14px;
    margin-bottom: 12px;
}

.step-content p {
    color: #e0e0e0;
    margin-bottom: 8px;
}

/* ========================================
   TUTORIAL ARTICLE - CODE BLOCKS
   ======================================== */

.code-wrapper {
    position: relative;
    margin: 32px 0 15px 0;
}

.copy-button {
    position: relative;
    top: 0;
    right: 0;
    left: auto;
    align-self: flex-end;
    margin-bottom: 8px;
    background-color: #FFA500;
    color: #000;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
    display: inline-block;
}
    .code-wrapper {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        width: 100%;
        margin: 0 0 10px 0;
        position: static;
    }
    .copy-button {
        align-self: flex-end;
        position: static !important;
        margin-bottom: 0.25rem;
        margin-left: 0;
        display: inline-block !important;
    }

.copy-button:hover {
    background-color: #FFB820;
}

.copy-button:active {
    transform: scale(0.98);
}

.code-block {
    background-color: #000;
    border: 1px solid #FFA500;
    border-radius: 8px;
    padding: 10px;
    margin: 0;
    overflow-x: auto;
    width: 100%;
}

.code-block pre {
    margin: 0;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.code-block code {
    color: #00ff00;
}

/* ========================================
   TUTORIAL ARTICLE - INFO BLOCKS
   ======================================== */

.step-explanation {
    background-color: rgba(0, 206, 209, 0.1);
    border-left: 4px solid #00CED1;
    padding: 15px;
    margin-top: 15px;
    border-radius: 6px;
    color: #e0e0e0;
}

.step-explanation strong {
    color: #00CED1;
}

.step-warning {
    background-color: rgba(255, 165, 0, 0.1);
    border-left: 4px solid #FFA500;
    padding: 15px;
    margin-top: 15px;
    border-radius: 6px;
    color: #e0e0e0;
}

.step-warning strong {
    color: #FFA500;
}

/* ========================================
   TUTORIAL ARTICLE - TROUBLESHOOTING
   ======================================== */

.troubleshooting-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.troubleshooting-item {
    background-color: rgba(51, 51, 51, 0.8);
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #FF6B6B;
}

.issue-title {
    color: #FF6B6B;
}

.solution-title {
    color: #98FB98;
}

/* ========================================
   TUTORIAL ARTICLE - CONCLUSION
   ======================================== */

.conclusion-section {
    background: linear-gradient(135deg, rgba(152, 251, 152, 0.1) 0%, rgba(42, 42, 42, 0.9) 100%);
    border: 2px solid #98FB98;
}

/* ========================================
   TUTORIAL ARTICLE - NEXT STEPS
   ======================================== */

.next-steps-list {
    list-style: none;
    padding: 0;
}

.next-steps-list li {
    background-color: rgba(51, 51, 51, 0.8);
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 4px solid #FFA500;
    color: #ffffff;
}

.next-steps-list li:before {
    content: "→ ";
    color: #FFA500;
    font-weight: bold;
    margin-right: 10px;
}

/* ========================================
   TUTORIAL ARTICLE - NAVIGATION
   ======================================== */

.tutorial-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.nav-button {
    background-color: rgba(42, 42, 42, 0.9);
    color: #FFA500;
    border: 2px solid #FFA500;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background-color: #FFA500;
    color: #000;
    transform: translateY(-2px);
}

.back-button {
    margin-right: auto;
}

.next-button {
    margin-left: auto;
}















/* ========================================
   RESPONSIVE DESIGN - MOBILE
   ======================================== */

@media (max-width: 768px) {
    /* Header */
    header nav ul {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        overflow-x: visible;
        gap: 0;
        justify-content: flex-start;
        padding: 0 0.5vw;
        margin: 0;
    }

    .header-banner {
        height: 150px;
    }

    /* Home Page */
    .home-container {
        padding: 20px 15px;
    }

    .content-block {
        padding: 25px 25px;
    }

    .content-block h3 {
        font-size: 22px;
        margin-top: 20px;
        margin-bottom: 25px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .content-block p {
        font-size: 16px;
    }

    .cta-section {
        padding: 30px 25px;
    }

    .cta-section h3 {
        font-size: 22px;
        margin-top: 15px;
        margin-bottom: 20px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }

    /* Home & Tutorials Grid Responsive */
    .home-container h1 {
        font-size: 28px;
    }

    .tutorial-section h2 {
        font-size: 23px;
    }

    .tutorial-grid {
        grid-template-columns: 1fr;
    }

    /* Commands Page */
    .command-grid {
        grid-template-columns: 1fr;
    }

    .alphabet-nav a {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 0.9em;
    }

    .page-header h1 {
        font-size: 1.5em;
    }

    .section-letter {
        font-size: 1.7em;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.about-container h1 {
    margin-top: 40px;
    margin-bottom: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* ========================================
   COMMANDS PAGE - HEADER & SEARCH
   ======================================== */

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.15) 0%, rgba(0, 0, 0, 0.5) 100%);
    color: white;
    border-radius: 12px;
    border: 2px solid #FFA500;
}

.page-header h1 {
    margin: 0 0 15px 0;
    font-size: 2.1em;
    color: #FFA500;
    font-weight: bold;
}

.page-header .subtitle {
    margin: 0;
    font-size: 1.1em;
    color: #ffffff;
    font-weight: 300;
    opacity: 0.9;
}

.search-container {
    margin: 30px auto;
    text-align: center;
}

.search-input {
    width: 100%;
    max-width: 600px;
    padding: 15px 20px;
    font-size: 0.95em;
    font-family: Arial, sans-serif;
    background-color: rgba(42, 42, 42, 0.85);
    color: #ffffff;
    border: 2px solid #555;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #FFA500;
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.2);
}

.search-input::placeholder {
    color: #b0b0b0;
}

/* ========================================
   COMMANDS PAGE - ALPHABET NAV
   ======================================== */

.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 18px 18px 18px 18px;
    padding: 18px;
    background-color: rgba(42, 42, 42, 0.85);
    border-radius: 10px;
    border: none;
}

.alphabet-nav a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: rgba(51, 51, 51, 0.8);
    color: #FFA500;
    text-decoration: none;
    border-radius: 50%;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1.4px solid #555;
}

.alphabet-nav a:hover {
    background-color: #FFA500;
    color: #000;
    transform: scale(1.1);
    border-color: #FFA500;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
}

/* ========================================
   COMMANDS PAGE - COMMAND CARDS
   ======================================== */

.command-section {
    margin: 18px 18px 18px 18px;
}

.section-letter {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFA500;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #FFA500;
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.command-card {
    background-color: rgba(42, 42, 42, 0.85);
    border: 1px solid #555;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.command-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4);
    border-color: #FFA500;
    background-color: rgba(51, 51, 51, 0.95);
}

.command-name {
    font-size: 1.2em;
    font-weight: bold;
        margin: 0 18px 18px 18px;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
}

.command-description {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 15px;
}

.command-example {
    background-color: #000;
    color: #00ff00;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.8em;
    border: 1px solid #FFA500;
}

.command-category {
    display: inline-block;
    padding: 5px 10px;
    background-color: #FFA500;
    color: #000;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    margin-top: 10px;
}

/* ========================================
   COMMANDS PAGE - UTILITIES
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    color: #000;
    width: 12px;
    height: 12px;
    line-height: 12px;
    font-size: 7px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 165, 0, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    background: #FF8C00;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 165, 0, 0.6);
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #b0b0b0;
    font-size: 1.1em;
    background-color: rgba(42, 42, 42, 0.85);
    border-radius: 10px;
    border: 1px solid #555;
    margin: 40px 0;
}

.no-results h2 {
    color: #FFA500;
    margin-bottom: 10px;
}