/* Basic Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #0d0d0d;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* Navbar */
.navbar {
  background: rgba(0, 0, 0, 0.8);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  color: #fff;
  text-decoration: none;
  animation: logoGlow 1.5s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  from {
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5),
                 0 0 20px rgba(255, 204, 0, 0.4);
  }
  to {
    text-shadow: 0 0 20px rgba(255, 204, 0, 0.8),
                 0 0 30px rgba(255, 204, 0, 0.6),
                 0 0 40px rgba(255, 204, 0, 0.4);
  }
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
  transition: color 0.3s, background 0.3s, transform 0.3s;
}

.nav-links a:hover {
  color: #ffcc00;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

/* Project Hero Section */
.project-hero {
  position: relative;
  height: 100vh;
  padding-top: 100px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.project-hero .container {
  position: relative;
  z-index: 2;
}

.project-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.project-subtitle {
  font-size: 1.5rem;
}

.hero-mockup {
  margin-top: 40px;
}

.hero-mockup img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(255, 204, 0, 0.4);
  display: block;
  margin: auto;
}

/* Section Styles */
section {
  padding: 80px 0;
  background: #1a1a1a;
}

/* Case Study Box */
.case-study-box {
  background: rgba(26, 26, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
}

/* General Section Styling */
section h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
}

section p {
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: justify;
  max-width: 800px;
  margin: auto;
  margin-bottom: 20px;
}

/* Overview Section */
.overview-image-container {
  text-align: center;
  margin-top: 20px;
}

.overview-image-container img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(255, 204, 0, 0.4);
}

/* Tools & Materials Section */
.tools-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.tool {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tool img {
  max-width: 60px;
  margin-bottom: 10px;
}

/* Process Section */
.process-mockups {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.process-mockups img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(255, 204, 0, 0.4);
}

/* Final Deliverables Section */
.product-image-container {
  text-align: center;
  margin: 20px 0;
}

.product-image-container img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(255, 204, 0, 0.4);
}

.product-target {
  font-style: italic;
  text-align: center;
  margin-top: 10px;
  font-size: 1rem;
}

/* View Project Button Section */
.view-project {
  text-align: center;
  padding: 40px 0;
}

.view-project-btn {
  display: inline-block;
  background: #ffcc00;
  color: #000;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background 0.3s, transform 0.3s;
}

.view-project-btn:hover {
  background: #e6b800;
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: #000;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .navbar {
    padding: 10px 0;
  }
  
  .navbar .container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .logo {
    margin-bottom: 10px;
    font-size: 1.5rem;
  }
  
  .nav-links {
    width: 100%;
    justify-content: space-around;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(255, 204, 0, 0.3);
  }
  
  .nav-links li {
    margin: 0;
  }
  
  .nav-links a {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
  
  .project-hero {
    padding-top: 120px; /* Adjusted for taller navbar */
  }
  
  .project-title {
    font-size: 2.5rem;
  }
  
  .project-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-mockup img {
    max-width: 450px;
  }
  
  section h2 {
    font-size: 2rem;
  }
  
  section p {
    font-size: 1rem;
  }
  
  .overview-image-container img {
    max-width: 400px;
  }
  
  .tools-list {
    gap: 15px;
  }
  
  .tool img {
    max-width: 50px;
  }
  
  .process-mockups {
    flex-direction: column;
  }
  
  .process-mockups img {
    max-width: 300px;
  }
  
  .product-image-container img {
    max-width: 300px;
  }
}

@media screen and (max-width: 480px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-links li {
    flex: 1 1 50%; /* Two items per row */
    margin: 5px 0;
  }
  
  .nav-links a {
    font-size: 0.8rem;
    padding: 6px 8px;
  }
  
  .project-title {
    font-size: 2rem;
  }
  
  .project-subtitle {
    font-size: 1rem;
  }
  
  .hero-mockup img {
    max-width: 350px;
  }
  
  section h2 {
    font-size: 1.8rem;
  }
  
  .overview-image-container img {
    max-width: 300px;
  }
  
  .process-mockups img {
    max-width: 250px;
  }
  
  .product-image-container img {
    max-width: 250px;
  }
  
  .view-project-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}