body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #111;
    overflow-y: scroll;
}
header {
    padding: 1rem;
    border-bottom: 1px solid #ccc;
    text-align: center;
}
header h1 {
    margin: 0;
    font-size: 2rem;
}

header a {
    text-decoration: none;
    color: black;
}

header p {
    margin: 0.25rem 0;
    color: #666;
    font-style: italic;
}
nav {
    margin-top: 0.5rem;
}
nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: #333;
}
/* Remove default outline, then add our own */
:focus {
    outline: none;
  }
  
  /* Only show ring for keyboard navigation (not mouse click) */
  :focus-visible {
    outline: 2px solid #0077cc;      /* pick your site’s “black” */
    outline-offset: 3px;
    border-radius: 6px;           /* helps on cards/links */
  }
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    padding: 3rem 15vw;
}
.grid.film-grid {
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    padding: 3rem 10vw;
}
.card {
    background: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    display: block;
    text-align: inherit; /* prevents center-aligning text on some browsers */
}
.card:focus-visible {
    outline: 2px solid #0077cc;
    outline-offset: 6px;
}
.card img {
    width: 100%;
    height: auto;
    display: block;
}

/* OVERLAY BASE */
.overlay {
    display: none;
    position: fixed;
    top: 15%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, 10%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 90%;
    max-width: 750px;
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 10px;
    z-index: 1000;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    max-height: 90vh;
}
.overlay.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, 0);
}
#overlay-bg {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
}
#overlay-bg.active {
    display: block;
}
.overlay .close-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #444;
    cursor: pointer;
    background: none;
    border: none;
}

/* OVERLAY - FILM STACKED */
.overlay-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}
.overlay-media {
    width: 100%;
    margin-bottom: 1rem;
}
.overlay-media iframe,
.overlay-media img {
    width: 100%;
    border-radius: 8px;
    display: block;
    max-height: 400px;
    object-fit: cover;
}
.overlay-text {
    background-color: #f9f9f9;
    padding: 1rem 1.25rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 0 0 1px #eee;
}
.overlay-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}
.overlay-text p {
    margin: 0.25rem 0;
    line-height: 1.6;
    font-size: 1rem;
    color: #333;
}

/* OVERLAY - MUSIC FLEX */
.overlay-body {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
}
.overlay-image {
    flex: 0 0 40%;
    max-width: 300px;
}
.overlay-image img {
    width: 100%;
    height: auto;
    display: block;
}
.overlay-details {
    flex: 1 1 auto;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}
.overlay-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.overlay-details p {
    margin: 0.25rem 0;
}
.overlay-details a {
    color: #0077cc;
    text-decoration: none;
    border-bottom: 1px solid #0077cc;
}
.overlay-details a:hover {
    color: #005fa3;
    border-bottom-color: #005fa3;
}
.overlay-details .player iframe {
    width: 100%;
    height: 120px;
}

.about-wrapper {
    max-width: 800px;
    margin: 4rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    padding: 0 1.5rem;
}
.about-image img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    /* border-radius: 50%; */
    border: 2px solid #ccc;
}
.about-text h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    max-width: 500px;
    text-align: justify;
}

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    text-align: center;
    padding: 0.5rem 0;
    z-index: 500;
}

.footer-content a {
    margin: 0 0.75rem;
    font-size: 1.2rem;
    color: #444;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-content a:hover {
    color: #0077cc;
}

.footer-content svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    display: inline-block;
    /* fill: currentColor;  */
}

.footer-content .email-icon svg {
    width: 30px;
    height: 30px;
}

/* .footer-content i {
    font-size: 1.25rem;
    vertical-align: middle;
    font-weight: 400;
} */

/* RESPONSIVE */
@media (max-width: 700px) {
    .overlay {
        top: 5%;
    }
    .overlay-body {
        flex-direction: column;
    }
    .overlay-image {
        max-width: 100%;
        margin-bottom: 1rem;
    }
}
