/* ========================================
   ADVANCED ADJECTIVES LEARNING RESOURCE
   Professional CSS Stylesheet
   ======================================== */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, rgb(31, 150, 199) 0%, rgb(21, 120, 169) 100%);
    color: #1a1a1a;
    line-height: 1.8;
    min-height: 100vh;
    padding: 20px;
}

/* ===== HEADER STYLES ===== */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 4px solid rgb(150, 31, 224);
}

.main-header h1 {
    font-size: 42px;
    font-weight: bold;
    color: rgb(150, 31, 224);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 20px;
    font-weight: bold;
    color: rgb(31, 150, 199);
    margin-bottom: 20px;
}

.print-btn {
    background: linear-gradient(135deg, rgb(31, 150, 199), rgb(21, 120, 169));
    color: white;
    font-weight: bold;
    font-size: 18px;
    padding: 15px 35px;
    border: 3px solid rgb(150, 31, 224);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.print-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgb(21, 120, 169), rgb(31, 150, 199));
}

/* ===== NAVIGATION MENU ===== */
.navigation-menu {
    background: rgba(255, 255, 255, 0.98);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 4px solid rgb(150, 31, 224);
}

.navigation-menu h2 {
    font-size: 28px;
    font-weight: bold;
    color: rgb(150, 31, 224);
    margin-bottom: 20px;
    text-align: center;
}

.nav-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.nav-buttons button {
    background: linear-gradient(135deg, rgb(150, 31, 224), rgb(120, 25, 190));
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.nav-buttons button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(150, 31, 224, 0.4);
    background: linear-gradient(135deg, rgb(120, 25, 190), rgb(150, 31, 224));
}

/* ===== MAIN CONTENT ===== */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
}

.content-section {
    background: rgba(255, 255, 255, 0.98);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 4px solid rgb(150, 31, 224);
}

.content-section h2 {
    font-size: 32px;
    font-weight: bold;
    color: rgb(150, 31, 224);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 4px solid rgb(31, 150, 199);
}

.content-section h3 {
    font-size: 24px;
    font-weight: bold;
    color: rgb(31, 150, 199);
    margin-top: 25px;
    margin-bottom: 15px;
}

.content-section p {
    font-size: 18px;
    font-weight: bold;
    color: #2a2a2a;
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-section ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.content-section li {
    font-size: 18px;
    font-weight: bold;
    color: #2a2a2a;
    margin-bottom: 12px;
    line-height: 1.8;
}

.category-intro {
    font-size: 20px;
    font-weight: bold;
    color: rgb(31, 150, 199);
    background: rgba(31, 150, 199, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 5px solid rgb(31, 150, 199);
    margin-bottom: 25px;
}

/* ===== ADJECTIVE ITEMS ===== */
.adjective-item {
    background: rgba(240, 248, 255, 0.7);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 15px;
    border: 3px solid rgb(31, 150, 199);
    transition: all 0.3s ease;
}

.adjective-item:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(31, 150, 199, 0.3);
    background: rgba(230, 245, 255, 0.9);
}

.adjective-item h3 {
    font-size: 26px;
    font-weight: bold;
    color: rgb(150, 31, 224);
    margin-bottom: 15px;
}

.adjective-item p {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 10px;
}

/* ===== DISCLAIMER BOX ===== */
.disclaimer {
    background: rgba(255, 230, 230, 0.9);
    border: 3px solid rgb(220, 50, 50);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.disclaimer p {
    font-size: 18px;
    font-weight: bold;
    color: #cc0000;
    margin: 0;
}

/* ===== TABLE STYLES ===== */
.table-container {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    background: rgb(61, 242, 236);
    border-radius: 15px;
    overflow: hidden;
    border: 4px solid rgb(150, 31, 224);
}

.styled-table thead tr {
    background: linear-gradient(135deg, rgb(150, 31, 224), rgb(120, 25, 190));
    color: white;
}

.styled-table th {
    padding: 20px;
    text-align: left;
    font-weight: bold;
    font-size: 20px;
    border-bottom: 3px solid rgb(31, 150, 199);
}

.styled-table td {
    padding: 18px;
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    border-bottom: 2px solid rgba(150, 31, 224, 0.2);
}

.styled-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.5);
}

