/* ////////////////////////////////////////////////////////////// */
/* Styling for Trippin Roots                                      */
/* ////////////////////////////////////////////////////////////// */

/* British Racing Green: #004225 */
/* Text Color: #E4C899 (Cream) */
/* Highlights: 
    #E4C899 (Dark Gold)
    #B68A4C (Brass)   
*/
/* Font: Oleo Script */

/* ////////////////////////////////////////////////////////////// */
/* ////////////////////////////////////////////////////////////// */

html {
    scroll-behavior: smooth;
    background-image: linear-gradient(rgba(0, 66, 37, 0.9), rgba(0, 66, 37, 0.9)), url("assets/TR Logo 2.png");
    background-repeat: repeat;
    background-size: 175px;
    background-position: left;
}

/* General Body Styling */
body {
    font-family: "Oleo Script", system-ui;
    font-weight: 600;
    font-style: normal;
}

.preloader-logo {
    width: 300px;       /* Adjust as needed */
    height: auto;
    margin-bottom: 20px; 
} 

/* Fullscreen overlay */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 66, 37, 0.9); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: #B68A4C;
}

/* Spinner animation */
.spinner {
    border-top: 6px solid #B68A4C;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

/* Keyframes for spinning effect */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* BandsInTown Email List Widget Styling override */
.bandsintown-signup-form,
.bandsintown-signup-form iframe,
.bandsintown-signup-form * {
  border: none !important;
  outline: none !important;
  font-family: "Oleo Script", system-ui !important;
}

.divider {
    height: 4px;
    width: 80%;
    margin: 30px auto;
    border: none;
    border-radius: 2px;
    background: linear-gradient(
      to right,
      rgba(90, 60, 30, 0),   
      #b68a4c,                
      rgba(90, 60, 30, 0)     
    );
    box-shadow: 0 0 6px rgba(182, 138, 76, 0.4);
}

/* Oleo Script Font API (from Google) */
.oleo-script-regular {
    font-family: "Oleo Script", system-ui;
    font-weight: 400;
    font-style: normal;
}
  
.oleo-script-bold {
    font-family: "Oleo Script", system-ui;
    font-weight: 700;
    font-style: normal;
}

/* ////////////////////////////////////////////////////////////// */
/* Desktop CSS                                                    */
/* ////////////////////////////////////////////////////////////// */

h1, h2, h3{
    color: #E4C899;
}

h1{
    font-size: 7rem;
    margin: 0 auto;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.7), 0 0 12px rgba(0, 0, 0, 0.6); 
    transition: transform 0.3s ease, filter 0.3s ease; 
}

h2{
    font-size: 2rem;
    margin: 0 auto;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.7), 0 0 12px rgba(0, 0, 0, 0.6);     
}

h3{
    font-size: 1rem;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.7), 0 0 12px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, filter 0.3s ease;    
}

h3 a{
    font-size: 1.6rem;
    color: #B68A4C;
    transition: all ease-in-out 0.2s;
}

h3 a:hover{
    color: #856337;
}

/* Used for top of each page */
.page-header{
    display: flex;
    justify-content: center; 
    align-items: center; 
    color: #E4C899;
    font-size: 40px;
    margin: 0 auto;
}

.mobile-link{
    text-decoration: none;
    font-size: 18px;
    text-transform: uppercase;
    padding: 10px 15px;
    transition: color 0.2s ease;    
}

/* Hides Hamburger icon on large screens */
.hamburger {
    display: none;
    font-size: 50px;
    cursor: pointer;
    color: #E4C899;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;  
}

/* Navigation Bar Styling for Desktops */
nav {  
    display: flex;
    justify-content: center;
    align-items: center; 
    padding: 15px 20px;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.nav-list li {
    margin: 0 15px;
}

.nav-list a {
    color: #E4C899;
    text-decoration: none;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 15px;
    transition: color 0.2s ease;    
}

.nav-list a:hover {
    color: #ffffff;
}

/* Mobile Menu Styling - the actual menu that appears when clicking hamburger icon */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: #E4C899;
    transition: all 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 998;
    visibility: hidden; 
    opacity: 0;
}

