body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: white;
}
header {
  background-color: #82ab87;
  height: 10%;
  display: flex;
  float: center;
  text-align: center;
  padding-left: 10px;
}
ul li a {
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}
ul li a:hover {
  background-color: white;
}
ul li {
  float: right;
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #FFFAF0;
  color: black;
}
.navbar {
  display: flex;                
  justify-content: space-between;
  align-items: center;           
  background-color: #333;
  padding: 15px 40px;
  color: black;
}

.menu {
  display: flex;     
  list-style: none;
  gap: 20px;         
  margin: 0;
}

.menu li {
  cursor: pointer;
}

.menu li:hover {
  color: #00c3ff;
}
.box {
  padding: 40px;
  background: steelblue;
  color: black;
}
.container img {
  width: 400px;
  height: 400px;
}


@media (max-width: 900px) {
  img {
    grid-template-columns: 1fr 1fr;
  }
}


@media (max-width: 600px) {
  img {
    grid-template-columns: 1fr;
  }

  header {
    flex-direction: column;
    align-items: center;
  }

  ul li {
    float: none;
    text-align: center;
  }

  footer {
    text-align: center;
  }
}
h1 {
  text-align: center;
  float: center;
}
h2 {
  float: center;
  text-align: center;
}
footer {
  background-color: #82ab87;
  height: 20%;
  display: flex;
  text-align: center;
  float: center;
  margin: 0;
  padding: 10;
  margin-top: auto;
}
@media (max-width: 768px) {
  img, {
    grid-template-columns: 1fr;  
  }
}
img {
  width: 200px;
  height: 100px;
  float: center;
}
/* SECTION */
.explore-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

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

.section-header h2 {
  font-size: 2rem;
}

.section-header p {
  color: gray;
}

/* CONTROLS */
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 40px;
}

#searchInput {
  padding: 10px 15px;
  width: 260px;
  border-radius: 25px;
  border: 1px solid #ccc;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 15px;
  border-radius: 20px;
  border: none;
  background: #eee;
  cursor: pointer;
  transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: #0077ff;
  color: white;
}

#sortSelect {
  padding: 8px 12px;
  border-radius: 8px;
}

#darkModeToggle {
  padding: 8px 15px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card h3 {
  margin-top: 0;
}

.card a {
  text-decoration: none;
  color: #0077ff;
  font-weight: bold;
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff4757;
  color: white;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.75rem;
}


body.dark-mode {
  background: #121212;
  color: white;
}

body.dark-mode .card {
  background: #1e1e1e;
}

body.dark-mode .filter-btn {
  background: #333;
  color: white;
}

body.dark-mode .filter-btn.active {
  background: #0077ff;
}

.fotorama__caption {
    position: absolute !important; 
    bottom: 0;
    left: 0;
    width: 40%;
    float: center; 
    margin: 0 auto;                 
    box-sizing: border-box;
    padding: 20px 20px;           
    background: rgba(0, 0, 0, 0.3); 
    color: #fff;
    font-size: 24px;
    text-align: center;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}


.fotorama__nav__frame {
    border-radius: 5px;
    overflow: hidden;
}
.fotorama {
  width: 70%;
  float: center;
  margin: 0 auto;
}








