/* =====================================================
   VISIONTEK PACKAGES
   PREMIUM DARK DESIGN
===================================================== */

:root {
  --green: #7ed321;
  --green-bright: #9cff2f;
  --green-dark: #315f0f;

  --black: #020403;
  --dark: #050805;
  --dark-2: #0a0e09;
  --dark-3: #101610;

  --white: #f4f7f2;
  --muted: #9ba59a;

  --border: rgba(126, 211, 33, 0.18);

  --radius: 24px;
}


/* =====================================================
   PAGE
===================================================== */

.packages-page {
  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(92, 180, 20, 0.10),
      transparent 35%
    ),
    var(--black);

  color: var(--white);
}


/* =====================================================
   HEADER ACTIVE STATE
===================================================== */

.packages-page #main-nav a {
  position: relative;
}

.packages-page #main-nav a.active {
  color: var(--green);
}

.packages-page #main-nav a.active::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -17px;

  height: 2px;

  background: var(--green);

  box-shadow:
    0 0 12px rgba(126, 211, 33, 0.8);
}


/* =====================================================
   HERO
===================================================== */

.packages-hero {
  min-height: 760px;

  position: relative;

  display: flex;
  align-items: center;

  overflow: hidden;

  background: #020402;
}


.hero-image {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(2, 4, 2, 0.98) 0%,
      rgba(2, 4, 2, 0.86) 38%,
      rgba(2, 4, 2, 0.40) 72%,
      rgba(2, 4, 2, 0.90) 100%
    ),
    url("assets/packages-hero.jpg");

  background-size: cover;

  background-position: center;

  opacity: 0.8;
}


.hero-overlay {
  position: absolute;

  inset: 0;

  background:
    radial-gradient(
      circle at 78% 50%,
      rgba(126, 211, 33, 0.20),
      transparent 25%
    );
}


.packages-hero-content {
  position: relative;

  z-index: 3;

  width: min(650px, 90%);

  margin-left: 8%;

  padding-top: 50px;
}


.section-tag {
  display: flex;

  align-items: center;

  gap: 12px;

  color: var(--green);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 2px;

  text-transform: uppercase;
}


.section-tag span {
  width: 28px;

  height: 1px;

  background: var(--green);

  display: inline-block;
}


.packages-hero h1 {
  margin: 28px 0 22px;

  font-family: "Syne", sans-serif;

  font-size: clamp(58px, 7vw, 105px);

  line-height: 0.95;

  letter-spacing: -5px;
}


.packages-hero h1 em {
  display: block;

  color: var(--green);

  font-style: normal;

  text-shadow:
    0 0 35px rgba(126, 211, 33, 0.22);
}


.packages-hero-content > p {
  max-width: 620px;

  color: #adb6ad;

  font-size: 16px;

  line-height: 1.8;
}


.hero-actions {
  display: flex;

  gap: 12px;

  margin-top: 35px;
}


/* =====================================================
   FLOATING STATS
===================================================== */

.hero-floating-stats {
  position: absolute;

  right: 8%;

  bottom: 70px;

  z-index: 4;

  display: flex;

  gap: 1px;

  background: rgba(126, 211, 33, 0.16);

  border: 1px solid rgba(126, 211, 33, 0.16);

  backdrop-filter: blur(18px);

  border-radius: 18px;

  overflow: hidden;
}


.hero-floating-stats div {
  min-width: 120px;

  padding: 20px;

  background: rgba(3, 7, 3, 0.76);

  display: flex;

  flex-direction: column;

  gap: 5px;
}


.hero-floating-stats strong {
  font-family: "Syne", sans-serif;

  color: var(--green);

  font-size: 22px;
}


.hero-floating-stats span {
  color: #8f998f;

  font-size: 10px;

  line-height: 1.4;
}


/* =====================================================
   INTRO
===================================================== */

.package-intro {
  max-width: 850px;

  margin: auto;

  padding: 130px 25px 80px;

  text-align: center;
}


