/* Shared Styles for Koritsuki Entertainment Website */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
    min-height: 100vh;
}

/* Fixed fullscreen background using pseudo-element - works on all browsers including mobile */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('textures/HaloBG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: rgba(64, 64, 64, 0.5);
    margin-bottom: 20px;
    border-radius: 10px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}

nav .left-links {
    flex: 1;
    text-align: right;
}

nav .center-logo a {
    text-decoration: none;
}

nav .center-logo img {
    height: 4.4em;
}

nav .right-links {
    flex: 1;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1em;
}

nav a.active {
    color: #00ffff;
    font-weight: bold;
}

#pilotDisplay {
    color: #00ffff;
    font-weight: bold;
    font-size: 0.9em;
    margin-right: 15px;
}

.main-content {
    background-color: rgba(64, 64, 64, 0.5);
    border-radius: 10px;
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container.center-text {
    text-align: center;
}

h1 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    text-align: center;
}

h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    text-align: center;
}

p {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 20px;
}

p.center {
    text-align: center;
}

ul {
    text-align: left;
    max-width: 800px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
}

.cta-button {
    display: inline-block;
    background-color: #00aaaa;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    margin: 10px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #00cccc;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    text-align: center;
    width: 300px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.media-placeholder {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 40px;
    margin: 10px;
    text-align: center;
    width: 200px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

.media-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(64, 64, 64, 0.5);
    margin-top: 20px;
    border-radius: 10px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

footer a.active {
    color: #00ffff;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    nav {
        flex-direction: column;
        text-align: center;
    }

    nav .left-links,
    nav .right-links {
        text-align: center;
        margin-top: 10px;
    }

    h1 {
        font-size: 1.5em;
    }

    p {
        font-size: 1em;
    }

    .features-grid {
        flex-direction: column;
        align-items: center;
    }

    .media-grid {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.2em;
    }

    p {
        font-size: 0.9em;
    }

    nav a {
        font-size: 1em;
        margin: 0 10px;
    }
}

/* =========================================
   Roadmap Styles - Redesign (Clean Block) 
   ========================================= */

.roadmap-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* 1. Add Task Button */
#addBtn {
    background-color: #00aaaa;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 20px;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

#addBtn:hover {
    background-color: #00cccc;
    transform: scale(1.05);
}

/* 2. Input Group (The "Red Box" area) */
.input-group {
    background-color: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center everything vertically */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

#taskInput {
    width: 100%;
    min-height: 100px;
    box-sizing: border-box;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1.1em;
    font-family: 'Arial', sans-serif;
    resize: vertical;
    margin-bottom: 20px;
}

#taskInput:focus {
    outline: none;
    border-color: #00ffff;
    background-color: rgba(255, 255, 255, 0.15);
}

/* Save/Cancel Buttons Container */
.input-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.save-btn {
    background-color: #00aa00;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background 0.3s;
}

.save-btn:hover {
    background-color: #00cc00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.cancel-btn {
    background-color: transparent;
    color: #ddd;
    border: 1px solid #777;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.cancel-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}

/* 3. Filter Menu */
.roadmap-menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.roadmap-filter-btn {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ccc;
    font-size: 1em;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s;
}

.roadmap-filter-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.roadmap-filter-btn.active {
    background-color: #00aaaa;
    color: white;
    border-color: #00aaaa;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

/* 4. Task List */
#roadmapList {
    list-style: none !important;
    /* Force remove bullets */
    list-style-type: none !important;
    padding: 0;
    margin: 0;
    text-align: left;
}

.roadmap-item {
    background-color: rgba(40, 40, 40, 0.7);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    border-left: 5px solid transparent;
    transition: transform 0.2s, background-color 0.3s;
}

.roadmap-item:hover {
    transform: translateX(5px);
    background-color: rgba(60, 60, 60, 0.9);
}

.task-text {
    flex-grow: 1;
    font-size: 1.1em;
    line-height: 1.5;
    white-space: pre-wrap;
    color: #eee;
}

/* Status Icons */
.status-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin-right: 20px;
    flex-shrink: 0;
    cursor: default;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: white;
    font-weight: bold;
}

.status-upcoming {
    background-color: #ffffff;
    /* White */
    color: #000;
    /* Black text for contrast */
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.status-reported {
    background-color: #ff9580;
    color: #000;
    box-shadow: 0 0 8px rgba(255, 149, 128, 0.4);
}

.status-inprogress {
    background-color: #feffb5;
    color: #000;
    /* Better contrast on yellow */
    box-shadow: 0 0 8px rgba(254, 255, 181, 0.4);
}

.status-completed {
    background-color: #388e3c;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.4);
}

.admin-clickable {
    cursor: pointer;
    border: 2px solid white;
}

.admin-clickable:hover {
    transform: scale(1.1);
}

.delete-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 1.5em;
    /* Bigger delete X */
    cursor: pointer;
    padding: 5px 15px;
    margin-left: 10px;
    transition: color 0.3s;
    line-height: 1;
}

.delete-btn:hover {
    color: #ff4444;
}