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

/* Basics */
body, html {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  color: white;
}

/* ===== Background ===== */
body {
  background: url('https://images.unsplash.com/photo-1503264116251-35a269479413?auto=format&fit=crop&w=1920&q=80')
              no-repeat center center fixed;
  background-size: cover;
  overflow-x: hidden;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  z-index: 1000;
}

/* Profile picture - Left corner */
.left-profile {
  position: absolute;
  left: 20px;
  top: 8px;
}

.left-profile img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid white;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.left-profile img:hover {
  transform: scale(1.1);
}

/* ===== Nav links ===== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links li a:hover {
  color: #00bcd4;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-section h1 {
  font-size: 4rem;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.4);
  padding: 15px 30px;
  border-radius: 10px;
  animation: fadeIn 2s ease-out;
}

/* ===== Responsive Dial Menu ===== */
@media (max-width: 900px) {
  .nav-links {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 40px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: calc(100% - 80px);
    margin: 0 auto;
    padding: 10px 0;
    justify-content: flex-start;
    background: radial-gradient(circle at center, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    transform: perspective(300px) rotateX(15deg);
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links li {
    flex: 0 0 auto;
  }

  .nav-links li a {
    display: inline-block;
    background: rgba(0,0,0,0.5);
    padding: 8px 15px;
    border-radius: 20px;
    color: white;
    transition: all 0.3s ease;
    font-size: 0.9rem;
  }

  .nav-links li a:hover {
    background: #00bcd4;
    color: black;
    transform: scale(1.15);
  }

  .left-profile {
    left: 10px;
  }

  .left-profile img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 600px) {
  .hero-section h1 {
    font-size: 2.5rem;
    padding: 10px 20px;
  }

  .left-profile img {
    width: 38px;
    height: 38px;
  }

  .nav-links li a {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}