/* ================================
   ROOT VARIABLES
================================ */
:root {
  --primary-bg: #1d223f;
  --accent-color: #ebbe85;
  --highlight-color: #42917e;
  --text-light: #ffffff;
  --text-gold: #d6b691;
  --link-color: #0A2C56;
  --border-accent: #C7A77A;
  --bg-image: 'old key west.jpg';
	
/*zen modal popup*/
            --bg: #0f1724;
            --card: #0b1220;
            --accent: #7dd3fc;
            --muted: #94a3b8;
            --good: #86efac;
            --warn: #facc15;
            --bad: #fb7185;
            --glass: rgba(15, 23, 42, 0.75); 
}

/* ================================
   BASE RESET
================================ */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', sans-serif;
  background: var(--primary-bg);
}

.disney-word {
  font-family: 'Walt Disney Script', cursive;
  font-size: 2rem;
  color: var(--text-gold);
  font-weight: normal;
}

/* ================================
   TOP BAR
================================ */
.top-bar {
  background-color: var(--primary-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  position: fixed;
  height: 40px;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.top-left {
  color: var(--text-gold);
  font-size: 1.25rem;
  font-weight: bold;
  font-family: 'Cormorant Garamond', serif;
}
.top-left a {
  color: var(--text-gold);
  text-decoration: none;
}

.top-right {
  color: var(--text-light);
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  height: 100%;
  font-family: 'Montserrat', sans-serif;
}

.top-gear {
  display: inline-flex;
  align-items: center;
  margin-left: 16px;
  padding-left: 12px;
  color: var(--text-light);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.top-gear:hover {
  opacity: 0.8;
  transform: rotate(20deg);
}
.top-gear .icon {
  width: 24px;
  height: 24px;
}

/* ================================
   MAIN BODY
================================ */

.main-body {
  flex-grow: 1;
  background-color: var(--text-light);
  padding: 40px 20px;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center !important;
  background-repeat: no-repeat;

  margin-top: 60px;
  margin-bottom: 70px;

  overflow-y: auto;
}

.main-content {
  padding-top: 70px;
  padding-bottom: 70px;
  overflow-y: auto;
}

/* ================================
   BOTTOM BAR
================================ */
.bottom-bar {
  background-color: var(--accent-color);
  height: 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,0.04) 0, rgba(0,0,0,0.04) 1px, transparent 1px, transparent 4px);
  flex-shrink: 0;
  border-bottom: 10px solid var(--primary-bg);

  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  text-align: center;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.4);
}

.bottom-bar a.service {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--link-color);
  text-decoration: none;
  font-weight: bold;
  font-family: 'Lato', sans-serif;
}

.bottom-bar a.service:hover {
  opacity: 0.8;
  cursor: pointer;
}

.bottom-bar .icon {
  width: 32px;
  height: 32px;
}

.bottom-bar .label {
  font-family: 'Lato', sans-serif;
}

.activePage {
  /*text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);*/
  text-decoration: underline;
}

/* ================================
   RESPONSIVE: TOP BAR
================================ */
@media (max-width: 768px) {
  .main-body {
	margin-top: 40px !important;
	margin-bottom: 80px !important;
   }
  .top-bar {
    height: auto;
    padding: 8px 16px;
    align-items: center;
  }

  .top-left {
    font-size: 1rem;
    text-align: left;
  }

  .disney-word {
    font-size: 1.4rem;
  }

  .top-right {
    margin-left: 10px;
  }

  .top-gear .icon {
    width: 20px;
    height: 20px;
  }
}

/* ================================
   RESPONSIVE: BOTTOM BAR
================================ */
@media (max-width: 768px) {
  .bottom-bar {
    height: 70px;
    padding: 0 4px;
  }

  .bottom-bar a.service {
    flex-direction: column;
    gap: 4px;
    font-size: 0.65rem;
  }

  .bottom-bar a.service .icon {
    width: 24px;
    height: 24px;
  }

  .activePage {
    padding: 3px 6px;
  }
}

@media (max-width: 450px) {
  .bottom-bar a.service {
    font-size: 0.6rem;
  }

  .top-left {
    font-size: 0.9rem;
  }

  .disney-word {
    font-size: 1.2rem;
  }
}


/* --- UNIVERSAL ZEN POPUP STYLES --- */

/* 1. The Backdrop Overlay */
#zenModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 26, 0.85); /* Deep dark blue tint */
    backdrop-filter: blur(10px);        /* Softens the background page */
    -webkit-backdrop-filter: blur(10px);
    z-index: 200000;                    /* Above everything, including headers */
    display: none;                      /* Hidden until called by JS */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* 2. The Glass Box */
.zen-modal {
    max-width: 400px;
    width: 100%;
    background: var(--glass);           /* Uses your theme glass color */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid var(--accent);    /* Uses your light blue accent (#7dd3fc) */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    text-align: center;
    animation: zenFadeUp 0.4s ease-out;
}

/* 3. Text Styling */
.zen-modal h3 {
    margin-top: 0;
    color: var(--accent);               /* Header matches theme accent */
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.zen-modal p {
    color: #e2e8f0;                     /* Soft white text */
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* 4. Button Container */
.modal-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* 5. Animation */
@keyframes zenFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}