@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Playfair+Display:wght@700&family=Cormorant+Garamond:wght@400;700&family=Outfit:wght@400;600&family=Great+Vibes&display=swap');
/* ==== Portfolio paging (6 per page, 2x3 grid) ==== */
.homepage-gallery .slideshow-container{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  position:relative;
  transform-style:preserve-3d;
  perspective:1200px;
}
.homepage-cards { max-width:1200px; margin:50px auto; padding:0 20px; }
.homepage-cards .page-title{ text-align:center; margin-bottom:20px; }
.cards-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
  gap:18px;
}
.card{
  display:flex; flex-direction:column; text-decoration:none; background:#fff;
  border:1px solid #eaeaea; border-radius:12px; overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease;
}
.card:hover{ transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,.08); }
/* Cards: actual <img>, not background */
.card-thumb{ width:100%; aspect-ratio: 560 / 348; overflow:hidden; background:#f3f4f6; }
.card-thumb img{
  width:100%; height:100%;
  object-fit:cover;
  object-position: var(--card-pos, 50% 50%); /* let inline style set pos if you want */
  display:block;
}.card-body{ padding:14px; }
.card-title{ font-weight:700; color:#111; margin-bottom:6px; }
.card-cta{ color:#4a7c59; font-weight:600; }

.homepage-gallery .slideshow-item[hidden]{ display:none !important; }

.homepage-gallery .page-controls{
  margin-top:14px;
  display:flex;
  justify-content:center;
}
.homepage-gallery .next-page{
  border:0;
  padding:10px 16px;
  border-radius:10px;
  background:#4a7c59;
  color:#fff;
  font-weight:600;
  cursor:pointer;
}
.homepage-gallery .next-page:disabled{
  opacity:.5; cursor:not-allowed;
}

/* ==== Page-turn animation ==== */
@keyframes pageFlip{
  0%   { transform:rotateY(0deg); }
  49%  { transform:rotateY(-88deg); }
  50%  { transform:rotateY(88deg); }
  100% { transform:rotateY(0deg); }
}
.homepage-gallery .slideshow-container.turning{
  animation:pageFlip 600ms cubic-bezier(.4,0,.2,1) both;
}
.homepage-gallery .slideshow-container.turning::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,.10), rgba(0,0,0,0));
  animation:sheetShine 600ms ease both;
  pointer-events:none;
}
@keyframes sheetShine{
  0%{opacity:0}
  25%{opacity:1}
  75%{opacity:1}
  100%{opacity:0}
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .homepage-gallery .slideshow-container.turning{ animation:none }
  .homepage-gallery .slideshow-container.turning::after{ animation:none }
}

.img-modal{position:fixed;inset:0;background:rgba(0,0,0,.75);
  display:flex;align-items:center;justify-content:center;z-index:10000}
.img-modal[hidden]{display:none}
.img-modal img{max-width:90vw;max-height:90vh;border-radius:10px;box-shadow:0 20px 50px rgba(0,0,0,.4)}
.img-close{position:fixed;top:12px;right:16px;font-size:32px;line-height:1;
  background:transparent;border:0;color:#fff;cursor:pointer}

/* ============================================= */
/* ✅ ROOT VARIABLES + GENERAL STYLES */
:root {
      --nav-h: 30px; /* match .nav-container height */

  --primary: #2b86c5;      /* leave if used elsewhere */
  --accent:  #ff3cac;      /* leave if used elsewhere */
  --brand:   #4a7c59;      /* your green */
  --sand:    #fff7ee;      /* soft beach sand */
  --mist:    #f3f8f5;      /* airy mint */
  --text:    #222;
  --radius:  10px;
  --radius-sm: 12px;
  --ink:     0,0,0; /* black for rgba() usage */

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
      padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));

  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;

  /* new background */
  background: linear-gradient(
    180deg,
    var(--mist) 0%,
    var(--sand) 38%,
    #ffffff 100%
  );
}
/* legacy iOS safe-area fallback */
@supports (top: constant(safe-area-inset-top)){
  body{
    padding-top: calc(var(--nav-h) + constant(safe-area-inset-top));
  }
}

