/*
Theme Name: Ellis Preserve Hotels
Theme URI: https://ellispreservehotels.com
Author: Gulph Creek Hotels
Author URI: https://gulphcreekhotels.com
Description: A custom WordPress theme for Ellis Preserve Hotels at Newtown Square — managed by Gulph Creek Hotels. Features two hotel properties (Hilton Garden Inn & AC Hotel Marriott), event calendar, dining guide, things to do, auto-generated blog, AI chatbot concierge, and embedded Hilton/Marriott booking widgets. Fully editable via WordPress Customizer and ACF fields. Supports images, video, PDFs, and Matterport embeds.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ellis-preserve
Tags: hotel, hospitality, custom-header, custom-menu, featured-images, theme-options, translation-ready
Requires at least: 6.0
Requires PHP: 8.0
*/

/* ============================================
   TABLE OF CONTENTS
   ============================================
   1. CSS Variables / Design Tokens
   2. Reset & Base
   3. Typography
   4. Layout Utilities
   5. Navigation
   6. Hero Section
   7. About / Intro Strip
   8. Hotels Section
   9. Booking Widgets
   10. Dining Guide
   11. Things To Do
   12. Gallery
   13. Events Calendar
   14. Weddings & Meetings
   15. Neighborhood
   16. Testimonials
   17. Blog / Journal
   18. Newsletter
   19. Footer
   20. AI Chatbot
   21. Media Embeds (Video, PDF, Matterport)
   22. WordPress Core Overrides
   23. Responsive
   ============================================ */

/* ===========================================
   1. CSS VARIABLES / DESIGN TOKENS
   =========================================== 
   
   EDITING NOTE: Change these variables to update 
   the entire site's color scheme and typography.
   These can also be overridden via the WordPress 
   Customizer > Theme Colors panel.
*/
:root {
  /* Primary Palette */
  --ep-stone: #2C2A26;
  --ep-cream: #F5F0E8;
  --ep-warm: #E8DFD0;
  --ep-white: #FFFDF9;
  --ep-midnight: #1E1D1A;
  --ep-charcoal: #3A3630;

  /* Accent Colors */
  --ep-sage: #7A8B6F;
  --ep-sage-light: #A3B396;
  --ep-sage-dark: #5a6e4f;
  --ep-terracotta: #C4835A;
  --ep-terracotta-light: #D9A882;
  --ep-terracotta-dark: #A06B45;
  --ep-gold: #B8963E;
  --ep-gold-light: #D4B86A;

  /* Functional */
  --ep-shadow: rgba(44, 42, 38, 0.1);
  --ep-shadow-lg: rgba(44, 42, 38, 0.15);
  --ep-glass: rgba(245, 240, 232, 0.92);
  --ep-glass-dark: rgba(44, 42, 38, 0.88);
  --ep-overlay: rgba(30, 29, 26, 0.5);

  /* Typography */
  --ep-font-display: 'Playfair Display', Georgia, serif;
  --ep-font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --ep-font-accent: 'Cormorant Garamond', Georgia, serif;

  /* Spacing */
  --ep-section-pad: 7rem 3rem;
  --ep-section-pad-mobile: 3.5rem 1.2rem;
  --ep-container-max: 1280px;

  /* Border Radius */
  --ep-radius: 4px;
  --ep-radius-lg: 8px;
  --ep-radius-xl: 16px;

  /* Transitions */
  --ep-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ep-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================================
   2. RESET & BASE
   =========================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ep-font-body);
  color: var(--ep-stone);
  background-color: var(--ep-cream);
  overflow-x: hidden;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--ep-transition);
}

::selection {
  background: var(--ep-sage-light);
  color: var(--ep-white);
}

::-webkit-scrollbar { width: 6px }
::-webkit-scrollbar-track { background: var(--ep-cream) }
::-webkit-scrollbar-thumb { background: var(--ep-sage); border-radius: 3px }

/* ===========================================
   3. TYPOGRAPHY
   =========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ep-font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ep-stone);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.8rem) }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem) }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem) }
h4 { font-size: 1.1rem }

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
}

p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(44, 42, 38, 0.6);
}

.ep-eyebrow {
  font-family: var(--ep-font-accent);
  font-size: 0.88rem;
  color: var(--ep-sage);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.ep-accent-text {
  font-family: var(--ep-font-accent);
  font-style: italic;
}

/* ===========================================
   4. LAYOUT UTILITIES
   =========================================== */
