/* ============================================================
   1. GLOBAL RESET & BASE STYLES
   ============================================================ */
:root {
  --gold: #ffc412;
  --black: #000000;
  --white: #ffffff;
  --dark-grey: #111;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--dark-grey);
  line-height: 1.7;
  min-height: 100vh;
  background-color: transparent !important;
  overflow-x: hidden;
}

/* FIXED SPLIT BACKGROUND */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50vh;
  background: url("images/444.webp") center/cover no-repeat;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url("images/65.webp") center/cover no-repeat;
  z-index: -3;
}

/* ============================================================
   2. LAYOUT & HEADER
   ============================================================ */
.u-header {
  background-color: transparent !important;
  min-height: 80px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
}

.featured {
  padding: 40px 15px;
  background-color: transparent !important;
  position: relative;
  z-index: 1;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  padding: clamp(20px, 5vw, 60px);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

h1,
h2 {
  font-family: 'Playfair Display', serif;
  color: #000;
  margin-bottom: 20px;
}

/* ============================================================
   3. PREMIUM BUTTON SYSTEM
   ============================================================ */
.ia-btn-1,
.cta-btn,
.cta-final {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 25px !important;
  min-width: 220px;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #111 !important;
  text-decoration: none;
  background: linear-gradient(135deg, #ffd76a 0%, #ffc412 40%, #e6a800 100%) !important;
  border: none !important;
  border-radius: 50px !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  position: relative;
  overflow: hidden;
}

.ia-btn-1::before,
.cta-btn::before,
.cta-final::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  transform: skewX(-30deg);
  transition: 0.6s;
}

.ia-btn-1:hover::before,
.cta-btn:hover::before,
.cta-final:hover::before {
  left: 150%;
}

.cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 40px 0;
}

@media (min-width: 768px) {
  .cta-wrapper {
    flex-direction: row;
    justify-content: center;
  }

  .ia-btn-1,
  .cta-btn {
    width: auto;
  }
}

/* ============================================================
   4. MODAL & CALCULATOR SYSTEM
   ============================================================ */
.booking-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: flex-start;
  /* Better for tall content on mobile */
  z-index: 10000;
  padding: 15px;
  overflow-y: auto;
}

.booking-content {
  background: var(--white);
  padding: 30px 20px;
  border-radius: 15px;
  max-width: 650px;
  width: 100%;
  position: relative;
  margin-top: 20px;
  color: var(--gold);
  border-top: 5px solid var(--gold);
}

.calc-content {
  background: var(--black);
  padding: 30px 20px;
  border-radius: 15px;
  max-width: 650px;
  width: 100%;
  position: relative;
  margin-top: 20px;
  color: var(--gold);
  border-top: 5px solid var(--gold);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 32px;
  cursor: pointer;
  color: var(--gold);
}

/* --- Modal Buttons --- */
.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.modal-btn {
  background: #111;
  color: #fff !important;
  padding: 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  display: block; /* Ensures they take up the container width */
  text-align: center;
}

.modal-btn:hover {
  background: #ffc412;
  color: #111 !important;
}

/* Input Styles */
.input-block label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.85rem;
}

.input-row {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.currency-container {
  position: relative;
  width: 100%;
}

#weeklySpend {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--gold);
  color: var(--white);
  padding: 15px 15px 15px 35px;
  border-radius: 8px;
  width: 100%;
  font-size: 1.2rem;
  font-weight: 800;
  box-sizing: border-box;
}

.currency-symbol {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-weight: 800;
}

input[type=range] {
  width: 100%;
  accent-color: var(--gold);
}

/* Results Area */
.results-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #333;
  color: var(--gold);
  padding: 20px;
  margin-top: 20px;
  border-radius: 12px;
}

.calc-visual {
  height: 250px;
  background: #080808;
  border-radius: 12px;
  margin-top: 20px;
  padding: 10px;
}