/* improve in-page anchor scrolling offsets too */
html{ scroll-padding-top: calc(var(--nav-h) + 10px); }

/* if th

.page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px; /* even spacing */
  margin: 40px auto 25px;
  font-family: 'Cormorant Garamond', serif;
}

.page-title span {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #4a7c59, #c49a6c, #4a7c59);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.page-title::before,
.page-title::after {
  content: "༺❁༻";
  font-size: 1.6rem;
  background: linear-gradient(90deg, #c49a6c, #d9b88f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
}



/*============================================== */
/* ✅  gallery */
/* ============================= */
/* ✅ CATEGORY SECTIONS — full image, modern style */

/* ============================== */
/* 📖 SINGLE-PAGE PHOTO BOOK LOOK + BINDER STRIP */
/* ============================== */

.category-section {
  --paper:#fffcf6; --ink:#4a7c59; --trim:rgba(0,0,0,.08);
  position:relative;
  margin:72px auto;
  max-width:980px;
  padding:26px 26px 34px;
  padding-left: 40px; /* smaller so content starts close to spiral */
  border-radius:12px;
  background:var(--paper);
  box-shadow:0 22px 44px rgba(0,0,0,.16), inset 0 0 0 1px rgba(255,255,255,.75);
  outline:1px solid var(--trim);
  outline-offset:-2px;
  backdrop-filter:blur(2px) saturate(1.02);
  overflow:hidden;
}
/* show spiral via pseudo-element (no HTML needed) */
/* spiral image flush on edge */
.category-section::after {
  content:'';
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  width:40px; /* matches reduced padding-left */
  background:url('https://opimages.com/assets/img/spiral.png') repeat-y left top / 40px auto;
  z-index:2;
  pointer-events:none;
}
/* left strip behind spiral */
/* binder strip behind the coils */

/* keep the strip behind it */
/* binder strip behind it */


.spiral-binder{
  position:absolute; top:0; bottom:0; left:0;
  display:block;
  width:84px;
  background-image:url('https://opimages.com/assets/img/spiral.png'); /* or /assets/img/spiral.png if local */
  background-repeat:repeat-y;
  background-position:left top;
  background-size:84px auto;
  z-index:3;                 /* above the strip */
  pointer-events:none;
}



/* ----- Title (centered) ----- */
.category-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 2.6rem);
  line-height: 1.2;
  margin: 4px auto 14px; /* center horizontally */
  text-align: center;
  color: transparent;
  background: linear-gradient(90deg, #4a7c59, #c49a6c);
  -webkit-background-clip: text;
          background-clip: text;
}
.category-title::after {
  content: '';
  display: block;
  height: 3px;
  width: clamp(120px, 36%, 220px);
  margin: 8px auto 0; /* center underline */
  background: linear-gradient(90deg, #4a7c59, #c49a6c);
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
}

/* ----- Image grid ----- */
.slideshow-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(220px, 42%, 420px), 1fr));
  gap: clamp(14px, 2.2vw, 22px);
  padding: 6px 4px 4px 54px; /* match binder width */
  overflow: visible;
}

.slideshow-item {
  position: relative;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow:
    0 12px 22px rgba(0,0,0,.14),
    0 1px 0 rgba(0,0,0,.06) inset;
  outline: 1px solid rgba(0,0,0,.06);
}

.slideshow-item img {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: #f8f8f8;
  box-shadow: 0 0 0 1px rgba(0,0,0,.04) inset;
}

/* Caption */
.slideshow-item .caption {
  font: 600 0.9rem/1.3 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #38443c;
  margin-top: 8px;
  text-align: center;
  opacity: .92;
}

