@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: "Raleway", sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    min-height: 100vh;
}

ul { list-style-type: none; }

a {
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

a:hover {
    color: #a0a0a0;
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav a {
    font-weight: 600;
    letter-spacing: 0.5px;
}

#navbarTop {
    background-color: rgba(47, 50, 56, 0.95);
    display: flex;
    justify-content: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#navbarTop img {
    transition: transform 0.3s ease;
}

#navbarTop img:hover {
    transform: scale(1.05);
}

#navbarBottom {
    background-color: rgba(22, 23, 26, 0.95);
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 12px 20px;
}

#navbarBottom a {
    position: relative;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#navbarBottom a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #cacaca, #ffffff);
    transition: width 0.1s ease;
}

#navbarBottom a:hover::after {
    width: 100%;
}

/* Hero Banner */
#importantBanner {
    height: 500px;
    width: 100%;
    background-size: cover;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(22, 23, 26, 0.9)), url(../png/bg.jpg);
    background-position: center;
    background-attachment: fixed;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}


#importantBanner h1 {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #cacaca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 15px;
    margin-bottom: 15px;
    position: relative;
}

#importantBanner h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
}

#importantBanner p {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Section Titles */
#stationList h1,
#latestNewsItems h1,
#blogPosts h1 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

#stationList h1::after,
#latestNewsItems h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #52555f, transparent);
    border-radius: 2px;
}

/* Blog Posts */
#blogPosts {
    display: flex;
    gap: 25px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #3f4249 #1a1b1e;
}

#blogPosts::-webkit-scrollbar {
    height: 8px;
}

#blogPosts::-webkit-scrollbar-track {
    background: #1a1b1e;
    border-radius: 4px;
}

#blogPosts::-webkit-scrollbar-thumb {
    background: #3f4249;
    border-radius: 4px;
}

#postCard {
    display: flex;
    flex-direction: column;
    min-width: 280px;
    padding: 15px;
    color: white;
    background: linear-gradient(145deg, #2f3238, #282a2f);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.1s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#postCard:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

#postCard img {
    width: 100%;
    height: 160px;
    background-color: #3f4249;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

#postCard:hover img {
    transform: scale(1.02);
}

#postCard h4 {
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

#postCard p {
    color: #a0a0a0;
    font-size: 13px;
    line-height: 1.5;
}

#postCard a {
    background: linear-gradient(135deg, #3f4249, #52555f);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 12px 20px;
    margin-top: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#postCard a:hover {
    background: linear-gradient(135deg, #52555f, #636870);
    color: white;
    transform: scale(1.02);
}

/* Station List */
#stationList {
    padding: 50px 40px;
    background-color: #1a1b1e;
}

#stationList > div {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #3f4249 #1a1b1e;
}

#stationCard {
    display: flex;
    flex-direction: column;
    min-width: 280px;
    max-width: 280px;
    padding: 15px;
    color: white;
    background: linear-gradient(145deg, #2f3238, #282a2f);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.1s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#stationCard:hover {
    transform: scale(1.005);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

#stationCard img {
    width: 100%;
    height: 140px;
    background-color: #3f4249;
    padding: 15px;
    border-radius: 12px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

#stationCard:hover img {
    transform: scale(1.05);
}

#stationCard h4 {
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 6px;
}

#stationCard p {
    color: #a0a0a0;
    font-size: 13px;
    line-height: 1.5;
    flex-grow: 1;
}

#stationCard a {
    background: linear-gradient(135deg, #3f4249, #52555f);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 12px 20px;
    margin-top: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#stationCard a:hover {
    background: linear-gradient(135deg, #52555f, #636870);
    color: white;
}

/* News Section */
#latestNewsItems {
    padding: 50px 40px;
    background-color: #16171a;
}

#latestNewsItems > div {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #3f4249 #16171a;
}

.newsArticle {
    min-width: 320px;
    background: linear-gradient(145deg, #2f3238, #282a2f);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.newsArticle:hover {
    transform: scale(1.005);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.newsArticle img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.newsArticle:hover img {
    transform: scale(1.05);
}

.newsArticle h4 {
    color: white;
    font-size: 15px;
    font-weight: 600;
    padding: 20px 15px 10px;
    line-height: 1.4;
}

.newsArticle p {
    color: #a0a0a0;
    font-size: 13px;
    padding: 0 15px;
    line-height: 1.5;
}

.newsArticle a {
    background: linear-gradient(135deg, #3f4249, #52555f);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 12px 20px;
    margin: 15px;
    margin-top: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsArticle a:hover {
    background: linear-gradient(135deg, #52555f, #636870);
    color: white;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #2f3238 0%, #252729 100%);
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#footerGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

#footerGrid img {
    transition: transform 0.3s ease;
}

#footerGrid img:hover {
    transform: scale(1.05);
}

#footerGrid h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

#footerGrid h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #52555f, transparent);
}

#footerGrid ul li {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 10px;
    line-height: 1.6;
}

#footerGrid ul li a {
    color: #a0a0a0;
}

#footerGrid ul li a:hover {
    color: white;
}

/* Blog Post Page */
#blogPost {
    padding: 40px;
    border-radius: 20px;
    margin: 50px auto;
    max-width: 1000px;
    background: linear-gradient(145deg, #2f3238, #282a2f);
    color: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#blogPost img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 30px;
}

#blogPost h4 {
    font-size: 36px;
    font-weight: 700;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

#blogPost p {
    color: #cacaca;
    line-height: 1.8;
    font-size: 16px;
}

/* Responsive */
@media screen and (max-width: 1025px) {
    #footerGrid {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 30px;
        gap: 30px;
    }

    #navbarBottom {
        gap: 20px;
        flex-wrap: wrap;
    }

    #importantBanner {
        height: 400px;
        background-attachment: scroll;
    }

    #importantBanner h1 {
        font-size: 36px;
    }

    #importantBanner p {
        font-size: 15px;
        max-width: 300px;
        margin: 0 auto;
    }

    #blogPost {
        margin: 30px 20px;
    }

    #blogPost img {
        height: 250px;
    }

    #blogPost h4 {
        font-size: 24px;
    }

    #stationList,
    #latestNewsItems,
    #blogPosts {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 600px) {
    #footerGrid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    #footerGrid h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    #navbarBottom {
        gap: 15px;
        font-size: 12px;
    }

    #importantBanner h1 {
        font-size: 28px;
    }
}
