/* =========================================================
LA LUZ BEACH RESORT AND SPA
GALLERY
========================================================= */

/* =========================
RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

html {
scroll-behavior: smooth;
}

body {
font-family: "Inter", sans-serif;
background: #f7f7f5;
color: #202020;
overflow-x: hidden;
}

body.lightbox-open {
overflow: hidden;
}

img {
max-width: 100%;
display: block;
}

button {
font: inherit;
}

/* =========================
HEADER
========================= */

.site-header {
position: sticky;
top: 0;
z-index: 1000;

width: 100%;

background: rgba(255, 255, 255, 0.97);

border-bottom: 1px solid #eeeeeb;
}

.header-inner {
width: min(1180px, calc(100% - 40px));

min-height: 82px;

margin: auto;

display: flex;
align-items: center;

gap: 25px;
}

.logo {
display: inline-flex;
align-items: center;

text-decoration: none;
}

.logo img {
width: auto;
height: 58px;

object-fit: contain;
}

.header-book-btn {
margin-left: auto;

display: inline-flex;
align-items: center;
justify-content: center;

min-height: 44px;

padding: 0 28px;

background: #a6b873;
color: #ffffff;

font-size: 12px;
font-weight: 700;
letter-spacing: 1.2px;

text-decoration: none;

transition:
background 0.3s ease,
transform 0.3s ease;
}

.header-book-btn:hover {
background: #8fa45e;
transform: translateY(-1px);
}

/* =========================
HAMBURGER
========================= */

.menu-toggle {
position: relative;
z-index: 1101;

width: 46px;
height: 46px;

flex-shrink: 0;

display: flex;
flex-direction: column;

align-items: center;
justify-content: center;

gap: 5px;

border: none;
background: transparent;

cursor: pointer;
}

.menu-toggle span {
width: 25px;
height: 2px;

background: #222;

transition:
transform 0.3s ease,
opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
transform: translateY(-7px) rotate(-45deg);
}

/* =========================
MOBILE MENU
========================= */

.mobile-menu {
position: fixed;

top: 82px;
right: 0;

width: min(360px, 100%);
height: calc(100vh - 82px);

padding: 25px;

background: rgba(255, 255, 255, 0.99);

transform: translateX(100%);

visibility: hidden;
opacity: 0;

pointer-events: none;

transition:
transform 0.35s ease,
opacity 0.35s ease,
visibility 0.35s ease;

box-shadow: -15px 0 40px rgba(0, 0, 0, 0.08);
}

.mobile-menu.open {
transform: translateX(0);

visibility: visible;
opacity: 1;

pointer-events: auto;
}

.mobile-menu ul {
list-style: none;
}

.mobile-menu li {
border-bottom: 1px solid #e7e7e3;
}

.mobile-menu a {
display: block;

padding: 17px 5px;

color: #252725;

font-size: 13px;
font-weight: 600;

letter-spacing: 1.5px;

text-decoration: none;

transition:
color 0.25s ease,
padding-left 0.25s ease;
}

.mobile-menu a:hover {
color: #87945f;
padding-left: 10px;
}

/* =========================
HERO
========================= */

.gallery-hero {
position: relative;

min-height: 58vh;

display: flex;
align-items: center;
justify-content: center;

background:
url("images/IMG_9718.JPG")
center center / cover no-repeat;
}

.gallery-hero-overlay {
position: absolute;
inset: 0;

background:
linear-gradient(
180deg,
rgba(0, 0, 0, 0.18),
rgba(0, 0, 0, 0.52)
);
}

.gallery-hero-content {
position: relative;
z-index: 1;

width: min(850px, calc(100% - 40px));

color: #ffffff;

text-align: center;
}

.hero-eyebrow {
display: block;

margin-bottom: 18px;

font-size: 11px;
font-weight: 600;

letter-spacing: 4px;
}

.gallery-hero h1 {
font-family: "Playfair Display", serif;

font-size: clamp(52px, 7vw, 82px);

font-weight: 400;

line-height: 1.1;
}

.hero-line {
width: 65px;
height: 2px;

margin: 25px auto;

background: #a6b873;
}

.gallery-hero p {
font-size: 15px;
letter-spacing: 0.4px;
}

/* =========================
INTRO
========================= */

