/* ============================================================
   STELLA BAY — Main Stylesheet
   Custom font: Geologica Variable (assets/fonts/)
   ============================================================ */

/* ── Geologica Variable Font ── */
@font-face {
  font-family: 'Geologica';
  src: url('../assets/fonts/Geologica_VariableFont_CRSV,SHRP,slnt,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/*
   Structure:
   1. CSS Variables & Reset
   2. Typography
   3. Navbar
   4. Hero
   5. Sections (shared)
   6. Rooms
   7. Apartments
   8. Amenities
   9. Location
   10. Contact & Form
   11. Footer
   12. Utilities
   13. Responsive
   14. Interior Pages
   15. Burger & Sidebar
   ============================================================ */


/* ── 1. CSS Variables & Reset ── */
:root {
  --bg:        #ececee;
  --warm:      #d8d8da;
  --stone:     #9e8e7e;
  --dark:      #2c2520;
  --accent:    #b8965a;
  --body-text: #5a4e45;

  --font-serif: 'Geologica', sans-serif;
  --font-sans:  'Geologica', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  background: var(--bg);
  color: var(--dark);
    overflow-x: hidden;
  position: relative;
}


/* ── 2. Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 300;
}
/* Margin Top */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

/* Margin Bottom */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

/* Padding Top */
.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

/* Padding Bottom */
.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }
/* Padding X (left + right) */
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

/* Padding Y (top + bottom) */
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }


.mt-auto { margin-top: auto !important; }
.mb-auto { margin-bottom: auto !important; }
.ms-auto { margin-left: auto !important; }
.me-auto { margin-right: auto !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }
.m-auto  { margin: auto !important; }

section {
  scroll-margin-top: 80px;
}
.section-label {
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: .5rem;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2rem);
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 1.2rem;
}

.body-text {
  color: var(--body-text);
  max-width: 620px;
  font-size: .99rem;
}
a.link {
  color: #b8965a;
}
.divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 1.5rem 0;
}

.font-18 { font-size: 18px; }
.font-16 { font-size: 16px; }


/* ── 3. Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  padding: 0.6rem 2rem 0;
  transition: background .5s ease, border-color .5s ease, padding .5s ease;
}

.navbar.scrolled {
  background: rgba(236, 236, 238, .97);
  border-bottom-color: var(--warm);
  backdrop-filter: blur(8px);
  padding-bottom: 0;
  min-height: 120px;
}

.navbar.scrolled .container-fluid {
  flex-direction: row !important;
  align-items: center;
}

.navbar.scrolled .navbar-links-row {
  flex: none;
  justify-content: center;
}

/* Row 1: links bar */
.navbar-links-row {
  width: 100%;
}

/* Dark logo — hidden over hero, appears on scroll */
.navbar-logo-scrolled {
  position: absolute;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}

.navbar.scrolled .navbar-logo-scrolled {
  position: relative;
  left: auto;
  opacity: 1;
  pointer-events: auto;
  margin-right: auto;
}

/* Row 2: white logo — collapses on scroll */
.navbar-logo-row {
  text-align: center;
  max-height: 220px;
  overflow: hidden;
  padding: 0.5rem 0 0.75rem;
  transition: max-height .5s ease, padding .5s ease, visibility 0s .5s;
  visibility: visible;
}

.navbar.scrolled .navbar-logo-row {
  display: none;
}

/* .navbar.scrolled .navbar-logo-row {
  max-height: 0;
  padding: 0;
  margin: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height .5s ease, padding .5s ease, visibility 0s;
} */

.navbar {
  transition: background .5s ease, border-color .5s ease, padding .5s ease, opacity .3s ease;
}

.navbar.scrolled {
  opacity: 1;
}

.navbar:not(.scrolled) {
  transition: background .8s ease, border-color .8s ease, padding .8s ease;
}

/* Nav links */
.navbar-brand { line-height: 1.1; transition: opacity .35s; }

.navbar-brand small {
  display: block;
  font-size: .55rem;
  font-weight: 300;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  transition: color .35s;
}

.navbar.scrolled .navbar-brand       { color: var(--dark) !important; }
.navbar.scrolled .navbar-brand small { color: var(--stone); }

.nav-link {
  font-size: 1.1rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85) !important;
  padding: .5rem .85rem !important;
  transition: color .2s;
}

