body {
  background-color: black;
  font-family: Georgia, "Times New Roman", Times, serif;
  overflow-x: hidden;
  transition: background-color 0.3s ease; /* Smooth transition */
}

/* --- HEADER & NAVBAR --- */
.header {
  background-image: url("images/night.jpg");
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: 800px;
  background-size: cover;
  margin-bottom: 0;
}

.navbar {
  width: 100%;
  padding: 15px 0;
  background: rgba(0, 0, 0, 0.3); 
}

.navbar-collapse {
  justify-content: center;
}

.options {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  margin: 0;
  padding: 0;
}

.nav-item {
  list-style: none;
}

.nav-item a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  padding: 0 30px;
  white-space: nowrap;
  display: block;
}

a:hover {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

/* --- TITLES --- */
h1.mirado {
  text-align: center;
  margin-top: 150px;
  color: white;
  font-size: 4.5rem;
  margin-bottom: 10px;
}

h3.mirado {
  text-align: center;
  color: white;
  margin-top: 0;
}

/* --- TOGGLES --- */
.toggler {
  margin: 20px auto;
  width: 60px;
  display: block;
}
.switch {
  display: inline-block;
  width: 60px;
  height: 34px;
  position: relative;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #1a1a2e;
  transition: 0.4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #2FD159;
}
input:checked + .slider:before {
  transform: translateX(26px);
}

/* --- SLIDER CONTAINER --- */
.containertwo {
  width: 90%;
  max-width: 1600px;
  margin: 50px auto;
  position: relative;
  padding: 0 60px;
  box-sizing: border-box;
}

.text {
  text-align: center;
  margin-bottom: 30px;
}

.text h3 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

/* --- CUSTOM SLIDER LOGIC --- */
.card-container {
  width: 100%;
  overflow: hidden; 
  position: relative;
}

.slider-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.6s ease-in-out;
  margin: 0;
  width: 100%;
}

.slider-item {
  min-width: 33.3333%; 
  width: 33.3333%;
  background-color: black;
  border: none;
  padding: 0 15px;
  box-sizing: border-box;
  text-align: center;
  position: relative;
}

.slider-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
  display: block;
}

.slider-item:hover img {
  transform: scale(1.02);
  filter: brightness(1.1);
}

.slider-item h5 {
  text-align: center;
  color: white;
  margin-top: 15px;
  font-size: 1.5rem;
  font-weight: 400;
}

/* --- ARROWS --- */
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
}

.carousel-control-prev { left: 0; }
.carousel-control-next { right: 0; }

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

.seem {
  display: block;
  text-align: center;
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  margin-top: 40px;
}

/* --- INFO SECTIONS --- */
.containertwohalf {
  text-align: center;
  margin: 40px auto;
}
.containertwohalf h3 {
  color: white; 
}
.containertwohalf button {
  background: none;
  border: 1px solid white;
  color: white;
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
}

.containerthree {
  background-color: black;
  color: white;
  padding: 50px 0;
}

.about-1 {
  padding: 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-1 h1 {
  margin-bottom: 20px;
}

.about-1 p {
  color: #ccc;
  line-height: 1.6;
  text-align: justify;
}

#about-2 {
  margin-top: 50px;
}

.about-item {
  padding: 20px;
}

.about-item h3 {
  text-align: left;
  margin-bottom: 15px;
  font-weight: bold;
}

.about-item p {
  color: #ccc;
  line-height: 1.6;
  text-align: left;
}

hr {
  background-color: grey;
  height: 2px;
  border: none;
  margin: 20px auto;
}

.fwall {
  background-image: url("images/Mountain.jpg");
  background-size: cover;
  width: 100%;
  height: 500px;
  position: relative;
}

/* =========================================
   LIGHT MODE OVERRIDES
   ========================================= 
body.light-mode {
  background-color: white !important;
  color: black !important;
}

body.light-mode .containerthree,
body.light-mode .slider-item {
  background-color: white !important;
}

body.light-mode .text h3,
body.light-mode .slider-item h5,
body.light-mode .about-1 h1,
body.light-mode .about-item h3,
body.light-mode .containertwohalf h3,
body.light-mode .nav-item a {
  color: black !important;
}

body.light-mode .about-1 p,
body.light-mode .about-item p {
  color: #333 !important;
}

body.light-mode .seem {
  color: black !important;
  font-weight: bold;
}*/

/* Invert buttons in light mode */
/*body.light-mode .containertwohalf button {
  border-color: black;
  color: black;
}

/* Darker arrows for light background */
/*body.light-mode .carousel-control-prev,
body.light-mode .carousel-control-next {
  background-color: rgba(0, 0, 0, 0.1);
}
body.light-mode .carousel-control-prev svg,
body.light-mode .carousel-control-next svg {
  fill: black !important;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
  .navbar-nav { flex-direction: column; }
  .nav-item a { padding: 10px; }
  .containertwo { padding: 0 40px; }
  .slider-item { min-width: 100%; width: 100%; }
  .about-item h3, .about-item p { text-align: center; }
  h1.mirado { font-size: 3rem; }
} 