/* Base styles */
html {
scroll-behavior: smooth;
}

body {
margin: 0;
padding: 0;
overflow-x: hidden;
background-color: black;
color: white;
font-family: "Inter", sans-serif;
}

/* Navbar */
.navbar {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
z-index: 100;
backdrop-filter: blur(6px);
transform: translateY(0);
transition: background-color 0.3s ease;
}

.navbar a.navbar-brand {
    opacity: 0%;
}

.navbar.scrolled a {
    color: white;
}

.navbar.scrolled a.navbar-brand {
    opacity: 100%;
}



.glass {
background: rgba(255, 255, 255, 0.1);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(13.6px);
-webkit-backdrop-filter: blur(13.6px);
}

/* Panels */
section.panel {
position: relative;
height: 100vh;
width: 100%;
scroll-snap-align: start;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
overflow: hidden;
opacity: 0;
transform: translateY(40px);
transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

section.panel.visible {
opacity: 1;
transform: translateY(0);
}

section.panel video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -2;
transform: scale(1.1);
transition: transform 2s ease;
}

section.panel.visible video {
transform: scale(1);
}

.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.4);
z-index: -1;
pointer-events: none; /* allows clicks to pass through */
}

.panel-content {
position: relative;
z-index: 2;
padding: 0 20px;
}

/* Hero-specific layout */
#hero .panel-content {
position: absolute;
bottom: 5%;
left: 5%;
text-align: left;
}

#hero .panel-content h1 {
font-size: 5rem;
font-weight: 700;
margin: 0;
}

@media (max-width: 768px) {
#hero .panel-content h1 {
    font-size: 3rem;
}
}

.panel-content h1 {
font-size: 4rem;
font-weight: 700;
margin-bottom: 1rem;
}

.panel-content p {
font-size: 1.1rem;
color: #ddd;
max-width: 700px;
margin: 0 auto;
}

a {
color: #00bcd4;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

@media (max-width: 768px) {
.panel-content h1 {
    font-size: 2.5rem;
}
.panel-content p {
    font-size: 1rem;
}
}

/* Floating music button */
#music-btn {
position: fixed;
top: 20px;
right: 20px;
background: #ff4081;
border: none;
color: white;
font-size: 16px;
padding: 12px 18px;
border-radius: 50px;
cursor: pointer;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
transition:
    background 0.3s,
    transform 0.2s;
}

#music-btn:hover {
background: #e91e63;
transform: scale(1.05);
}

#my-svg {
  position: fixed;  /* keeps it in the viewport */
  top: 15px;        /* distance from top, adjust as needed */
  left: 15px;       /* distance from left, adjust as needed */
  width: 30px;      /* adjust size */
  height: 30px;     /* adjust size */
  z-index: 100000;    /* ensures it’s above other content */
  pointer-events: auto; /* optional: lets clicks pass through */
  cursor: pointer;
  fill: white;
  color: white;
}

.navbar-brand.hidden {
  display: none !important;
}