/* Professional Green Color Palette */
:root {
  --bottle-green-primary: #093624;
  --bottle-green-dark: #051d13;
  --bottle-green-medium: #0f4b2e;
  --bottle-green-light: #226248;
  --bottle-green-accent: #35785d;
  --sage-green: #68a58d;
  --mint-green: #87bba7;
  --light-sage: #abd2c2;
  --very-light-green: #d3e8e0;
}

/*───────────────────────────────────────────────────────────────────────────────
    1. GLOBAL HOVER/TRANSITION FOR BACK-TO-TOP BUTTON
───────────────────────────────────────────────────────────────────────────────*/
.back-to-top {
  transition: opacity 0.3s ease, transform 0.4s ease;
  box-shadow: 0 4px 15px rgba(9, 54, 36, 0.3);
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  font-size: 18px;
  cursor: pointer;
  z-index: 1000;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(9, 54, 36, 0.4);
}

/*───────────────────────────────────────────────────────────────────────────────
    2. LANDING SECTION (HERO)
───────────────────────────────────────────────────────────────────────────────*/

.text-overlay {
  position: absolute;
  top: 50%; /* center vertically */
  left: 50%; /* center horizontally */
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  z-index: 10;
  background: linear-gradient(
    135deg,
    rgba(9, 54, 36, 0.6),
    rgba(53, 120, 93, 0.5)
  );
  backdrop-filter: blur(5px);
  padding: 20px 30px;
  border-radius: 15px;
  border: 2px solid rgba(171, 210, 194, 0.2);
  box-shadow: 0 4px 20px rgba(9, 54, 36, 0.4);
}

/* Root landing-section */
.landing {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: linear-gradient(
    145deg,
    #f8f9fa 0%,
    rgba(211, 232, 224, 0.1) 50%,
    #f8f9fa 100%
  );
  color: var(--bottle-green-primary);
  border-bottom: 1px solid var(--light-sage);
}

/* Banner */
.landing__banner {
  position: relative;
  height: 45vh;
  overflow: hidden;
  margin-top: 56px;
}
.landing__banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
/* Centered, full-width banner title */
.landing__banner-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(
    135deg,
    var(--bottle-green-primary),
    var(--bottle-green-accent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==== Two-column text + video ==== */
.landing__content {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 60vh;
  padding: 1rem;
  gap: 1rem;
  border-radius: 0.5rem;
}
.landing__card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95),
    rgba(211, 232, 224, 0.1)
  );
  border: 2px solid rgba(104, 165, 141, 0.1);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(9, 54, 36, 0.1);
}
.landing__video-wrapper {
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(9, 54, 36, 0.2);
}
.landing__video-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Video thumbnail overlay styles */
.video-thumbnail-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(9, 54, 36, 0.2);
}

.video-thumbnail-overlay:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(9, 54, 36, 0.3);
}

.video-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-thumbnail-overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(9, 54, 36, 0.6),
    rgba(53, 120, 93, 0.4)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.play-button {
  font-size: 4rem;
  color: white;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
  text-shadow: 2px 2px 8px rgba(9, 54, 36, 0.7);
}

.video-thumbnail-overlay:hover .play-button {
  transform: scale(1.1);
}

.video-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(9, 54, 36, 0.8);
  line-height: 1.3;
}
.landing__card p {
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--bottle-green-primary);
}

/*───────────────────────────────────────────────────────────────────────────────
   SCROLL-DOWN INDICATOR
───────────────────────────────────────────────────────────────────────────────*/

.scroll-down {
  position: absolute;
  bottom: 320px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 20;
}

.scroll-down .chevron {
  display: block;
  font-size: 2rem;
  color: var(--very-light-green);
  animation: scroll-bounce 2s infinite;
  background-color: var(--bs-primary);
  box-shadow: rgba(0, 0, 0, 0.7) 0 3px 10px;
  border-radius: 40%;
  padding: 0.25rem;
  padding-left: 15px;
  padding-right: 15px;


}
  
  @keyframes scroll-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40%                  { transform: translateY(8px) translateX(-50%); }
    60%                  { transform: translateY(4px) translateX(-50%); }
  }  