.nav-link:hover                  { color: #fff !important; }
.navbar.scrolled .nav-link       { color: #000000 !important; }
.navbar.scrolled .nav-link:hover { color: var(--accent) !important; }


/* ── 4. Hero ── */
.hero {
  position: relative;
  height: 88vh;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  background: linear-gradient(160deg, #c9dce6 0%, #a8bfc9 35%, #8fa09c 65%, #7a8a7a 100%);
  
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero/banner-home.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #d4e8f0 0%, #b8d0da 40%, #9eb8c2 65%, #8da09a 80%, #7d8f80 100%);
}

.hero-beach {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 38%;
  background: linear-gradient(175deg, #c8b89a 0%, #b5a285 50%, #a08e72 100%);
  clip-path: polygon(0 60%, 12% 40%, 28% 55%, 45% 38%, 62% 50%, 78% 35%, 92% 48%, 100% 38%, 100% 100%, 0 100%);
}

.hero-sea {
  position: absolute;
  bottom: 28%; left: 0; right: 0;
  height: 18%;
  background: linear-gradient(180deg, rgba(122,165,184,.6) 0%, rgba(100,140,160,.8) 100%);
  clip-path: polygon(0 40%, 15% 20%, 35% 45%, 55% 15%, 75% 40%, 90% 20%, 100% 35%, 100% 100%, 0 100%);
}

.hero-railing {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 18%;
  background: linear-gradient(90deg, transparent, rgba(210,195,175,.35));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.35) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 4rem;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 200;
  letter-spacing: .12em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(40,30,20,.25);
  margin-bottom: .4rem;
}

.hero-content .hero-sub {
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  margin-bottom: 2rem;
}

.hero-content .hero-note {
  font-size: .65rem;
  letter-spacing: .2em;
  color: rgba(255,255,255,.6);
  margin-top: .75rem;
  margin-bottom: 0;
}

.btn-hero {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,.7);
  padding: 12px 10px;
  text-decoration: none;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(4px);
  transition: background .25s, color .25s;
  border-radius: 12px;
}

.btn-hero:hover {
  background: #fff;
  color: var(--dark);
}

.bottom-tag::before {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: white;
  margin: 0 auto 18px;
}


/* ── 5. Sections (shared) ── */
section { padding: 6rem 0; }

.section-rule {
  border: none;
  border-top: 1px solid var(--dark);
  opacity: 0.22;
  margin: 0;
}


/* ── 6. Rooms ── */
#rooms { background: var(--bg); }

.room-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: var(--warm);
}

.img-room-1 {
  background: linear-gradient(135deg, #e8ddd0 0%, #d4c8b8 40%, #c8baa8 70%, #b8a898 100%);
  position: relative;
  overflow: hidden;
}
.img-room-1::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(255,248,230,.4) 0%, transparent 60%),
              linear-gradient(180deg, transparent 50%, rgba(120,100,80,.15) 100%);
}

.img-room-2 {
  background: linear-gradient(135deg, #ddd5c8 0%, #cdc4b5 50%, #bdb0a0 100%);
  position: relative;
  overflow: hidden;
}
.img-room-2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 30%, rgba(255,245,220,.35) 0%, transparent 55%);
}


/* ── 7. Apartments ── */
#apartments { background: var(--bg); }

.img-apt-1 {
  background: linear-gradient(135deg, #e0d8cc 0%, #cec5b8 45%, #bfb3a5 100%);
  position: relative;
  overflow: hidden;
}
.img-apt-1::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(255,248,235,.35) 0%, transparent 58%);
}

.img-apt-2 {
  background: linear-gradient(135deg, #d8d0c4 0%, #c8bfb0 50%, #b8b0a0 100%);
}


/* ── 8. Amenities ── */
.amenities-title {
  font-size: .9rem;
  margin-top: 30px;
  font-weight: 400;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #000;
  padding-bottom: .5rem;
  margin-bottom: 1.2rem;
}

.amenity-icon {
  font-size: 1.4rem;
  color: var(--stone);
}

.amenity-label {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #000;
  margin: 0rem 0 0.5rem;
}

.amenity-icon-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  opacity: 1;
}


/* ── 9. Location ── */
#location { background: var(--bg); }