.ep-container {
  max-width: var(--ep-container-max);
  margin: 0 auto;
  padding: 0 3rem;
}

.ep-section {
  padding: var(--ep-section-pad);
}

.ep-section-header {
  margin-bottom: 3.5rem;
}

.ep-section-desc {
  font-size: 0.95rem;
  color: rgba(44, 42, 38, 0.5);
  max-width: 560px;
  line-height: 1.75;
  font-weight: 300;
}

/* Section Variants */
.ep-bg-white { background: var(--ep-white) }
.ep-bg-cream { background: var(--ep-cream) }
.ep-bg-warm { background: var(--ep-warm) }
.ep-bg-dark { background: var(--ep-stone); color: var(--ep-cream) }
.ep-bg-midnight { background: var(--ep-midnight); color: var(--ep-cream) }

.ep-bg-dark .ep-eyebrow { color: var(--ep-gold-light) }
.ep-bg-dark h2, .ep-bg-dark h3 { color: var(--ep-cream) }
.ep-bg-dark h2 em, .ep-bg-dark h3 em { color: var(--ep-gold-light) }
.ep-bg-dark p, .ep-bg-dark .ep-section-desc { color: rgba(245, 240, 232, 0.45) }

/* Reveal Animations */
.ep-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ep-ease), transform 0.8s var(--ep-ease);
}
.ep-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.ep-reveal-delay-1 { transition-delay: 0.15s }
.ep-reveal-delay-2 { transition-delay: 0.3s }

/* Buttons */
.ep-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  font-family: var(--ep-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--ep-transition);
  border-radius: var(--ep-radius);
  line-height: 1;
}
.ep-btn-primary {
  background: var(--ep-terracotta);
  color: var(--ep-white);
}
.ep-btn-primary:hover {
  background: var(--ep-terracotta-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 131, 90, 0.25);
}
.ep-btn-outline {
  background: transparent;
  color: var(--ep-cream);
  border: 1px solid rgba(245, 240, 232, 0.2);
}
.ep-btn-outline:hover {
  border-color: var(--ep-gold-light);
  color: var(--ep-gold-light);
  transform: translateY(-2px);
}
.ep-btn-dark {
  background: var(--ep-stone);
  color: var(--ep-cream);
}
.ep-btn-dark:hover {
  background: var(--ep-charcoal);
  transform: translateY(-2px);
}

/* ===========================================
   5. NAVIGATION
   =========================================== */
.ep-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--ep-transition);
}
.ep-nav.scrolled {
  background: var(--ep-glass-dark);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0.75rem 3rem;
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
}
.ep-nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.ep-nav-logo-main {
  font-family: var(--ep-font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ep-white);
  letter-spacing: 0.3px;
  line-height: 1.1;
}
.ep-nav-logo-sub {
  font-family: var(--ep-font-accent);
  font-size: 0.68rem;
  color: var(--ep-gold-light);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 1px;
}
.ep-nav.scrolled .ep-nav-logo-main { color: var(--ep-cream) }

.ep-nav-menu {
  display: flex;
  gap: 2.2rem;
  align-items: center;
  list-style: none;
}
.ep-nav-menu a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  position: relative;
  padding: 0.4rem 0;
}
.ep-nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--ep-gold-light);
  transition: all 0.3s;
  transform: translateX(-50%);
}
.ep-nav-menu a:hover { color: var(--ep-white) }
.ep-nav-menu a:hover::after { width: 100% }
.ep-nav.scrolled .ep-nav-menu a { color: rgba(245, 240, 232, 0.7) }
.ep-nav.scrolled .ep-nav-menu a:hover { color: var(--ep-cream) }

.ep-nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.ep-nav-phone {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.5px;
}
.ep-nav-phone:hover { color: var(--ep-gold-light) }
.ep-nav-cta {
  background: var(--ep-terracotta);
  color: var(--ep-white) !important;
  padding: 0.55rem 1.6rem;
  border-radius: var(--ep-radius);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.ep-nav-cta:hover {
  background: var(--ep-terracotta-light);
  transform: translateY(-1px);
}
.ep-nav-cta::after { display: none !important }

.ep-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.ep-mobile-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--ep-white);
  display: block;
  transition: var(--ep-transition);
}

/* ===========================================
   6. HERO
   =========================================== */
