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

body {
  font-family: 'DM Serif Display', serif;
  background-color: #FFFCF9;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;    /* ensure full screen height */
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: transparent;         /* see-through over video */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #E6154D;
}
.logo span {
  font-family: 'Sarina', cursive;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #fff;   /* white over video */
  font-size: 1rem;
  transition: color 0.3s ease;
}
.nav-links a:hover,
.nav-links .active {
  color: #E6154D;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
  background: transparent;
  border: 0;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #E6154D;
  border-radius: 5px;
  transition: transform .3s ease, opacity .3s ease;
}

/* Shared glassmorphism effect */
.glass-effect {
  background: rgba(0, 0, 0, 0.35);   /* darker semi-transparent black */
  backdrop-filter: blur(25px);       /* stronger blur */
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
}

/* Mobile dropdown - glassmorphism */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);  /* center horizontally */
    width: 90%;                   /* make it narrower for centered look */

    background: rgba(0, 0, 0, 0.35);   /* darker semi-transparent black */
    backdrop-filter: blur(25px);       /* stronger blur */
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;

    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease, opacity 0.6s ease;
  }

  .nav-links.active {
    display: flex;
    max-height: 400px;
    opacity: 1;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 1rem;
    align-items: center;   /* ensures each item is centered */
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .nav-links ul li {
    list-style: none;
  }

  .nav-links a {
    font-size: 1rem;
    color: #fff;
    text-align: center;
    width: 100%;
    display: block;
  }
}


/* Hamburger → X animation */
.hamburger.active span:nth-child(1) { 
  transform: rotate(45deg); 
  position: relative; 
  top: 8px; 
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { 
  transform: rotate(-45deg); 
  position: relative; 
  top: -8px; 
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;

  /* Keep video sharp */
  image-rendering: crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0); /* forces GPU acceleration */
}

/* Optional overlay for readability */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.15);
  z-index: -1;
}

/* Glassmorphism hero box */
.glass {
  background: rgba(0, 0, 0, 0.35);   /* darker semi-transparent black */
  backdrop-filter: blur(25px);       /* stronger blur */
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 4rem 5rem;
  max-width: 900px;
  text-align: center;
  margin: auto;
}

.glass h1 {
  font-size: 3rem;          /* restored large desktop size */
  margin-bottom: 1rem;
  color: #E6154D;
}

.glass p {
  font-size: 1.3rem;        /* restored larger paragraph */
  margin-bottom: 1.5rem;
  color: #97BD00;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #E6154D;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #97BD00;
}

/* Responsive hero box resizing */
@media (max-width: 1024px) {
  .glass {
    max-width: 700px;
    padding: 3rem 3.5rem;
  }
  .glass h1 {
    font-size: 2.3rem;
  }
  .glass p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .glass {
    max-width: 85%;
    padding: 2rem;
  }
  .glass h1 {
    font-size: 2rem;       /* bump up mobile heading size */
  }
  .glass p {
    font-size: 1rem;       /* slightly bigger on mobile */
  }
}

@media (max-width: 480px) {
  .glass {
    max-width: 90%;
    padding: 1.5rem;
  }
  .glass h1 {
    font-size: 1.8rem;
  }
  .glass p {
    font-size: 0.95rem;
  }
}

/* Footer */
footer {
  margin-top: auto;
  text-align: center;
  padding: 1rem;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.9rem;
  position: relative;
  z-index: 10;
}
