/* General Resets */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: auto;
}

/* Header & Nav */
.header {
    background: white;
    border-top: 5px solid #38a538;
    padding: 10px 0;
}

.nav {
    display: flex;
    flex-direction: column; /* Stack logo and nav on mobile */
    align-items: center;
    gap: 15px;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: #38a538;
}

nav {
    display: flex;
    flex-wrap: wrap; /* Allows links to wrap to next line on small screens */
    justify-content: center;
    gap: 15px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: bold;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 15px;
}

.hero h1 {
    font-size: 32px; /* Smaller for mobile */
    margin-bottom: 10px;
}

/* Agenda Section */
.agenda {
    width: 95%;
    max-width: 900px;
    margin: 20px auto;
    border: 1px solid #ccc;
    background: #fff;
}

/* Player Section */
.player-section {
    width: 95%;
    max-width: 1000px;
    margin: 20px auto;
    text-align: center;
}

.player {
    background: #000;
    padding: 5px;
}

.player iframe {
    width: 100%;
    aspect-ratio: 16 / 9; /* Maintains video shape */
    border: none;
    display: block;
}

/* Stream Options - Mobile Friendly */
.options {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.options button {
    background: #000;
    color: #00ff66;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    flex: 1 1 auto; /* Buttons grow to fill space on mobile */
    max-width: 150px;
}

/* Channels Grid */
.channels {
    text-align: center;
    padding: 40px 15px;
}

.channels h2 {
    color: #d10000;
    margin-bottom: 30px;
    font-size: 24px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 column mobile */
    gap: 20px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.card img {
    height: 60px;
    margin-bottom: 20px;
}

.card button {
    background: #1d5e1d;
    color: white;
    border: none;
    padding: 10px 25px;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 4px;
    width: 100%; /* Full width button on mobile */
}

/* Channel Content Info */
.channel-content {
    width: 95%;
    max-width: 900px;
    margin: auto;
    text-align: center;
    padding-bottom: 30px;
}

.channel-logo img {
    height: 60px;
    margin: 20px 0;
}

/* FAQ Section */
.faq {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
}

.faq h2 {
    text-align: center;
    color: #d10000;
}

/* Footer */
.footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* --- Responsive Adjustments for Tablets/Desktops --- */
@media (min-width: 768px) {
    .nav {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .hero h1 {
        font-size: 42px;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
    
    .card button {
        width: auto;
    }
}

@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
    }
    
    .player iframe {
        height: 520px; /* Fixed height for large screens */
    }
}

.card button {
    background-color: #1a5118; /* Dark green matching the image */
    color: #ffffff;            /* White text */
    border: none;
    padding: 12px 30px;        /* More horizontal padding for that wider look */
    margin-top: 15px;
    cursor: pointer;
    border-radius: 10px;       /* Softer rounded corners */
    font-size: 18px;           /* Larger text like the image */
    font-weight: 500;
    width: auto;               /* Keeps it centered and not full-width */
    transition: background 0.3s ease;
}

.card button:hover {
    background-color: #144012; /* Slightly darker green on hover */
}