.ep-hero {
  position: relative;
  height: 100vh;
  min-height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ep-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Background layers — can be replaced with a featured image via Customizer */
.ep-hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ep-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(30,29,26,0.85) 0%, rgba(44,42,38,0.7) 50%, rgba(61,74,53,0.75) 100%);
}
.ep-hero-bg-texture {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0L80 40 40 80 0 40z' fill='none' stroke='%23ffffff' stroke-width='.3' opacity='.04'/%3E%3C/svg%3E");
}
.ep-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  padding: 0 2rem;
}
.ep-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(245, 240, 232, 0.08);
  border: 1px solid rgba(245, 240, 232, 0.1);
  backdrop-filter: blur(10px);
  padding: 0.45rem 1.2rem;
  border-radius: 30px;
  margin-bottom: 2rem;
}
.ep-hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--ep-sage-light);
  border-radius: 50%;
  animation: ep-pulse 2s ease infinite;
}
.ep-hero-badge span {
  font-size: 0.68rem;
  color: rgba(245, 240, 232, 0.6);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}
@keyframes ep-pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.ep-hero h1 { color: var(--ep-cream); margin-bottom: 1.6rem }
.ep-hero h1 em { color: var(--ep-gold-light) }
.ep-hero-sub {
  font-size: 1.02rem;
  color: rgba(245, 240, 232, 0.55);
  max-width: 580px;
  margin: 0 auto 2.8rem;
  line-height: 1.75;
  font-weight: 300;
}
.ep-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.ep-hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
}
.ep-hero-stat-num {
  font-family: var(--ep-font-display);
  font-size: 2rem;
  color: var(--ep-cream);
  font-weight: 600;
  line-height: 1;
}
.ep-hero-stat-label {
  font-size: 0.65rem;
  color: rgba(245, 240, 232, 0.35);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 0.3rem;
}
.ep-hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(245, 240, 232, 0.3);
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: ep-float 3s ease-in-out infinite;
}
.ep-hero-scroll-line {
  width: 1px;
  height: 35px;
  background: linear-gradient(to bottom, rgba(245,240,232,0.25), transparent);
}
@keyframes ep-float { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ===========================================
   7. ABOUT / INTRO STRIP
   =========================================== */
.ep-intro-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.ep-intro-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3d4a35, #5C6B52);
}
.ep-intro-media-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ep-cream);
  padding: 3rem;
  text-align: center;
}
/* For uploaded image backgrounds */
.ep-intro-media .ep-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ep-intro-body {
  padding: 4.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ep-intro-body h2 em { color: var(--ep-terracotta) }
.ep-intro-body p {
  margin-bottom: 1rem;
}
.ep-intro-body p strong {
  color: var(--ep-stone);
  font-weight: 600;
}
.ep-intro-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.ep-intro-feat {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.ep-intro-feat-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: rgba(122, 139, 111, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-top: 2px;
}
.ep-intro-feat h4 {
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--ep-font-body);
}
.ep-intro-feat p {
  font-size: 0.72rem;
  color: rgba(44, 42, 38, 0.45);
  margin: 0;
  line-height: 1.5;
}

/* ===========================================
   8. HOTELS SECTION
   =========================================== */
.ep-hotels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.ep-hotel-card {
  background: var(--ep-white);
  border-radius: var(--ep-radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 30px var(--ep-shadow);
  transition: var(--ep-transition);
}
.ep-hotel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 50px var(--ep-shadow-lg);
}
.ep-hotel-img {
  height: 320px;
  position: relative;
  overflow: hidden;
}
.ep-hotel-img img,
.ep-hotel-img .ep-hotel-img-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ep-ease);
}
.ep-hotel-card:hover .ep-hotel-img img,
.ep-hotel-card:hover .ep-hotel-img-bg {
  transform: scale(1.04);
}
.ep-hotel-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--ep-glass-dark);
  backdrop-filter: blur(12px);
  color: var(--ep-cream);
  padding: 0.4rem 1rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--ep-radius);
}
.ep-hotel-body {
  padding: 2rem 2.2rem 2.5rem;
}
.ep-hotel-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.ep-hotel-brand {
  font-family: var(--ep-font-accent);
  font-size: 0.8rem;
  color: var(--ep-sage);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}
