@font-face {
  font-family: 'Gotham';
  src: url('_assets/fonts/Gotham.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

body, html {
	  margin: 0;
	  padding: 0;
	  background-color: #504128;
	  font-family: sans-serif;
	  scroll-behavior: smooth;
	  overflow-x: hidden;
	  overflow-y: auto;
	  background-color: #000000;
	}

section, div {
  margin: 0;
  padding: 0;
}

#mid-section {
	  padding-top: 0;
	  margin-top: 0;
	  position: relative;
	  display: flex;
	  flex-direction: row;
	  width: 100%;
	  
	  z-index: 1;
	  overflow: hidden; 
	}

#mid-left {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center the content */
  align-items: center;     /* Horizontally center, optional */
  padding: 40px;           /* Optional for breathing room */
  box-sizing: border-box;
  height: 100%;
}

#ship #mid-section {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: auto; /* Let height be dynamic */
  background-color: #000000;
}

#mid-left, #mid-right {
  flex: 1 1 50%; /* Equal width, grow/shrink responsively */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  box-sizing: border-box;
}

#mid-left {
  flex-direction: column;
  background-color: #000;
  color: #fff;
  text-align: center;
}

#mid-left p {
  margin: 0 0 1em 0;
}

#mid-right {
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 60px; /* Push video down slightly */
  box-sizing: border-box;
  height: 100%;
}

#mid-right video {
  width: 90%;
  height: auto;
  display: block;
}

#mid-left span {
  color: #ffffff !important;
  font-size: clamp(32px, 5vw, 64px);
}

#mid-right video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

video {
	  width: 100%;
	  height: auto;
	  display: block;
	  object-fit: cover;
	}

.fade-in-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  text-shadow: 0 3px 27px rgba(0, 0, 0, 0.6);
  opacity: 0;
  animation: fadeIn 3s ease-in-out forwards;
  z-index: 3;
  white-space: nowrap;
}

.fade-in-text .line {
  font-family: 'Fira Sans', 'Open Sans', sans-serif;
  color: #ffffff;
  white-space: nowrap;
}

.fade-in-text .large {
  font-size: clamp(48px, 10vw, 134px);
  line-height: 1.1;
}

.fade-in-text .small {
  font-size: clamp(24px, 3vw, 54px);
  font-weight: 700;
  margin-top: 1rem;
}

.fade-in-text .bold {
  font-weight: 800;
}

.fade-in-text .normal {
  font-weight: 700;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.video-container {
  position: relative;
  width: 100%;
  display: inline-block;
}

.logo-shade-container {
  position: absolute;
  top: -15px;
  left: -85px;
  width: 525px;
  height: auto;
  z-index: 2;
	display: inline-block;
  /* display: flex; */
  justify-content: center;
  align-items: center;
}

.logo-shade-container .bg {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 525px;
  height: auto;
  opacity: 0.5;
  z-index: 1;
}

.logo-shade-container .logo {
  position: relative;
  width: 325px;
  height: auto;
  z-index: 2;
}

.logo-container {
  position: absolute;
  top: -110px;
  left: 60px;
  width: 225px;
  height: auto;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-container .bg {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 225px;
  height: auto;
  opacity: 0.5;
  z-index: 1;
}

.logo-container .logo {
  position: relative;
  width: 325px;
  height: auto;
  z-index: 2;
}

.book-now {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(253, 246, 234, 0.9);
  padding: 20.8px 52px; 
  border-radius: 999px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  text-transform: uppercase;
  border: 2px solid black;
  font-size: 2.4rem; 
  z-index: 2;
}

.book-now:hover {
  background-color: #a62828;
  color: white;
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

#top-section {
	  position: relative;
	  width: 100%;
	  /* width: 100vw; */
	  /* height: 100vh; */
	  overflow: hidden;
	  z-index: 2;
	}

#table {
  position: relative;
  width: 100%;
  /* max-height: 100%; /* 1160px; */ */
  overflow: hidden;
  /* display: flex; */
}

#table img {
  width: 100%;
  max-height: 100%; 
  height: auto;
  display: block;
  object-fit: contain;
}

#handle {
  position: relative;
  width: 100%;        
  height: auto;
  max-height: 100%;
  overflow: hidden;   
  display: flex;
}

#handle img {
  width: 100%;      
  max-height: 100%;
  height: auto;     
  display: block;
  object-fit: contain;
}

#message {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 100% ;
  overflow: hidden;
  display:flex;
}

#message img {
  width: 100%; 
  height: auto;
  display: block;
  object-fit: cover;
}

#gms {
  position: relative;
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  display: flex;
}

#gms img {
  width: 100%;  
  max-height: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  margin: auto;
}

#excursions {
  position: relative;
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  background-image: url('../_assets/Media/bran_logo.png'); /* Replace with actual image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#excursions img {
  position: relative;
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  display: flex;
}

#excursions::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* dark overlay for readability */
    z-index: 0;
}
#excursions * {
    position: relative;
    z-index: 1;
}

#excursions h2 {
    font-size: 5vw;  /* scales with viewport width */
}

#excursions p {
    font-size: 2vw;
}

#excursions strong {
    font-size: 2.5vw;
}

#ship {
  width: 100%;
  max-height: 2941px;
  overflow: visible;
}

#ship img {
  width: 1708px;
  height: auto;
  display: block;
  object-fit: cover;
}

#ship2 {
  position: relative;
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  display: flex;
}

#ship2 img {
  position: relative;
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  display: flex;
}

#legends {
  position: relative;
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#legends img {
  width: 100%; 
  max-height: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  align-items: center;
}

#explore {
  position: relative;
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

#explore img {
  width: 100%;   
  max-height: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

#final {
  position: relative;
  width: 100%;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

