/* CSS HEX */
:root {
    --prussian-blue: #012a4aff;
    --indigo-dye: #013a63ff;
    --indigo-dye-2: #01497cff;
    --indigo-dye-3: #014f86ff;
    --ucla-blue: #2a6f97ff;
    --cerulean: #2c7da0ff;
    --air-force-blue: #468fafff;
    --air-superiority-blue: #61a5c2ff;
    --sky-blue: #89c2d9ff;
    --light-blue: #a9d6e5ff;
    --rich-black: #000814ff;
    --oxford-blue: #001d3dff;
    --yale-blue: #003566ff;
    --mikado-yellow: #ffc300ff;
    --gold: #ffd60aff;
}

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
    color: white; /* Set primary text color to white */
}

body {
    min-height: 100vh;
    background-color: #153F78;
    background-image: url('/images/sitebackground.svg');
    background-size: cover;
    background-position: center;
beginner;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
}

body.no-scroll {
    overflow: hidden; /* Prevent scrolling when menu is open in mobile */
}

/* Header Styles */
header {
    background-color: var(--oxford-blue);
    padding: 0.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0.5rem;
}

.hamburger-menu {
    display: none; /* Hidden by default in desktop mode */
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem;
    z-index: 200; /* Ensure clickable */
}

.logo img {
    width: 100px; /* Increased logo size */
    height: auto;
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-grow: 1;
    padding: 0.5rem;
    border-radius: 5px;
}

.now-playing-text {
    flex-grow: 1;
    text-align: center;
}

.now-playing-text h2 {
    font-size: 1rem;
}

.now-playing-text p {
    color: var(--mikado-yellow);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
}

.rating-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-buttons button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s;
    padding: 0.5rem;
}

.rating-buttons button i {
    transition: color 0.2s;
}

.rating-buttons .like:hover i {
    color: #4caf50; /* Green for like button hover */
}

.rating-buttons .dislike:hover i {
    color: #f44336; /* Red for dislike button hover */
}

.rating-buttons button:hover {
    transform: scale(1.2);
}

.auth-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-buttons {
    display: flex;
    gap: 0.5rem;
}

.auth-buttons button, .settings-button {
    padding: 0.5rem 0.8rem;
    background-color: var(--ucla-blue);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 0.9rem;
}

.auth-buttons button:hover, .settings-button:hover {
    background-color: var(--mikado-yellow);
}

.settings-button i {
    font-size: 1rem;
}

/* Side Menu Styles */
.side-menu {
    background-color: var(--oxford-blue);
    color: white;
    padding: 1rem;
    position: fixed;
    top: 80px; /* Start below header */
    height: calc(100vh - 80px);
    width: 250px;
    overflow-y: auto;
    z-index: 999;
    transform: none; /* Visible by default in desktop */
    transition: transform 0.3s ease; /* Smooth slide */
}

.close-menu {
    display: none; /* Hidden by default in desktop mode */
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 200; /* Ensure clickable */
}

.menu-list {
    list-style-type: none;
}

.menu-list li {
    margin-bottom: 0.5rem;
}

.menu-list a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.menu-list a:hover {
    background-color: var(--mikado-yellow);
}

.menu-list i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.menu-auth-container {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
}

.menu-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-auth-buttons button {
    padding: 0.5rem;
    background-color: var(--ucla-blue);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.menu-auth-buttons button:hover {
    background-color: var(--mikado-yellow);
}

/* Main Content Styles */
main {
    margin: 80px auto; /* Center content, account for header height */
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
}

.content-section {
    background-color: rgba(0, 29, 61, 0.8);
    padding: 1.5rem;
    border-radius: 8px;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    border-bottom: 2px solid var(--mikado-yellow);
    padding-bottom: 0.5rem;
}

/* Updated Card Styles */
.today {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.card1 {
    width: 180px; /* 150px * 1.2 = 20% bigger */
    height: 240px; /* 200px * 1.2 = 20% bigger */
    background-color: var(--indigo-dye);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card1:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card1 img {
    width: 96px; /* 80px * 1.2 = 20% bigger */
    height: 96px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.time, .day {
    background-color: var(--sky-blue);
    color: var(--prussian-blue);
    font-size: 0.8rem;
    padding: 0.3rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.show {
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
}

.artist {
    color: var(--light-blue);
    font-size: 0.8rem;
}

.show_more {
    color: var(--mikado-yellow);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none; /* Hidden by default */
}

.card1:hover .show_more {
    display: block; /* Show on hover */
}

/* Media Player Styles */
.media-player-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.media-player-container iframe {
    max-width: 100%;
    width: 600px; /* Matches typical content width */
    height: 400px;
    border: none;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form select,
.contact-form input,
.contact-form textarea {
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    background-color: var(--light-blue);
    color: var(--oxford-blue); /* Matches header background */
}

.contact-form select::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--oxford-blue);
    opacity: 0.7;
}

.contact-form button {
    padding: 0.5rem;
    background-color: var(--ucla-blue);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: var(--mikado-yellow);
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--mikado-yellow);
}