/* Base Styles */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary: #f97316; /* Orange */
  --primary-dark: #ea580c; /* Dark Orange */
  --secondary: #1e293b; /* Dark Blue Gray */
  --secondary-dark: #0f172a; /* Very Dark Blue Gray */
  --text-light: #f8fafc;
  --text-muted: #cbd5e1;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-hover: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-light);
  background-color: var(--secondary-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Background */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url("header.webp");
  background-size: cover;
  background-position: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(234, 88, 12, 0.65),
    rgba(30, 41, 59, 0.75),
    rgba(15, 23, 42, 0.85)
  );
}

/* .grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 25px 25px;
} */

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 6rem;
  animation: fadeInDown 1s ease;
}

.logo-container {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.logo-glow {
  position: absolute;
  inset: -15px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(25px);
  opacity: 0.4;
  animation: pulse 3s infinite alternate;
}

.logo {
  position: relative;
  font-size: 3.5rem;
  font-weight: 700;
  background-color: white;
  /* background: linear-gradient(to right, #ffffff, #fdba74); */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0.5rem;
  letter-spacing: 1px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background-color: white;
  /* background: linear-gradient(to right, #ffffff, #fdba74); */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
}

header p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Main Content */
main {
  flex: 1;
  animation: fadeIn 1.2s ease;
}

.menu-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
  padding: 1rem;
}

.menu-item {
  position: relative;
  width: 320px;
  text-align: center;
  text-decoration: none;
  color: var(--text-light);
  transition: transform 0.5s ease, filter 0.5s ease;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

.menu-item:hover {
  transform: translateY(-15px);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
  background: var(--glass-hover);
}

.circle {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.circle::before {
  content: "";
  position: absolute;
  inset: -10px;
  background: linear-gradient(
    to bottom right,
    var(--primary),
    var(--primary-dark)
  );
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  filter: blur(20px);
}

.menu-item:hover .circle::before {
  opacity: 0.7;
}

.menu-item:hover .circle {
  border-color: rgba(249, 115, 22, 0.6);
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.4);
}

.icon {
  font-size: 4rem;
  color: var(--text-light);
  transition: all 0.5s ease;
}

.menu-item:hover .icon {
  color: white;
  transform: scale(1.2);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
}

.menu-item h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
  background-color: white;
  /* background: linear-gradient(to right, #ffffff, #fdba74); */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.menu-item h2::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -8px;
  left: 50%;
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  transition: all 0.5s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.menu-item:hover h2::after {
  width: 80%;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  animation: fadeIn 1.5s ease;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    opacity: 0.3;
    filter: blur(25px);
  }
  100% {
    opacity: 0.5;
    filter: blur(20px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    margin-bottom: 3rem;
    padding-top: 2rem;
  }

  .logo {
    font-size: 2.8rem;
  }

  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
  }

  .menu-container {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .menu-item {
    width: 100%;
    max-width: 320px;
  }

  .circle {
    width: 160px;
    height: 160px;
  }

  .icon {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1.5rem;
  }

  .logo {
    font-size: 2.5rem;
  }

  header h1 {
    font-size: 1.8rem;
  }

  .menu-item {
    padding: 1rem;
  }

  .circle {
    width: 140px;
    height: 140px;
    margin-bottom: 1.5rem;
  }
}
