/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Fira+Code&display=swap');

/* Reset & Base Styles */
body {
  background: #0f0f0f;
  color: #e0e0e0;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  color: #ffffff;
  font-weight: 600;
}

a {
  color: #00e5ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
#contact a:hover {
  color: #64ffda;
}

/* Buttons */
.btn {
  background-color: #00e5ff;
  color: #000;
  border: none;
  padding: 14px 36px;
  font-size: 1.15rem;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 229, 255, 0.3);
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #00acc1;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 229, 255, 0.4);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(to bottom right, #0f0f0f, #1c1c1c);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  overflow: hidden;
}

/* Video background */
.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.25;
  pointer-events: none;
}

/* Overlay effect */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 229, 255, 0.05), rgba(0, 0, 0, 0.8));
  z-index: 1;
}

/* Hero content above background and overlay */
.hero .hero-content {
  position: relative;
  z-index: 2;
  animation: fadeIn 1s ease-out;
  color: #e0e0e0;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px #00bcd4, 0 0 20px #00e5ff;
}

.hero p {
  font-size: 3rem;
  color: #ccc;
  opacity: 0.85;
}

.hero .btn {
  margin-top: 30px;
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Container */
section {
  padding: 80px 20px;
}

#about,
#professional-games,
#creative-projects,
#education-skills,
#contact,
#base-of-30{
  background-color: #181818;
  border-radius: 16px;
  margin-bottom: 60px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Project Entries */
.project {
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}

.project h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.project p {
  font-size: 1rem;
  color: #ccc;
}

.project img {
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.project img:hover {
  transform: scale(1.02);
}

.project .btn {
  margin-top: 10px;
}

/* Code Styling */
code,
pre,
.code-frame {
  font-family: 'Fira Code', 'Courier New', monospace;
  background-color: #1e1e1e;
  color: #00ffcc;
  padding: 10px;
  border-radius: 8px;
  display: block;
  overflow-x: auto;
}

.code-frame iframe {
  border-radius: 10px;
  border: 1px solid #444;
}

/* Modals */
.modal-content {
  background-color: #1a1a1a;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.modal-header {
  border-bottom: 1px solid #444;
}

.modal-body iframe {
  border-radius: 8px;
}

/* Contact */
#contact a {
  color: #00e5ff;
}

/* Footer */
footer {
  background-color: #121212;
  color: #888;
  padding: 20px 0;
  margin-top: 40px;
  font-size: 0.9rem;
  text-align: center;
}

/* Global Transitions */
.btn,
a,
.project img {
  transition: all 0.3s ease;
}

.hover-zoom {
  transition: transform 0.3s ease;
}
.hover-zoom:hover {
  transform: scale(1.10);
  cursor: pointer;
}

.navbar-scroll {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: rgba(255, 255, 255, 0.0); /* Transparent */
}

.navbar-scroll.scrolled {
  background-color: rgba(255, 255, 255, 0.95); /* Opaque white */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bg-dark-light {
  background-color: #303030 !important;
}

.btn-xs {
  font-size: 1rem;
  padding: 0.5rem 0.8rem;
}

.ratio-9x16 {
  --bs-aspect-ratio: 177.7777777778%;
}