.gallery-intro {
padding: 90px 20px 70px;

background: #ffffff;

text-align: center;
}

.gallery-intro-inner {
width: min(760px, 100%);

margin: auto;
}

.section-label {
display: block;

color: #87945f;

font-size: 11px;
font-weight: 700;

letter-spacing: 3px;
}

.gallery-intro h2 {
margin-top: 14px;

font-family: "Playfair Display", serif;

font-size: clamp(38px, 5vw, 54px);

font-weight: 400;

color: #202826;
}

.gallery-intro p {
max-width: 650px;

margin: 18px auto 0;

color: #70716d;

font-size: 15px;

line-height: 1.8;
}

/* =========================
GALLERY SECTION
========================= */

.gallery-section {
padding: 25px 20px 110px;

background: #ffffff;
}

.photo-grid {
width: min(1240px, 100%);

margin: auto;

display: grid;

grid-template-columns:
repeat(4, minmax(0, 1fr));

grid-auto-rows: 270px;

gap: 12px;
}

/* =========================
GALLERY ITEM
========================= */

.gallery-item {
position: relative;

width: 100%;
height: 100%;

padding: 0;

border: none;

background: #e9e9e5;

overflow: hidden;

cursor: pointer;

text-align: left;
}

.gallery-item img {
width: 100%;
height: 100%;

object-fit: cover;

transition:
transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1),
filter 0.5s ease;
}

.gallery-item:hover img {
transform: scale(1.045);

filter: brightness(0.78);
}

/* =========================
SPECIAL GRID ITEMS
========================= */

.gallery-item-large {
grid-column: span 2;
grid-row: span 2;
}

.gallery-item-tall {
grid-row: span 2;
}

.gallery-item-wide {
grid-column: span 2;
}

/* =========================
IMAGE OVERLAY
========================= */

.image-overlay {
position: absolute;

inset: 0;

display: flex;
align-items: center;
justify-content: center;

background: rgba(0, 0, 0, 0);

color: #ffffff;

opacity: 0;

transition:
opacity 0.4s ease,
background 0.4s ease;
}

.image-overlay i {
width: 46px;
height: 46px;

display: flex;
align-items: center;
justify-content: center;

border: 1px solid rgba(255, 255, 255, 0.75);

border-radius: 50%;

font-size: 15px;

transform: scale(0.8);

transition:
transform 0.4s ease;
}

.gallery-item:hover .image-overlay {
opacity: 1;

background: rgba(0, 0, 0, 0.16);
}

.gallery-item:hover .image-overlay i {
transform: scale(1);
}

/* =========================
LIGHTBOX
========================= */

.lightbox {
position: fixed;

inset: 0;

z-index: 5000;

display: flex;
align-items: center;
justify-content: center;

padding: 45px 90px;

background: rgba(8, 9, 8, 0.96);

opacity: 0;
visibility: hidden;
pointer-events: none;

transition:
opacity 0.3s ease,
visibility 0.3s ease;
}

.lightbox.open {
opacity: 1;

visibility: visible;

pointer-events: auto;
}

.lightbox-content {
position: relative;

width: min(1100px, 90vw);
height: min(82vh, 850px);

display: flex;
align-items: center;
justify-content: center;
}

.lightbox-content img {
max-width: 100%;
max-height: 100%;

width: auto;
height: auto;

object-fit: contain;

box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
position: absolute;

top: 22px;
right: 25px;

z-index: 2;

width: 46px;
height: 46px;

display: flex;
align-items: center;
justify-content: center;

border: 1px solid rgba(255, 255, 255, 0.35);

border-radius: 50%;

background: transparent;

color: #ffffff;

font-size: 18px;

cursor: pointer;

transition:
background 0.3s ease,
border-color 0.3s ease;
}

.lightbox-close:hover {
background: rgba(255, 255, 255, 0.12);

border-color: rgba(255, 255, 255, 0.75);
}

.lightbox-arrow {
position: absolute;

top: 50%;

z-index: 2;

transform: translateY(-50%);

width: 50px;
height: 50px;

display: flex;
align-items: center;
justify-content: center;

border: 1px solid rgba(255, 255, 255, 0.3);

border-radius: 50%;

background: rgba(255, 255, 255, 0.06);

color: #ffffff;

cursor: pointer;

transition:
background 0.3s ease,
border-color 0.3s ease;
}

