/* background style for home page */
.hero {
    min-height: 100vh;
    width: auto;
    background-color: rgb(0, 0, 0);
    background-image: url(videoformax.mp4);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
}
/* title font style */
.title{
    align-items: center;
    justify-content: center;
    display: flex;
    height: 100px;
    background-color: transparent;
    background-size: 10px;
    border-radius: 10px;
    font-size: 80px;
    width: 550px;
    font-family: "Kings", normal;
    font-weight: 400;
    font-style: normal;
    margin-left: 10px;
    margin-top: 10px;
    letter-spacing: 4px;
}
.title ul li{
    display: flex;
    list-style: none;
}
.title ul li a{
    text-decoration: none;
}
/* Title link states: hover, visited, and current-page indicator */
.title a{
    color: #fff;
    text-decoration: none;
}
.title a:hover{
    color: #ffd964;
    transform: translateX(6px);
    text-decoration: none;
}
.title a:visited{
    color: #cfcfcf;
}
/* Current-page indicator: when the body has a page-specific class */
body.page-index .title a,
body.page-about .title a,
body.page-role .title a,
body.page-music .title a{
    color: #77ffcc;
    font-weight: 800;
    text-decoration: underline;
}
/* subtitle */
.subtitle {
    display: flex;
    align-items: center;
    justify-content: left;
    height: 50px;
    width: 180px;
    margin-top:40px;
    margin-right: 1230px;
    margin-left: 500px;
    font-size: 60px;
    font-family: "Luxurious Roman", serif;
    font-weight: 400;
    font-style: bold;
    color: #77ffcc;
    background-color: rgba(66, 77, 85, 0.4);
    border-radius: 10px;
    padding: 10px;
    text-shadow: 2px 2px 4px #2e6657;
}
.subtitle-custom {
    display: flex;
    align-items: center;
    justify-content: left;
    width: 470px;
    height: 50px;
    margin-right: 980px;
    margin-left: 500px;
    font-size: 60px;
    font-family: "Luxurious Roman", serif;
    font-weight: 400;
    font-style: bold;
    color: #77ffcc;
    background-color: rgba(66, 77, 85, 0.4);
    border-radius: 10px;
    padding: 10px;
    text-shadow: 2px 2px 4px #2e6657;
}
.subtitle2 {
    display: flex;
    align-items: center;
    justify-content: left;
    height: 50px;
    width: 240px;
    margin-top: -35px;
    margin-right: 1295px;
    margin-left: 500px;
    font-size: 60px;
    font-family: "Luxurious Roman", serif;
    font-weight: 400;
    font-style: bold;
    color: #77ffcc;
    background-color: rgba(66, 77, 85, 0.4);
    border-radius: 10px;
    padding: 10px;
    text-shadow: 2px 2px 4px #2e6657;
}
.subtitle3 {
    display: flex;
    align-items: center;
    justify-content: left;
    height: 50px;
    width: 500px;
    margin-top: -35px;
    margin-right: 1295px;
    margin-left: 500px;
    font-size: 60px;
    font-family: "Luxurious Roman", serif;
    font-weight: 400;
    font-style: bold;
    color: #77ffcc;
    background-color: rgba(66, 77, 85, 0.4);
    border-radius: 10px;
    padding: 10px;
    text-shadow: 2px 2px 4px #2e6657;
}
/* nav box for home page*/
.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar{
    position: relative;
    z-index: 1240; /* sit above the cover image (1205) but below replay button (1250) */
}
.navbar ul li{
    display: inline-block;
    list-style: none;
    margin:10px 30px;
    font-size: 50px;
    font-family: "Kings", normal;
}
.navbar ul li a{
    color: #fff;
    text-decoration: none;
    margin:8px 18px;
    font-size: 36px;
}
.menu{
    display: flex;
    align-items: left;
    justify-content: left;
    line-height: 40px;
    background-color: rgba(66, 77, 85, 0.4);
    background-size: 10px;
    width: 280px;
    height: flex;
    font-size: 30px;
    border-radius: 10px;
    font-family: "Castoro Titling", serif;
    font-weight: 400;
    font-style: bold;
    transform: translateX(180px);
    margin-top: -21px;
    text-shadow: 2px 2px 4px #2e6657;
}
.menu ul li{
    display: flex;
    list-style: none;
    margin: 10px 0px;
}
.menu ul li a{
    text-decoration: none;
}
/* Default right-indent for menu items (applies to all .menu links).
   About and Music are overridden below to use a smaller indent. */
.menu ul li a{
    margin-left: 30px;
}

/* About and Music should have no left indent */
.menu ul li a[href$="about"],
.menu ul li a[href$="about.html"],
.menu ul li a[href$="Music.html"],
.menu ul li a[href$="music.html"],
.menu ul li a[href$="Music"],
.menu ul li a[href$="music"] {
    margin-left: 0;
}

