/* Project2.css - Wi-Fi Detector */

/* =====================================================
   Base + Theme
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #0d0d0d;
  --primary-color: #ff4d00;
  /* Orange */
  --secondary-color: #1a1a1a;
  /* Near-black */
  --accent-color: #ff8c00;
  /* Dark Orange */
  --text-main: #ffffff;
  --text-muted: #cfcfcf;
  --card-bg: #141414;
  --line-color: #262626;
  --font-family: 'Inter', sans-serif;
  --font-tech: 'Space Mono', monospace;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
}

body {
  background: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-family);
  overflow-x: hidden;
  cursor: none;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--primary-color);
  width: 0%;
  z-index: 10000;
  transition: width 0.25s ease;
}

/* =====================================================
     Hero Section
===================================================== */
.project-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  overflow: hidden;
  text-align: center;
}

.project-hero h1 {
  /* font-family: var(--font-tech); Removed to match P8 design (Cormorant) */
  font-size: 4rem;
  letter-spacing: -2px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.project-hero .lead {
  font-family: var(--font-family);
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* =====================================================
     Content Sections
===================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.project-section {
  padding: 80px 0;
}

.section-header {
  font-family: var(--font-tech);
  color: var(--text-main);
  font-size: 1.8rem;
  margin-bottom: 40px;
  border-left: 4px solid var(--primary-color);
  padding-left: 20px;
}

/* Layout Grid for Overview */
.project-overview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.column.left {
  flex: 1;
  min-width: 300px;
}

.column.right {
  flex: 1;
  min-width: 300px;
}

.column h3 {
  color: var(--primary-color);
  font-family: var(--font-tech);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.column p,
.column ul li {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 77, 0, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Presentation */
.presentation-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border: 1px solid rgba(255, 77, 0, 0.3);
  border-radius: 0;
  overflow: hidden;
}

.presentation-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Buttons */
.btn-tech {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-family: var(--font-tech);
  padding: 12px 24px;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
}

.btn-tech:hover {
  background: rgba(255, 77, 0, 0.1);
  box-shadow: 0 0 15px rgba(255, 77, 0, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

/* Tech Stack Tags */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag {
  background: rgba(255, 77, 0, 0.1);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 6px 12px;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  border-radius: 0;
}

.authority-tag {
  background: var(--primary-color);
  color: #000;
  padding: 6px 12px;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .project-hero h1 {
    font-size: 2.5rem;
  }

  .section-header {
    font-size: 1.5rem;
  }

  .project-overview-grid {
    flex-direction: column;
  }
}