/* Responsive */
@media (max-width: 820px) {
  .category-section { margin: 48px 12px; padding: 20px 16px 24px; }
  .category-title { margin-left: 46px; }
  .category-title::after { margin-left: 46px; }
  .slideshow-container { padding-left: 46px; }
}



/*============================================== */
/* settings.php */
.settings-container {
  max-width: 480px;
  margin: 60px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.settings-form label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 600;
  color: #333;
}

.settings-form input[type="time"],
.settings-form input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  background: #f9f9f9;
}

.settings-form input:focus {
  outline: none;
  border-color: #4a7c59;
  background: #fff;
}

.btn-primary {
  margin-top: 20px;
  width: 100%;
  background: #4a7c59;
  color: white;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #3d654d;
}
/* ============================================= */
/* ☁️ Sky wrapper around the calendar            */
/* ============================================= */
/* ============================================= */
/* ☁️ Softer, cleaner sky around the calendar    */
/* (replace your previous .sky-wrap block only)  */
/* ============================================= */



/* ============================================= */
/* ✨ Levitating, glassy calendar card           */
/* ============================================= */
#calendar{
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 50% -10%,
              rgba(255,255,255,.96) 0%,
              rgba(245,250,247,.93) 60%,
              rgba(236,243,240,.90) 100%);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  box-shadow:
    0 35px 90px rgba(0,0,0,.22),
    0 12px 28px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.75);
  backdrop-filter: blur(8px) saturate(1.2);
  animation: calendarFloat 14s ease-in-out infinite;
  transform: translateZ(0);
}

/* top halo glow */
#calendar::before{
  content:"";
  position:absolute;
  left:-20%; right:-20%;
  top:-20%;
  height: 140px;
  background: radial-gradient(
    60% 100% at 50% 0%,
    rgba(255,255,255,.95) 0%,
    rgba(255,255,255,0) 70%
  );
  filter: blur(18px);
  opacity:.9;
  pointer-events:none;
}

/* subtle inner “stars” */
#calendar::after{
  content:"";
  position:absolute;
  inset:-30% -10% -20% -10%;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.65) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 70% 60%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 40% 80%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 85% 20%, rgba(255,255,255,.55) 50%, transparent 51%);
  opacity:.6;
  animation: starsDrift 60s linear infinite;
  pointer-events:none;
}

@keyframes calendarFloat{
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}
@keyframes starsDrift{
  0%   { transform: translateY(0); }
  100% { transform: translateY(20px); }
}

/* hover lift */
#calendar:hover{
  transform: translateY(-8px);
  box-shadow:
    0 45px 110px rgba(0,0,0,.24),
    0 16px 36px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.8);
}

/* motion respect */
@media (prefers-reduced-motion: reduce){
  #calendar{ animation: none; }
  #calendar:hover{ transform:none; }
  .sky-wrap::after{ animation: none; }
}

