/* --------------------------------------------------
   TEMP DEBUG REMOVED
-------------------------------------------------- */

.mobile-slideout.open {
    background: #ffffff;
}

* {
    outline: none !important;
}

body {
    background: var(--light-grey);
}

/* --------------------------------------------------
   GLOBAL STYLES
-------------------------------------------------- */

:root {
    --green: #2f9e6e;
    --blue: #1f3c5a;
    --gold: #c9a86a;
    --light-grey: #f6f8f9;
    --mid-grey: #dfe3e6;
    --dark-grey: #2d2d2d;
}

body {
    font-family: Segoe UI, Arial, sans-serif;
    color: var(--dark-grey);
    background: var(--light-grey);
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: Segoe UI, Arial, sans-serif;
    letter-spacing: 0.6px;
    font-weight: 600;
    color: var(--blue);
}

h2 {
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--gold);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

p {
    line-height: 1.6;
}

/* --------------------------------------------------
   HEADER
-------------------------------------------------- */

/* DESKTOP LOGO SIZE */
@media (min-width: 1025px) {
  .logo-area img {
      height: 150px !important;
      width: auto !important;
      max-height: none !important;
  }
}

/* HEADER SPACING FOR BIGGER LOGO */
.oakleaf-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 36px 0; /* increased from 18px */
  font-family: Lato, sans-serif;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  position: relative;
  z-index: 1;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 18px; /* increased from 12px */
}

.logo-text h1 {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #1A2E4F;
}

.logo-text h1 span {
  color: #1E5631;
}

.tagline {
  margin: 0;
  font-size: 14px;
  font-style: italic;
  color: #777777;
}

/* DESKTOP NAVIGATION */
.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
}

.nav-menu a {
  text-decoration: none;
  color: #1A2E4F;
  font-weight: 500;
  font-size: 15px;
}

.nav-menu a:hover {
  border-bottom: 2px solid #1E5631;
}

.cta-button {
  background: #1A2E4F;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.cta-button:hover {
  background: #1E5631;
}

.contact-info {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #777777;
}

/* --------------------------------------------------
   MOBILE HEADER + MENU
-------------------------------------------------- */