/* ----------------------------------------------- */
/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    margin-bottom: -150px;
    overflow: hidden;
}
  
.hero-image {
    width: 100%;
    height: 80%;
    object-fit: cover;
}
  
.hero-text {
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #B68A4C;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
}

/* ----------------------------------------------- */
/* Bio Container */
.bio-container {
    padding: 20px;
    color:#B68A4C;
    text-align: center;
    margin-left: 10%;
    margin-right: 10%;
    color:#E4C899;
}

.bio-container p {
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.7), 0 0 12px rgba(0, 0, 0, 0.6);
    font-size: 20px;
    letter-spacing: 1.1px;
    color: #E4C899; 
}

.bio-container a:hover{
    color: #ffffff;    
}

/* ----------------------------------------------- */
/* Social Media Section */
.social-media {
    display: flex;
    justify-content: center;
    align-items: center; 
    width: 100%; 
    padding-bottom: 30px;
    padding-top: 10px;
}

.social-media ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: left; 
    gap: 30px; 
    flex-direction: row; /* Stack icons vertically */
    max-width: 100%;
    height: auto;
    object-fit: contain; 
}

.social-media img {
    width: 3rem;
    transition: transform 0.3s ease, filter 0.3s ease; 
}

.social-media img:hover { 
    transform: scale(1.1); 
    filter: brightness(1.1); 
}

/* ----------------------------------------------- */
/* Video Gallery Container */
.video-gallery {
    display: flex;
    flex-direction: column;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive grid */
    gap: 30px; /* Spacing between albums */
    justify-items: center;
    width: 80%; 
    margin: 0 auto; 
    align-items: center; 
}
/* Individual Video Items */
.video-item {
    width: 100%; 
    max-width: 480px; 
    margin-bottom: 20px; 
}

.videotitle {
    color:#E4C899;
    text-align:center; 
}

/* ----------------------------------------------- */
/* Displays pictures */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 10px; 
    margin: 5%; 
}

.image-gallery img{
    width: 100%;  
    height: auto; 
    display: block;
}

.image-header {
    max-width: 100%; 
    height: auto; 
    margin: 0 auto;
    z-index: 2;
}
/* ----------------------------------------------- */
/* Displays albums */
.music-container {
    display: flex;
    justify-content: center; 
    align-items: center; 
}

.music-header{
    display: flex;
    justify-content: center; 
    align-items: center; 
}

.music-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns, each takes equal space */
    gap: 100px; 
    margin: 5%; 
}

/* Used if a song only has 2 links */
.single-gallery {
    display: grid;
    grid-template-columns: repeat(2, 2fr); /* 2 columns, each takes equal space */
    gap: 100px; 
    margin: 5%; 
}

/* ----------------------------------------------- */
/* Contact Form */

.contact-container {
    background: black;
    border-color: #ff3d8f;
    border-width: 5px;
    border-style: groove;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    justify-items: center;
    width: 60%; 
    gap: 25px;
    margin: 0 auto; 
    align-items: center; 
}

input, textarea {
    width: 100%;
    padding: 5px;
    margin: 15px 0;
    border: 1px solid #E4C899;
    border-radius: 5px;
}

/* ----------------------------------------------- */
/* Button Styling */
button {
    width: 100%;
    background: #E4C899;
    color: #004225;
    padding: 15px; 
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
    font-size: 25px;  
    transition: all 0.2s ease;
    text-decoration: none;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ----------------------------------------------- */
/* Website built by... */
.credit{
    color: #E4C899;
    font-family: 'Montserrat', sans-serif;
    transition: all ease-in-out 0.2s;
}

.credit:hover{
    color:white;
}

/* ----------------------------------------------- */
/* EPK STYLING */

.epk-header{   
    display: flex;
    justify-content: center; 
    align-items: center; 
    color: #E4C899;
    margin: 0 auto;   
}

.epk-header h1:hover{
    transform: scale(1);
    filter: brightness(1); 
}

.epk-gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin: 10%;
    border: 5px inset #E4C899;
}

.epk-gallery img{
    width: 100%;  
    height: auto; 
    display: block; 
}

.epk-image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 10%;
    gap: 10px;
}