.package-intro .section-tag {
  justify-content: center;
}


.package-intro h2 {
  margin: 25px 0;

  font-family: "Syne", sans-serif;

  font-size: clamp(38px, 5vw, 70px);

  line-height: 1;

  letter-spacing: -3px;
}


.package-intro h2 em {
  color: var(--green);

  font-style: normal;
}


.package-intro p {
  color: var(--muted);

  line-height: 1.8;

  max-width: 680px;

  margin: auto;
}


/* =====================================================
   FILTERS
===================================================== */

.package-filter-section {
  display: flex;

  justify-content: center;

  padding: 10px 20px 70px;
}


.package-filters {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 8px;

  padding: 7px;

  background: rgba(255,255,255,0.025);

  border: 1px solid rgba(255,255,255,0.07);

  border-radius: 100px;
}


.filter-btn {
  border: 0;

  background: transparent;

  color: #8f998f;

  padding: 12px 20px;

  border-radius: 100px;

  font-family: "Manrope", sans-serif;

  font-size: 12px;

  font-weight: 700;

  cursor: pointer;

  transition: 0.3s;
}


.filter-btn:hover,
.filter-btn.active {
  background: var(--green);

  color: #071006;

  box-shadow:
    0 0 25px rgba(126, 211, 33, 0.20);
}


/* =====================================================
   PACKAGE GRID
===================================================== */

.packages-section {
  width: min(1450px, 92%);

  margin: auto;

  padding-bottom: 140px;
}


.packages-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 25px;
}


/* =====================================================
   PACKAGE CARD
===================================================== */

.package-card {
  position: relative;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.055),
      rgba(255,255,255,0.015)
    );

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: var(--radius);

  overflow: hidden;

  transition:
    transform 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease;

  opacity: 0;

  transform: translateY(30px);
}


.package-card.visible {
  opacity: 1;

  transform: translateY(0);
}


.package-card:hover {
  transform: translateY(-10px);

  border-color:
    rgba(126, 211, 33, 0.40);

  box-shadow:
    0 25px 70px rgba(0,0,0,0.45),
    0 0 35px rgba(126,211,33,0.07);
}


/* GOLD FEATURE */

.gold-card {
  border-color:
    rgba(126,211,33,0.32);
}


.gold-card::before {
  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(126,211,33,0.12),
      transparent 40%
    );
}


/* =====================================================
   PACKAGE IMAGE
===================================================== */

.package-image {
  height: 310px;

  position: relative;

  background-size: cover;

  background-position: center;

  overflow: hidden;
}


.package-image::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(2,4,2,0.92),
      transparent 65%
    );
}


/*
  Replace these images with your actual
  package images inside assets/packages/
*/

.basic-image {
  background-image:
    url("assets/packages/basic.jpg");
}


.silver-image {
  background-image:
    url("assets/packages/silver.jpg");
}


.gold-image {
  background-image:
    url("assets/packages/gold.jpg");
}


.platinum-image {
  background-image:
    url("assets/packages/platinum.jpg");
}


.cinema-image {
  background-image:
    url("assets/packages/cinema.jpg");
}


/* =====================================================
   BADGES
===================================================== */

.package-badge {
  position: absolute;

  top: 20px;

  left: 20px;

  z-index: 3;

  padding: 8px 13px;

  border-radius: 100px;

  background: rgba(4,8,4,0.72);

  border: 1px solid rgba(126,211,33,0.35);

  color: var(--green);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 1.5px;

  backdrop-filter: blur(10px);
}


.image-number {
  position: absolute;

  right: 20px;

  top: 20px;

  z-index: 3;

  color: rgba(255,255,255,0.45);

  font-family: "Syne", sans-serif;

  font-size: 13px;
}


/* =====================================================
   PACKAGE CONTENT
===================================================== */

.package-content {
  padding: 32px;
}


.package-top {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  align-items: flex-start;
}


