/* ===== CONSOLIDATED STYLES ===== */

/* Base Styles */
body {
  font-family: Lato;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Quicksand;
  font-weight: 800;
}

/* Navbar Styles */
.navbar-custom {
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1030;
}

.navbar-custom .navbar-brand {
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.1rem;
  font-weight: 700;
}

.navbar-custom .navbar-nav .nav-item .nav-link {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
}

.navbar-left {
  width: 40px;
  vertical-align: middle;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, #8c1515 0%, #b1040e 100%);
  background-image: url("./img/unitydemo.avif");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding-top: 76px; /* Account for fixed navbar */
  z-index: 0; /* Ensure hero is behind navbar */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.hero-credit {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 8px;
  border-radius: 4px;
}

.hero-credit:hover {
  color: white;
  background: rgba(0, 0, 0, 0.5);
  text-decoration: underline;
}

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

/* Section Titles */
.display-4 {
  font-size: 2rem;
  font-weight: 800;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-btn {
  margin: 0.5rem;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
}

.btn-outline-light:hover {
  background: white;
  color: #8c1515;
}

/* Footer Styles */
.bg-black {
  background-color: #000;
}

/* Link Styles */
a {
  color: #8c1515;
}

a:hover {
  color: #7a1212;
  text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gallery Section */
#gallery {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  padding: 2rem 0;
}

#gallery .row {
  margin-left: -8px;
  margin-right: -8px;
}

#gallery .row > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 16px;
}

#gallery .row {
  margin-bottom: -16px;
}

.gallery-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.gallery-thumbnail-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gallery-trophy {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  background: white;
  color: #8c1515;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gallery-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-thumbnail {
  transform: scale(1.05);
}

.gallery-info {
  padding: 1.25rem;
  text-align: center;
}

.gallery-title {
  font-family: Quicksand;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.gallery-team {
  color: #718096;
  font-size: 0.8rem;
  margin-bottom: 0;
  font-weight: 500;
}

.gallery-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.gallery-link:hover {
  text-decoration: none;
  color: inherit;
}

.gallery-link:hover .gallery-title {
  color: #8c1515;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-btn {
    display: block;
    margin: 0.5rem auto;
    max-width: 250px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-section {
    min-height: 500px;
  }
}