.ep-hotel-name {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
  line-height: 1.2;
}
.ep-hotel-desc {
  font-size: 0.88rem;
  color: rgba(44, 42, 38, 0.5);
  line-height: 1.7;
  margin-bottom: 1.3rem;
}
.ep-hotel-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.ep-hotel-amenity {
  background: var(--ep-cream);
  padding: 0.32rem 0.75rem;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--ep-sage-dark);
  border-radius: var(--ep-radius);
  letter-spacing: 0.3px;
}
.ep-hotel-divider {
  height: 1px;
  background: rgba(44, 42, 38, 0.06);
  margin-bottom: 1.3rem;
}
.ep-hotel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ep-hotel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ep-terracotta);
}
.ep-hotel-link:hover { gap: 0.7rem; color: var(--ep-terracotta-dark) }
.ep-hotel-link svg { width: 14px; height: 14px }
.ep-hotel-loyalty {
  font-size: 0.6rem;
  color: rgba(44, 42, 38, 0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ===========================================
   9. BOOKING WIDGETS
   =========================================== */
.ep-booking-section {
  background: var(--ep-stone);
  padding: 3rem;
  border-radius: var(--ep-radius-lg);
  margin-top: 3rem;
}
.ep-booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.ep-booking-widget {
  background: var(--ep-white);
  border-radius: var(--ep-radius-lg);
  overflow: hidden;
  min-height: 400px;
}
.ep-booking-widget-header {
  background: var(--ep-cream);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ep-booking-widget-header h4 {
  font-size: 0.95rem;
  font-weight: 500;
}
.ep-booking-widget-header .ep-hotel-brand {
  font-size: 0.65rem;
}
.ep-booking-widget-body {
  padding: 1.5rem;
}
/* Iframe container for Hilton/Marriott widgets */
.ep-booking-iframe {
  width: 100%;
  min-height: 350px;
  border: none;
  border-radius: var(--ep-radius);
}
/* Fallback booking links */
.ep-booking-fallback {
  text-align: center;
  padding: 2rem;
}
.ep-booking-fallback p {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: rgba(44, 42, 38, 0.5);
}

/* ===========================================
   10. DINING GUIDE
   =========================================== */
.ep-dining-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ep-dining-card {
  background: var(--ep-white);
  border-radius: var(--ep-radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 20px var(--ep-shadow);
  transition: var(--ep-transition);
}
.ep-dining-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 35px rgba(44, 42, 38, 0.12);
}
.ep-dining-thumb {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.ep-dining-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.ep-dining-card:hover .ep-dining-thumb img { transform: scale(1.05) }
.ep-dining-cuisine {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  background: var(--ep-glass-dark);
  backdrop-filter: blur(10px);
  color: var(--ep-cream);
  padding: 0.3rem 0.8rem;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--ep-radius);
}
.ep-dining-body { padding: 1.4rem 1.6rem 1.8rem }
.ep-dining-name {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.ep-dining-tagline {
  font-family: var(--ep-font-accent);
  font-size: 0.82rem;
  color: var(--ep-terracotta);
  font-style: italic;
  margin-bottom: 0.6rem;
}
.ep-dining-desc {
  font-size: 0.8rem;
  color: rgba(44, 42, 38, 0.5);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.ep-dining-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(44, 42, 38, 0.06);
}
.ep-dining-price { font-size: 0.7rem; color: rgba(44, 42, 38, 0.35) }
.ep-dining-dist {
  font-size: 0.6rem;
  background: rgba(122, 139, 111, 0.08);
  color: var(--ep-sage);
  padding: 0.25rem 0.6rem;
  border-radius: var(--ep-radius);
  font-weight: 500;
}

/* ===========================================
   11. THINGS TO DO
   =========================================== */
.ep-things-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.ep-thing-tab {
  padding: 0.5rem 1.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: 1px solid rgba(245, 240, 232, 0.12);
  background: transparent;
  color: rgba(245, 240, 232, 0.5);
  border-radius: var(--ep-radius);
  cursor: pointer;
  transition: var(--ep-transition);
  font-family: var(--ep-font-body);
}
.ep-thing-tab.active {
  background: var(--ep-gold);
  color: var(--ep-stone);
  border-color: var(--ep-gold);
}
.ep-things-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ep-thing-card {
  background: rgba(245, 240, 232, 0.04);
  border: 1px solid rgba(245, 240, 232, 0.07);
  border-radius: var(--ep-radius-lg);
  padding: 2rem;
  transition: var(--ep-transition);
  position: relative;
  overflow: hidden;
}
.ep-thing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--ep-gold-light);
  transition: height 0.4s ease;
}
.ep-thing-card:hover::before { height: 100% }
.ep-thing-card:hover {
  background: rgba(245, 240, 232, 0.08);
  border-color: rgba(245, 240, 232, 0.12);
  transform: translateY(-3px);
}
.ep-thing-icon {
  width: 44px;
  height: 44px;
  background: rgba(184, 150, 62, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.2rem;
}
.ep-thing-cat {
  font-family: var(--ep-font-accent);
  font-size: 0.7rem;
  color: var(--ep-gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.ep-thing-name {
  font-size: 1.08rem;
  color: var(--ep-cream);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.ep-thing-desc {
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.4);
  line-height: 1.65;
}
.ep-thing-dist {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.62rem;
  color: var(--ep-sage-light);
  letter-spacing: 1px;
  background: rgba(163, 179, 150, 0.08);
  padding: 0.22rem 0.65rem;
  border-radius: var(--ep-radius);
}

/* ===========================================
   12. GALLERY
   =========================================== */
.ep-gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 0.5rem;
}
.ep-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--ep-radius);
  cursor: pointer;
}
.ep-gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.ep-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.ep-gallery-item:hover img { transform: scale(1.06) }
.ep-gallery-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(to top, rgba(44,42,38,0.7), transparent);
  color: var(--ep-cream);
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
}
.ep-gallery-item:hover .ep-gallery-item-label { opacity: 1 }

/* ===========================================
   13. EVENTS CALENDAR
   =========================================== */
.ep-cal-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.ep-cal-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ep-cal-nav-btn {
  background: none;
  border: 1px solid rgba(44, 42, 38, 0.12);
  color: var(--ep-stone);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--ep-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ep-cal-nav-btn:hover { background: var(--ep-stone); color: var(--ep-cream) }
.ep-cal-month {
  font-family: var(--ep-font-display);
  font-size: 1.4rem;
  font-weight: 500;
  min-width: 200px;
  text-align: center;
}
.ep-cal-filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.ep-cal-filter {
  padding: 0.38rem 0.9rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: 1px solid rgba(44, 42, 38, 0.1);
  background: transparent;
  color: var(--ep-stone);
  border-radius: var(--ep-radius);
  cursor: pointer;
  transition: var(--ep-transition);
  font-family: var(--ep-font-body);
}
.ep-cal-filter.active {
  background: var(--ep-stone);
  color: var(--ep-cream);
  border-color: var(--ep-stone);
}
.ep-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.ep-cal-day-hdr {
  text-align: center;
  padding: 0.7rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(44, 42, 38, 0.3);
}
.ep-cal-cell {
  min-height: 95px;
  background: var(--ep-cream);
  padding: 0.5rem;
  border-radius: 3px;
  transition: background 0.2s;
}
.ep-cal-cell:hover { background: var(--ep-warm) }
.ep-cal-cell.other { opacity: 0.25 }
.ep-cal-cell.today {
  background: rgba(184, 150, 62, 0.07);
  outline: 1.5px solid rgba(184, 150, 62, 0.2);
  outline-offset: -1.5px;
}
.ep-cal-cell-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ep-stone);
  margin-bottom: 0.25rem;
}
.ep-cal-evt {
  padding: 2px 5px;
  margin-bottom: 2px;
  border-radius: 2px;
  font-size: 0.55rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep-cal-evt.dining { background: rgba(196,131,90,0.12); color: var(--ep-terracotta) }
.ep-cal-evt.community { background: rgba(122,139,111,0.12); color: var(--ep-sage) }
.ep-cal-evt.music { background: rgba(184,150,62,0.12); color: var(--ep-gold) }
.ep-cal-evt.wellness { background: rgba(163,179,150,0.15); color: var(--ep-sage-dark) }
.ep-cal-evt.market { background: rgba(196,131,90,0.08); color: var(--ep-terracotta-dark) }

/* Event List */
.ep-event-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--ep-cream);
  border-radius: var(--ep-radius-lg);
  margin-bottom: 0.8rem;
  transition: var(--ep-transition);
  align-items: flex-start;
}
.ep-event-card:hover {
  background: var(--ep-warm);
  transform: translateX(4px);
}
.ep-event-date-box {
  min-width: 58px;
  text-align: center;
  background: var(--ep-stone);
  color: var(--ep-cream);
  border-radius: var(--ep-radius);
  padding: 0.55rem 0.45rem;
}
.ep-event-date-box .month {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ep-gold-light);
}
.ep-event-date-box .day {
  font-family: var(--ep-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

/* ===========================================
   14. WEDDINGS & MEETINGS
   =========================================== */
.ep-wm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.ep-wm-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.ep-wm-feat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.65);
}
.ep-wm-feat-dot {
  width: 6px;
  height: 6px;
  background: var(--ep-gold-light);
  border-radius: 50%;
  min-width: 6px;
}
.ep-wm-venue {
  background: rgba(245, 240, 232, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.08);
  border-radius: var(--ep-radius);
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--ep-transition);
  margin-bottom: 0.8rem;
}
.ep-wm-venue:hover { background: rgba(245, 240, 232, 0.1) }

