/* Import Helvetica Neue Bold */
@font-face {
    font-family: 'Helvetica Neue';
    src: local('HelveticaNeue-Bold'), local('Helvetica-Neue-Bold'),
        url(https://fonts.cdnfonts.com/s/24631/helvetica-bold-58798.woff) format('woff');
    font-weight: bold;
    font-style: normal;
}

html, body {
    height: 100%;
    margin: 0;
    background-color: black;
    color: white;
    font-family: 'Helvetica Neue', 'Helvetica', sans-serif;
}

/* Layout Styling */
body {
    display: flex;
    flex-direction: column;
}

/* Header: Sticky to Top */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: black;
    padding: 15px 0;
    z-index: 1000;
    text-align: center;
}

header h1 {
    font-family: 'Helvetica Neue', 'Helvetica', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin: 0;
}

/* Main Content */
.main-content {
    margin-top: 66px; /* Increased from 60px (10% increase) */
    margin-bottom: 80px; /* Account for fixed footer */
    padding: 0;
}

/* Link Sections */
.link-section {
    margin-bottom: 2.5rem;
}

/* Section Header with collapse button */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-right: 20px;
}

/* Collapse Button */
.collapse-btn {
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    position: relative;
    top: 10px;
}

.collapse-btn:hover {
    opacity: 0.7;
}

.caret {
    transition: transform 0.3s ease;
    transform: rotate(90deg);
    display: inline-block;
}

/* Collapsible Content */
.collapsible-content {
    overflow: hidden;
}

.link-content {
    text-align: left;
}

/* Main Links - Left aligned, big, bold, all caps - slightly smaller */
.main-link {
    display: block;
    font-family: 'Helvetica Neue', 'Helvetica', sans-serif;
    font-weight: bold;
    font-size: 4.8rem;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    margin: 0;
    padding-left: 20px; /* Small margin from browser edge */
    line-height: 1.0;
    letter-spacing: 0.3rem; /* Much more spread out horizontally */
    transition: opacity 0.3s ease;
    flex: 1;
}

.main-link:hover {
    opacity: 0.7;
}

/* Link Images - Full width with small margins - smaller height */
.link-image {
    width: 100%;
    margin: 1.2rem 20px 1.2rem 20px; /* Small margins on left and right */
}

