/* css/styles.css */

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #f0f0f0;
  }
  
  header, footer {
    text-align: center;
    padding: 20px 0;
    background-color: #333;
  }
  
  h1 {
    font-size: 2em;
  }
  
  h2 {
    margin: 20px 0;
    text-align: center;
  }
  
  main {
    padding: 20px;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  .map-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .map-item {
    margin: 15px;
    text-align: center;
  }
  
  .map-item img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border: 2px solid #444;
    border-radius: 5px;
    transition: border-color 0.3s;
  }
  
  .map-item span {
    display: block;
    margin-top: 10px;
    font-size: 1.1em;
  }
  
  .map-item:hover img {
    border-color: #1e90ff;
  }
  
  .map-item:hover span {
    color: #1e90ff;
  }
  .operator-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .operator-item {
    margin: 15px;
    text-align: center;
  }

  .operator-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid #444;
    border-radius: 0; /* Square images */
    transition: border-color 0.3s;
  }
  
  
  .operator-item span {
    display: block;
    margin-top: 10px;
    font-size: 1em;
  }
  
  .operator-item:hover img {
    border-color: #1e90ff;
  }
  
  .operator-item:hover span {
    color: #1e90ff;
  }
  .video-list {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .video-item {
    margin: 20px 0;
    text-align: center;
  }
  
  .video-item iframe {
    width: 560px;
    height: 315px;
    max-width: 100%;
  }
  
  .video-item h3 {
    margin: 10px 0;
    font-size: 1em;
  }
  @media (max-width: 768px) {
    .map-item img,
    .operator-item img {
      width: 100px;
      height: 100px;
    }
  
    .video-item iframe {
      width: 100%;
      height: auto;
    }
  }
/* Operator Select Page Styles */

.operator-container {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
  }
  
  .operator-column {
    width: 48%;
  }
  
  .operator-column h3 {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .operator-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .operator-item {
    margin: 10px;
    text-align: center;
  }
  
  
  .operator-item span {
    display: block;
    margin-top: 10px;
    font-size: 0.9em;
  }
  
  .operator-item:hover img {
    border-color: #1e90ff;
  }
  
  .operator-item:hover span {
    color: #1e90ff;
  }
/* Videos Page Styles */

.video-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr)); /* Increase min width */
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}
  
  .video-item {
    text-align: center;
  }
  
  .video-item iframe {
    width: 100%;
    /* height: 200px; */
  }
  
  .video-item h3 {
    margin: 10px 0;
    font-size: 1em;
  }
/* Responsive Adjustments */

@media (max-width: 768px) {
    .operator-container {
      flex-direction: column;
      align-items: center;
    }
  
    .operator-column {
      width: 100%;
      margin-bottom: 20px;
    }
  
    .operator-item img {
      width: 80px;
      height: 80px;
    }
  
    .video-item iframe {
      height: 180px;
    }
  }
  
  @media (max-width: 480px) {
    .operator-item img {
      width: 60px;
      height: 60px;
    }
  
    .video-item iframe {
      height: 160px;
    }
  }

@media (max-width: 768px) {
  .video-list {
    grid-template-columns: 1fr; /* Single column on smaller screens */
  }
}
  
  
/* Bomb Site Selection Page Styles */

.bomb-site-list {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bomb-site-item {
  margin: 10px 0;
  text-align: center;
}

.bomb-site-item a {
  display: block;
  padding: 15px 20px;
  background-color: #2c2c2c;
  color: #f0f0f0;
  text-decoration: none;
  border: 2px solid #444;
  border-radius: 5px;
  transition: background-color 0.3s, border-color 0.3s;
  width: 80%;
  max-width: 600px;
}

.bomb-site-item a:hover {
  background-color: #1e90ff;
  border-color: #1e90ff;
}

.nav-button {
  display: inline-block;
  margin-right: 10px;
  padding: 10px 15px;
  background-color: #1e90ff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.nav-button:hover {
  background-color: #1c86ee;
}

:root {
  --primary-color: #ff4c4c; /* Bright Red */
  --secondary-color: #ffbf00; /* Amber */
  --background-color: #1a1a1a; /* Dark Gray */
  --text-color: #f0f0f0; /* Light Gray */
}


/* Apply colors */
body {
  background-color: var(--background-color);
  color: var(--text-color);
}

.nav-button {
  background-color: var(--primary-color);
}

.nav-button:hover {
  background-color: darken(var(--primary-color), 10%);
}

body {
  font-family: 'Roboto', sans-serif;
}


h1, h2, h3 {
  font-weight: 700;
}

p, a, span {
  font-weight: 400;
}
body {
  background-image: url('images/background.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
}
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(28, 28, 28, 0.8); /* Dark overlay */
  z-index: -1;
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #333;
  padding: 10px;
  z-index: 1000;
  display: flex;
  justify-content: flex-start;
}

.nav-button {
  margin-right: 10px;
}
html {
  scroll-behavior: smooth;
}
.nav-button {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.nav-button:hover {
  background-color: var(--primary-color);
  color: #fff;
}
@media (max-width: 768px) {
  .operator-grid {
    flex-direction: column;
    align-items: center;
  }

  .operator-item {
    margin: 10px 0;
  }
}

header {
  background-color: #333;
  color: #f0f0f0;
  text-align: center;
  padding-top: 100px; /* Adjust padding to accommodate logo and navbar */
  position: relative;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.header-buttons {
  position: absolute;
  top: 20px;
  left: 20px;
}

.logo {
  height: 50px;    /* Set explicit height */
  width: auto;     /* Maintain aspect ratio */
  margin-right: 15px;
}

.operator-item img,
.map-item img {
  transition: transform 0.3s;
}

.operator-item:hover img,
.map-item:hover img {
  transform: scale(1.05);
}

.operator-item,
.map-item {
  background-color: #2c2c2c;
  border-radius: 8px;
  overflow: hidden;
  padding: 15px;
  transition: transform 0.3s;
}

.operator-item:hover,
.map-item:hover {
  transform: translateY(-5px);
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.operator-item,
.map-item {
  animation: fadeInUp 0.5s ease-in-out;
}

body {
  background-image: url('images/rainbow-six-background.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(28, 28, 28, 0.8);
  z-index: -1;
}

/* Video Container */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