.map-box {
  border: 1px solid var(--warm);
  padding: 2rem;
  background: var(--bg);
}

.island-map {
  width: 100%;
  max-width: 320px;
}

.location-item {
  font-size: .85rem;
  color: var(--body-text);
  padding: .4rem 0;
  border-bottom: 1px solid var(--warm);
}

.location-item:last-child { border-bottom: none; }

.location-item i {
  color: var(--accent);
  margin-right: .5rem;
}


/* ── 10. Contact & Form ── */
#contact { background: var(--bg); }

.contact-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: .75rem;
  margin-top: 3.75rem;
}

.contact-subheading {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1rem;
}

.form-label-custom {
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 2rem;
  display: block;
}

.form-control-custom {
  border: none;
  border-bottom: 1px solid #000000;;
  border-radius: 0;
  background: transparent;
  padding: .65rem 0;
  font-family: var(--font-sans);
  font-size: .88rem;
  font-weight: 300;
  color: var(--dark);
  transition: border-color .2s;
  outline: none;
  box-shadow: none !important;
  width: 100%;
}

.form-control-custom:focus {
  border-bottom-color: #000000;
  background: transparent;
}

.form-control-custom::placeholder {
  color: #7e7e7e;
  font-weight: 600;
}

textarea.form-control-custom { resize: none; }

.btn-submit {
  background: transparent;
  color: #000000;
  border: 2px solid #000000;
  padding: .75rem 2.5rem;
  font-size: .8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 400;
  cursor: pointer;
  transition: background .25s;
}

.btn-submit:hover    { 
  background: #000000;
  color: #ffffff;    
  
}
.btn-submit:disabled { opacity: .7; cursor: not-allowed; }
.btn-submit.sent     { background: #5a8a6a; }

.form-message {
  font-size: .82rem;
  letter-spacing: .05em;
  margin-top: .5rem;
  min-height: 1.2rem;
}

.form-message.success { color: #4a7a5a; }
.form-message.error   { color: #c0392b; }


/* ── 11. Footer ── */
footer {
  background: #000000;
  color: #ffffff;
  padding: 2rem;
  text-align: center;
  font-size: .72rem;
  letter-spacing: .15em;
}

footer .footer-accent { color: var(--accent); }


/* ── 12. Utilities ── */
.btn-link-custom {
  font-size: .79rem;
  letter-spacing: 1px;  
  color: var(--dark);
  text-decoration: none;
  border-bottom: 0px solid var(--accent);
  padding-bottom: 2px;
  transition: color .2s;
  display: inline-block;
  font-weight: 600;
}

.btn-link-custom:hover { color: var(--accent); }


/* ── 13. Responsive ── */
@media (max-width: 991px) {
  .navbar { padding: 0.75rem 1rem; }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .hero   { height: 70vh; }
  .body-text { max-width: 100%; }
}
.footer-nav-link,
.footer-contact a,
.footer-social-link {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 0.9rem; 
}
.footer-col-title {
  font-size: 1rem;
}
.footer-nav-link:hover,
.footer-contact a:hover,
.footer-social-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-social-link {
  font-size: 1.6rem;
}
.footer-nav {
  display: flex;
  flex-direction: column !important;
  gap: .5rem;
}
a.crazylemon {
  color:#000000
}
a.crazylemon:hover {
  color: #ffda00;
  text-decoration: none;
}
.copyright {
  font-size: 0.9rem
}
/* ── 14. Interior Pages ── */
.navbar.scrolled .navbar-brand { color: var(--dark) !important; }

.page-header {
  padding: 8rem 0 4rem;
  background: var(--bg);
}

.gallery-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  background: var(--warm);
  transition: opacity .25s;
}

.gallery-img--wide { height: 380px; }
.gallery-img:hover { opacity: .88; }

.img-placeholder {
  background: linear-gradient(135deg, #ddd8d0 0%, #cdc8be 50%, #bdb8ae 100%);
}

.nav-link.active { color: var(--accent) !important; }


/* ── 15. Burger Button ── */
.burger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: absolute;
  right: 0;
  z-index: 10;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: rgba(255,255,255,.9);
  transition: background .35s;
}

.navbar.scrolled .burger-btn span { background: var(--dark); }

.navbar.scrolled .burger-btn {
  position: relative;
  right: auto;
  margin-left: auto;
}


/* ── 15. Sidebar Overlay ── */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  backdrop-filter: blur(2px);
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}


/* ── 15. Sidebar Panel ── */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 85vw);
  height: 100dvh;
  max-height: 100dvh;
  background: var(--bg);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.16,1,.3,1);
  display: flex;
  flex-direction: column;
  padding: 2rem 2.5rem;
  border-left: 1px solid var(--warm);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sidebar.open { transform: translateX(0); }