#final img {
  width: 100%;    
  max-height: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

#booking-details {
  position: relative;
  z-index: 1;
}

#booking-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

#booking-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 100%;
  object-fit: contain;
}

.price-btn {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 20px 50px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  text-transform: uppercase;
  /* border: 2px solid black; */
  font-size: clamp(10px, 1.8vw, 20px);
  z-index: 10;
  white-space: nowrap;
}

#pricing-wrapper .price-btn {
  position: absolute;
  color: white;
  background: rgba(0,0,0,0.6);
  padding: 10px;
  border-radius: 8px;
  font-size: 1rem;
  pointer-events: auto;
}

@media (max-width: 768px) {
  #mid-section {
    flex-direction: column;
  }

  #mid-left, #mid-right {
    width: 100%;
    padding: 20px;
  }

#mid-left h2 {
    font-size: 5vw;  /* scales with viewport width */
}

#mid-left p {
    font-size: 2vw;
}

#mid-left strong {
    font-size: 2.5vw;
}


  .book-now {
    font-size: 18px !important;
    padding: 12px 24px !important;
    transform: translateX(-50%) !important;
  }

  .price-btn {
    position: static !important;
    transform: none !important;
    display: block;
    margin: 10px auto;
    font-size: 16px !important;
    padding: 10px 20px !important;
  }


  img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  #mid-left span {
    font-size: clamp(18px, 6vw, 28px) !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }

  #mid-left p {
    font-size: clamp(14px, 4vw, 20px) !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }

  .logo-shade-container,
  .logo-container {
    position: absolute !important;
    top: 0px !important;
    left: 0px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    padding: 0 !important;
    z-index: 5 !important;
  }

  .logo-shade-container .bg,
  .logo-container .logo {
    width: 80px !important;
    max-width: 80px !important;
    height: auto !important;
    object-fit: contain !important;
  }

  #fade-section .large {
    font-size: clamp(20px, 6vw, 36px) !important;
  }

  #fade-section .small {
    font-size: clamp(14px, 4vw, 20px) !important;
  }

  .fade-in-text {
    top: 25% !important;
    left: 50% !important;
    transform: translate(-50%, -25%) !important;
    white-space: normal !important;
    padding: 0 10px;
  }
}


@media (max-width: 768px) {
  .logo-shade-container,
  .logo-container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    z-index: 10 !important;
  }

  .logo-shade-container .bg,
  .logo-container .logo {
    width: 60px !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
  }

  .video-container {
    position: relative !important;
  }
}


@media (max-width: 768px) {
  .logo-shade-container,
  .logo-container {
    top: 5px !important;
    left: 5px !important;
  }

  .logo-shade-container .bg,
  .logo-container .logo {
    width: 50px !important;
  }

  .fade-in-text {
    top: 30% !important;
    transform: translate(-50%, -30%) !important;
  }
}

.book-btn {
  position: absolute;
  transform: translate(-50%, -50%);
  background: rgba(253, 246, 234, 0.9);
  padding: 2% 5%;
  border-radius: 999px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  text-transform: uppercase;
  border: 2px solid black;
  font-size: clamp(14px, 1.8vw, 24px);
  z-index: 10;
  white-space: nowrap;
}

.book-btn:hover {
  background-color: #a62828;
  color: white;
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .book-btn {
    font-size: 10px !important;
    padding: 4px 10px !important;
    transform: translate(-50%, -50%) !important;
    position: absolute !important;
    white-space: nowrap !important;
  }
}


@media (max-width: 768px) {
  img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
    object-fit: contain !important;
  }

  #table img,
  #handle img,
  #message img,
  #gms img,
  #ship img,
  #legends img,
  #explore img,
  #final img,
  #booking-wrapper img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
}

  .price-btn {
    font-size: 12px !important;
    padding: 6px 14px !important;
    position: static !important;
    transform: none !important;
    margin: 8px auto !important;
    display: block !important;
    text-align: center !important;
  }

  #booking-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    /* gap: 8px;
    padding: 10px; */
  }
}

@media (max-width: 768px) {
  .book-now {
    bottom: 2% !important;
    z-index: 6 !important;
  }
}


@media (max-width: 768px) {
  .fade-in-text {
    top: calc(30% - 15px) !important;
    transform: translate(-50%, -30%) !important;
  }
}


@media (max-width: 768px) {
  #mid-section {
    flex-direction: column !important;
    padding: 0 10px !important;
  }

  #mid-left, #mid-right {
    width: 100% !important;
    padding: 10px !important;
    box-sizing: border-box !important;
  }

  #mid-left span {
    font-size: clamp(20px, 6vw, 32px) !important;
    line-height: 1.3 !important;
    text-align: center !important;
    display: block !important;
  }

  #mid-left p {
    font-size: clamp(14px, 4vw, 18px) !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }

  #mid-right video {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
}


@media (max-width: 768px) {
  #mid-right {
    justify-content: center !important;
    align-items: center !important;
    padding-top: 20px !important;
    text-align: center !important;
  }

  #mid-right .video-container {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  #mid-right video {
    margin: 0 auto !important;
    display: block !important;
  }
}


@media (max-width: 768px) {
  #booking-wrapper {
    position: relative !important;
  }
}

.footer-wrap.gas {
  background-image: linear-gradient(to bottom, #000, #000);
  text-align: center;
}

.text-block-11 {
  color: #ccc;
  text-align: center;
  max-width: 100%;
  margin-bottom: 20px;
  padding-top: 10px;
  font-size: 80%;
  font-style: italic;
  text-decoration: none;
}

.link {
  color: var(--dim-grey);
  text-align: center;
  min-width: 50%;
  padding-top: 10px;
  font-size: 80%;
}

.link:hover {
  filter: brightness(130%);
}