/*───────────────────────────────────────────────────────────────────────────────
    2.5. MID SECTION ENHANCEMENTS
───────────────────────────────────────────────────────────────────────────────*/
#about-section {
  background: linear-gradient(
    145deg,
    #ffffff 0%,
    rgba(211, 232, 224, 0.1) 50%,
    #ffffff 100%
  ) !important;
}

/* Enhanced section title */
h2.text-center {
  background: linear-gradient(
    135deg,
    var(--bottle-green-primary) 50%,
    var(--bottle-green-medium) 80%,
    var(--bottle-green-primary) 80%
  ) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/*───────────────────────────────────────────────────────────────────────────────
    3. "CHOOSE YOUR VIEW" CARDS WITH ENHANCED STYLING
───────────────────────────────────────────────────────────────────────────────*/
#choose-view {
  scroll-margin-top: 3rem;
  background: linear-gradient(
    135deg,
    var(--bottle-green-dark) 80%,
    var(--bottle-green-primary) 30%,
    var(--bottle-green-primary) 30%,
    var(--bottle-green-medium) 30%,
    var(--bottle-green-primary) 30%
  ) !important;
  box-shadow: 0 20px 60px rgba(5, 29, 19, 0.6) !important;
  position: relative;
  overflow: hidden;
  margin: 0 !important;
  padding: 80px 0 0 0 !important;
}

/* Add decorative elements */
#choose-view::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
      circle at 30% 70%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(255, 255, 255, 0.02) 0%,
      transparent 50%
    );
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

#choose-view::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-10px, -10px) rotate(1deg);
  }
}

/* Enhanced section title */
#choose-view h1 {
  font-size: 3.5rem;
  font-weight: 500;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.6);
  margin-bottom: 3rem;
  position: relative;
}

#choose-view h1::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  border-radius: 2px;
}

.view-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1),
    rgba(171, 210, 194, 0.05)
  ) !important;
  border: 3px solid rgba(171, 210, 194, 0.3) !important;
  box-shadow: 0 10px 30px rgba(9, 54, 36, 0.2) !important;
  backdrop-filter: blur(5px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  position: relative;
  overflow: hidden;
  border-radius: 20px !important;
}

.view-card:hover {
  transform: translateY(-20px) scale(0.85) !important;
  border-color: var(--light-sage) !important;
  box-shadow: 0 30px 60px rgba(9, 54, 36, 0.4),
    0 0 40px rgba(135, 187, 167, 0.3) !important;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.15),
    rgba(171, 210, 194, 0.1)
  ) !important;
}

/* Specific override for the By Components card to reduce zoom on hover */
.view-card.byComp-card:hover {
  transform: translateY(-20px) scale(1.05) !important;
  border-color: var(--light-sage) !important;
  box-shadow: 0 30px 60px rgba(9, 54, 36, 0.4), 0 0 40px rgba(135, 187, 167, 0.3) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(171, 210, 194, 0.1)) !important;
}

.view-card img {
  width: 100%;
  height: auto;
  display: block;
}
/* 3D Exhibition image */
.view-card .card-img-top {
  height: 450px;
  object-fit: cover;
}

/*───────────────────────────────────────────────────────────────────────────────
   Static "By Components" card image + overlaid thumbs
───────────────────────────────────────────────────────────────────────────────*/

/* stack context for image+thumbs */
.view-card .image-stack {
  position: relative;
  width: 100%;
  height: 320px; /* match your other cards' image height */
  overflow: hidden;
}

/* the big image */
.view-card .main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* thumbnail strip, overlaid - ENHANCED */
.view-card .static-thumbs {
  position: absolute;
  bottom: 8px; /* how far up from the bottom edge */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  padding: 0.25rem;
  background: linear-gradient(
    135deg,
    rgba(9, 54, 36, 0.8),
    rgba(53, 120, 93, 0.7)
  );
  border: 1px solid rgba(171, 210, 194, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 8px;
}

/* each little thumb */
.view-card .static-thumbs .thumb {
  width: 60px;
  height: 45px; /* keeps same aspect ratio block */
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}
.view-card .static-thumbs .thumb:hover {
  opacity: 0.9;
  transform: scale(1.1);
}

/*───────────────────────────────────────────────────────────────────────────────
    4. FOOTER ENHANCEMENT
───────────────────────────────────────────────────────────────────────────────*/
#footer {
  border-top: 3px solid var(--bottle-green-accent);
  color: var(--light-sage);
  background: transparent !important;

  margin-bottom: 0 !important;
}
#footer p {
  margin-bottom: 0;
  font-weight: 500;
}
#footer ul li a {
  color: #ffffff;
  transition: color 0.2s;
}
#footer ul li a:hover {
  color: var(--bottle-green-accent);
}

