/* Import Google Font (Poppins) with weights 200 and 400 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap');

/* =========================
   GLOBAL STYLES
========================= */
* {
  -webkit-tap-highlight-color: transparent;
}

body, html {
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* =========================
   GLOBAL CSS VARIABLES
========================= */
:root{
  --headerBgH: 210px;
  --logoOffsetY: 25px;
}

/* =========================
   HEADER (TRUE OVERLAY)
========================= */
.header-bg{
  width: 100%;
  height: var(--headerBgH);

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

  z-index: 9999;
  pointer-events: auto;
}

/* =========================
   HEADER BACKGROUND IMAGE
========================= */
.header-bg-img{
  width: 100%;
  height: var(--headerBgH);

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

  pointer-events: none;
  z-index: 1;
  user-select: none;
}

/* =========================
   HEADER INNER CONTENT
========================= */
.header-content{
  position: absolute;
  top: 10px;
  width: 100%;
  z-index: 10;

  pointer-events: auto;
}

/* =========================
   NAVIGATION (DESKTOP)
========================= */
.header-nav{
  background: #000;
  padding: 8px 24px;
  border-radius: 999px;

  font-family: "Poppins";

  display: flex;
  align-items: center;
  gap: 16px;

  list-style: none;
  margin: 0;

  white-space: nowrap;
  pointer-events: auto;

  position: relative;
  z-index: 20;
}

.header-nav li{
  pointer-events: auto;
}

.header-nav .nav-link{
  color: #fff;
  font-weight: 500;

  padding: 8px 14px;
  border-radius: 999px;

  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;

  pointer-events: auto;
  cursor: pointer;
}

.header-nav .nav-link:hover{
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}

.header-nav .nav-link.active{
  background: #5fd3c6;
  color: #000;
}

/* =========================
   DROPDOWN MENU STYLES
========================= */
.header-nav .nav-item{
  position: relative;
  list-style: none;
}

.header-nav .dropdown-toggle{
  cursor: pointer;
  pointer-events: auto;
}

.header-nav .dropdown-toggle::after{
  margin-left: 6px;
}

.header-nav .dropdown-menu{
  background: #000;
  border: 2px solid #5fd3c6;
  border-radius: 16px;
  padding: 8px;
  margin-top: 8px;
  min-width: 160px;
  z-index: 9999;
  pointer-events: auto;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
}

/* Show dropdown on hover */
.header-nav .nav-item.dropdown:hover .dropdown-menu{
  display: block;
}

.header-nav .dropdown-menu.show{
  display: block;
  pointer-events: auto;
}

.header-nav .dropdown-item{
  color: #fff;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 12px;
  transition: background .2s ease, color .2s ease;
  pointer-events: auto;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.header-nav .dropdown-item:hover{
  background: #5fd3c6;
  color: #000;
}

.header-nav .dropdown-item:focus{
  background: #5fd3c6;
  color: #000;
}

.header-nav .dropdown-item:active{
  background: #5fd3c6;
  color: #000;
}

/* =========================
   LOGO (DESKTOP CENTER)
========================= */
.logo-img{
  margin-top: 50px;
  max-height: 60px;
  pointer-events: auto;
}

.col-mid{
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(var(--logoOffsetY));
}

/* =========================
   CTA + SOCIAL ICONS (DESKTOP RIGHT)
========================= */
.plan-visit-img{
  height: 50px;
  cursor: pointer;

  transition: transform .25s ease;
  pointer-events: auto;
}

.plan-visit-img:hover{
  transform: translateY(-3px) scale(1.05);
}

.social-icon{
  width: 36px;
  height: 36px;

  border-radius: 50%;
  background: #fff;
  border: 2px solid #000;

  color: #000;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  transition: transform .25s ease;

  pointer-events: auto;
}

.social-icon:hover{
  transform: scale(1.15);
}

/* =========================
   MOBILE MENU BUTTON (HAMBURGER)
========================= */
.menu-btn{
  border: 0;
  width: 46px;
  height: 46px;

  border-radius: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #000000;
  background: #f2f4fe;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  pointer-events: auto;
  position: relative;
  z-index: 30;
}

/* =========================
   MOBILE LOGO (NEW)
========================= */
.mobile-logo-link{
  display: inline-flex;
  align-items: center;
  pointer-events: auto;
  text-decoration: none;
}

.mobile-logo-img{
  height: 42px;
  width: auto;
  object-fit: contain;
}

/* =========================
   RESPONSIVE HEADER TWEAKS
========================= */
@media (max-width: 768px){
  :root{
    --headerBgH: 80px;
    --logoOffsetY: 3px;
  }

  .header-content{
    top: 3px;
    padding: 0 10px;
    justify-content: space-between;
    align-items: center;
  }

  .logo-img{
    max-height: 30px;
  }

  .social-icon{
    width: 24px;
    height: 24px;
  }

  .plan-visit-img{
    height: 30px;
  }
  
  /* Much smaller menu items */
  .nav-menu {
    gap: 8px;
  }
  
  .nav-menu a {
    font-size: 11px;
    padding: 5px 10px;
    white-space: nowrap;
  }
  
  /* Make dropdowns smaller too */
  .dropdown-menu {
    font-size: 11px;
  }
  
  /* Make mobile logo slightly smaller if needed */
  .mobile-logo-img{
    height: 22px;
  }
}

/* =========================
   MOBILE OFFCANVAS DESIGN
========================= */
.mobile-offcanvas{
  color: #111;
  border-right: 0;
}

.mobile-offcanvas-body{
  position: relative;
  overflow: hidden;

  background: linear-gradient(180deg,
    rgba(245, 210, 255, 0.95) 0%,
    rgba(215, 225, 255, 0.92) 45%,
    rgba(255, 255, 255, 0.92) 100%
  );

  /* Push menu content down */
  padding-top: 50px !important;
}

.mobile-offcanvas-body::before{
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(0,0,0,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.06) 1px, transparent 1px);

  background-size: 34px 34px;
  opacity: .18;

  pointer-events: none;
}

.mobile-offcanvas-header{
  background: linear-gradient(90deg, #5fd3c6, #9b7bff, #ffe600);
  color: #000000;
}

/* =========================
   MOBILE OFFCANVAS TOP
========================= */
.mobile-offcanvas-top{
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 14px;

  padding: 12px 6px 14px;
  margin-bottom: 8px;
}

/* Plan Your Visit inside menu */
.mobile-plan-visit{
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;

  background: transparent;
  padding: 0;
  border-radius: 0;

  text-decoration: none;
}

.mobile-plan-visit img{
  height: 44px;
  width: auto;
  transition: transform .2s ease;
}

.mobile-plan-visit:hover img{
  transform: translateY(-2px) scale(1.03);
}

/* Social row inside offcanvas */
.mobile-offcanvas-socials{
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.mobile-offcanvas-social{
  width: 40px;
  height: 40px;

  border-radius: 50%;
  background: #fff;
  border: 2px solid #000;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #000;
  text-decoration: none;

  transition: transform .2s ease;
}

.mobile-offcanvas-social:hover{
  transform: translateY(-3px) scale(1.08);
}

.mobile-offcanvas-social i{
  pointer-events: none;
}

/* =========================
   MOBILE NAV LAYOUT
========================= */
.mobile-nav{
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  gap: 12px;

  padding: 8px 4px;
}

.mobile-link{
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .5px;

  color: #0b0b0b;

  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.08);

  border-radius: 16px;
  padding: 14px 14px;

  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  pointer-events: auto;
}

.mobile-link:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.85);
  box-shadow: 0 14px 26px rgba(0,0,0,.12);
}

