/* =========================================
   LAYOUT — Header, Nav, Footer, Grids
   ========================================= */

/* ══════════════════════════════════════════
   HEADER / NAVIGATION
   ══════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--duration-base) var(--ease-out);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.85rem 0;
  box-shadow: 0 1px 30px rgba(0,0,0,0.15);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
  text-decoration: none;
}

.logo__icon {
  width: 36px;
  height: 46px;
  color: var(--color-gold);
  transition: transform var(--duration-base) var(--ease-out);
}

.logo:hover .logo__icon {
  transform: scale(1.08);
}

.logo__text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-white);
}

.logo__subtext {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-top: -2px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__links {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav__link {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-gold);
  transition: width var(--duration-base) var(--ease-out);
}

.nav__link:hover {
  color: var(--color-white);
}

.nav__link:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--duration-base) var(--ease-out);
  transform-origin: center;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Mobile Nav Overlay ── */
@media (max-width: 991px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--color-graphite);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-base) var(--ease-out),
                visibility var(--duration-base) var(--ease-out);
    z-index: 999;
  }

  .nav__links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    font-size: 1.5rem;
    color: var(--color-white);
  }

  .nav__toggle {
    display: flex;
  }

  .site-header .nav__cta {
    display: none;
  }
}

/* ══════════════════════════════════════════
   GRID LAYOUTS
   ══════════════════════════════════════════ */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (min-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-2--reverse {
  direction: rtl;
}

.grid-2--reverse > * {
  direction: ltr;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 480px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
}

/* ══════════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════════ */

.section__header {
  margin-bottom: var(--space-xl);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-xs);
}

@media (min-width: 768px) {
  .section__label {
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: var(--space-sm);
  }
}

.section__label::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1.5px;
  background: var(--color-gold);
}

.section__title {
  max-width: 700px;
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__title {
  margin: 0 auto;
}

.section__header--center .section__label::before {
  display: none;
}

/* ══════════════════════════════════════════
   IMAGE BLOCKS
   ══════════════════════════════════════════ */

.img-block {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.img-block:hover img {
  transform: scale(1.04);
}

.img-block--tall {
  aspect-ratio: 3 / 4;
}

.img-block--wide {
  aspect-ratio: 16 / 10;
}

.img-block--square {
  aspect-ratio: 1;
}

/* Gold accent corner */
.img-block--accent::before {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 80px;
  height: 80px;
  border-bottom: 3px solid var(--color-gold);
  border-right: 3px solid var(--color-gold);
  z-index: 2;
  border-radius: 0 0 var(--radius-lg) 0;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */

.site-footer {
  background: var(--color-graphite);
  color: var(--color-white);
  padding: var(--space-2xl) 0 var(--space-lg);
}

@media (min-width: 1024px) {
  .site-footer {
    padding-top: var(--space-3xl);
  }
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
  }
}

.footer__about p {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: var(--space-md);
  max-width: 340px;
}

.footer__heading {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  position: relative;
}

.footer__heading::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-gold);
  margin-top: var(--space-xs);
}

.footer__list li {
  margin-bottom: 0.65rem;
}

.footer__list a {
  color: rgba(255,255,255,0.55);
  font-size: 0.925rem;
  transition: color var(--duration-fast) var(--ease-out),
              padding-left var(--duration-fast) var(--ease-out);
}

.footer__list a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: var(--space-sm);
  color: rgba(255,255,255,0.55);
  font-size: 0.925rem;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-gold);
}

.footer__contact-item a {
  color: rgba(255,255,255,0.55);
}

.footer__contact-item a:hover {
  color: var(--color-gold);
}

/* Social */
.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__social-link:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
}

/* Bottom bar */
.footer__bottom {
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
  margin: 0;
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer__bottom-links a {
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
}

.footer__bottom-links a:hover {
  color: var(--color-gold);
}

/* ══════════════════════════════════════════
   MOBILE STICKY BOOKING CTA
   ══════════════════════════════════════════ */

.mobile-cta {
  display: none;
}

@media (max-width: 991px) {
  .mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 998;
    background: var(--color-graphite);
    padding: var(--space-sm) var(--gutter);
    gap: var(--space-xs);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  }

  .mobile-cta .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.85rem 1rem;
  }
}
