/* ====== General Page Style ====== */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: azure;
}

/* ====== Navbar ====== */
.navbar {
  background-color: #333;
  overflow: hidden;
}

.navbar a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 12px 18px;
  text-decoration: none;
  font-size: 17px;
}

.navbar a:hover {
  background-color: #555;
  color: #fff;
}

/* ====== Logo (top-right corner) ====== */
.logo {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;   /* smaller size */
  height: auto;
}

/* ====== Page Title ====== */
h1 {
  text-align: center;
  background-color: bisque;
  color: #333;
  font-size: 28px;
  margin: 40px 0 20px 0;
  padding: 10px 0;
}

/* ====== Slideshow Container ====== */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide slides by default */
.mySlides {
  display: none;
}

/* Slide caption text */
.text {
  color: #000;
  font-size: 18px;
  padding: 8px 12px;
  text-align: center;
}

/* Slide number text */
.numbertext {
  color: #000;
  font-size: 13px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* ====== Slideshow Buttons (next & prev) ====== */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Next button positioning and border radius */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Button hover effect */
.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

/* ====== Slide Indicator Dots ====== */
.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 3px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

/* Active dot and hover effect */
.active, .dot:hover {
  background-color: #717171;
}

/* ====== Footer ====== */
footer {
  background-color: #e9e9e9;
  padding: 20px;
  text-align: center;
  color: #333;
}

footer article {
  max-width: 600px;
  margin: 0 auto;
}

footer a {
  text-decoration: none;
  margin: 0 10px;
}

/* Social icons size and hover scale effect */
footer i {
  font-size: 24px;
  transition: transform 0.2s;
}

footer i:hover {
  transform: scale(1.2);
}

/* ====== Image Overlay Container ====== */
.container {
  position: relative;
  width: 50%;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

/* Overlay layer hidden initially */
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}

/* Show overlay on hover */
.container:hover .overlay {
  opacity: 1;
}

/* Text inside overlay centered */
.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

/* ====== Trophy Gallery Grid ====== */
.trophy-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
  justify-items: center;
}

/* ====== Card Styles ====== */
.card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  padding: 10px;
  font-size: 16px;
  color: #333;
}

/* Card hover effect */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ====== Popup Background ====== */
.popup {
  display: none;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

/* Popup image style */
.popup img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

/* ====== Fade In Animation ====== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.gallery-right{

  position: absolute;

  top: 0;

  right: 0;

  width: 160px;           /* bigger width for larger photos */

}
/* Fixture back section with gallery below */
.fixture-back {
 position: relative;
 padding-right: 0;
 min-height: auto;
 text-align: left;
}
/* Gallery under each match */
.gallery-right {
 display: flex;
 justify-content: center;
 align-items: center;
 gap: 15px;
 flex-wrap: wrap;
 margin-top: 20px;
}
/* Gallery images */
.gallery-right img {
 width: 300px;            /* size of each image */
 height: 180px;           /* rectangular shape */
 object-fit: cover;
 border-radius: 12px;
 box-shadow: 0 3px 8px rgba(0,0,0,0.2);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Hover effect */
.gallery-right img:hover {
 transform: scale(1.03);
 box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
/* Make gallery responsive on smaller screens */
@media (max-width: 800px) {
 .gallery-right img {
   width: 90%;
   height: auto;
 }
}
