@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Playfair+Display:wght@600&display=swap');

:root {
  --bg1: #4cc9f0;
  /*--bg2: #7209b7; */
  --bg3: #f72585;
  --white: #fff;
  --glass: rgba(255, 255, 255, 0.1);
  --text: #f8f9ff;
  --accent: #fbc4ff;
}

/*  Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg1), var(--bg2), var(--bg3));
  background-size: 400% 400%;
  animation: gradientFlow 20s ease infinite;
  min-height: 100vh;
  overflow-x: hidden;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/*  Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}

/*  Dropdown Menu 
.dropdown {
  position: relative;
}

.dropdown a i {
  margin-left: 6px;
  font-size: 0.8rem;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 10px 0;
  list-style: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: all 0.3s ease;
  min-width: 250px;
}

.dropdown-menu li {
  text-align: left;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
}

.dropdown-menu li a:hover {
  background: linear-gradient(90deg, #f72585, #7209b7);
  color: #fff;
  padding-left: 30px;
  border-radius: 8px;
}
*/
/* 🪄 Hover trigger */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/*  Hero Section */
.hero {
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  color: #f3e8ff;
  letter-spacing: 0.5px;
}

/* 📜 Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
  color: #f5e8ff;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
}

/*  Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