/* ===== FullCalendar theme tweaks to match the vibe ===== */
.fc-theme-standard .fc-scrollgrid,
.fc-theme-standard td,
.fc-theme-standard th{
  border-color: rgba(255,255,255,.5);
}
.fc .fc-toolbar.fc-header-toolbar{ margin-bottom: 12px; }
.fc .fc-toolbar-title{
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  letter-spacing: .5px;
  background: linear-gradient(90deg, #4a7c59, #c49a6c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 1px rgba(0,0,0,.06);
}
.fc .fc-button{
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(245,250,247,.9));
  color: #1f3c2e;
  border: 1px solid rgba(74,124,89,.25);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.fc .fc-button:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.fc .fc-button:focus-visible{
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px rgba(74,124,89,.35);
}

.fc .fc-daygrid-day{ background: rgba(255,255,255,.65); }
.fc .fc-daygrid-day:hover{ background: rgba(255,255,255,.78); }
.fc .fc-daygrid-day-number{ color:#2b3a33; font-weight:600; }

.fc .fc-day-today{
  position: relative; z-index: 0;
}
.fc .fc-day-today::after{
  content:"";
  position:absolute; inset:6px;
  border-radius: 12px;
  background: radial-gradient(120% 120% at 50% -20%,
              rgba(74,124,89,.12), rgba(74,124,89,.03));
  box-shadow:
    0 0 0 2px rgba(74,124,89,.25) inset,
    0 10px 30px rgba(74,124,89,.12);
  z-index: -1;
}

.fc .fc-daygrid-event{
  background: linear-gradient(180deg, #e8f7ee, #d7f0e3);
  color:#1f3c2e;
  border:1px solid rgba(74,124,89,.25);
  border-radius: 999px;
  padding: 2px 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
/* ===== Day hover / focus lift ===== */
.fc .fc-daygrid-day {
  position: relative;
}

/* make days feel tappable (but not the "other month" cells) */
.fc .fc-daygrid-day:not(.fc-day-other) { cursor: pointer; }

/* animate the inner frame so the table cell itself doesn't reflow */
.fc .fc-daygrid-day-frame{
  border-radius: 12px;
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease;
  will-change: transform, box-shadow;
}

/* hover & keyboard focus */
.fc .fc-daygrid-day:hover .fc-daygrid-day-frame,
.fc .fc-daygrid-day:focus-within .fc-daygrid-day-frame{
  transform: translateY(-2px);
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

/* subtle inner halo on hover (non-today) */
.fc .fc-daygrid-day:not(.fc-day-today):hover::after,
.fc .fc-daygrid-day:not(.fc-day-today):focus-within::after{
  content:"";
  position:absolute; inset:6px;
  border-radius: 12px;
  box-shadow:
    0 0 0 2px rgba(74,124,89,.22) inset,
    0 8px 22px rgba(74,124,89,.10);
  pointer-events:none;
}

/* today gets a slightly stronger ring when hovered */
.fc .fc-day-today:hover .fc-daygrid-day-frame,
.fc .fc-day-today:focus-within .fc-daygrid-day-frame{
  box-shadow:
    0 12px 28px rgba(0,0,0,.14),
    0 0 0 1px rgba(74,124,89,.25) inset;
}

/* reduce motion friendly */
@media (prefers-reduced-motion: reduce){
  .fc .fc-daygrid-day-frame{ transition: none; }
}

.saved-msg {
  background: #e6f9ed;
  color: #2b8654;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}
.settings-wrapper {
  max-width: 600px;
  margin: 60px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
  color: #444;
}

.form-group input {
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9f9f9;
  transition: all 0.2s ease-in-out;
}

.form-group input:focus {
  outline: none;
  border-color: #4a7c59;
  background: #fff;
}

.btn-primary.full-width {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  background: #4a7c59;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-primary.full-width:hover {
  background: #3b654b;
}

.alert-success {
  background-color: #e6f9ed;
  color: #2b8654;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.floating-book-btn {
  position: fixed;
  left: 50%;
  bottom: 20px; /* lowest you can go with spacing */
  transform: translateX(-50%);
  z-index: 2147483647;
  display: inline-flex;
  align-items: center;
  gap: .6rem;

  --bg1: #e8f7ee;
  --bg2: #d7f0e3;
  --txt: #1f3c2e;
  --ring: #79c69c;
  --shadow: 0 10px 30px rgba(0,0,0,.12), 0 2px 10px rgba(0,0,0,.06);

  background: linear-gradient(180deg, var(--bg1), var(--bg2));
  color: var(--txt);
  padding: 14px 22px;
  font: 600 15px/1.1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  border-radius: 999px;
  border: 1px solid rgba(47,94,65,.18);
  box-shadow: var(--shadow);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: saturate(140%) blur(6px);
  will-change: transform, box-shadow, background;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .2s ease;
}

@supports (bottom: env(safe-area-inset-bottom)) {
  .floating-book-btn {
    bottom: calc(20px + env(safe-area-inset-bottom));
  }
}

@supports (bottom: constant(safe-area-inset-bottom)) {
  .floating-book-btn {
    bottom: calc(20px + constant(safe-area-inset-bottom));
  }
}

.floating-book-btn::before {
  content: "📅";
  font-size: 1.1em;
  line-height: 1;
}

.floating-book-btn:hover {
  transform: translate(-50%, -2px);
  box-shadow: 0 14px 36px rgba(0,0,0,.16), 0 4px 12px rgba(0,0,0,.08);
}

.floating-book-btn:active {
  transform: translate(-50%, 0);
  box-shadow: 0 6px 18px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.07);
}

.floating-book-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px var(--ring),
    0 12px 28px rgba(0,0,0,.14);
}

@media (max-width: 480px) {
  .floating-book-btn {
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
  }
}

@media (pointer: coarse) {
  .floating-book-btn {
    padding: 16px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-book-btn {
    transition: none;
  }
}

@media (prefers-color-scheme: dark) {
  .floating-book-btn {
    --bg1: #20372b;
    --bg2: #1a2e24;
    --txt: #e9fff2;
    --ring: #58c08a;
    border-color: rgba(186, 255, 214, .18);
    box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 2px 10px rgba(0,0,0,.35);
  }
}



/* If you want it centered bottom instead of bottom-right, swap inset with this:
.floating-book-btn { left: 50%; transform: translateX(-50%); right: auto; }
.floating-book-btn:hover { transform: translateX(-50%) translateY(-2px); }
.floating-book-btn:active { transform:
*/


/* ============================================= */
/* ✅ MEODAL QUERIES */
.modal {
  display: none; /* 🔒 Hide modals by default */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
}


.modal .close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}
/* ============================================= */
/* ✅ HERO SECTION */
.hero {
  position: relative;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
}
.hero-slideshow{
  position:absolute; inset:0; width:100%; height:100%; z-index:1; overflow:hidden;
}

.hero-slideshow .slide{
  position:absolute; inset:0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: var(--pos, 50% 50%);
  opacity:0; transition: opacity 1s ease-in-out;
}
.hero-slideshow .slide-img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  object-position: var(--pos, 50% 50%); /* keeps your per-slide crop */
  opacity:0;
  transition: opacity .6s ease-in-out;
  will-change: opacity;
}
.hero-slideshow .slide-img.active{ opacity:1; }

/* Mobile overrides (remove old .slide background rules) */
@media (max-width:768px){
  .hero-slideshow .slide-img{
    object-position: var(--pos, 50% 50%);
    display:block;
  }
}


.hero-slideshow .slide.active {
  opacity: 1;
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}
.hero-dots .dot.active {
  background: #fff;
}

.hero-logo-wrapper {
  position: relative;
  z-index: 2;
  margin-top: 48px;              /* sits under your fixed nav */
  text-align: center;
}
.hero-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: #4a7c59;
  text-transform: uppercase;
  letter-spacing: .75px;
}
.hero-tagline {
  position: absolute;
  bottom: 60px; /* above the dots */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.4;
  text-shadow: 0 3px 6px rgba(0,0,0,0.4);
  z-index: 3;
}

.hero-slogan {
  position: absolute;
  top: 80%; /* ↓ lowered from 50% to move it down */
  left: 0;
  transform: translateY(-50%);
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 1px;
  background: linear-gradient(
    90deg,
    #ffffff 0%,   
    #e9f5ec 20%,  
    #4a7c59 50%,  
    #e9f5ec 80%,  
    #ffffff 100%  
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  padding: 0.2em 0.5em;
  animation: heroSloganShimmer 12s linear infinite; /* ⬅ slowed from 6s to 12s */
}

@keyframes heroSloganShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}


/* social icons */
.fb-hero-icon,
.insta-hero-icon {
  position: absolute;
  top: 50%; transform: translateY(-50%);
}
.fb-hero-icon { right: 58px; }
.insta-hero-icon { right: 0; }

.fb-hero-icon img { width: 34px; height: 34px; }
.insta-hero-icon img { width: 60px; height: 60px; }
.fb-hero-icon img:hover,
.insta-hero-icon img:hover { opacity: .75; }

/* thin divider if you want it visible over photo */
.hero-separator { display:none; }



.cta-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 1.2rem;
  text-decoration: none;
}

/* ============================================= */
/* ✅ NAVIGATION */
.nav-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 30px;
  background: rgba(200, 255, 200, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  z-index: 1000;
  flex-wrap: wrap;
}

.navbar {
  display: flex;
  gap: 2rem;
  justify-content: center;
  width: 100%;
}
.navbar a {
  font-family: 'Cormorant Garamond', serif;
  color: #333;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.navbar a:hover {
  color: #9c6b44;
}
.contact-btn {
  border: 2px solid #333;
  color: #333;
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.contact-btn:hover {
  background: #333;
  color: #fff;
}
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 999;
}

/* ============================================= */

.about-section,
.settings-container,
.settings-wrapper {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(245, 250, 247, 0.92) 100%
  ); /* soft gradient instead of flat white */
  backdrop-filter: blur(10px) saturate(1.3);
  border-radius: 18px;
  border: 1px solid rgba(74, 124, 89, 0.2); /* brand green outline */
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.5); /* inner highlight for glass feel */
  padding: 2rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* subtle animated glow */