.lightbox-arrow:hover {
background: rgba(255, 255, 255, 0.15);

border-color: rgba(255, 255, 255, 0.7);
}

.lightbox-prev {
left: 25px;
}

.lightbox-next {
right: 25px;
}

/* =========================
COUNTER
========================= */

.lightbox-counter {
position: absolute;

left: 50%;
bottom: -35px;

transform: translateX(-50%);

color: rgba(255, 255, 255, 0.75);

font-size: 11px;

letter-spacing: 2px;

white-space: nowrap;
}

/* =========================
FOOTER
========================= */

.site-footer {
background: #eef1f0;
}

.footer-main {
width: min(1120px, calc(100% - 40px));

margin: auto;

padding: 75px 0 65px;

display: grid;

grid-template-columns:
1.2fr 1fr 0.8fr;

gap: 65px;
}

.footer-brand img {
width: 125px;

margin-bottom: 22px;
}

.footer-brand p {
max-width: 400px;

color: #60635f;

font-size: 13px;

line-height: 1.8;
}

.footer-column {
padding-top: 8px;
}

.footer-label {
display: block;

margin-bottom: 22px;

color: #4c554c;

font-size: 11px;
font-weight: 700;

letter-spacing: 3px;
}

.footer-column p {
margin-bottom: 15px;

color: #60635f;

font-size: 13px;

line-height: 1.7;
}

.footer-column p i {
width: 20px;

margin-right: 5px;

color: #87945f;
}

.footer-column a {
text-decoration: none;
}

.footer-column a:hover {
color: #87945f;
}

/* =========================
FOOTER SOCIAL
========================= */

.footer-social {
display: flex;

gap: 10px;

margin-bottom: 25px;
}

.footer-social a {
width: 42px;
height: 42px;

display: flex;
align-items: center;
justify-content: center;

border: 1px solid #cfd4ce;

color: #3e443f;

text-decoration: none;

transition:
background 0.3s ease,
color 0.3s ease;
}

.footer-social a:hover {
background: #a6b873;

border-color: #a6b873;

color: #ffffff;
}

.footer-book {
display: inline-flex;

padding: 13px 20px;

background: #a6b873;

color: #ffffff !important;

font-size: 10px;

font-weight: 700;

letter-spacing: 1.5px;

text-decoration: none;

transition:
background 0.3s ease;
}

.footer-book:hover {
background: #8fa45e;
}

/* =========================
FOOTER BOTTOM
========================= */

.footer-bottom {
border-top: 1px solid #dce0db;

padding: 22px 20px;

text-align: center;
}

.footer-bottom p {
color: #777a75;

font-size: 11px;

letter-spacing: 0.3px;
}

/* =========================
TABLET
========================= */

@media (max-width: 950px) {

.photo-grid {
grid-template-columns:
repeat(3, minmax(0, 1fr));


grid-auto-rows: 240px;


}

.footer-main {
grid-template-columns: 1fr 1fr;


gap: 45px;


}

.footer-brand {
grid-column: 1 / -1;
}

}

/* =========================
MOBILE
========================= */

@media (max-width: 650px) {

.header-inner {
width: calc(100% - 25px);


min-height: 70px;


}

.logo img {
height: 46px;
}

.header-book-btn {
padding: 0 17px;


min-height: 39px;

font-size: 10px;


}

.mobile-menu {
top: 70px;


height: calc(100vh - 70px);


}

.gallery-hero {
min-height: 50vh;
}

.hero-eyebrow {
font-size: 9px;


letter-spacing: 2.5px;


}

.gallery-hero h1 {
font-size: 46px;
}

.gallery-hero p {
font-size: 13px;
}

.gallery-intro {
padding: 70px 20px 55px;
}

.gallery-intro h2 {
font-size: 37px;
}

.gallery-intro p {
font-size: 14px;
}

.gallery-section {
padding: 10px 12px 70px;
}

.photo-grid {
grid-template-columns:
repeat(2, minmax(0, 1fr));


grid-auto-rows: 180px;

gap: 7px;


}

.gallery-item-large {
grid-column: span 2;
grid-row: span 2;
}

.gallery-item-wide {
grid-column: span 2;
}

.gallery-item-tall {
grid-row: span 2;
}

.image-overlay {
display: none;
}

.lightbox {
padding: 35px 15px;
}

.lightbox-content {
width: 100%;


height: 75vh;


}

.lightbox-close {
top: 12px;
right: 12px;


width: 42px;
height: 42px;


}

.lightbox-arrow {
width: 42px;
height: 42px;
}

.lightbox-prev {
left: 10px;
}

.lightbox-next {
right: 10px;
}

.lightbox-counter {
bottom: -30px;
}

.footer-main {
width: calc(100% - 36px);


grid-template-columns: 1fr;

gap: 35px;

padding: 55px 0;


}

.footer-brand {
grid-column: auto;
}

}