/* ===========================================
   15. NEIGHBORHOOD
   =========================================== */
.ep-nb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.ep-nb-card {
  background: var(--ep-cream);
  border-radius: var(--ep-radius-lg);
  padding: 1.5rem;
  transition: var(--ep-transition);
}
.ep-nb-card:hover {
  background: var(--ep-warm);
  transform: translateY(-3px);
}

/* ===========================================
   16. TESTIMONIALS
   =========================================== */
.ep-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ep-testimonial {
  background: var(--ep-white);
  border-radius: var(--ep-radius-lg);
  padding: 2rem;
  box-shadow: 0 2px 15px var(--ep-shadow);
  position: relative;
}
.ep-testimonial::before {
  content: '\201C';
  font-family: var(--ep-font-display);
  font-size: 3.5rem;
  color: rgba(184, 150, 62, 0.12);
  position: absolute;
  top: 0.5rem;
  left: 1.2rem;
  line-height: 1;
}
.ep-testimonial-text {
  font-family: var(--ep-font-accent);
  font-size: 1.05rem;
  color: var(--ep-stone);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.2rem;
}

/* ===========================================
   17. BLOG / JOURNAL
   =========================================== */
.ep-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ep-blog-card {
  background: var(--ep-white);
  border-radius: var(--ep-radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 15px var(--ep-shadow);
  transition: var(--ep-transition);
}
.ep-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(44, 42, 38, 0.1);
}
.ep-blog-thumb {
  height: 200px;
  overflow: hidden;
}
.ep-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.ep-blog-card:hover .ep-blog-thumb img { transform: scale(1.05) }
.ep-blog-body { padding: 1.5rem 1.8rem 2rem }
.ep-blog-meta {
  font-size: 0.65rem;
  color: rgba(44, 42, 38, 0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.ep-blog-title {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}
.ep-blog-excerpt {
  font-size: 0.82rem;
  color: rgba(44, 42, 38, 0.5);
  line-height: 1.6;
}

/* ===========================================
   18. NEWSLETTER
   =========================================== */
.ep-newsletter {
  text-align: center;
  padding: 5rem 3rem;
}
.ep-newsletter h2 { color: var(--ep-cream) }
.ep-newsletter h2 em { color: var(--ep-gold-light) }
.ep-newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 2rem auto 0;
  gap: 0.5rem;
}
.ep-newsletter-input {
  flex: 1;
  background: rgba(245, 240, 232, 0.08);
  border: 1px solid rgba(245, 240, 232, 0.12);
  border-radius: var(--ep-radius);
  padding: 0.75rem 1.2rem;
  color: var(--ep-cream);
  font-family: var(--ep-font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s;
}
.ep-newsletter-input::placeholder { color: rgba(245, 240, 232, 0.25) }
.ep-newsletter-input:focus { border-color: var(--ep-gold-light) }

/* ===========================================
   19. FOOTER
   =========================================== */
.ep-footer {
  background: var(--ep-midnight);
  color: rgba(245, 240, 232, 0.6);
  padding: 5rem 3rem 2rem;
}
.ep-footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}
.ep-footer-brand p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.35);
  margin-top: 0.8rem;
  max-width: 280px;
}
.ep-footer-managed {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 240, 232, 0.06);
}
.ep-footer-managed span {
  font-size: 0.62rem;
  color: rgba(245, 240, 232, 0.25);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ep-footer-managed a {
  display: block;
  color: rgba(245, 240, 232, 0.45);
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.3rem;
}
.ep-footer-managed a:hover { color: var(--ep-gold-light) }
.ep-footer-col h5 {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ep-gold-light);
  margin-bottom: 1.2rem;
  font-family: var(--ep-font-body);
}
.ep-footer-col a {
  display: block;
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.4);
  margin-bottom: 0.55rem;
}
.ep-footer-col a:hover { color: var(--ep-cream); transform: translateX(3px) }
.ep-footer-divider {
  height: 1px;
  background: rgba(245, 240, 232, 0.06);
  margin-bottom: 2rem;
}
.ep-footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: rgba(245, 240, 232, 0.2);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===========================================
   20. AI CHATBOT
   =========================================== */