.about-section::before,
.settings-container::before,
.settings-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(74, 124, 89, 0.12),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.about-section:hover,
.settings-container:hover,
.settings-wrapper:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow:
    0 16px 50px rgba(0, 0, 0, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  border-color: rgba(74, 124, 89, 0.4);
}

.about-section:hover::before,
.settings-container:hover::before,
.settings-wrapper:hover::before {
  opacity: 1;
}

/* ✅ ABOUT SECTION */
.about-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1rem;
  text-align: center;
}
.about-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-transform: uppercase;
  color: #9c6b44;
  margin-bottom: 2rem;
}
.about-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

/* ============================================= */
/* ✅ BOOKING FORM */
.booking-form-section {
  max-width: 600px;
  margin: 8rem auto;
  padding: 2rem;
  text-align: center;
}
.booking-form-section h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 1rem;
  color: #4a7c59;
}
.booking-form-section p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #555;
}
#booking-form label {
  display: block;
  margin: 1rem 0 0.25rem;
  font-weight: bold;
}
#booking-form input,
#booking-form select,
#booking-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 1rem;
}
#booking-form button {
  display: block;
  margin: 2rem auto 0;
  background: #4a7c59;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  max-width: 250px;
}
#booking-form button:hover {
  background: #333;
}
/* ============================================= */
/* ✅ GALLERY — polished grid + masonry */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  padding: 24px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.grid a {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.grid a:focus-visible {
  outline: 3px solid rgba(74,124,89,.5);
  outline-offset: 3px;
}
.grid a::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.18), transparent 60%);
  opacity: 0; transition: opacity .25s ease;
}

