/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #000000, #1b1719);
  color: #fff;
  margin: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.6;
}

/* Header */
.site-header {
  text-align: center;
  margin-bottom: 40px;
  width: 100%;
}

.tiff-logo {
  display: block;
  margin: 0 auto 15px;
  width: 200px;
  height: auto;
}

/* Title with star icons */
.title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.title-row h1 {
  font-weight: 600;
  margin: 0;
  color: #fff;
  font-size: 1.8rem;
}

.star-icon {
  width: 32px;
  height: auto;
}

.intro-text {
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  font-size: 1.1rem;
  color: #ccc;
}

/* Card styles */
:root {
  --card-bg: #111;
  --card-max-w: 980px;
  --gap: 20px;
  --radius: 22px;
  --border-thickness: 8px;
}

.review-cards-container {
  display: flex;
  flex-direction: column;
  gap: 30px; /* Added padding between cards */
  width: 100%;
  max-width: var(--card-max-w);
  align-items: center;
  margin-bottom: 40px;
}

.review-card {
  width: 80%;
  max-width: var(--card-max-w);
  background: #121212;
  padding: 44px 48px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 16px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}

.review-card:hover {
  transform: translateY(-5px);
}

/* Gold border effect for specific cards */
.review-card.gold-border {
  border: 2px solid transparent;
  background: linear-gradient(#121212, #121212) padding-box,
              linear-gradient(45deg, #ffd700, #ffed4e, #ffd700, #daa520, #ffd700) border-box;
  background-size: 300% 300%;
  animation: gold-shine 3s ease infinite;
  position: relative;
  overflow: hidden;
}

.review-card.gold-border::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background-size: 300% 300%;
  animation: gold-shine 3s ease infinite;
  z-index: -1;
  border-radius: var(--radius);
  filter: blur(5px);
  opacity: 0.7;
}

@keyframes gold-shine {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.poster {
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster img {
  width: 100%;
  max-width: 240px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.3);
  transition: transform 0.3s ease;
}

.poster img:hover {
  transform: scale(1.05);
}

.review-content {
  flex: 1;
}

.review-content .title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.review-content h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.3s ease;
}


.review-content a {
  text-decoration: none;
  color: inherit;
}

.meta {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 4px;
}

.rating {
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.1rem;
}

.review-text {
  line-height: 1.6;
  font-size: 0.98rem;
  margin-top: 16px;
}

.review-text p {
  margin-bottom: 12px;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: #fff;
  color: #000;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.btn:hover {
  transform: translateY(-2px);
  
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* Responsive */
@media (max-width: 900px) {
  .review-card {
    width: 90%;
    padding: 30px;
  }
}

@media (max-width: 700px) {
  body {
    margin: 10px;
  }
  
  .review-card {
    flex-direction: column;
    padding: 20px;
    width: 95%;
  }
  
  .poster {
    flex: none;
    margin-bottom: 20px;
  }
  
  .poster img {
    max-width: 200px;
  }
  
  .title-row h1 {
    font-size: 1.5rem;
  }
  
  .cta-row {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .title-row h1 {
    font-size: 1.3rem;
  }
  
  .star-icon {
    width: 24px;
  }
  
  .tiff-logo {
    width: 150px;
  }
  
  .review-content .title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .rating {
    align-self: flex-start;
  }

}
.noteBoxes { border: 1px solid; border-radius: 5px; padding: 10px; margin: 10px 0; width: 600px; }.type2 { border-color: #ffd700;
   background-color:
     rgba(0, 0, 0, 0.1); ; 
  background-color: #2220201a; } .picture { width: 15px; padding-right: 10px; } .type1 { border-color: #ffffff;
    background-color:
      rgba(0, 0, 0, 0.1); ; 
   background-color: #2220201a; }
  
  
  .picture {

    vertical-align: middle;
    width: 35px;
    height: 25px; }

 .score-text { padding: 5px;
  font-size: 30px;
  font-weight: 200;
}
/* ---------- IMAGE GALLERY ---------- */

.image-gallery {
  width: 100%;
  text-align: center;
  margin: 60px 0;
}

.gallery-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 200;
  font-size: 1.8rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.gallery-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 10px 30px;
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

.gallery-scroll::-webkit-scrollbar {
  height: 8px;
}

.gallery-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

.gallery-item {
  flex-shrink: 0;
  width: 300px;
  scroll-snap-align: center;
  text-align: center;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.gallery-item-overlay {
	position: absolute;
	top: -85px;
	left: -70px;
	transform: scale(0.5) !important;
	box-shadow: none !important;
}
.gallery-item-overlay2 {
	position: absolute;
	top: -85px;
	left: 70px;
	transform: scale(.2) !important;
	box-shadow: none !important;
}
.gallery-item-overlay3 {
	position: absolute;
	top: -55px;
	left: 90px;
	transform: scale(.3) !important;
	box-shadow: none !important;
}

.caption {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #444;
  margin-top: 8px;
}

/* ---------- LIGHTBOX (Fullscreen Mode) ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox.active {
  display: flex;
}

.lightbox-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  width: 100%;
  height: 100%;
  scrollbar-width: none;
}

.lightbox-scroll::-webkit-scrollbar {
  display: none;
}

.lightbox-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  text-align: center;
}

.lightbox-slide img {
  max-width: 85vw;
  max-height: 75vh;
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.lightbox-caption {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #eee;
  margin-top: 15px;
  letter-spacing: 0.5px;
}


.close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  font-family: Arial, sans-serif;
  transition: 0.3s ease;
  z-index: 1100;
}

.close:hover {
  transform: scale(1.1);
  color: #ccc;
}

/* Lightbox Navigation Buttons */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 15px 20px;
  cursor: pointer;
  z-index: 1001;
  transition: background-color 0.3s;
  border-radius: 4px;
}

.lightbox-nav:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Hide buttons when not needed */
.lightbox-nav[style*="display: none"] {
  display: none !important;
}