.epk-image-gallery img{
    width: 100%; 
    height: auto; 
    display: block; 
}

.epk-image-gallery a{
    font-size: 30px;
    display: flex;
    justify-content: center; 
    align-items: center; 
    text-decoration: none;
}

.epk-image-gallery a:hover{
    color: white;    
}

.epk-main-gallery {
    scale: 75%;
}

.epk-main-gallery img{
    width: 100%; 
    height: auto;
}

.epk-music-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0%;
}

.epk-music-gallery img{
    width: 100%;  
    height: auto; 
    display: block;
}

.epk-music-gallery-links{
    display: grid;
    grid-template-columns: repeat(1, 2fr);   
}

.epk-music-gallery button{
    display: grid;
    color: black;
    grid-template-columns: repeat(2, 1fr);  
    border-radius: 50px;
    width: 100%;
    background: white;
    color: #004225;
    cursor: pointer; 
    scale: 80%;
    transition: transform 0.3s ease, filter 0.3s ease; 
    text-decoration: none;
}

.epk-music-gallery button:hover {
    transform: scale(1.05); 
    filter: brightness(1.1); 
}

.epk-music-button-img{
    scale: 30%;    
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color:  #E4C899;
    color: #004225;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #E4C899;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: rgba(0, 66, 37, 0.9);
    color: #E4C899;
    transform: translateY(-2px);
}

.btn-download {
    display: block;
    background: #E4C899;
    border: 1px solid #E4C899;
    color: #004225;
    text-align: center;
    padding: 8px;
    margin-top: 10px;
    font-size: 0.9rem;
    border-radius: 1000px;
    transition: all ease-in-out 0.3s;
    text-decoration: none;
}

.btn-download:hover {
    background-color: rgba(0, 66, 37, 0.9);
    color: #E4C899;
    transform: translateY(-2px);
}

.epk-hero {
    display: flex;
    justify-content: center; 
    align-items: center;   
    flex-direction: column;
    text-align: center;
    height: 100vh;           
    padding: 120px;
    background: linear-gradient(rgba(0, 66, 37, 0.1), rgba(0, 0, 0, 0.9)), url("assets/Highlights/trStoolWall.jpg") center/cover no-repeat;
    overflow: hidden;
    color: #E4C899;
}

.hero-content h2 { 
    color: #B68A4C; 
}

.hero-content h3 { 
    font-weight: 400; 
    font-size: 1.2rem; 
}

/* Content Blocks */
.content-block {
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding: 20px;
    text-align: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateX(20px); /* start 20px below */
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    border-radius: 20px;
    border: 1px solid #B68A4C;
}

.content-block-left {
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding: 20px;
    text-align: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateX(20px); /* start 20px below */
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    border-radius: 20px;
    border: 1px solid #B68A4C;
}

/* Active state: slide into place */
.content-block-left.active {
    opacity: 1;
    transform: translateX(0);
}

.content-block-right {
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding: 20px;
    text-align: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateX(-20px); /* start 20px below */
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    border-radius: 20px;
    border: 1px solid #B68A4C;
}

/* Active state: slide into place */
.content-block-right.active {
    opacity: 1;
    transform: translateX(0);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 30px;
    border-bottom: 1px solid #B68A4C;
    display: inline-block;
    padding-bottom: 10px;
}

/* Bio */
.bio-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem; 
    line-height: 2rem;
    margin-bottom: 20px;
    color: #B68A4C;
}

/* Accolades */
.accolades-list {
    font-family: 'Montserrat', sans-serif;
    color: #B68A4C;
    list-style: none;
    padding: 0;
}

.accolades-list li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 1px dashed rgba(228, 200, 153, 0.3);
    padding-bottom: 15px;
}

/* Music Section */
.music-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.album-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #B68A4C;
}

.album-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.album-details {
    text-align: left;
}

.album-details h3{
    font-size: 2rem;
}

.streaming-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.stream-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #004225;
    padding: 8px 25px;
    border-radius: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: all ease-in-out 0.2s;
    font-size: 1.3rem;
}

.stream-btn img {
    width: 35px;
    height: 35px;
    box-shadow: none;
    border-radius: 0;
}

