@import url(https://db.onlinewebfonts.com/c/3489948ce674964356eda4e256afef06?family=Times+New+Yorker);

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family:"Times New Yorker";
	min-height: 100vh;
	background-image: url(./Bilder/Bandcollage.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	
}

.navbar{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 80px;
	width: 100%;
	position: sticky;
	top: 0;
	background: transparent;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(10px);
	z-index: 999;
}

.navbar-container{
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0 2rem;
	max-width: 1600px;
}
/*
.navbar-logo{
	font-size: 2rem;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}
*/

.navbar-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	cursor: pointer;
}

.navbar-logo img {
	height: 200px;   /* ändra höjd här */
	width: auto;
	display: block;
}


.navbar-container .navbar-menu{
	display: flex;
	text-align: center;
	gap: 1.5rem;
	list-style: none;
}

.navbar-container .navbar-menu li a {
	text-decoration: none;
	color: #fff;
	font-size: 1.3rem;
	font-weight: 500;
	padding: 3px 20px;
	border-radius: 20px;
	border: 2px solid transparent;
	transition: all 0.7s ease;
	white-space: nowrap;
}

.navbar-container .navbar-menu li a:hover {
	color: #0d0000;
	background: #e70000;
	border: 2px solid #fff;
}

.navbar-toggle {
	display: none;
	background: transparent;
	padding: 20px;
	border: none;
	cursor: pointer;
}

.bar {
	display: block;
	width: 25px;
	height: 3px;
	margin: 5px auto;
	background: #fff;
	transition: all 0.3s ease-in-out;
}

@media (max-width: 880px) {
	.navbar {
		backdrop-filter: none;
	}
	
	.navbar-container .navbar-menu{
		display: none;
		flex-direction: column;
		align-items: flex-start;
		gap: 1.7rem !important;
		position: absolute;
		height: 100vh;
		width: 250px;
		top: 0;
		right: 0;
		padding: 5rem 1.5rem;
		box-shadow: 0 10px 10px rgba(0,0,0,0.5);
		backdrop-filter: blur(10px);
	}
	
	.navbar-container .navbar-menu.active {
		display: flex;
	}
	
	.navbar-toggle {
		display: block;
		z-index: 999;
	}
	
	.navbar-toggle.active .bar:nth-child(2) {
		opacity: 0;
	}
	
	.navbar-toggle.active .bar:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}
	
	.navbar-toggle.active .bar:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}
	

}
@media (max-width: 480px) {
	.navbar-container {
		padding: 0 1rem;
	}
	
	.navbar-logo img {
		height: 40px;
	}
	
	.navbar-container .navbar-menu li a {
		font-size: 1.2rem;
		padding: 3px 15px;
	}
}

/* ABOUT HEADER */
.about-header {
    text-align: center;
    padding: 120px 20px 40px;
    color: #fff;
}

.about-header h1 {
    font-size: 3rem;
    letter-spacing: 2px;
	font-weight: 500;
}

/* ABOUT TEXT */
.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    color: #fff;
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
}

/* MEMBERS SECTION */
.members {
    text-align: center;
    padding: 60px 20px;
    color: #fff;
}

.members h2 {
    margin-bottom: 30px;
    font-size: 2rem;
	font-weight: 500;
}

/* INDIVIDUAL MEMBER */
.member {
    display: inline-block;
    margin: 20px;
    width: 200px;
    transition: transform 0.3s ease;
}

.member img {
    width: 100%;
    border-radius: 10px;
    border: 2px solid transparent;
}

.member {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HOVER EFFECT (matches your red theme) */
.member:hover {
    transform: scale(1.05);
}

.member:hover img {
    border: 2px solid #e70000;
}

.member h3 {
    margin-top: 10px;
	font-weight: 500;
}

.member p {
    opacity: 0.8;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

/* GALLERY GRID */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
}

/* IMAGE CONTAINER */
.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    position: relative;

    opacity: 0;
    transform: scale(0.9);
    animation: fadeZoom 0.6s ease forwards;
}

/* STAGGERED ANIMATION */
.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

/* IMAGE STYLE */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* HOVER EFFECT */
.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

/* RED OVERLAY ON HOVER */
.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(231, 0, 0, 0.2);
    opacity: 0;
    transition: 0.4s;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ANIMATION */
@keyframes fadeZoom {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* LIGHTBOX BACKGROUND */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#download-btn {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: #e70000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s;
}

#download-btn:hover {
    background: #fff;
    color: #000;
}

/* ACTIVE STATE */
.lightbox.active {
    display: flex;
}

/* IMAGE */
.lightbox-img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 10px;
}

body:has(.lightbox.active) {
    overflow: hidden;
}

/* CLOSE BUTTON */
.close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
}

/* ANIMATION */
@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.music-section {
    text-align: center;
    padding: 60px 20px;
    color: #fff;
}

.music-section h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 500;
}

/* PLAYER CONTAINER */
.spotify-player {
    max-width: 900px;
    margin: auto;
    border-radius: 12px;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    transition: transform 0.3s ease;
}

/* HOVER EFFECT */
.spotify-player:hover {
    transform: scale(1.02);
}

.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    color: #fff;
}

.contact-container {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.contact-container h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 500;
}

/* FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* INPUTS */
.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 1rem;
    outline: none;
    backdrop-filter: blur(5px);
}

/* FOCUS EFFECT */
.contact-form input:focus,
.contact-form textarea:focus {
    border: 2px solid #e70000;
}

/* BUTTON */
.contact-form button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #e70000;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #fff;
    color: #000;
}

/* CONTACT INFO */
.contact-info {
    margin-top: 30px;
    opacity: 0.8;
}