/* ----------------------------- */
/* GLOBAL PAGE STYLES           */
/* ----------------------------- */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f4f4;
}

p
{
    
}
/* ----------------------------- */
/* HEADER                       */
/* ----------------------------- */

header {
    background: #4a6fa5;
    color: white;
    padding: 20px;
    text-align: center;
}

/* ----------------------------- */
/* MAIN NAVIGATION BAR          */
/* ----------------------------- */

nav.main-nav {
    background: #2d4b73;
}

nav.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

nav.main-nav li {
    margin: 0;
}

nav.main-nav a {
    display: block;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav.main-nav a:hover {
    background: #1e3550;
}

/* ----------------------------- */
/* TOP SECTION (30% + 70%)       */
/* ----------------------------- */

.top-section {
    display: flex;
    gap: 20px;
    padding: 20px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Important text = 30% */
.important-text {
    flex: 0 0 30%;
    background: white;
    padding: 20px;
    border-radius: 5px;
    overflow-y: auto;
    max-height: 400px;
}

/* Tasks = 65% */
.tasks {
    flex: 0 0 65%;
    max-width: 1000px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
}

/* Each task item */
.task-item {
    width: 23%;
    background: #e8e8e8;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    max-width: 280px;
}

/* Title above image */
.task-item h3 {
    margin-bottom: 10px;
}

/* Clickable images */
.task-item a img {
    width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

/* ----------------------------- */
/* MIDDLE 3-COLUMN SECTION      */
/* ----------------------------- */

.middle-columns {
    display: flex;
    gap: 20px;
    padding: 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.mid-col {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 5px;
}

/* Quick links list */
.quick-links {
    list-style: disc;
    padding-left: 20px;
}

/* Table styling */
.sitemap-table {
    width: 100%;
    border-collapse: collapse;
}

.sitemap-table th,
.sitemap-table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

/* ----------------------------- */
/* IDEA SECTIONS (FULL-WIDTH)   */
/* ----------------------------- */

.ideas {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 1600px;
    margin: 0 auto;
    }

.idea {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 20px;
    border-radius: 5px;
    width: 100%;
    gap: 20px;
}

/* Text area: max 70% width */
.idea-text {
    flex: 1;
    max-width: 70%;
    align: left;
    float: left;
}

/* Image area: max 20% width */
.idea img {
    max-width: 20%;
    height: auto;
    border-radius: 5px;
}

/* IDEA 1 & 3 → image left */
.idea.left {
    flex-direction: row-reverse;
}

/* IDEA 2 → image right */
.idea.right {
    flex-direction: row;
}

/* ----------------------------- */
/* FOOTER                       */
/* ----------------------------- */

footer {
    background: #4a6fa5;
    color: white;
    text-align: center;
    padding: 15px;
}

/* ----------------------------- */
/* MOBILE LAYOUT (≤ 1000px)      */
/* ----------------------------- */

@media (max-width: 1000px) {

    nav.main-nav ul {
        flex-direction: column;
        text-align: center;
    }

    .top-section {
        flex-direction: column;
        max-width: 950px;
        margin: 0 auto;
    }

    .important-text {
        width: 100%;
        flex: none;
    }

    .tasks {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 900px;
    }

    .task-item {
        width: 45%;
        max-width: 350px;
    }

    .task-item a img {
        width: 100%;
        height: auto;
    }

    .middle-columns {
        flex-direction: column;
    }

    .idea {
        flex-direction: column;
        text-align: center;
        max-width: 980px;
        margin: 0 auto;
    }

    .idea-text {
        max-width: 100%;
        align: left;
        float: left;
    }

    .idea img {
        max-width: 40%;
        height: 300px;
        width: 300px;
        order: 2;
    }

    li
    {
    margin-left: -5px;
    text-decoration: none;    
    }
}

/* ----------------------------- */
/* LARGE LAYOUT (≥ 1200px)      */
/* ----------------------------- */

@media (min-width: 1200px) {

    nav.main-nav ul {
        flex-direction: row;
    }

    .top-section {
        flex-direction: row;
    }

    .middle-columns {
        flex-direction: row;
    }

    .ideas {
        flex-direction: column;
    }
}
/* ----------------------------- */
/* MASTER CONTAINER     */
/* ----------------------------- */


.mastercontainer
{
    max-width: 98%;
    margin: 0 auto;
}

li
{
    margin-left: -5px;
    text-decoration: none;    
}