/* Make 'Behind the Music' have a larger indent than 'Top Hits' */
.menu ul li a[href$="Behind-the-Music"],
.menu ul li a[href$="Behind-the-Music.html"],
.menu ul li a[href$="behind-the-music"],
.menu ul li a[href$="behind-the-music.html"] {
    margin-left: 32px;
}
/* text body style */
.body-text {
    font-size: 25px;
    transform: translateY(-340px);
    display: flex;
    align-items: left;
    justify-content: center;
    margin-left: 500px;
    margin-top: 30px;
    padding: 10px;
    width: auto;
    font-family: "Luxurious Roman", serif;
    font-weight: 400;
    font-style: bold;
    background-color: rgba(66, 77, 85, 0.4);
    border-radius: 10px;
    color: whitesmoke;
    text-shadow: 2px 2px 4px #000000;
    margin-right: 300px;
}
.body-text-custom {
    font-size: 25px;
    transform: translateY(-350px);
    display: flex;
    align-items: left;
    justify-content: center;
    margin-left: 500px;
    margin-top: 30px;
    padding: 10px;
    width: auto;
    font-family: "Luxurious Roman", serif;
    font-weight: 400;
    font-style: bold;
    background-color: rgba(66, 77, 85, 0.4);
    border-radius: 10px;
    color: whitesmoke;
    text-shadow: 2px 2px 4px #000000;
    margin-right: 300px;
}
.body-text-how-they-began {
    font-size: 25px;
    transform: translateY(-355px);
    display: flex;
    align-items: left;
    justify-content: center;
    margin-left: 500px;
    margin-top: 30px;
    padding: 10px;
    width: auto;
    font-family: "Luxurious Roman", serif;
    font-weight: 400;
    font-style: bold;
    background-color: rgba(66, 77, 85, 0.4);
    border-radius: 10px;
    color: whitesmoke;
    text-shadow: 2px 2px 4px #000000;
    margin-right: 300px;
}

/* credit text style */
.credit {
    font-size: 20px;
    transform: translateY(-260px);
    display: flex;
    align-items: left;
    justify-content: left;
    margin-left: 570px;
    width: auto;
    font-family: "Luxurious Roman", serif;
    font-weight: 400;
    font-style: normal;
}

/* lists */
.lists {
    font-size: 25px;
    transform: translateY(-320px);
    align-items: left;
    justify-content: center;
    margin-left: 500px;
    margin-right: 300px;
    width: auto;
    margin-top: 30px;
    font-family: "Luxurious Roman", serif;
    font-weight: 400;
    font-style: normal;
    list-style: none;
    list-style-image: url('sqpurple.gif');
    background-color:rgba(66, 77, 85, 0.4);
    border-radius: 10px;
    color: whitesmoke;
    text-shadow: 2px 2px 4px #2e6657;
    padding: 10px;
    

}
.audio{
    transform: translateY(-380px);
    display: flex;
    align-items: left;
    justify-content: center;
    margin-left: 550px;
}
/* Link state indicators: current page (.active), hover, and visited */
.navbar ul li a,
.menu ul li a {
    color: #fff;
    transition: color 0.18s ease, background-color 0.18s ease, transform 0.12s ease;
}

/* Intro overlay (GIF cover + title.png + replay) */
#intro-overlay{
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.0);
    z-index: 1200;
}
#intro-overlay img{
    max-width: 100%;
    max-height: 100vh;
    display: block;
}
#intro-gif{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 1210;
    transition: opacity 0.6s ease;
}
#intro-cover{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100vh;
    object-fit: contain;
    z-index: 1205;
    transition: opacity 15.6s ease;
    background: #000;
}
#replay-intro{
    position: absolute;
    z-index: 1250;
    bottom: 36px;
    right: 36px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
}
#replay-intro:hover{ background: rgba(0,0,0,0.75); }

/* Initially show GIF (intro-cover hidden via opacity=0 set in JS) */
#intro-gif{ opacity: 1; }
#intro-cover{ opacity: 0; }

.navbar ul li a:hover,
.menu ul li a:hover {
    color: #ffd964;
    transform: translateX(6px);
    text-decoration: underline;
}

/* On the index page make the 'Weston Estate' navbar link larger than the other links */
body.page-index .navbar ul li a[href="index.html"],
body.page-index .navbar ul li a.active {
    font-size: 65px;
    font-weight: 800;
    padding: 6px 12px;
}

/* On index page: remove the semi-transparent active background so the title sits cleanly */
body.page-index .navbar ul li a.active,
body.page-index .menu ul li a.active {
    background-color: transparent;
}

.navbar ul li a:visited,
.menu ul li a:visited {
    color: #d1d1d1;
}

.navbar ul li a.active,
.menu ul li a.active {
    background-color: rgba(255,255,255,0.08);
    color: #77ffcc;
    padding: 6px 40px;
    border-radius: 6px;
}

.navbar ul li a:focus,
.menu ul li a:focus {
    outline: 2px solid rgba(255,255,255,0.15);
    outline-offset: 3px;
}

/* Top Hits grid: responsive grid layout with images and captions stacked vertically */
.top-hits-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    padding: 16px;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: -6px;
    margin-left: 500px;
}
.top-hit-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.top-hit-card img{
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 12px;
}
.top-hit-card img:hover{
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0,0,0,0.6);
}
.top-hit-card .caption{
    color: #77ffcc;
    font-size: 18px;
    font-family: "Luxurious Roman", serif;
    font-weight: 600;
    letter-spacing: 1px;
}
.top-hit-card .caption a{
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.top-hit-card .caption a:hover{
    color: #ffd964;
    text-decoration: underline;
}