* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Kumbh Sans', sans-serif;
}

@font-face {
  font-family: 'MyFont';
  src: url('/fonts/AreaExtended-Regular.woff2') format('woff2'),
       url('/fonts/AreaExtended-Regular.woff') format('woff'),
       url('/fonts/AreaExtended-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

#navbar_logo,
.navbar_links,
.navbar_btn .button {
  font-family: 'Montserrat', sans-serif;
}

.navbar {
    background-color: #131313;
    height: 80px;   
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;   
    
}

.navbar_container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar_logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.2rem; /* match other links */
    font-family: 'Montserrat', sans-serif;
    padding: 10px 20px; /* match Buy button spacing */
    height: 75%; /* same as .button */
    border-radius: 4px;
    background: none; /* remove gradient */
    color: #fff; /* normal white text */
    transition: all 0.3s ease;
}

/* When hovered, match the other links */
#navbar_logo:hover {
    color: #095540;
}

/* Fix the logo image alignment and sizing */
.navbar_logo_img {
  height: 30px; /* aligns better with text and Buy button */
  width: auto;
  margin-right: 8px;
}


.navbar_logo_text {
  color: inherit; /* take color from #navbar_logo */
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

#navbar_logo .navbar_logo_text {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: #fff;
  -moz-text-fill-color: #fff;
  color: #fff;
}

#navbar_logo:hover .navbar_logo_text {
  color: #095540;
}



.fa-gem {
    margin-right: 0.5rem;
    
}

.navbar_menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;

}


.navbar_item {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
}

.navbar_links {
    color: #fff;
    display: flex;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar_btn {
    display:flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;    
align-items: center;
text-decoration: none;
white-space: nowrap;
padding:10px 20px;
height: 75%;
width: 120px;
border: none;
outline: none;
border-radius: 4px;
background: #a2c9a7;
color: #fff;
}



.button:hover {
    background: #095540;
    color: #fff;
    transition: all 0.3s ease;

}

.navbar_links:hover {
    color: #095540;
    transition: all 0.3s ease;
}   

@media screen and (max-width: 960px) {
    .navbar_container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar_menu {
        display: grid;
        grid-template-columns: 1fr;
        position: absolute;
        top: 80px; /* directly under the navbar */
        left: 0;
        width: 100%;
        background-color: #131313;
        opacity: 0;
        height: 0;
        overflow: hidden;
        transition: all 0.5s ease;
        z-index: 998;
    }
    
    .navbar_menu.active {
        opacity: 1;
        height: 50vh; /* adjust based on how much content you have */
    }
    

    #navbar_logo {
        padding: 0 1rem;
        
    }  
    
    .navbar_logo_text {
    display: none;
  }

    #mobile-menu .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #fff;
    }

    .navbar_item {
        width: 100%;
    }

    .navbar_links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
        
    }

    #mobile-menu {
        
            position: absolute;
            top: 20px;
            right: 20px;
            cursor: pointer;
            z-index: 1000;
        
        
    } 
    
    .navbar_btn {
        padding-bottom: 2rem;
    }

    .button {
        display:flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 60px;
        margin: 0;

    }

    .navbar_toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {  
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {  
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {  
        transform: translateY(-8px) rotate(-45deg);
    }
}

body {
    background: #141414;
    color: #a2c9a7;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}

/* Main layout */
.involved-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
}

.involved-section h1 {
    font-size: 3rem;
    background-color: #a2c9a7;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.involved-section p {
    color: #ccc;
    font-size: 1.2rem;
    margin-top: 10px;
    font-family: 'MyFont', Arial, sans-serif;
}

.instagram-section {
    background: #141414;
    text-align: center;
    padding: 4rem 2rem;
}

.instagram-section h1 {
    font-family: 'Montserrat', sans-serif;
    color: #a2c9a7;
    text-align: center;
    margin-bottom: 2rem;
}

.instagram-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.instagram-link {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-link:hover {
    transform: scale(1.05); /* pop-out effect */
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.instagram-img {
    max-width: 700px; /* fits nicely on desktop */
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
}

/* Responsive for mobile */
@media screen and (max-width: 768px) {
    .instagram-img {
        max-width: 80%; /* scales down on smaller screens */
    }
}

.instagram-grid iframe {
    width: 100%;
    max-width: 350px;
    height: 400px;
    border: none;
    border-radius: 8px;
}

/* Spotify */
.spotify-section {
    margin-top: 5rem;
    width: 100%;
    max-width: 700px;
}

/* Substack + Storygraph */
.links-section {
    margin-top: 4rem;
}

.link-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 1rem;
}

.main_btn {
    font-size: 1rem;
    background: #a2c9a7;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.35s;
    overflow: hidden;
    text-decoration: none;
}

.main_btn span {
    position: relative;
    z-index: 2;
}

.main_btn:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #095540;
    transition: all 0.35s;
    border-radius: 4px;
}

.main_btn:hover:after {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .involved-section h1 {
        font-size: 2.2rem;
    }
}

.more-from-author {
    background: #141414;
    padding: 4rem 2rem;
    text-align: center;
}

.more-from-author h1 {
    font-family: 'Montserrat', sans-serif;
    color: #a2c9a7;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.author-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.author-btn {
    display: inline-block;
    padding: 16px 36px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    background: #a2c9a7;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.author-btn:hover {
    background: #095540;
    transform: scale(1.05);
}