body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #0a0a0a;
  background: linear-gradient(
    360deg,
    rgba(10, 10, 10, 1) 0%,
    rgba(26, 26, 46, 1) 25%,
    rgba(22, 33, 62, 1) 50%,
    rgba(15, 52, 96, 1) 68%,
    rgba(19, 44, 112, 1) 100%
  );
  color: #e0e0e0;
  overflow-x: hidden;
}

/* Bootstrap Navbar Styling for Dark Oceanic Theme */
.navbar {
  z-index: 1050 !important;
  position: relative !important;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 50%, rgba(15, 52, 96, 0.95) 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(15, 52, 96, 0.3);
}

.navbar-brand {
  color: #e0e0e0 !important;
  font-weight: bold;
  font-size: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.navbar-brand:hover {
  color: #fff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.navbar-toggler {
  border-color: rgba(224, 224, 224, 0.2);
  padding: 4px 8px;
  background: rgba(15, 52, 96, 0.3);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(224, 224, 224, 0.15);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28224, 224, 224, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

.navbar-nav .nav-link {
  color: rgba(224, 224, 224, 0.9) !important;
  transition: all 0.3s ease;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.navbar-nav .nav-link:hover {
  color: #fff !important;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.navbar-nav .nav-link.active {
  color: #fff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.navbar-collapse {
  z-index: 1051 !important;
  background: rgba(22, 33, 62, 0.9);
  backdrop-filter: blur(5px);
  border-radius: 0 0 8px 8px;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.main-content {
  padding-top: 50px;
  padding-bottom: 100px;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  text-align: center;
  margin-bottom: 30px;
  padding: 60px 0;
  background-image: url("../images/nuckelaveeHeader.png");
  background-size: cover;
  background-position: center;
  position: relative;
  color: #f5f5f5;
  border-bottom: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
}

.header h1 {
  font-size: 48px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.1;
}

.header p {
  font-size: 18px;
  color: #ddd;
  margin-bottom: 0;
}

.filters {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-item {
  padding: 5px 10px;
  background-color: rgba(60, 60, 60, 0.8);
  border-radius: 15px;
  color: #e0e0e0;
  font-size: 16px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.see-project-link {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 10px 20px;
  background-color: #333;
  color: #e0e0e0;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.see-project-link:hover {
  background-color: #555;
  color: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Enhanced grid for 2 images - making them larger */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.project-item {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.8);
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-item:hover img {
  transform: scale(1.05);
}

footer {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 26, 46, 0.95) 50%, rgba(22, 33, 62, 0.95) 100%);
  backdrop-filter: blur(10px);
  color: #e0e0e0;
  padding: 20px;
  width: 100%;
  margin: 0;
  position: fixed;
  bottom: 0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(15, 52, 96, 0.3);
  z-index: 1000;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* RESPONSIVE DESIGN */

/* Large screens (1200px+) */
@media screen and (min-width: 1200px) {
  .container {
    padding: 40px;
  }

  .header {
    padding: 80px 0;
    border-radius: 15px;
  }

  .header h1 {
    font-size: 56px;
  }

  .header p {
    font-size: 22px;
  }

  .project-grid {
    gap: 40px;
    max-width: 1100px;
  }

  .project-item {
    aspect-ratio: 16 / 9;
  }

  .filter-item {
    font-size: 18px;
    padding: 8px 15px;
  }

  .see-project-link {
    font-size: 18px;
    padding: 12px 25px;
  }
}

/* Tablets (768px to 1199px) */
@media screen and (max-width: 1199px) and (min-width: 768px) {
  .main-content {
    padding-top: 40px;
    padding-bottom: 90px;
  }

  .container {
    padding: 20px;
  }

  .header {
    padding: 50px 20px;
    border-radius: 10px;
  }

  .header h1 {
    font-size: 42px;
  }

  .header p {
    font-size: 16px;
  }

  .project-grid {
    gap: 25px;
    max-width: 900px;
  }

  .project-item {
    aspect-ratio: 16 / 10;
  }

  .filters {
    bottom: 15px;
    left: 15px;
    gap: 8px;
  }

  .filter-item {
    font-size: 14px;
    padding: 6px 12px;
  }

  .see-project-link {
    bottom: 15px;
    right: 15px;
    font-size: 14px;
    padding: 8px 16px;
  }
}

/* Large phones/small tablets (481px to 767px) */
@media screen and (max-width: 767px) and (min-width: 481px) {
  .main-content {
    padding-top: 20px;
    padding-bottom: 80px;
  }

  .container {
    padding: 15px;
  }

  .header {
    padding: 40px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
  }

  .header h1 {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .header p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .filters {
    position: static;
    justify-content: center;
    margin-bottom: 15px;
    gap: 8px;
  }

  .filter-item {
    font-size: 13px;
    padding: 5px 10px;
  }

  .see-project-link {
    position: static;
    display: block;
    text-align: center;
    margin: 0 auto;
    max-width: 200px;
    font-size: 14px;
    padding: 10px 18px;
  }

  /* Single column for mobile, but larger images */
  .project-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
    max-width: 600px;
  }

  .project-item {
    aspect-ratio: 16 / 9;
  }
}

/* Mobile (480px and below) */
@media screen and (max-width: 480px) {
  .main-content {
    padding-top: 15px;
    padding-bottom: 70px;
  }

  .container {
    padding: 10px;
  }

  .header {
    padding: 30px 10px;
    border-radius: 6px;
    margin-bottom: 15px;
  }

  .header h1 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .header p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .filters {
    position: static;
    justify-content: center;
    margin-bottom: 12px;
    gap: 6px;
  }

  .filter-item {
    font-size: 12px;
    padding: 4px 8px;
  }

  .see-project-link {
    position: static;
    display: block;
    text-align: center;
    margin: 0 auto;
    max-width: 180px;
    font-size: 13px;
    padding: 8px 15px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 15px;
    max-width: 500px;
  }

  .project-item {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
  }

  footer {
    padding: 10px;
    font-size: 0.9rem;
  }
}

/* Extra small screens (360px and below) */
@media screen and (max-width: 360px) {
  .container {
    padding: 8px;
  }

  .header {
    padding: 25px 8px;
    border-radius: 4px;
  }

  .header h1 {
    font-size: 24px;
  }

  .header p {
    font-size: 13px;
  }

  .filter-item {
    font-size: 11px;
    padding: 3px 6px;
  }

  .see-project-link {
    font-size: 12px;
    padding: 6px 12px;
    max-width: 160px;
  }

  .project-grid {
    gap: 12px;
    margin-top: 12px;
    max-width: 400px;
  }

  .project-item {
    border-radius: 6px;
  }

  footer {
    padding: 8px;
    font-size: 0.8rem;
  }
}

/* Landscape orientation adjustments */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .header {
    padding: 20px 15px;
  }

  .header h1 {
    font-size: 28px;
    margin-bottom: 5px;
  }

  .header p {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .filters {
    margin-bottom: 8px;
  }

  .see-project-link {
    margin-top: 8px;
  }

  .main-content {
    padding-bottom: 50px;
  }
}