.link-image img {
    width: calc(100vw - 40px); /* Full width minus margins */
    height: 450px; /* Increased for better visual impact */
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.link-image a {
    display: block;
}

.link-image a:hover img {
    opacity: 0.8;
}

/* Vintage effect for radio image */
.link-image img[src="stableradio.png"] {
    filter: grayscale(0.3) sepia(0.2) contrast(0.9) brightness(0.85);
    position: relative;
}

.link-image a[href*="stableradio"] {
    position: relative;
}

.link-image a[href*="stableradio"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(128, 128, 128, 0.1) 0%, 
        rgba(160, 160, 160, 0.05) 50%, 
        rgba(128, 128, 128, 0.1) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.link-image a[href*="stableradio"]:hover::after {
    opacity: 0.7;
}

/* YouTube Video Embed */
.link-video {
    width: 100%;
    margin: 1.2rem 20px 1.2rem 20px; /* Small margins on left and right */
}

.link-video iframe {
    width: calc(100vw - 40px); /* Full width minus margins */
    height: 450px; /* Match image height */
    border: none;
    display: block;
    pointer-events: none; /* Prevent clicking on iframe when wrapped in anchor */
}

.link-video a {
    display: block;
    pointer-events: auto;
}

/* Link Descriptions */
.link-description {
    font-family: 'Helvetica Neue', 'Helvetica', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 2.5rem 0;
    padding-left: 20px; /* Align with link text */
    line-height: 1.4;
}

/* Events Gallery Section */
.events-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.events-content {
    text-align: left;
}

.events-title {
    font-family: 'Helvetica Neue', 'Helvetica', sans-serif;
    font-weight: bold;
    font-size: 4.8rem;
    text-transform: uppercase;
    color: white;
    margin: 0;
    padding-left: 20px;
    line-height: 1.0;
    letter-spacing: 0.3rem;
    flex: 1;
}

/* Radio Gallery Section */
.radio-section {
    margin-bottom: 2.5rem;
}

.radio-title {
    font-family: 'Helvetica Neue', 'Helvetica', sans-serif;
    font-weight: bold;
    font-size: 4.8rem;
    text-transform: uppercase;
    color: white;
    margin: 0;
    padding-left: 20px;
    line-height: 1.0;
    letter-spacing: 0.3rem;
    flex: 1;
}

/* Radio Collapsible Content */
.radio-collapsible-content {
    overflow: hidden;
}

/* Radio Subtitle - positioned under images like other sections */
.radio-subtitle {
    font-family: 'Helvetica Neue', 'Helvetica', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 2.5rem 0;
    padding-left: 20px; /* Align with link text */
    line-height: 1.4;
    transition: all 0.3s ease;
}

/* Radio Gallery Container with Navigation */
.radio-gallery-container {
    position: relative;
    padding: 1.2rem 20px 1.2rem 20px;
}

.radio-gallery {
    width: 100%;
}

.radio-episode {
    width: 100%;
    margin: 0 auto;
}

.radio-episode img {
    width: calc(100vw - 40px); /* Full width minus margins */
    height: 450px; /* Match other section image heights */
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.radio-episode a {
    display: block;
}

.radio-episode a:hover img {
    opacity: 0.8;
}

/* Apply vintage effect to all radio images */
.radio-episode img {
    filter: grayscale(0.3) sepia(0.2) contrast(0.9) brightness(0.85);
    position: relative;
}

.radio-episode a {
    position: relative;
}

.radio-episode a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(128, 128, 128, 0.1) 0%, 
        rgba(160, 160, 160, 0.05) 50%, 
        rgba(128, 128, 128, 0.1) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.radio-episode a:hover::after {
    opacity: 0.7;
}

/* Events Collapsible Content */
.events-collapsible-content {
    overflow: hidden;
}

/* Event Subtitle - positioned under images like other sections */
.event-subtitle {
    font-family: 'Helvetica Neue', 'Helvetica', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 2.5rem 0;
    padding-left: 20px; /* Align with link text */
    line-height: 1.4;
    transition: all 0.3s ease;
}

/* Events Gallery Container with Navigation */
.events-gallery-container {
    position: relative;
    padding: 1rem 20px 1.2rem 20px;
}

.events-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.event-image {
    width: 100%;
}

.event-image img {
    width: 100%;
    height: 300px; /* Increased from 140px for better visual impact */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.event-image img:hover {
    transform: scale(1.02);
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 4rem;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    z-index: 10;
}

.nav-arrow:hover {
    opacity: 0.7;
}

.nav-arrow span {
    display: inline-block;
}

.nav-arrow-left {
    left: 20px;
}

.nav-arrow-right {
    right: 20px;
}

/* Footer: Sticky to Bottom */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: black;
    padding: 15px 0;
    z-index: 1000;
}

.footer .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer .social-links img {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.footer .social-links img:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-header {
        padding-right: 15px;
    }

    .collapse-btn {
        font-size: 2.5rem;
        width: 50px;
        height: 50px;
        top: 5px;
    }

    .main-link {
        font-size: 3.8rem;
        padding-left: 15px;
        letter-spacing: 0.2rem;
    }
    
    .link-image {
        margin: 1.2rem 15px 1.2rem 15px;
    }
    
    .link-image img {
        width: calc(100vw - 30px);
        height: 360px; /* Increased from 320px */
    }

    .link-video {
        margin: 1.2rem 15px 1.2rem 15px;
    }
    
    .link-video iframe {
        width: calc(100vw - 30px);
        height: 360px; /* Increased from 320px */
    }
    
    .link-description {
        padding-left: 15px;
        font-size: 1rem;
    }

    .events-title {
        font-size: 3.8rem;
        padding-left: 15px;
        letter-spacing: 0.2rem;
    }

    .event-subtitle {
        padding-left: 15px;
        font-size: 1rem;
    }

    .radio-title {
        font-size: 3.8rem;
        padding-left: 15px;
        letter-spacing: 0.2rem;
    }

    .radio-subtitle {
        padding-left: 15px;
        font-size: 1rem;
    }

    .radio-gallery-container {
        padding: 1.2rem 15px 1.2rem 15px;
    }

    .radio-episode img {
        width: calc(100vw - 30px);
        height: 360px; /* Increased from 320px */
    }

    .events-gallery-container {
        padding: 1rem 15px 1.2rem 15px;
    }

    .events-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .event-image img {
        height: 230px; /* Increased from 200px */
    }

    .nav-arrow {
        font-size: 3rem;
        width: 60px;
        height: 60px;
    }

    .nav-arrow-left {
        left: 15px;
    }

    .nav-arrow-right {
        right: 15px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1rem;
    }

    .section-header {
        padding-right: 10px;
    }

    .collapse-btn {
        font-size: 2rem;
        width: 40px;
        height: 40px;
        top: 0px;
    }
    
    .main-link {
        font-size: 2.8rem;
        padding-left: 10px;
        letter-spacing: 0.15rem;
    }
    
    .link-image {
        margin: 1.2rem 10px 1.2rem 10px;
    }
    
    .link-image img {
        width: calc(100vw - 20px);
        height: 280px; /* Increased from 250px */
    }

    .link-video {
        margin: 1.2rem 10px 1.2rem 10px;
    }
    
    .link-video iframe {
        width: calc(100vw - 20px);
        height: 280px; /* Increased from 250px */
    }
    
    .link-description {
        padding-left: 10px;
        font-size: 0.9rem;
    }

    .events-title {
        font-size: 2.8rem;
        padding-left: 10px;
        letter-spacing: 0.15rem;
    }

    .event-subtitle {
        padding-left: 10px;
        font-size: 0.9rem;
    }

    .radio-title {
        font-size: 2.8rem;
        padding-left: 10px;
        letter-spacing: 0.15rem;
    }

    .radio-subtitle {
        padding-left: 10px;
        font-size: 0.9rem;
    }

    .radio-gallery-container {
        padding: 1.2rem 10px 1.2rem 10px;
    }

    .radio-episode img {
        width: calc(100vw - 20px);
        height: 280px; /* Increased from 250px */
    }

    .events-gallery-container {
        padding: 1rem 10px 1.2rem 10px;
    }

    .events-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .event-image img {
        height: 140px; /* Increased from 120px */
    }

    .nav-arrow {
        font-size: 2.5rem;
        width: 50px;
        height: 50px;
    }

    .nav-arrow-left {
        left: 10px;
    }

    .nav-arrow-right {
        right: 10px;
    }
    
    .footer .social-links img {
        width: 24px;
        height: 24px;
    }
}