.stream-btn:hover {
    transform: scale(1.05);
}

.instruction{
    font-family: 'Montserrat', sans-serif;
    color: #B68A4C;
}

/* Photos Section */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.photo-item {
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    color: #B68A4C;
}

.photo-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer */
footer {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    padding: 40px;
    font-size: 1rem;
    color: #B68A4C;
}

/* Dropdowns */
.accordion {
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: 0.4s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Oleo Script", system-ui;
    font-size: 25px;
  }
  
  .panel {
    padding: 0 18px;
    background-color: #004225;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  }

  .panel p{
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.7), 0 0 12px rgba(0, 0, 0, 0.6);
    font-size: 18px;
    letter-spacing: 1.1px;
    line-height: 30px;
    color: #E4C899;   
  }
  

  .arrow {
    margin-left: auto; 
    transition: transform 0.3s ease;
    transform: rotate(360deg);
  }
  
  /* Rotates the arrow when the dropdown is active/open */
  .active .arrow {
    transform: rotate(360deg);
  }

  .back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    text-decoration: none;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    margin-right: 10%;
}
  
  /* Style the navigation bar links */
  .topnav {
    overflow: hidden;
    background-color: #B68A4C;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
  }
  
  .topnav a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
  }
  
  .topnav a:hover {
    background-color: #ddd;
    color: black;
  }
  
  .topnav a.active {
    background-color: #04AA6D;
    color: white;
  }
  
  
/* //////////////////////////////////////////////////////////////////////// */
/* Mobile CSS */
/* //////////////////////////////////////////////////////////////////////// */
@media (max-width: 860px) { 

    header {
        flex-direction: column; /* Stack elements vertically */
    }

    .nav-list{
        display: none; /* Hide regular navbar when screen shrinks */
    }

    .header-image{
        width: 125%;
        justify-content: center;
        object-fit: contain;
        image-rendering: crisp-edges;
    }

    /* Hamburger icon */
    .hamburger {
        display: block;
        transition: color 0.3s ease;
        transition: transform 0.3s ease, filter 0.3s ease; 
    }

    .hamburger:hover{
        transform: scale(1.05);
        filter: brightness(1.1); 
    }

    /* When the menu is active, show it */
    .mobile-menu-active {
        visibility: visible; 
        opacity: 0.9;  
    }

    /* Mobile Hamburger menu list */
    .mobile-menu ul {
        list-style: none;
        padding: 0;
        text-align: center;
    }

    /* Mobile Hamburger menu list items */
    .mobile-menu ul li {
        margin: 50px 0;
    }

    /* Links in mobile hamburger menu */
    .mobile-menu ul li a {
        text-decoration: none;
        color: #004225;
        font-size: 30px; 
    }

    .mobile-menu ul li a:hover {   
        color: white;   
    }

    /* Expanding images when in mobile for easier viewing */
    .image-gallery { 
        display: grid;
        grid-template-columns: repeat(1, 1fr); 
        gap: 10px;  
        margin: 5%; 
    }

    /* Expanding music when in mobile for easier viewing */
    .music-gallery { 
        display: grid;
        grid-template-columns: repeat(1, 1fr); 
        gap: 10px;  
        margin: 5%; 
    }

    /* Used if a song only has 2 links */
    .single-gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr); 
    gap: 10px; 
    
    }
}

@media (max-width: 768px) {
    h1 { 
        font-size: 5rem; 
    }
    
    .bio-text p { 
        text-align: center; 
    } 
    
    .album-card {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .album-image{
        width: 100%;
        height: auto;
    }   

    .album-details { 
        text-align: center; 
        width: 100%;
    }
    
    .photo-grid {
        grid-template-columns: 1fr; /* Stack photos on mobile */
    }  
    
    .epk-hero {      
        background: linear-gradient(rgba(0, 66, 37, 0.1), rgba(0, 0, 0, 0.9)), url("assets/Highlights/trCenter.jpg") center/cover no-repeat;
        padding: 0px;
        margin-top: 50px;
    }
    
    .social-media ul {
    gap: 5px; /* Adds spacing between icons */
   
}
    
}