.package-label {
  display: block;

  color: var(--green);

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 1.7px;

  margin-bottom: 8px;
}


.package-top h3 {
  margin: 0;

  font-family: "Syne", sans-serif;

  font-size: 27px;

  color: #f2f5f0;
}


.package-price {
  color: white;

  font-size: 16px;

  font-weight: 800;

  white-space: nowrap;
}


.package-description {
  color: #899389;

  font-size: 13px;

  line-height: 1.7;

  margin: 15px 0 25px;
}


.package-feature-title {
  color: #687168;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 1.7px;

  margin-bottom: 12px;
}


.package-features {
  margin: 0;

  padding: 0;

  list-style: none;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 9px;
}


.package-features li {
  position: relative;

  padding-left: 17px;

  color: #b1bab0;

  font-size: 11px;

  line-height: 1.5;
}


.package-features li::before {
  content: "";

  position: absolute;

  left: 0;

  top: 7px;

  width: 5px;

  height: 5px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 8px rgba(126,211,33,0.55);
}


/* =====================================================
   PACKAGE FOOTER
===================================================== */

.package-footer {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-top: 28px;

  padding-top: 18px;

  border-top:
    1px solid rgba(255,255,255,0.07);
}


.package-footer > span {
  color: #697269;

  font-size: 10px;
}


.package-expand {
  background: none;

  border: 0;

  color: var(--green);

  font-size: 11px;

  font-weight: 800;

  cursor: pointer;
}


/* =====================================================
   EXPAND CARD
===================================================== */

.package-card:not(.expanded)
.package-features li:nth-child(n+7) {
  display: none;
}


.package-card.expanded
.package-features li {
  display: list-item;
}


/* =====================================================
   EXPERIENCE SECTION
===================================================== */

.experience-section {
  min-height: 650px;

  position: relative;

  display: grid;

  grid-template-columns:
    1fr 1fr;

  overflow: hidden;

  background: #030603;
}


.experience-image {
  min-height: 600px;

  background:
    linear-gradient(
      90deg,
      rgba(3,6,3,0.15),
      rgba(3,6,3,0.95)
    ),
    url("assets/packages/smart-home.jpg");

  background-size: cover;

  background-position: center;

  opacity: 0;

  transform: scale(1.05);

  transition:
    opacity 1s ease,
    transform 1.2s ease;
}


.experience-image.visible {
  opacity: 1;

  transform: scale(1);
}


.experience-content {
  padding: 100px 10%;

  display: flex;

  flex-direction: column;

  justify-content: center;

  opacity: 0;

  transform: translateY(30px);

  transition: 0.8s ease;
}


.experience-content.visible {
  opacity: 1;

  transform: translateY(0);
}


.experience-content h2 {
  margin: 25px 0;

  font-family: "Syne", sans-serif;

  font-size: clamp(40px, 5vw, 68px);

  line-height: 1;

  letter-spacing: -3px;
}


.experience-content h2 em {
  display: block;

  color: var(--green);

  font-style: normal;
}


.experience-content > p {
  max-width: 500px;

  color: #8e988e;

  line-height: 1.8;
}


.experience-points {
  margin-top: 35px;

  display: flex;

  flex-direction: column;

  gap: 18px;
}


.experience-points > div {
  display: flex;

  gap: 18px;

  align-items: center;
}


.experience-points strong {
  color: var(--green);

  font-size: 11px;
}


.experience-points span {
  display: flex;

  flex-direction: column;

  gap: 4px;
}


.experience-points b {
  font-size: 13px;
}


.experience-points small {
  color: #697269;

  font-size: 10px;
}


/* =====================================================
   CTA
===================================================== */

.packages-cta {
  position: relative;

  padding: 150px 25px;

  text-align: center;

  overflow: hidden;

  background:
    radial-gradient(
      circle at center,
      rgba(126,211,33,0.12),
      transparent 45%
    );

  opacity: 0;

  transform: translateY(30px);

  transition: 0.8s ease;
}