.sidebar-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--stone);
  line-height: 1;
  padding: 0;
  transition: color .2s;
}

.sidebar-close:hover { color: var(--dark); }

.sidebar-logo {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 0 0 auto;
}
.sidebar-link {
  font-size: .95rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--warm);
  transition: color .2s, padding-left .2s;
  display: block;
}

.sidebar-link:first-child { border-top: 1px solid var(--warm); }
.sidebar-link:hover { color: var(--accent); padding-left: .5rem; }

.sidebar-lang {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 2.5rem;
}

.sidebar-lang-btn {
  font-size: .9rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  transition: color .2s;
}

.sidebar-lang-btn:hover { color: var(--accent); }
.sidebar-lang-sep       { color: var(--warm); }

.sidebar-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.sidebar-social-link {
  font-size: 1.3rem;
  color: var(--dark);
  text-decoration: none;
  transition: color .2s;
}

.sidebar-social-link:hover {
  color: var(--accent);
}

.sidebar-footer {
  margin-top: 1.5rem;
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--stone);
  line-height: 1.8;
}

body.sidebar-open { overflow: hidden; }

.burger-btn {
  top: 1px
}
.section-rule-img {
  display: block;
  margin: 0 auto;
  width: 50%;
  height: 1px;
}
.font-18 {
  font-size: 18px;
}


.acceptance-checkbox {
  width: 14px;
  height: 14px;
  min-width: 14px;
  accent-color: var(--accent);
  cursor: pointer;
}

.acceptance-label {
  font-size: .75rem;
  letter-spacing: .05em;
  color: #000000;
  line-height: 1.6;
  cursor: pointer;
}