.ep-chat-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  background: var(--ep-stone);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(44, 42, 38, 0.3);
  transition: var(--ep-transition);
  border: none;
  color: var(--ep-cream);
}
.ep-chat-toggle:hover {
  transform: scale(1.06);
}
.ep-chat-window {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 400px;
  height: 560px;
  background: var(--ep-white);
  border-radius: var(--ep-radius-xl);
  box-shadow: 0 20px 60px rgba(44, 42, 38, 0.2);
  z-index: 998;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.ep-chat-window.open { display: flex }
.ep-chat-header {
  background: var(--ep-stone);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
}
.ep-chat-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ep-sage), var(--ep-gold), var(--ep-terracotta));
}
.ep-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.ep-chat-msg {
  max-width: 85%;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  font-size: 0.8rem;
  line-height: 1.55;
}
.ep-chat-msg.bot {
  background: var(--ep-cream);
  color: var(--ep-stone);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.ep-chat-msg.user {
  background: var(--ep-stone);
  color: var(--ep-cream);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.ep-chat-input-area {
  display: flex;
  padding: 0.7rem;
  gap: 0.4rem;
  border-top: 1px solid rgba(44, 42, 38, 0.05);
}
.ep-chat-input {
  flex: 1;
  border: 1px solid rgba(44, 42, 38, 0.08);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-family: var(--ep-font-body);
  outline: none;
  background: var(--ep-cream);
}
.ep-chat-input:focus { border-color: var(--ep-sage) }
.ep-chat-send {
  width: 36px;
  height: 36px;
  background: var(--ep-terracotta);
  border: none;
  border-radius: 10px;
  color: var(--ep-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ep-chat-send:hover { background: var(--ep-terracotta-light) }

/* ===========================================
   21. MEDIA EMBEDS (Video, PDF, Matterport)
   =========================================== */
.ep-media-embed {
  position: relative;
  width: 100%;
  border-radius: var(--ep-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 25px var(--ep-shadow);
  margin: 2rem 0;
}
.ep-media-embed iframe {
  width: 100%;
  border: none;
  display: block;
}
/* 16:9 responsive video */
.ep-video-embed {
  padding-bottom: 56.25%;
  height: 0;
}
.ep-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* Matterport embed */
.ep-matterport-embed {
  height: 500px;
}
.ep-matterport-embed iframe {
  height: 100%;
}
/* PDF embed */
.ep-pdf-embed {
  height: 600px;
}
.ep-pdf-embed iframe,
.ep-pdf-embed embed {
  height: 100%;
}
.ep-pdf-download {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  font-size: 0.75rem;
  color: var(--ep-terracotta);
  font-weight: 500;
}

/* ===========================================
   22. WORDPRESS CORE OVERRIDES
   =========================================== */
/* WP Admin Bar spacing */
.admin-bar .ep-nav { top: 32px }
@media screen and (max-width: 782px) {
  .admin-bar .ep-nav { top: 46px }
}

/* WP Block Editor alignment */
.alignwide { max-width: 1100px; margin: 0 auto }
.alignfull { width: 100vw; margin-left: calc(-50vw + 50%) }

/* WP Image captions */
.wp-caption { max-width: 100% }
.wp-caption-text {
  font-size: 0.75rem;
  color: rgba(44, 42, 38, 0.4);
  margin-top: 0.5rem;
  font-style: italic;
}

/* WP Gallery */
.wp-block-gallery { gap: 0.5rem }
.wp-block-gallery .wp-block-image img { border-radius: var(--ep-radius) }

/* WP Pagination */
.ep-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.ep-pagination a,
.ep-pagination span {
  padding: 0.5rem 1rem;
  border-radius: var(--ep-radius);
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--ep-transition);
}
.ep-pagination .current {
  background: var(--ep-stone);
  color: var(--ep-cream);
}
.ep-pagination a:hover {
  background: var(--ep-warm);
}

/* ===========================================
   23. RESPONSIVE
   =========================================== */
@media (max-width: 1024px) {
  .ep-container { padding: 0 2rem }
  .ep-section { padding: 5rem 2rem }
  .ep-hotels-grid { grid-template-columns: 1fr }
  .ep-dining-grid { grid-template-columns: 1fr 1fr }
  .ep-things-grid { grid-template-columns: 1fr 1fr }
  .ep-blog-grid { grid-template-columns: 1fr 1fr }
  .ep-wm-grid { grid-template-columns: 1fr }
  .ep-gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px }
  .ep-nb-grid { grid-template-columns: 1fr 1fr }
  .ep-testimonials { grid-template-columns: 1fr 1fr }
  .ep-footer-grid { grid-template-columns: 1fr 1fr }
  .ep-intro-strip { grid-template-columns: 1fr }
  .ep-intro-media { min-height: 250px }
  .ep-booking-grid { grid-template-columns: 1fr }
}

@media (max-width: 768px) {
  .ep-nav { padding: 0.8rem 1.5rem }
  .ep-nav.scrolled { padding: 0.6rem 1.5rem }
  .ep-nav-menu { display: none }
  .ep-nav-phone { display: none }
  .ep-mobile-toggle { display: flex }
  .ep-section { padding: var(--ep-section-pad-mobile) }
  .ep-hero { min-height: 650px }
  .ep-hero-stats { gap: 1.5rem }
  .ep-hero-stat-num { font-size: 1.5rem }
  .ep-dining-grid,
  .ep-things-grid,
  .ep-blog-grid,
  .ep-nb-grid { grid-template-columns: 1fr }
  .ep-testimonials { grid-template-columns: 1fr }
  .ep-cal-cell { min-height: 55px; padding: 0.25rem }
  .ep-cal-evt { font-size: 0.48rem }
  .ep-chat-window {
    width: calc(100% - 1.5rem);
    right: 0.75rem;
    bottom: 5rem;
    height: 65vh;
  }
  .ep-footer-grid { grid-template-columns: 1fr }
  .ep-intro-body { padding: 2.5rem 1.5rem }
  .ep-intro-features { grid-template-columns: 1fr }
  .ep-event-card { flex-direction: column; gap: 0.8rem }
  .ep-wm-features { grid-template-columns: 1fr }
  .ep-gallery-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .ep-gallery-item:first-child {
    grid-column: span 1;
    grid-row: span 1;
  }
  .ep-matterport-embed { height: 300px }
  .ep-pdf-embed { height: 400px }
  .ep-newsletter-form { flex-direction: column }
}


/* =========================================
   DROPDOWN NAVIGATION STYLES
   ========================================= */

/* Parent menu items with children */
.ep-nav-menu > li.menu-item-has-children {
  position: relative;
}

/* Sub-menu - hidden by default */
.ep-nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--ep-glass-dark, rgba(44,42,38,0.95));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 184, 106, 0.15);
  border-top: 2px solid var(--ep-gold-light, #D4B86A);
  padding: 8px 0;
  z-index: 1000;
  list-style: none;
  margin: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Show sub-menu on hover */
.ep-nav-menu > li.menu-item-has-children:hover > .sub-menu {
  display: block;
}

/* Sub-menu items */
.ep-nav-menu .sub-menu li {
  display: block;
  margin: 0;
  padding: 0;
}

.ep-nav-menu .sub-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--ep-cream, #F5F0E8);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.ep-nav-menu .sub-menu li a:hover {
  background: rgba(212, 184, 106, 0.12);
  color: var(--ep-gold-light, #D4B86A);
  padding-left: 24px;
}

/* Dropdown arrow indicator for parent items */
.ep-nav-menu > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.25s ease;
}

.ep-nav-menu > li.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* Ensure the nav menu list items are properly positioned */
.ep-nav-menu > li {
  position: relative;
}

/* Mobile menu sub-menu styles */
@media (max-width: 1024px) {
  .ep-nav-menu .sub-menu {
    position: static;
    background: rgba(44, 42, 38, 0.6);
    border: none;
    border-top: none;
    box-shadow: none;
    padding: 0;
    min-width: auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  
  .ep-nav-menu .sub-menu li a {
    padding-left: 30px;
    font-size: 0.8rem;
  }
  
  .ep-nav-menu .sub-menu li a:hover {
    padding-left: 34px;
  }
}