/* ============================================================
   6. GRID & SECTION 10
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.category-card {
  background: rgba(190, 190, 190, 0.6);
  /* Gray color with transparency */
  border: 1px solid #ffc412;
  /* Gold border */
  padding: 30px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}

@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .calc-visual {
    height: 400px;
  }

  .input-row {
    flex-direction: row;
  }
}

.u-section-10 .u-container-layout-1,
.u-section-10 .u-container-layout-2,
.u-section-10 .u-container-layout-3 {
  padding: 20px 10px;
}

/* Helpers */
.gold-text {
  color: var(--gold) !important;
  font-weight: 700;
}

.center {
  text-align: center;
}

.feature-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.feature-content {
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  border-top: 5px solid #ffc412;
  color: #052B48;
}

/* --- Carousel Image Sizing --- */
.carousel-track img {
  max-width: 100%;
  height: auto;
  max-height: 250px;        /* Limits the image size */
  border-radius: 10px;
  margin-bottom: 15px;
}

.carousel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.nav {
  background: none;
  border: none;
  color: #ffc412;
  font-size: 2rem;
  cursor: pointer;
}

/* Contact Us Section */
.u-section-10 {
   background-image: none;
 }

 .u-section-10 .u-layout-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.u-section-10 .u-container-layout {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.u-section-10 .u-icon-1, 
.u-section-10 .u-icon-2, 
.u-section-10 .u-icon-3 {
  width: 64px;
  height: 64px;
  margin: 0 auto;
}

.u-section-10 h4 {
  font-weight: 700;
  color: #ffffff;
  margin: 20px 0 10px;
}

.u-section-10 p {
  font-size: 1.125rem;
  color: #cccccc;
  margin-bottom: 25px;
}

.u-section-10 .ia-btn-1, 
.u-section-10 .ia-btn-2, 
.u-section-10 .ia-btn-3 {
  background: linear-gradient(135deg, #ffd76a 0%, #ffc412 40%, #e6a800 100%) !important;
  color: #111 !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  padding: 15px 35px !important;
  text-decoration: none;
  display: inline-flex !important;
  min-width: 180px;
  width: auto;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* --- STICKY HEADER SYSTEM --- */
.u-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: auto !important;
    min-height: 60px !important;
}

/* Ensure the rest of the page doesn't hide under the header */
body {
    padding-top: 80px !important; 
}

/* Force Logo and Menu into the same row */
.u-header .ia-sheet {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 5px 15px !important;
    min-height: 60px !important;
}

/* Reduce Logo Size */
.u-header .u-logo-image-1 {
    height: 75px !important; /* Smaller desktop height */
    width: auto !important;
}

.u-header .u-image-1 {
    margin: 0 !important;
    flex-shrink: 0;
}

/* Align Nav Menu to the right */
.u-nav-container, 
.u-menu {
    margin: 0 !important;
}

/* --- MOBILE SPECIFIC ADJUSTMENTS --- */
@media (max-width: 767px) {
    body {
        padding-top: 65px !important;
    }

    .u-header .ia-sheet {
        min-height: 55px !important;
    }

    .u-header .u-logo-image-1 {
        height: 55px !important; /* Even smaller for phones */
    }

    /* Prevent the hamburger menu from taking full width */
    .u-menu-hamburger {
        margin-right: 0 !important;
    }
    
    /* Ensure the mobile menu overlay appears below the sticky header */
    .u-menu-overlay {
        top: 55px !important;
    }
}

/* The background overlay */
.booking-modal {
    display: none; /* Controlled by JS */
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    
    /* THE FIX: Enable scrolling here instead of using flex centering */
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch;
    display: none; /* Default state */
}

/* The box containing the form */
.booking-content {
    background-color: #fff;
    margin: 5% auto; /* Centers horizontally and provides 5% gap at top/bottom */
    padding: 20px;
    width: 90%;
    max-width: 900px;
    border-radius: 8px;
    position: relative;
    
    /* Ensure it doesn't get cut off */
    min-height: min-content; 
}