.acceptance-link {
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.acceptance-link:hover { color: var(--accent); }




/* ── Scroll animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal--left {
  transform: translateX(-50px);
}

.reveal.reveal--right {
  transform: translateX(50px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Staggered children */
.reveal-group > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-group.is-visible > *:nth-child(1) { transition-delay: 0s;    opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(2) { transition-delay: 0.1s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: 0.2s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: 0.3s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(5) { transition-delay: 0.4s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(6) { transition-delay: 0.5s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(7) { transition-delay: 0.55s; opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(8) { transition-delay: 0.6s;  opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(9) { transition-delay: 0.65s; opacity: 1; transform: none; }


.about-img-stack {
  position: relative;
  height: 500px;
  margin: 3rem 2rem;
}

.stack-img {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  border-radius: 12px;
}

.stack-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Back card — rotated left */
.stack-img--back2 {
  width: 65%;
  height: 75%;
  top: 0;
  left: 0;
  transform: rotate(-4deg);
  z-index: 1;
}

/* Middle card — rotated right */
.stack-img--back1 {
  width: 65%;
  height: 75%;
  top: 5%;
  left: 8%;
  transform: rotate(2deg);
  z-index: 2;
}

/* Front card — straight, larger */
.stack-img--front {
  width: 72%;
  height: 80%;
  bottom: 0;
  right: 0;
  transform: rotate(-1deg);
  z-index: 3;
}

.stack-img {
  transition: transform .10s ease, box-shadow .10s ease;
}

.stack-img--front:hover {
  transform: rotate(deg) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}

.stack-img--back3 {
  width: 58%;
  height: 68%;
  top: 8%;
  right: 0;           /* δεξιά αντί για αριστερά */
  left: auto;
  transform: rotate(5deg);
  z-index: 0;
}

.stack-img--back3 img {
  filter: brightness(.85) saturate(.75);
  transition: filter .7s ease;
}

.stack-img--back3:hover {
  transform: rotate(8deg) translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  z-index: 4;
}

.stack-img--back3:hover img {
  filter: brightness(1) saturate(1);
}

/* GALLERY PAGE */

/* ── Page header (inner pages) ── */
.page-header {
  padding: 60px 0 40px;
}


/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
  background: rgba(255,255,255,0.1);
}
.lightbox-counter {
  /* position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  letter-spacing: 0.05em; */
  display: none;
}
.h-100 {
  min-height: 200px;
}
.gallery-item {
  overflow: hidden;
  position: relative;
  display: block;
  line-height: 0;
}

.gallery-item .gallery-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: transform .6s cubic-bezier(.25, .46, .45, .94);
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .6s ease;
  cursor: pointer;
}
.gallery-overlay {
  pointer-events: none;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
  background: rgba(0,0,0,.18);
}
.about-img-stack {
  position: relative;
  height: 500px;
  margin: 3rem 2rem;
}

.stack-img {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

.stack-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Back card — rotated left */
.stack-img--back2 {
  width: 65%;
  height: 75%;
  top: 0;
  left: 0;
  transform: rotate(-4deg);
  z-index: 1;
}

/* Middle card — rotated right */
.stack-img--back1 {
  width: 65%;
  height: 75%;
  top: 5%;
  left: 8%;
  transform: rotate(2deg);
  z-index: 2;
}

/* Front card — straight, larger */
.stack-img--front {
  width: 72%;
  height: 80%;
  bottom: 0;
  right: 0;
  transform: rotate(-1deg);
  z-index: 3;
}
.stack-img--back2:hover {
  transform: rotate(-6deg) translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  z-index: 4;
}

.stack-img--back1:hover {
  transform: rotate(4deg) translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  z-index: 4;
}


.flatpickr-calendar {
  font-family: var(--font-sans);
  border-radius: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  border: 1px solid var(--warm);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--dark);
  border-color: var(--dark);
}

.flatpickr-day.inRange {
  background: var(--warm);
  border-color: var(--warm);
  box-shadow: -5px 0 0 var(--warm), 5px 0 0 var(--warm);
}

.flatpickr-day:hover {
  background: var(--warm);
  border-color: var(--warm);
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month,
.flatpickr-weekday {
  color: var(--dark);
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  fill: var(--dark);
}

.form-date-label {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color:#000000;
  display: block;
  margin-bottom: .3rem;
}

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: rgba(255,255,255,.85);
  z-index: 9999;
  padding: 1.25rem 2rem;
  transform: translateY(100%);
  transition: transform .4s ease;
}



.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: .82rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.cookie-link {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.cookie-btn {
  font-family: var(--font-sans);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .6rem 1.25rem;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
  white-space: nowrap;
}

.cookie-btn:hover { opacity: .8; }

.cookie-btn--accept {
  background: var(--accent);
  color: #fff;
}

.cookie-btn--reject {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.3);
}

.cookie-btn--settings {
  background: transparent;
  color: rgba(255,255,255,.5);
  border: none;
  padding: .6rem 0;
}

/* ── Cookie Modal ── */
.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
}

.cookie-modal.visible {
  display: flex;
}

.cookie-modal-box {
  background: var(--bg);
  max-width: 480px;
  width: 90%;
  padding: 2.5rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--stone);
}

.cookie-modal-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.cookie-modal-text {
  font-size: .82rem;
  color: var(--stone);
  margin-bottom: 1.5rem;
}

.cookie-category {
  border-top: 1px solid var(--warm);
  padding: 1rem 0;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: .4rem;
}

.cookie-always-on {
  font-size: .65rem;
  color: var(--accent);
  letter-spacing: .1em;
}

.cookie-category-text {
  font-size: .78rem;
  color: var(--stone);
  margin: 0;
  line-height: 1.5;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  cursor: pointer;
}

.cookie-toggle input { display: none; }

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--warm);
  border-radius: 20px;
  transition: .3s;
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .3s;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--accent);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(16px);
}

.cookie-modal-actions {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--warm);
}

.cookie-modal-actions .cookie-btn--reject {
  color: var(--dark);
  border-color: var(--warm);
}
span.field-error {
  color: #c0392b;
}

@media (max-width: 600px) {
  .cookie-content { flex-direction: column; align-items: flex-start; }
  .cookie-modal-actions { flex-direction: column; }
}

body.sidebar-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

@media (max-width: 767px) {
  .cookie-actions {
    flex-direction: column!important;
    width: 100%;
  }
  
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}
