/* ================= GLOBAL RESPONSIVE RESET ================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  max-width: 100%;
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* ================= BODY ================= */

body {
  margin: 0;
  padding: clamp(15px, 4vw, 50px);
  background-color: black;
  color: white;
  font-family: Arial, sans-serif;
  text-align: center;
  overflow-x: hidden;
  opacity: 0;
  animation: fadeIn 1s ease-in forwards;
}

html {
  scroll-behavior: smooth;
}

/* ================= HEADINGS ================= */

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: bold;
  transform: translateY(-20px);
  opacity: 0;
  animation: slideDown 1s ease-out forwards;
}

.intro-section h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  opacity: 0;
  animation: fadeIn 1.2s ease-in forwards;
}

/* ================= TEXT ================= */

p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: gray;
  max-width: 800px;
  margin: 20px auto;
  opacity: 0;
  animation: fadeIn 1.5s ease-in forwards;
}

/* ================= IMAGES ================= */

.intro-image,
.about-image,
.universal-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 30px auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.universal-image:hover {
  transform: scale(1.02);
}

/* ================= BUTTONS ================= */

.button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
  opacity: 0;
  animation: fadeIn 2s ease-in forwards;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.btn {
  min-width: 140px;
  max-width: 100%;
  padding: 12px 22px;
  background-color: #3b82f6;
  color: white;
  text-decoration: none;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: bold;
  border-radius: 50px;
  transition: background 0.3s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  background-color: #2563eb;
}

.btn:active {
  transform: scale(0.95);
}

/* ================= BUTTON GROUP (Rates Page) ================= */

.button-group {
  max-width: 900px;
  margin: 0 auto;
}

.button-group .button-row {
  flex-wrap: wrap;
}

.button-group .btn {
  min-width: 140px;
  max-width: 220px;
}

/* ================= ABOUT SECTION ================= */

.about-section {
  max-width: 900px;
  margin: 100px auto 0;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
  display: none;
}

body.about-visible .about-section {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ================= VIDEO ================= */

.video-wrapper {
  width: 100%;
  max-width: min(900px, 100%);
  aspect-ratio: 16 / 9;
  margin: 40px auto;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: black;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  display: block;
  transition: opacity 0.5s ease, transform 0.3s ease;
  position: relative;
}

.video-thumb:hover {
  transform: scale(1.02);
}

.video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.video-player:focus-visible {
  outline: none;
  box-shadow: none;
}

/* ================= TABLES ================= */

.rates-table {
  width: 100%;
  max-width: min(600px, 100%);
  margin: 25px auto;
  border-collapse: collapse;
  background-color: #111;
  border-radius: 10px;
  overflow-x: auto;
}


.rates-table th,
.rates-table td {
  padding: 14px 20px;
  text-align: left;
}

.rates-table th {
  background-color: #222;
  color: white;
  font-size: 1.05rem;
}

.rates-table td {
  border-top: 1px solid #333;
  color: #ccc;
  font-size: 1rem;
}

/* ================= SECTION TITLES ================= */

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 10px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background-color: white;
  margin: 12px auto 0;
  opacity: 0.85;
}

/* ================= HAMBURGER MENU ================= */

.menu-toggle {
  position: fixed;
  top: 30px;
  left: 30px;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  margin-bottom: 5px;
  border-radius: 2px;
}

/* ================= SIDE MENU ================= */

.side-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  padding-top: 100px;
  transition: left 0.3s ease;
  z-index: 1000;
}

.side-menu.open {
  left: 0;
}

.side-menu ul,
.side-menu li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu li {
  margin: 25px 0;
}

.side-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
  display: inline-block;
  position: relative;
  padding: 6px 0;
  margin-left: 40px;
}

.side-menu a:hover {
  color: #3b82f6;
}

/* underline animation */

.side-menu a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 1px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.side-menu a.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* ================= FOOTER ================= */

.site-footer {
  text-align: center;
  font-size: 0.9rem;
  color: gray;
  margin-top: 80px;
  padding: 20px 10px;
  border-top: 1px solid #333;
}

/* ================= MOBILE ================= */

@media (max-width: 700px) {

  body {
    padding: 20px 15px;
  }

  .button-container {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 260px;
  }

  .side-menu {
    width: 210px;
  }

  .rates-table {
    font-size: 0.9rem;
  }
}

/* ================= TABLET ================= */

@media (min-width: 701px) and (max-width: 900px) {

  body {
    padding: 35px 25px;
  }

  p {
    max-width: 90%;
  }

  .universal-image {
    max-width: 90%;
  }
}

/* ================= ANIMATIONS ================= */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