.mobile-link.active{
  background: rgba(0,0,0,.86);
  color: #fff;
  border-color: rgba(0,0,0,.86);
}

.mobile-divider{
  height: 1px;
  background: rgba(0,0,0,.15);
  margin: 10px 4px;
}

.mobile-section-title{
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 4px 6px 2px;
  color: rgba(0,0,0,.75);
}

/* =========================
   EXTRA: SMALL MOBILE FIX
========================= */
@media (max-width: 360px){
  .mobile-offcanvas-top{
    flex-direction: column;
    align-items: center;
  }

  .mobile-offcanvas-socials{
    justify-content: center;
  }
}


/* ============================= */
@media (min-width: 375px) and (max-width: 428px) {
  :root {
    --headerBgH: 110px;
    --logoOffsetY: 8px;
  }

  .header-content {
    top: 8px;
  }

  .logo-img {
    max-height: 42px;
  }

  .social-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .plan-visit-img {
    height: 38px;
  }

  .mobile-logo-img {
    height: 23px;
  }

  .menu-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .mobile-offcanvas-body {
    padding-top: 45px !important;
  }

  .mobile-offcanvas-top {
    padding: 10px 5px 12px;
    margin-bottom: 6px;
  }

  .mobile-plan-visit img {
    height: 40px;
  }

  .mobile-offcanvas-social {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .mobile-nav {
    gap: 10px;
    padding: 6px 3px;
  }

  .mobile-link {
    padding: 12px 12px;
    border-radius: 14px;
    font-size: 15px;
  }

  .mobile-section-title {
    font-size: 11px;
    margin: 3px 5px 1px;
  }

  .mobile-divider {
    margin: 8px 3px;
  }
}

/* iPhone 12 Pro Max, 13 Pro Max, 14 Plus (428px) */
@media (min-width: 426px) and (max-width: 428px) {
  .logo-img {
    max-height: 44px;
  }

  .mobile-logo-img {
    height: 24px;
  }

  .mobile-link {
    font-size: 16px;
  }
}
