/*
    BroadcastUrSelf – Modernized Templatemo Theme
    Fully responsive, animated, glass overlay, flexbox layout
*/

/* ROOT THEME VARIABLES ------------------------------------------ */

:root {
    --bg: #333;
    --content-bg: #262626;
    --text: #dbdada;
    --accent: #5b93ef;
    --card-bg: #1e1e1e;
    --border: #313131;
    --footer-bg: #111;
}

body.light {
    --bg: #f5f5f5;
    --content-bg: #ffffff;
    --text: #222;
    --accent: #3366cc;
    --card-bg: #f0f0f0;
    --border: #cccccc;
    --footer-bg: #e0e0e0;
}

/* GLOBAL --------------------------------------------------------- */

body {
    margin: 0;
    padding: 0;
    line-height: 1.5em;
    font-family: Georgia, "Times New Roman", Times, serif;
    background: var(--bg);
    color: var(--text);
    transition: background 0.4s ease, color 0.4s ease;
}

a {
    color: var(--accent);
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

/* CONTAINER ------------------------------------------------------ */

#templateo_container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 10px;
}

/* TOP PANEL ------------------------------------------------------ */

#templatemo_top_panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

#site_logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

#site_title {
    font-size: 32px;
    color: var(--text);
}

#site_title span {
    display: block;
    font-size: 14px;
    color: #767676;
}

/* THEME TOGGLE BUTTON ------------------------------------------- */

#themeToggle {
    cursor: pointer;
    padding: 10px 18px;
    background: var(--accent);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    border: none;
    transition: background 0.3s ease;
}

#themeToggle:hover {
    opacity: 0.85;
}

/* MENU + BANNER -------------------------------------------------- */

#templatemo_menu_banner_panel {
    display: flex;
    flex-wrap: wrap;
    background: #3c3b3b;
    padding: 10px;
    gap: 10px;
}

/* LEFT MENU ------------------------------------------------------ */

#templatemo_menu_wrapper {
    width: 280px;
    background: #000;
    padding: 1px;
}

#templatemo_menu {
    padding: 14px 28px;
    background: var(--content-bg);
    border: 1px solid var(--border);
    transition: background 0.4s ease, border-color 0.4s ease;
}

#templatemo_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#templatemo_menu ul li {
    background: #161616;
    margin-bottom: 4px;
    padding: 10px 20px;
    transition: background 0.3s ease, transform 0.2s ease;
}

#templatemo_menu ul li:hover {
    background: #0d0d0d;
    transform: translateX(5px);
}

#templatemo_menu ul li a {
    color: #9fa2a4;
    font-size: 16px;
    text-decoration: none;
}

#templatemo_menu ul li a:hover {
    color: #fff;
}

/* BANNER --------------------------------------------------------- */

#templatemo_banner {
    flex: 1;
    background: url(./images/templatemo_banner_bg.jpg) center/cover no-repeat;
    padding: 50px;
    color: #fff;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

/* Glass overlay */
#templatemo_banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    z-index: 1;
}

#templatemo_banner p {
    position: relative;
    z-index: 2;
    font-size: 16px;
}

/* CONTENT -------------------------------------------------------- */

#templatemo_content_wrapper {
    background: #3c3b3b;
    padding: 10px;
    margin-top: 10px;
}

#templatemo_content {
    background: var(--content-bg);
    padding: 30px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    transition: background 0.4s ease;
}

/* SIDEBAR -------------------------------------------------------- */

#templatemo_side_column {
    width: 260px;
}

.news_section {
    margin-bottom: 20px;
}

.news_date {
    color: var(--text);
    font-weight: bold;
}

.news_title {
    color: var(--accent);
    font-weight: bold;
}

/* MAIN CONTENT --------------------------------------------------- */

#templatemo_main_content_column {
    flex: 1;
    min-width: 320px;
}

.header_01 {
    font-size: 24px;
    color: var(--text);
    margin-bottom: 20px;
}

/* PACKAGES GRID -------------------------------------------------- */

#stationContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.section_w280 {
    width: 280px;
    background: var(--card-bg);
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.4s ease;
}

.section_w280:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 12px rgba(0,0,0,0.5);
}

.section_w280 h3 {
    color: var(--text);
    margin-bottom: 10px;
}

/* COMPARISON TABLE ---------------------------------------------- */

#packageTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

#packageTable th, #packageTable td {
    border: 1px solid var(--border);
    padding: 10px;
    text-align: center;
    background: var(--content-bg);
    color: var(--text);
}

#packageTable th {
    background: #111;
}

#packageTable tr:nth-child(even) {
    background: #1f1f1f;
}

/* PRICING CALCULATOR -------------------------------------------- */

#calculatorBox {
    background: var(--card-bg);
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-top: 30px;
}

#calculatorBox input,
#calculatorBox select {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--content-bg);
    color: var(--text);
}

#calcResult {
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
    color: var(--accent);
}

/* FOOTER --------------------------------------------------------- */

#templatemo_footer {
    background: var(--footer-bg);
    padding: 40px 20px;
    color: var(--text);
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    transition: background 0.4s ease;
}

.footer_col {
    flex: 1;
    min-width: 200px;
}

.footer_col h4 {
    margin-bottom: 10px;
    color: var(--accent);
}

.footer_col a {
    color: #ccc;
    text-decoration: none;
}

.footer_col a:hover {
    color: #fff;
}

/* RESPONSIVE ----------------------------------------------------- */

@media (max-width: 768px) {

    #templatemo_menu_banner_panel {
        flex-direction: column;
    }

    #templatemo_menu_wrapper {
        width: 100%;
    }

    #templatemo_banner {
        width: 100%;
        padding: 30px;
    }

    #templatemo_content {
        flex-direction: column;
    }

    #templatemo_side_column {
        width: 100%;
    }

    #stationContainer {
        justify-content: center;
    }
}