.grid img {
  width: 100%;
  aspect-ratio: 4 / 3;             /* consistent tiles */
  object-fit: cover;
  display: block;
  transform: scale(1.001);
  transition: transform .35s ease, filter .35s ease;
}

.grid a:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,0.14); }
.grid a:hover::after { opacity: 1; }
.grid a:hover img { transform: scale(1.04); filter: saturate(1.06) contrast(1.03); }

/* ============================================= */
/* ✅ Masonry (column-based) */
.masonry-grid {
  column-count: 1;
  column-gap: 18px;
  padding: 24px 16px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 600px)  { .masonry-grid { column-count: 2; } }
@media (min-width: 900px)  { .masonry-grid { column-count: 3; } }
@media (min-width: 1200px) { .masonry-grid { column-count: 4; } }

.masonry-grid img {
  width: 100%;
  margin: 0 0 18px;
  display: block;
  border-radius: 14px;
  break-inside: avoid;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transition: transform .35s ease, filter .35s ease, box-shadow .25s ease;
  transform: scale(1.001);
  object-fit: cover;
}
.masonry-grid img:hover {
  transform: scale(1.04);
  filter: saturate(1.06) contrast(1.03);
  box-shadow: 0 14px 32px rgba(0,0,0,0.14);
}


/* ============================================= */
/* ✅ DASHBOARD / TABS */
.dashboard-tabs {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}
.dashboard-tabs button {
  padding: 10px 20px;
  border-radius: var(--radius);
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
}
.dashboard-tabs button.active,
.tab.active {
  display: block;
}
.tab {
  display: none;
  padding: 20px;
}