/* =========================
VERY SMALL PHONES
========================= */

@media (max-width: 400px) {

.photo-grid {
grid-auto-rows: 145px;
}

.gallery-intro h2 {
font-size: 32px;
}

}

/* =========================
REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {

html {
scroll-behavior: auto;
}

*,
*::before,
*::after {
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
}

}
/* =========================================================
   MASTER HEADER
   MATCHES BOOKING PAGE
========================================================= */

.site-header {
  position: relative;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header-inner {
  min-height: 86px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 45px;

  display: flex;
  align-items: center;

  gap: 30px;
}


/* =========================================================
   LOGO
========================================================= */

.site-header .logo {
  display: flex;
  align-items: center;
  margin-right: auto;

  text-decoration: none;
}

.site-header .logo img {
  width: 145px;
  height: auto;
  display: block;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.site-header .desktop-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.site-header .desktop-nav a {
  position: relative;

  font-size: 13px;
  font-weight: 600;

  letter-spacing: 0.7px;
  text-transform: uppercase;

  color: #444;

  padding: 10px 0;

  text-decoration: none;
}


/* UNDERLINE */

.site-header .desktop-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 0;
  height: 2px;

  background: #758b32;

  transition: width 0.25s ease;
}

.site-header .desktop-nav a:hover::after,
.site-header .desktop-nav a.active::after {
  width: 100%;
}


/* =========================================================
   BOOK NOW
========================================================= */

.site-header .header-book-btn {
  background: #758b32;
  color: #ffffff;

  padding: 13px 20px;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 1px;

  text-decoration: none;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.site-header .header-book-btn:hover {
  background: #556923;
  transform: translateY(-1px);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.site-header .menu-toggle {
  display: none;

  width: 44px;
  height: 44px;

  border: 0;
  background: transparent;

  padding: 0;

  cursor: pointer;
}

.site-header .menu-toggle span {
  display: block;

  width: 25px;
  height: 2px;

  margin: 5px auto;

  background: #222222;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}


/* HAMBURGER → X */

.site-header .menu-toggle.active span:nth-child(1) {
  transform:
    translateY(7px)
    rotate(45deg);
}

.site-header .menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.site-header .menu-toggle.active span:nth-child(3) {
  transform:
    translateY(-7px)
    rotate(-45deg);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.site-header .mobile-menu {
  display: none;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 850px) {

  .site-header .header-inner {
    min-height: 86px;
    padding: 0 25px;
  }


  /* Hide desktop navigation */

  .site-header .desktop-nav,
  .site-header .header-book-btn {
    display: none;
  }


  /* Show hamburger */

  .site-header .menu-toggle {
    display: block;
  }


  /* Mobile dropdown */

  .site-header .mobile-menu {
    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    display: flex;

    flex-direction: column;

    background: #ffffff;

    border-top: 1px solid #eeeeee;

    box-shadow:
      0 12px 25px rgba(0, 0, 0, 0.12);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;

    z-index: 999;
  }


  .site-header .mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }


  .site-header .mobile-menu a {
    display: block;

    padding: 15px 25px;

    border-bottom: 1px solid #eeeeee;

    color: #333333;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    text-decoration: none;
  }


  .site-header .mobile-menu a:hover,
  .site-header .mobile-menu a.active {
    color: #758b32;
  }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

  .site-header .header-inner {
    padding: 0 18px;
  }

  .site-header .logo img {
    width: 135px;
  }

}