:root {
  --primary: #ff5a1f;
  --secondary: #111;
  --glass: rgba(255,255,255,0.05);
  --max-width: 1400px;
}

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

body {
  font-family: 'Arial Black', sans-serif;
  background: var(--secondary);
  color: #fff;
  overflow-x: hidden;
}

/* HERO */
.hero {
  height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(to bottom, #000, #111);
  position: relative;
}

#logoText {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: 8px;
  background: linear-gradient(90deg, #fff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  margin-top: 20px;
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: 3px;
  opacity: 0.85;
}

/* GALLERY CARDS */
.gallery {
  max-width: var(--max-width);
  margin: 100px auto;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 0 20px;
}

.card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 35px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-10px) rotateX(3deg);
  box-shadow: 0 0 40px rgba(255,90,31,0.3);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.card p {
  opacity: 0.75;
}

/* HORIZONTAL SCROLL GALLERY */
.gallery-scroll {
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(15px);
  padding: 20px;
  border-radius: 20px;
  overflow-x: hidden;
}

.scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-top: 15px;
  scroll-behavior: smooth;
}

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

.scroll-container::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.scroll-container img {
  height: 180px;
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.3s;
}

.scroll-container img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255,90,31,0.5);
}

/* MODAL / LIGHTBOX */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 15px;
  box-shadow: 0 0 40px rgba(255,90,31,0.5);
  transition: 0.3s;
}

.modal-content:hover {
  transform: scale(1.02);
}

.close {
  position: absolute;
  top: 30px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

#caption {
  text-align: center;
  color: #fff;
  padding-top: 10px;
  font-size: 1rem;
  opacity: 0.8;
}

/* MODAL NAVIGATION BUTTONS */
.modal-nav {
  position: absolute;
  width: 100%;
  top: 50%;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  pointer-events: none;
}

.modal-nav button {
  pointer-events: all;
  background: rgba(255,90,31,0.7);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px 20px;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.modal-nav button:hover {
  background: rgba(255,90,31,1);
}

/* FOOTER */
footer {
  margin-top: 100px;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

footer img {
  width: 120px;
  margin-bottom: 15px;
}

footer p {
  font-size: 0.9rem;
  opacity: 0.7;
}

footer a {
  color: var(--primary);
  text-decoration: none;
  margin: 0 5px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  #logoText {
    font-size: clamp(2.5rem, 12vw, 5rem);
    letter-spacing: 4px;
  }

  .subtitle {
    font-size: clamp(0.9rem, 3vw, 1.3rem);
  }

  .modal-content {
    max-width: 95%;
    max-height: 70%;
  }
}