/*───────────────────────────────────────────────────────────────────────────────
    5. FADE-IN ANIMATIONS
───────────────────────────────────────────────────────────────────────────────*/
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

#footer ul li a {
  color: var(--bottle-green-primary);
  transition: color 0.2s;
}

#footer ul li a:hover {
  color: var(--bottle-green-accent);
}

/*───────────────────────────────────────────────────────────────────────────────
    6. FADE-IN ANIMATIONS
───────────────────────────────────────────────────────────────────────────────*/
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/*───────────────────────────────────────────────────────────────────────────────
    7. RESPONSIVE DESIGN IMPROVEMENTS
───────────────────────────────────────────────────────────────────────────────*/
@media (max-width: 768px) {
  #choose-view h1 {
    font-size: 2.5rem;
  }

  .view-card:hover {
    transform: translateY(-15px) scale(1.02) !important;
  }

  .view-card .card-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  #choose-view {
    padding: 60px 0 80px 0 !important;
  }

  #choose-view h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
}

/*───────────────────────────────────────────────────────────────────────────────
    8. CONSENT BANNER STYLING
───────────────────────────────────────────────────────────────────────────────*/
.cc-banner {
  position: fixed;
  width: 90%;
  bottom: 3%;
  left: 5%;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.893);
  border: 2px solid #abd2c24d;
  color: #0f3c2e;
  font-size: 0.95rem;
  padding: 16px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cc-banner p {
  margin: 0;
  font-size: 14px;
  flex: 1;
  padding-right: 10px;
}
.close-btn {
  font-size: 25px;
  color: black;
  background: none;
  border: none;
  padding: 0px;
  margin: 0;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
}

.cc-modal {
  display: none;                 
  position: fixed; 
  inset: 0;     
  background: rgba(0,0,0,0.6);   
  justify-content: center;
  align-items: center;
  z-index: 1500;
}

.cc-modal.show{
  display: flex;
}

.modal-content {
  background: #fff;
  color: #111;
  padding: 1.5rem;
  max-width: 560px;
  width: 90%;
  position: relative;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  max-height: 80vh;     
  overflow-y: auto;
  scroll-behavior: smooth;
}

 .cc-close {
  color: #093624;
    position: absolute;
    top: 0.25rem;
    right: 0.35rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
  }
  
  /* =========================
   MOBILE TOPBAR (NO LOGO)
========================= */

/* Desktop default */
.mobile-topbar {
  display: none;
}

/* PHONE VIEW ONLY */
@media (max-width: 768px) {

  /* show the navbar UNDER the mobile topbar (do NOT hide it) */
  .nav.container-fluid.fixed-top {
    display: block !important;
    position: fixed;
    top: 56px; /* sits under mobile topbar */
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.12);
  }

  /* make navbar text visible on white */
  .nav .nav-link,
  .nav .navbar-brand,
  .nav .dropdown-item {
    color: #111!important;
  }

  /* optional spacing */
  .nav .navbar {
    padding: 8px 0;
  }

  /* show white mobile bar */
  .mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    height: 56px;
    padding: 0 12px;

    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    z-index: 10000;
  }

  body {
    padding-top: 56px;
  }

  /* left: title only */
  .mobile-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-title {
    color: #111;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
  }

  /* hamburger */
  .mobile-menu-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #111;
    line-height: 1;
  }

  /* language buttons */
  .mobile-lang {
    display: flex;
    gap: 6px;
  }

  .mobile-lang-btn {
    border: 1px solid rgba(0,0,0,0.2);
    background: #fff;
    color: #111;
    padding: 4px 8px;
    border-radius: 18px;
    font-size: 13px;
  }

  .mobile-lang-btn.active {
    font-weight: 700;
  }

  /* hide logo completely for now */
  .mobile-logo {
    display: none !important;
  }
}

/* keep consent modal above everything */
.cc-modal {
  z-index: 20000;
}