@media (max-width: 1024px) {

  /* MOBILE LOGO SIZE */
  .logo-area img {
    height: 70px !important; /* was 30px */
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .desktop-nav {
    display: none !important;
  }

  .cta-button.desktop-nav {
    display: none !important;
  }

  .mobile-menu-btn {
    display: block !important;
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 999999 !important;
    background: none;
    border: none;
    font-size: 32px;
    color: #1A2E4F;
  }

  .contact-info {
    display: none !important;
  }
}

/* --------------------------------------------------
   SLIDE-OUT MOBILE MENU
-------------------------------------------------- */

.mobile-slideout {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100%;
  background: #ffffff;
  box-shadow: -4px 0 12px rgba(0,0,0,0.15);
  padding: 40px 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 9999;
}

.mobile-slideout.open {
  transform: translateX(0);
}

.mobile-slideout ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-slideout a {
  text-decoration: none;
  color: #1A2E4F;
  font-size: 18px;
  font-weight: 600;
}

.mobile-book-btn {
  background: #1A2E4F;
  color: #ffffff !important;
  padding: 12px 16px;
  border-radius: 6px;
  text-align: center;
  display: block;
  margin-top: 10px;
}

/* --------------------------------------------------
   MOBILE VS DESKTOP BREAKPOINT FIX
-------------------------------------------------- */

@media (min-width: 1025px) {
  .mobile-menu-btn {
    display: none !important;
  }
  .mobile-slideout {
    display: none !important;
  }
}

/* --------------------------------------------------
   PREMIUM BANNER
-------------------------------------------------- */

.premium-banner {
    background: linear-gradient(90deg, var(--blue), #2a4f6f);
    padding: 14px 20px;
    text-align: center;
}

.premium-banner p {
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.6px;
    font-weight: 500;
}

/* --------------------------------------------------
   HERO SECTION
-------------------------------------------------- */

.hero {
    background: linear-gradient(135deg, #ffffff, #f3f6f8);
    padding: 140px 20px;
    text-align: center;
    border-bottom: 1px solid var(--mid-grey);
}

.hero h1 {
    font-size: 3rem;
    color: var(--blue);
}

.hero p {
    font-size: 1.3rem;
    color: #555;
    margin-top: 15px;
}

/* --------------------------------------------------
   ACCREDITATIONS
-------------------------------------------------- */

.accreditations {
    background: #ffffff;
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid var(--mid-grey);
    border-bottom: 1px solid var(--mid-grey);
}

.accreditation-container {
    margin-top: 40px;
}

.accreditations p {
    margin-top: 25px;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0.5px;
}

.accreditations img {
    width: 90px;
    height: auto;
}

/* --------------------------------------------------
   SERVICES PAGE
-------------------------------------------------- */

.services-section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

.service-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border: 1px solid #f0f2f4;
    margin: 25px 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.button-primary {
    display: inline-block;
    background: var(--green);
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.button-primary:hover {
    background: var(--blue);
}

/* --------------------------------------------------
   ABOUT PAGE
-------------------------------------------------- */

.about-section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border: 1px solid #f0f2f4;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* --------------------------------------------------
   STAFF PAGE
-------------------------------------------------- */

.staff-section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

.staff-profile {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.staff-photo img {
    width: 220px;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

.timeline {
    margin-top: 30px;
}

.timeline-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border: 1px solid #f0f2f4;
    margin-bottom: 20px;
}

/* --------------------------------------------------
   CONTACT PAGE
-------------------------------------------------- */

.contact-section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-details h3 {
    color: var(--green);
}

.contact-details a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-top: 15px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 5px;
}

.contact-form textarea {
    height: 120px;
}

.contact-form button {
    margin-top: 20px;
    background: var(--green);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.contact-form button:hover {
    background: var(--blue);
}

.map-container {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* --------------------------------------------------
   BOOKING PAGE
-------------------------------------------------- */

.booking-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.booking-widget {
    margin-top: 40px;
}

section {
    padding: 90px 20px;
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

section + section {
    margin-top: 40px;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

footer {
    background: var(--blue);
    color: #fff;
    padding: 40px;
    text-align: center;
    font-size: 0.95rem;
    letter-spacing: 0.4px;
}

/* --------------------------------------------------
   FLOATING BOOK NOW BUTTON
-------------------------------------------------- */

.floating-book {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--green);
    color: #fff;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.floating-book:hover {
    background: var(--blue);
}

@media (max-width: 1024px) {
    .floating-book {
        display: none !important;
    }
}

/* --------------------------------------------------
   SUCCESS MESSAGES
-------------------------------------------------- */

.success-box {
    background: #e8f7e8;
    border-left: 4px solid #2e7d32;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    color: #2e7d32;
    font-weight: 600;
    animation: fadeIn 0.6s ease;
    text-align: center;
}

.success-icon {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.success-sub {
    font-size: 14px;
    margin-top: -5px;
    opacity: 0.8;
}

.success-actions {
    margin-top: 20px;
}

/* --------------------------------------------------
   LOADING SPINNER
-------------------------------------------------- */

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid white;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 6px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------
   MOBILE MENU BUTTON (GLOBAL)
-------------------------------------------------- */

.mobile-menu-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 999999;
}

.mobile-menu-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon {
    display: block;
    pointer-events: none;
}

.close-slideout {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 32px;
    color: #1A2E4F;
    cursor: pointer;
    z-index: 99999;
}

.close-slideout:hover {
    color: #1E5631;
}

.close-slideout svg {
    pointer-events: none;
}


/* --------------------------------------------------
   DIMMED BACKGROUND OVERLAY FOR MOBILE MENU
-------------------------------------------------- */

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45); /* dim level */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9998; /* just below slideout */
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.menu-overlay {
    transition: opacity 0.35s ease;
}

/* --------------------------------------------------
   SOFT SLIDE + FADE ANIMATION FOR MOBILE MENU
-------------------------------------------------- */

.mobile-slideout {
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.mobile-slideout.open {
    transform: translateX(0);
    opacity: 1;
}

/* --------------------------------------------------
   SMOOTHER EASING CURVE FOR SLIDE ANIMATION
-------------------------------------------------- */

.mobile-slideout {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 1),
                opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 1);
}



/* --------------------------------------------------
   SUBTLE HEADER SHADOW
-------------------------------------------------- */

.oakleaf-header {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------
   STAGGERED FADE-IN FOR MOBILE MENU ITEMS
-------------------------------------------------- */

.mobile-slideout ul li {
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-slideout.open ul li {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger timing */
.mobile-slideout.open ul li:nth-child(1) { transition-delay: 0.05s; }
.mobile-slideout.open ul li:nth-child(2) { transition-delay: 0.10s; }
.mobile-slideout.open ul li:nth-child(3) { transition-delay: 0.15s; }
.mobile-slideout.open ul li:nth-child(4) { transition-delay: 0.20s; }
.mobile-slideout.open ul li:nth-child(5) { transition-delay: 0.25s; }
.mobile-slideout.open ul li:nth-child(6) { transition-delay: 0.30s; }


/* --------------------------------------------------
   SOFT SHADOW BEHIND SLIDE-OUT PANEL
-------------------------------------------------- */

.mobile-slideout {
    box-shadow: -4px 0 18px rgba(0, 0, 0, 0.18);
}


/* --------------------------------------------------
   ENHANCED MOBILE CTA INSIDE SLIDE-OUT
-------------------------------------------------- */

.mobile-book-cta {
    display: block;
    background: #1E5631; /* Oakleaf green */
    color: #fff;
    padding: 14px 20px;
    margin: 18px 0 6px 0;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
    transition: background 0.25s ease, transform 0.25s ease;
}

.mobile-book-cta:hover {
    background: #174726;
    transform: translateY(-2px);
}

.mobile-book-cta:active {
    transform: translateY(0);
}

/* --------------------------------------------------
   MICRO-INTERACTION: TAP FEEDBACK ON MENU ITEMS
-------------------------------------------------- */

.mobile-slideout ul li a {
    transition: transform 0.15s ease, background 0.15s ease;
    border-radius: 6px;
}

.mobile-slideout ul li a:active {
    transform: scale(0.97);
    background: rgba(0, 0, 0, 0.06);
}

/* --------------------------------------------------
   FROSTED GLASS BLUR EFFECT FOR SLIDE-OUT PANEL
-------------------------------------------------- */

.mobile-slideout {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px); /* Safari support */
    background: rgba(30, 86, 49, 0.12); /* subtle green tint */

}

/* --------------------------------------------------
   ANIMATED HAMBURGER ICON (MORPH TO X)
-------------------------------------------------- */

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 100000;
}

.hamburger {
    display: inline-block;
    width: 26px;
    height: 20px;
    position: relative;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #1A2E4F;
    border-radius: 3px;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

/* When menu is open */
.mobile-slideout.open ~ .mobile-menu-btn .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-slideout.open ~ .mobile-menu-btn .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-slideout.open ~ .mobile-menu-btn .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------------------------
   CLEAN SVG ICON ALIGNMENT
-------------------------------------------------- */

.mobile-slideout ul li a .icon {
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
}

