/* ========================================
   HARMONIOUS CONSTRUCTION - STYLESHEET
   Background: RGB(101, 201, 10)
   Border: RGB(206, 230, 168)
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: rgb(101, 201, 10);
    color: #000000;
    line-height: 1.8;
    padding: 20px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgb(101, 201, 10);
    border: 5px solid rgb(206, 230, 168);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Header Section */
.header {
    text-align: center;
    padding: 30px;
    border: 4px solid rgb(206, 230, 168);
    border-radius: 8px;
    background-color: rgba(206, 230, 168, 0.3);
    margin-bottom: 30px;
}

.header h1 {
    font-size: 42px;
    font-weight: bold;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.header h2 {
    font-size: 28px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.header .disclaimer {
    font-size: 14px;
    font-weight: bold;
    color: #cc0000;
    font-style: italic;
    margin-top: 10px;
}

/* Print Section */
.print-section {
    text-align: center;
    margin: 20px 0;
}

.print-btn {
    background-color: rgb(206, 230, 168);
    color: #000000;
    font-weight: bold;
    font-size: 18px;
    padding: 12px 30px;
    border: 3px solid #000000;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.print-btn:hover {
    background-color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Navigation Menu */
.navigation {
    background-color: rgba(206, 230, 168, 0.4);
    border: 4px solid rgb(206, 230, 168);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.navigation h3 {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    text-align: center;
}

.navigation ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.navigation li {
    margin: 0;
}

.nav-btn {
    width: 100%;
    background-color: rgb(206, 230, 168);
    color: #000000;
    font-weight: bold;
    font-size: 15px;
    padding: 12px 15px;
    border: 2px solid #000000;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.nav-btn:hover {
    background-color: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Main Content */
.content {
    background-color: rgb(101, 201, 10);
}

/* Sections */
.section {
    background-color: rgba(206, 230, 168, 0.3);
    border: 4px solid rgb(206, 230, 168);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    scroll-margin-top: 100px;
}

.section h2 {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 4px solid rgb(206, 230, 168);
    padding-bottom: 10px;
}

.section h3 {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin-top: 25px;
    margin-bottom: 15px;
}

.section p {
    font-size: 17px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    text-align: justify;
}

.section ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.section ul li {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 12px;
    line-height: 1.8;
}

.section strong {
    font-weight: bold;
    color: #000000;
}

/* Case Boxes */
.case-box {
    background-color: rgba(255, 255, 255, 0.7);
    border: 3px solid rgb(206, 230, 168);
    border-left: 8px solid #000000;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
}

.case-box p {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 12px;
}

/* Example Boxes */
.example-box {
    background-color: rgba(255, 255, 255, 0.7);
    border: 3px solid rgb(206, 230, 168);
    border-left: 8px solid #0066cc;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
}

.example-box p {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 12px;
}

/* Flowchart */
.flowchart {
    background-color: rgba(255, 255, 255, 0.8);
    border: 4px solid rgb(206, 230, 168);
    border-radius: 8px;
    padding: 30px;
    margin: 20px 0;
    text-align: center;
}

.flow-step {
    background-color: rgb(206, 230, 168);
    border: 3px solid #000000;
    border-radius: 8px;
    padding: 20px;
    margin: 15px auto;
    max-width: 500px;
    font-weight: bold;
    color: #000000;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.flow-step strong {
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
    text-decoration: underline;
}

.flow-decision {
    background-color: #ffeb3b;
    border: 4px solid #000000;
    border-radius: 50%;
    padding: 25px;
    margin: 20px auto;
    max-width: 300px;
    font-weight: bold;
    color: #000000;
    font-size: 17px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.flow-decision strong {
    font-size: 19px;
    display: block;
    margin-bottom: 8px;
}

.flow-arrow {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin: 10px 0;
}

.flow-branches {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    flex-wrap: wrap;
}

.flow-branch-left, .flow-branch-right {
    width: 45%;
    min-width: 300px;
}

.step-yes {
    background-color: #4caf50;
    color: #ffffff;
}

.step-no {
    background-color: #f44336;
    color: #ffffff;
}

.step-yes strong, .step-no strong {
    color: #ffffff;
}

/* Tables */
.comparison-table, .situations-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: rgba(255, 255, 255, 0.9);
    border: 4px solid rgb(206, 230, 168);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table thead, .situations-table thead {
    background-color: rgb(206, 230, 168);
}

.comparison-table th, .situations-table th {
    padding: 15px;
    text-align: left;
    font-weight: bold;
    font-size: 17px;
    color: #000000;
    border: 2px solid #000000;
}

.comparison-table td, .situations-table td {
    padding: 15px;
    text-align: left;
    font-weight: bold;
    font-size: 15px;
    color: #000000;
    border: 2px solid rgb(206, 230, 168);
}

.comparison-table tbody tr:nth-child(even), .situations-table tbody tr:nth-child(even) {
    background-color: rgba(206, 230, 168, 0.3);
}

.comparison-table tbody tr:hover, .situations-table tbody tr:hover {
    background-color: rgba(206, 230, 168, 0.6);
}

/* Question Blocks */
.question-block {
    background-color: rgba(255, 255, 255, 0.7);
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.question {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
}

.toggle-btn {
    background-color: rgb(206, 230, 168);
    color: #000000;
    font-weight: bold;
    font-size: 15px;
    padding: 10px 20px;
    border: 2px solid #000000;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.toggle-btn:hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

.solution {
    display: none;
    background-color: rgba(255, 255, 255, 0.9);
    border: 3px solid rgb(206, 230, 168);
    border-radius: 6px;
    padding: 20px;
    margin-top: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #000000;
}

.solution.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solution ul {
    margin-left: 25px;
    margin-top: 10px;
}

.solution ul li {
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 8px;
}

/* Footer */
.footer {
    background-color: rgba(206, 230, 168, 0.3);
    border: 4px solid rgb(206, 230, 168);
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
    text-align: center;
}

.footer p {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
}

.footer ul {
    list-style: none;
    margin-bottom: 15px;
}

.footer ul li {
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 8px;
}

/* Print Styles */
@media print {
    body {
        background-color: white;
        color: black;
    }
    
    .container {
        border: none;
        box-shadow: none;
        background-color: white;
    }
    
    .print-section, .navigation {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
        border: 2px solid black;
        background-color: white;
    }
    
    .toggle-btn {
        display: none;
    }
    
    .solution {
        display: block !important;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 28px;
    }
    
    .header h2 {
        font-size: 20px;
    }
    
    .navigation ul {
        grid-template-columns: 1fr;
    }
    
    .flow-branches {
        flex-direction: column;
    }
    
    .flow-branch-left, .flow-branch-right {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .comparison-table, .situations-table {
        font-size: 12px;
    }
    
    .comparison-table th, .comparison-table td,
    .situations-table th, .situations-table td {
        padding: 8px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: rgb(206, 230, 168);
    color: #000000;
}