.styled-table tbody tr:hover {
    background: rgba(31, 150, 199, 0.2);
    transform: scale(1.01);
    transition: all 0.3s ease;
}

/* ===== FLOWCHART STYLES ===== */
.flowchart-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    margin: 30px 0;
    border: 4px solid rgb(150, 31, 224);
}

.flowchart-box {
    background: white;
    padding: 25px;
    margin: 20px auto;
    border-radius: 15px;
    text-align: center;
    max-width: 600px;
    border: 4px solid rgb(31, 150, 199);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.flowchart-start {
    background: linear-gradient(135deg, rgb(61, 242, 236), rgb(41, 220, 216));
    border-color: rgb(150, 31, 224);
}

.flowchart-question {
    background: linear-gradient(135deg, rgb(255, 220, 120), rgb(255, 200, 80));
    border-color: rgb(220, 150, 30);
}

.flowchart-option {
    background: linear-gradient(135deg, rgb(200, 150, 255), rgb(170, 120, 240));
    border-color: rgb(150, 31, 224);
}

.flowchart-end {
    background: linear-gradient(135deg, rgb(150, 255, 150), rgb(120, 240, 120));
    border-color: rgb(50, 200, 50);
}

.flowchart-box strong {
    font-size: 22px;
    font-weight: bold;
    color: #1a1a1a;
    display: block;
    margin-bottom: 10px;
}

.flowchart-box p {
    font-size: 18px;
    font-weight: bold;
    color: #2a2a2a;
    margin: 8px 0;
}

.flowchart-box em {
    font-size: 16px;
    font-weight: bold;
    color: #4a4a4a;
}

.flowchart-arrow {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    color: rgb(150, 31, 224);
    margin: 10px 0;
}

.flowchart-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* ===== MIND MAP STYLES ===== */
.mindmap-container {
    position: relative;
    min-height: 800px;
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 20px;
    margin: 30px 0;
    border: 4px solid rgb(150, 31, 224);
}

.mindmap-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgb(150, 31, 224), rgb(120, 25, 190));
    color: white;
    padding: 30px 40px;
    border-radius: 20px;
    text-align: center;
    border: 5px solid rgb(31, 150, 199);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.mindmap-center strong {
    font-size: 32px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.mindmap-center p {
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.mindmap-branch {
    position: absolute;
}

.mindmap-node {
    background: white;
    padding: 20px;
    border-radius: 15px;
    border: 4px solid rgb(31, 150, 199);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
}

.mindmap-node strong {
    font-size: 22px;
    font-weight: bold;
    color: rgb(150, 31, 224);
    display: block;
    margin-bottom: 12px;
    border-bottom: 3px solid rgb(31, 150, 199);
    padding-bottom: 8px;
}

.mindmap-node ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mindmap-node li {
    font-size: 16px;
    font-weight: bold;
    color: #2a2a2a;
    margin: 8px 0;
    padding-left: 15px;
    position: relative;
}

.mindmap-node li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: rgb(31, 150, 199);
    font-weight: bold;
}

/* Mind Map Branch Positions */
.mindmap-branch-1 {
    top: 10%;
    left: 10%;
}

.mindmap-branch-1 .mindmap-node {
    background: linear-gradient(135deg, rgba(255, 200, 200, 0.9), rgba(255, 180, 180, 0.9));
}

.mindmap-branch-2 {
    top: 10%;
    right: 10%;
}

.mindmap-branch-2 .mindmap-node {
    background: linear-gradient(135deg, rgba(200, 220, 255, 0.9), rgba(180, 200, 255, 0.9));
}

.mindmap-branch-3 {
    top: 45%;
    left: 5%;
}

.mindmap-branch-3 .mindmap-node {
    background: linear-gradient(135deg, rgba(255, 255, 200, 0.9), rgba(255, 245, 180, 0.9));
}

.mindmap-branch-4 {
    top: 45%;
    right: 5%;
}

.mindmap-branch-4 .mindmap-node {
    background: linear-gradient(135deg, rgba(200, 255, 200, 0.9), rgba(180, 245, 180, 0.9));
}

.mindmap-branch-5 {
    bottom: 10%;
    left: 15%;
}

.mindmap-branch-5 .mindmap-node {
    background: linear-gradient(135deg, rgba(255, 220, 255, 0.9), rgba(245, 200, 255, 0.9));
}

.mindmap-branch-6 {
    bottom: 10%;
    right: 15%;
}

.mindmap-branch-6 .mindmap-node {
    background: linear-gradient(135deg, rgba(220, 255, 255, 0.9), rgba(200, 245, 255, 0.9));
}

/* ===== Q&A SECTION ===== */
.qa-item {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid rgb(31, 150, 199);
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qa-question {
    width: 100%;
    background: linear-gradient(135deg, rgb(31, 150, 199), rgb(21, 120, 169));
    color: white;
    padding: 20px 25px;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qa-question:hover {
    background: linear-gradient(135deg, rgb(21, 120, 169), rgb(31, 150, 199));
    transform: translateX(5px);
}

.qa-icon {
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.qa-question.active .qa-icon {
    transform: rotate(180deg);
}

.qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(240, 248, 255, 0.9);
}

.qa-answer.show {
    max-height: 1000px;
    padding: 25px;
    border-top: 3px solid rgb(150, 31, 224);
}

.qa-answer p {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.qa-answer ul {
    margin-left: 30px;
}

.qa-answer li {
    font-size: 18px;
    font-weight: bold;
    color: #2a2a2a;
    margin-bottom: 10px;
}

/* ===== SUMMARY & TIPS BOXES ===== */
.summary-box,
.tips-box {
    background: rgba(61, 242, 236, 0.3);
    border: 4px solid rgb(31, 150, 199);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
}

.summary-box h3,
.tips-box h3 {
    font-size: 26px;
    font-weight: bold;
    color: rgb(150, 31, 224);
    margin-bottom: 18px;
}

.summary-box ul,
.tips-box ul {
    margin-left: 30px;
}

.summary-box li,
.tips-box li {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.final-message {
    font-size: 20px;
    font-weight: bold;
    color: rgb(150, 31, 224);
    background: rgba(150, 31, 224, 0.1);
    padding: 20px;
    border-radius: 12px;
    border-left: 6px solid rgb(150, 31, 224);
    margin-top: 30px;
}

/* ===== FOOTER ===== */
.main-footer {
    background: rgba(255, 255, 255, 0.98);
    padding: 30px;
    text-align: center;
    border-radius: 20px;
    margin-top: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 4px solid rgb(150, 31, 224);
}

.main-footer p {
    font-size: 18px;
    font-weight: bold;
    color: #2a2a2a;
    margin: 10px 0;
}

.main-footer em {
    color: #cc0000;
    font-weight: bold;
}

/* ===== PRINT STYLES ===== */
@media print {
    body {
        background: white;
        padding: 0;
    }

    .print-btn,
    .navigation-menu {
        display: none;
    }

    .content-section {
        page-break-inside: avoid;
        border: 2px solid #333;
        margin-bottom: 20px;
    }

    .qa-answer {
        max-height: none !important;
        padding: 20px !important;
        display: block !important;
    }

    .qa-question {
        background: #f0f0f0 !important;
        color: #000 !important;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .main-header h1 {
        font-size: 28px;
    }

    .subtitle {
        font-size: 16px;
    }

    .content-section {
        padding: 20px;
    }

    .content-section h2 {
        font-size: 24px;
    }

    .nav-buttons {
        grid-template-columns: 1fr;
    }

    .flowchart-row {
        grid-template-columns: 1fr;
    }

    .styled-table {
        font-size: 14px;
    }

    .styled-table th,
    .styled-table td {
        padding: 10px;
    }

    .mindmap-container {
        min-height: 1200px;
        padding: 20px;
    }

    .mindmap-branch-1,
    .mindmap-branch-2,
    .mindmap-branch-3,
    .mindmap-branch-4,
    .mindmap-branch-5,
    .mindmap-branch-6 {
        position: static;
        margin: 20px 0;
    }
}

/* ===== SMOOTH SCROLL ===== */
html {
    scroll-behavior: smooth;
}

/* ===== SELECTION COLORS ===== */
::selection {
    background: rgb(150, 31, 224);
    color: white;
}

::-moz-selection {
    background: rgb(150, 31, 224);
    color: white;
}