/* ============================================= */
/* ✅ CALENDAR */
.flatpickr-day {
  font-size: 1.2rem;
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
}
.flatpickr-month {
  font-size: 1.4rem;
}
.flatpickr-weekday {
  font-size: 1rem;
}

/* ============================================= */
/* ✅ MEDIA QUERIES – Mobile Optimization */
/* ============================================= */
/* ✅ MEDIA QUERIES – Mobile Optimization */
@media (max-width: 768px) {
  /* ====== NAVIGATION ====== */
  .navbar {
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    display: none;
    padding: 2rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .navbar.show { display: flex; }
  .nav-container { flex-direction: column; align-items: flex-start; }
  .hamburger { display: block; }
  .dashboard-tabs { flex-direction: column; align-items: center; }

  /* ====== HERO ====== */
  .hero { height: 100svh; min-height: 460px; overflow: hidden; }
  .hero-logo { font-size: clamp(1.5rem, 6vw, 2rem); }
  .hero-slogan { font-size: clamp(1.5rem, 3vw, 1.2rem); }

  .hero-slideshow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
  .hero-slideshow .slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center center; background-repeat: no-repeat;
    opacity: 0; transition: opacity 800ms ease-in-out; display: none;
  }
  .hero-slideshow .slide.active { opacity: 1; display: block; }

  .hero-dots {
    position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 3;
  }
  .hero-dots .dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: background .25s; }
  .hero-dots .dot.active { background: #fff; }

  .hero-separator { margin: 8px 0; }
  .about-section { padding-top: 1.5rem; }


  /* ====== MODALS ====== */
  .modal {
    display: none; justify-content: center; align-items: center;
    padding: 2rem 1rem; overflow-y: auto; height: 100vh;
  }
  .modal-content {
    width: 100%; max-width: 400px; margin: auto; padding: 1.5rem; border-radius: var(--radius);
    background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); position: relative;
  }
  .modal .close { position: absolute; top: 12px; right: 16px; font-size: 1.5rem; color: #333; cursor: pointer; }

  /* ====== CARDS / SECTIONS ====== */
  .about-section,
  .settings-container,
  .settings-wrapper {
    padding: 1.25rem; border-radius: 12px;
    background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  }

  /* ====== GALLERY GRID (force 2 columns) ====== */
  .grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
    padding: 12px;
    max-width: 100% !important;
  }
  .grid > * { min-width: 0 !important; } /* prevent children from forcing 1col */

  /* ====== Masonry (force 2 columns) ====== */
  .masonry-grid {
    column-count: 2 !important;
    column-gap: 8px;
    padding: 12px;
    max-width: 100% !important;
  }
  .masonry-grid img { border-radius: 12px; margin-bottom: 12px; }

  /* ====== SLIDESHOW-CONTAINER SECTIONS ====== */
  .slideshow-container {
    gap: 12px;
    padding: 0 40px 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .slideshow-item { flex: 0 0 auto; max-width: 85vw; border-radius: 12px; }
  .slideshow-item img { max-height: 320px; border-radius: 12px; object-fit: cover; }
}
/* end mobile */
@media (max-width: 768px) {
  /* Force 2-up layout in the portfolio sections */
  .slideshow-container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; /* kill the 220px min */
    gap: 12px;
    padding: 0 12px 16px 70px; /* breathing room from spiral */
  }
  .slideshow-container > * { min-width: 0; } /* prevent child overflow */
}
/* === Mobile-only dashboard polish (append to the END of style.css) === */
@media (max-width: 768px){

  /* Page title: tighter + centered */
  .page-title{
    margin: 16px auto 10px;
    padding: 0 12px;
    font-size: 0; /* hide emojis affecting line-height */
  }
  .page-title::before,
  .page-title::after{ display:none; }
  .page-title,
  .page-title span{
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.25rem, 5.2vw, 1.6rem);
    line-height: 1.15;
  }

  /* Tabs bar → compact, scrollable pills, Home full-width above */
  .dashboard-tabs{
    position: sticky;
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 10px 12px 12px;
    padding: 10px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  /* Home button: full-width, distinct */
  .dashboard-tabs > button:first-child{
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(180deg,#f7faf8,#eef6f1);
    color: #1f3c2e;
    border: 1px solid rgba(74,124,89,.18);
    font-weight: 700;
  }

  /* Tabs row: horizontal scroll pills */
  .dashboard-tabs::after{
    content:"";
    display:block;
    height: 2px;
    background: linear-gradient(90deg,transparent,#e8efe9,transparent);
    margin: 4px 0 2px;
  }
  .dashboard-tabs button[data-tab]{
    display:inline-block;
    max-width: 100%;
    padding: 10px 12px;
    margin-right: 8px;
    border-radius: 999px;
    border: 1px solid rgba(74,124,89,.18);
    background: #fff;
    color:#1f3c2e;
    font-weight: 700;
    white-space: nowrap;
  }
  /* Make the tab buttons live in a scroller line */
  .dashboard-tabs{
    grid-auto-rows: min-content;
  }
  .dashboard-tabs button[data-tab]{
    overflow: hidden;
  }
  /* Create the horizontal scroller via a wrapper trick */
  .dashboard-tabs{
    --_pad: 2px;
  }
  .dashboard-tabs{ /* wrap all */
    /* extra nothing; scroller uses body below */
  }

  /* Active tab state */
  .dashboard-tabs button[data-tab].active{
    background: linear-gradient(180deg,#e8f7ee,#d7f0e3);
    border-color: rgba(74,124,89,.28);
    box-shadow: 0 2px 8px rgba(0,0,0,.06) inset;
  }

  /* Improve hit targets + focus */
  .dashboard-tabs button{ min-height: 44px; }
  .dashboard-tabs button:focus-visible{
    outline: 3px solid rgba(74,124,89,.35);
    outline-offset: 2px;
  }

  /* Panels: edge-to-edge card look */
  .dashboard-content{
    margin: 0 8px 80px; /* bottom space for keyboard / safe area */
    display: block;
  }
  .dashboard-content .tab{
    padding: 0;
    background: transparent;
    border: 0;
  }
  .dashboard-content .tab.active{
    display:block;
    margin: 0 4px 14px;
    padding: 10px;
    background: linear-gradient(180deg,#ffffff,#f7faf8);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
  }

  /* Calendar iframe: adaptive height to viewport minus sticky tabs/title */
  .dashboard-content #tab-calendar iframe{
    display:block;
    width:100%;
    height: calc(100dvh - 190px); /* adjust if your header changes */
    border:0;
    border-radius: 10px;
  }

  /* Tables inside panels: mobile-friendly */
  .tab table{
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
  }
  .tab thead{ position: sticky; top: 0; z-index: 1; }
  .tab th, .tab td{ padding: 10px 12px; font-size: 14px; }
  .tab tbody tr:hover td{ background: #fff; }

  /* Forms in panels */
  .tab input[type="text"],
  .tab input[type="number"],
  .tab input[type="time"],
  .tab select,
  .tab textarea{
    font-size: 16px; /* prevents iOS zoom */
    padding: 12px 12px;
    border-radius: 12px;
  }

  /* Safe areas */
  body{ padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); }
}