.packages-cta.visible {
  opacity: 1;

  transform: translateY(0);
}


.cta-content {
  position: relative;

  z-index: 2;

  max-width: 750px;

  margin: auto;
}


.cta-content .section-tag {
  justify-content: center;
}


.cta-content h2 {
  margin: 25px 0;

  font-family: "Syne", sans-serif;

  font-size: clamp(45px, 6vw, 80px);

  line-height: 1;

  letter-spacing: -4px;
}


.cta-content h2 em {
  color: var(--green);

  font-style: normal;
}


.cta-content p {
  max-width: 600px;

  margin: auto;

  color: #899389;

  line-height: 1.8;
}


.cta-buttons {
  margin-top: 35px;

  display: flex;

  justify-content: center;

  gap: 12px;
}


/* =====================================================
   FOOTER
===================================================== */

.packages-page footer {
  background: #010201;

  border-top:
    1px solid rgba(255,255,255,0.06);
}


/* =====================================================
   WHATSAPP
===================================================== */

.packages-page .whatsapp {
  position: fixed;

  right: 25px;

  bottom: 25px;

  width: 55px;

  height: 55px;

  display: grid;

  place-items: center;

  background: #25d366;

  border-radius: 50%;

  z-index: 100;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.4);

  transition: 0.3s;
}


.packages-page .whatsapp:hover {
  transform: translateY(-5px) scale(1.05);
}


.packages-page .whatsapp img {
  width: 28px;

  height: 28px;

  object-fit: contain;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 1000px) {

  .packages-hero {
    min-height: 700px;
  }

  .packages-hero-content {
    margin-left: 6%;
  }

  .hero-floating-stats {
    right: 6%;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }

  .experience-section {
    grid-template-columns: 1fr;
  }

  .experience-image {
    min-height: 420px;
  }

}


/* =====================================================
   MOBILE SMALL
===================================================== */

@media (max-width: 700px) {

  .packages-hero {
    min-height: 760px;
  }

  .packages-hero-content {
    width: 88%;

    margin: auto;

    padding-top: 60px;
  }

  .packages-hero h1 {
    font-size: 58px;

    letter-spacing: -3px;
  }

  .hero-actions {
    flex-direction: column;

    align-items: flex-start;
  }

  .hero-floating-stats {
    left: 6%;

    right: 6%;

    bottom: 30px;

    justify-content: center;
  }

  .hero-floating-stats div {
    min-width: 0;

    flex: 1;

    padding: 15px 10px;
  }

  .package-intro {
    padding-top: 90px;
  }

  .package-filters {
    border-radius: 20px;
  }

  .filter-btn {
    padding: 10px 12px;
  }

  .package-image {
    height: 240px;
  }

  .package-content {
    padding: 25px;
  }

  .package-top {
    flex-direction: column;
  }

  .package-price {
    font-size: 18px;
  }

  .package-features {
    grid-template-columns: 1fr;
  }

  .experience-content {
    padding: 70px 25px;
  }

  .experience-content h2 {
    font-size: 48px;
  }

  .cta-buttons {
    flex-direction: column;

    align-items: stretch;

    max-width: 350px;

    margin-left: auto;

    margin-right: auto;
  }

}

/* Force hamburger visibility and styling on small screens for this page */
@media (max-width: 720px) {
  .packages-page .site-header .menu-toggle {
    display: block !important;
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 9999 !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    background: rgba(0,0,0,0.28) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    color: #fff !important;
    font-size: 28px !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35) !important;
  }
  /* ensure logo doesn't overlap the button */
  .packages-page .visiontek-lockup {
    margin-right: 60px !important;
  }
}

/* Ensure header container allows absolutely positioned hamburger */
.packages-page .site-header {
  position: relative;
  overflow: visible;
}

/* Extra safeguard: show menu-toggle on all sizes for testing (will be limited by media above) */
.packages-page .menu-toggle {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}