/* root.css */

/* CSS Variables (for easy customization) */
:root {
    --primary-color: #282c34;
    --secondary-color: #a3b18a;
    --tertiary-color: #f8f8f2;
    --accent-color: #50fa7b;
    --alt-color: #333a42;
    --alt-clr2: #b0c4de;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Consistent font */
}

/* General Styles */
body {
    background: linear-gradient(to bottom, var(--primary-color), var(--alt-color));
    color: var(--tertiary-color);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    line-height: 1.7; /* Increased for better readability */
}

/* Header & Navigation */
header {
    background-color: rgba(40, 44, 52, 0.95); /* Slightly more opaque */
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 0.9vh;
}

.nav-header {
    display: flex;
}

.logoNavHeader {
    background-color: var(--alt-color);
    padding: 15px;
    border-radius: 25px;
    border: 1.5px solid  var(--tertiary-color);
    
    
}

.logoNavHeader h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    font-size: 1.75rem;
    font-weight: 700;
}

@media (width < 500px) {

    .nav-links {
        display: none;
    } 

    div.episode-card {
        border: 1px solid;
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
} 

.nav-links a {
    color: var(--tertiary-color);
    text-decoration: none;
    margin-left: 1.75rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Main Content */
main {
    padding: 2rem 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background-color: rgba(248, 248, 242, 0.08); /* Slightly darker background */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
}

h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1.25rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.75rem;
    font-weight: 600;
}

/* Hero Section */
#hero {
    text-align: center;
}

.hero-content {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.hero-content div {
    margin-bottom: 1.25rem;
}

/* About Section */
#about p {
    margin-bottom: 1.25rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    padding: 2.5rem 0;
    text-align: center;
    font-size: 0.95rem;
}

.footer-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.social-links a {
    color: var(--tertiary-color);
    font-size: 1.75rem;
    margin: 0 0.9rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Buttons */
button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease; /* Added transform for a subtle effect */
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Added a shadow to the button */
}

button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px); /* Slight lift effect on hover */
}

.subscribe-button {
    color: var(--secondary-color);
    text-decoration: none;
}

.subscribe-button:hover {
    color: var(--accent-color);
}