/* CSS Variables - Radio Wave Theme */
:root {
    --primary-color: #eee;
    --primary-dark: #333;
    --secondary-color: white;
    --dark-bg: #eeeeee;
    --darker-bg: #ddd;
    --light-text: #eee;
    --muted-text: #eee;
    --accent-glow: rgba(255, 51, 102, 0.3);
    --success-color: #00FF88;
    --card-bg: #eee;
    --header-height: 100px;
    --header-color: #111111;
}

/* Global Styles */
* {
	overscroll-behavior-y: none; // works
	touch-action: manipulation; // doesn't seem to work
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: #555;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--header-color);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-dark);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    gap: 2rem;
}

.logo-section {
    height: 100%;
    transition: transform 1s ease-in-out;
}

.logo-section:hover {
    transform: scale(1.2) rotate(360deg);
}

/* Player Section - Center */
.player-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.play-btn {
    border-radius: 5px;
    border: none;
    background: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.play-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.1s ease;
    z-index: -1;
    filter: blur(8px);
}

.play-btn:hover::before {
    opacity: 0.8;
}

.play-btn:hover {
    transform: scale(1.05);
}

.play-btn:active {
    transform: scale(0.95);
}

.play-btn.playing .play-icon {
    display: none;
}

.play-btn.playing .pause-icon {
    display: block !important;
}

.now-playing {
    display: flex;
    flex-direction: column;
}

.station-name {
    font-size: 0.9rem;
    // font-weight: 600;
    color: var(--light-text);
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--muted-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.1s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active  {
    color: var(--primary-color);
}
[data-route="home"].nav-link:hover,
[data-route="home"].nav-link.active  {
    color: #e55;
}
[data-route="show-schedule"].nav-link:hover,
[data-route="show-schedule"].nav-link.active  {
    color: #e95;
}
[data-route="gig-guide"].nav-link:hover,
[data-route="gig-guide"].nav-link.active  {
    color: #ed5;
}
[data-route="podcasts"].nav-link:hover,
[data-route="podcasts"].nav-link.active  {
    color: #ae5;
}
[data-route="contact"].nav-link:hover,
[data-route="contact"].nav-link.active  {
    color: #4ea;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    transition: all 0.1s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -4px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: none;
    padding: 2rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem;
    border-left: 3px solid transparent;
    transition: all 0.1s ease;
}

.mobile-nav-link:hover {
    border-left-color: var(--primary-dark);
    padding-left: 1.5rem;
    color: var(--primary-color);
}

/* Main Content */
.main-content {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) - 200px);
    padding: 3rem 2rem;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    gap: 1rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-dark);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Footer */
.main-footer {
    background: var(--header-color);
    border-top: 2px solid var(--primary-dark);
    padding: 1rem 0 2rem 0;
    margin-top: 0rem;
}

.footer-content {
    color: var(--header-color);
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section {
    text-align: center;
    align-items: center;
    flex-direction: column;
    display: flex;
}

.footer-section img {
    max-height: 150px;
    height: auto;
}

.footer-section h3,
.footer-section h4 {
    color: var(--muted-text);
    margin-bottom: 0.5rem;
}

.footer-section p {
    color: var(--muted-text);
    font-size: 0.9rem;
}

/* Content Container */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/background-image.jpg");
	background-size: 100%;
    border-radius: 8px;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 2px 2px 10px #333;
}

.hero p {
    font-size: 1.2rem;
    color: var(--muted-text);
    text-shadow: 2px 2px 5px #333;
}

/* Card Styles */
.card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1rem;
    transition: all 0.1s ease;
}

.card:hover {
}

.card h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--light-text);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--light-text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.1s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.1s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.hide-hero-on-desktop {
	display: none;
}

/* Responsive Design */
@media (max-width: 1000px) {
	.hide-hero-on-desktop {
		display: block;
	}
    .nav-container {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .player-section {
        gap: 0.5rem;
    }

    .now-playing {
        display: none;
    }

    .play-btn {
        width: 48px;
        height: 48px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .main-content {
        padding: 2rem 1rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
    }

    .logo-section svg {
        width: 100px;
        height: 50px;
    }

    .card {
        padding: 1.5rem;
    }
}


#gig-div {
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically centers items */
    padding: 20px;
    border: 1px solid #ddd; /* Optional: Add border for better visual */
}

#gig-info {
	display: flex;
	flex-direction: column; /* Stack the text vertically */
	flex: 1; /* Makes sure it takes up available space */
}

#image-container {
	display: flex;
	flex-direction: column; /* Stack image and button vertically */
	align-items: center; /* Centers the image and button */
}

#image-container img {
	width: 100%; /* Make sure the image fits well in the container */
	max-width: 70px; /* Adjust this value as needed */
}

#gig-div {
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0px;
	border: 1px solid #ddd;
	box-shadow: 2px 2px 5px #0009;
	border-radius: 8px;
	padding: 5px;
	background-color: #f9f9f9;
}

#gig-image {
	width: 100%;
	height: auto;
	border-radius: 4px;
	display: block;
}

#gig-info {
	display: inline-block;
	width: calc(100% - 80px);
}

#event-title {
	font-size: 1em;
	font-weight: bold;
	margin: 3px 0;
}

#event-date, #event-venue {
	font-size: 1em;
	color: #666;
	margin: 5px 0;
}

#ticket-link {
	display: block;             /* Make the <a> tag a block element */
	width: 100%;   
	position: absolute;
	bottom: 0px;
	left: 0;
	background-color: #007BFF;
	color: white;
	padding: 10px 0;
	text-decoration: none;
	border-radius: 4px;
	margin-top: 10px;
	text-align: center;
}

#ticket-link:hover {
	background-color: #0056b3;   /* Darker background on hover */
}

#image-container {
	width: 70px;
	height: 100%;
	margin-right: 5px;
	display: inline-block;
	position: relative;
	vertical-align: top;              /* Vertically align with sibling element */
	line-height: 1;   
}

div.icon-link {
	background-color: #eee;
	border-radius: 50%;
	margin: 10px;
	width: 64px;
	height: 64px;
	overflow: hidden;
	text-align: center;
	position: relative;
}

div.icon-link > * {
	width: 32px;
	height: 32px;
	
}

img.icon-link {
	background-color: #eee;
	border-radius: 50%;
	padding: 2px;
	margin: 10px;
	width: 64px;
	
}

/* Ad Slot Styles */
.ad-slot {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
}

.ad-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.centered-text {
    text-align: center;
}

.coming-up-list {
    margin-top: 1rem;
}

.coming-up-list p {
    margin: 0.75rem 0;
    font-size: 1.1rem;
    color: var(--light-text);
}

.social-icons {
    margin-top: 1rem;
}

.social-icons li{
    display: inline-block;
    font-size: 2em;
    margin: 1px;
}

.social-link{
    color: white;
}


/* This container defines the spacing in your grid */
.video-container {
    max-width: 800px; /* Prevents the video from becoming monstrously huge on ultrawide monitors */
    margin: 0 auto 2rem auto;
}

/* This wrapper forces the 16:9 ratio */
.iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio (9 / 16 = 0.5625) */
    height: 0;
    overflow: hidden;
    border-radius: 8px; /* Optional: makes it look cleaner */
    background: #000;
}

/* This makes the iframe fill the wrapper perfectly */
.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.webslider {
	width: 100%;
	aspect-ratio: 2;
	margin-bottom: 30px;
}


.side-by-side {
	width: 100%;
}

.side-by-side > * {
	width: calc(50% - 4px);
	display: inline-block;
	vertical-align: top;
}
