/* ==========================================================================
   TWIN BROTHER TAILORING & BOUTIQUE — LUXURY BESPOKE DESIGN SYSTEM
   Palette: Deep Midnight Navy, Rich Charcoal, Warm Ivory, Champagne Gold
   ========================================================================== */

:root {
  --color-navy-dark: #0A0E17;
  --color-navy: #111827;
  --color-navy-surface: #182234;
  --color-navy-card: #1F2C42;
  --color-navy-border: #2D3E5D;

  --color-charcoal: #202124;
  --color-charcoal-light: #2D2F34;

  --color-ivory: #F7F3EB;
  --color-ivory-warm: #EFE9DC;
  --color-ivory-card: #FFFFFF;

  --color-gold: #C6A66B;
  --color-gold-light: #E5D19E;
  --color-gold-dark: #9E7A3E;
  --color-gold-glow: rgba(198, 166, 107, 0.25);

  --color-grey-soft: #D8D8D5;
  --color-grey-muted: #9CA3AF;
  --color-white: #FFFFFF;

  --font-serif: 'Cinzel', 'Playfair Display', Garamond, 'Georgia', serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 8px 32px rgba(198, 166, 107, 0.2);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  
  --header-height: 84px;
  --bottom-nav-height: 64px;
}

/* ---------------- RESET & BASE ---------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-navy);
  color: var(--color-ivory);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  padding-bottom: 0;
}

@media (max-width: 991px) {
  body {
    padding-bottom: var(--bottom-nav-height);
  }
}

img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------------- TYPOGRAPHY ---------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.25;
  letter-spacing: 0.03em;
}

.text-gold {
  color: var(--color-gold);
}

.text-ivory {
  color: var(--color-ivory);
}

.text-muted {
  color: var(--color-grey-muted);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.section-label::before,
.section-label::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold));
}
.section-label::after {
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-grey-soft);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

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

/* ---------------- CONTAINERS & UTILITIES ---------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-padding-sm {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
  color: var(--color-navy-dark);
  box-shadow: 0 4px 20px rgba(198, 166, 107, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FFFFFF, var(--color-gold-light), var(--color-gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(198, 166, 107, 0.5);
  color: #0A0E17;
}

.btn-secondary {
  background: transparent;
  color: var(--color-ivory);
  border: 1px solid var(--color-gold);
}

.btn-secondary:hover {
  background: rgba(198, 166, 107, 0.12);
  color: var(--color-gold-light);
  border-color: var(--color-gold-light);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--color-ivory);
  color: var(--color-navy-dark);
  font-weight: 600;
}

.btn-light:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover {
  background: var(--color-gold);
  color: var(--color-navy);
}

/* ---------------- HEADER & NAVIGATION ---------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(198, 166, 107, 0.15);
}

.site-header.scrolled {
  background: rgba(10, 14, 23, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: 72px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(198, 166, 107, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 44px;
  width: auto;
  transition: var(--transition-fast);
}

@media (max-width: 576px) {
  .brand-logo img {
    height: 36px;
  }
}

.nav-desktop {
  display: none;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-link {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--color-grey-soft);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: var(--color-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: #FFFFFF;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 768px) {
  .header-actions .btn {
    display: none;
  }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  color: var(--color-gold);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(198, 166, 107, 0.2);
}

@media (min-width: 992px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------- MOBILE DRAWER NAVIGATION ---------------- */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--color-navy);
  border-left: 1px solid rgba(198, 166, 107, 0.25);
  z-index: 1060;
  padding: 2rem 1.5rem 6rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(198, 166, 107, 0.15);
}

.mobile-drawer-close {
  color: var(--color-gold);
  font-size: 1.5rem;
  padding: 4px;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-family: var(--font-serif);
  color: var(--color-ivory);
  letter-spacing: 0.08em;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-gold);
  padding-left: 8px;
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 2rem;
}

/* ---------------- MOBILE BOTTOM APP BAR ---------------- */
.bottom-app-bar {
  display: none;
}

@media (max-width: 991px) {
  .bottom-app-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height);
    background: rgba(17, 24, 39, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(198, 166, 107, 0.2);
    z-index: 1040;
    justify-content: space-around;
    align-items: center;
    padding: 0 0.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--color-grey-muted);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    flex: 1;
    text-align: center;
  }

  .bottom-nav-item svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: var(--transition-fast);
  }

  .bottom-nav-item:hover,
  .bottom-nav-item.active {
    color: var(--color-gold);
  }

  .bottom-nav-item.active svg {
    transform: translateY(-2px);
    fill: var(--color-gold);
  }

  .bottom-nav-item.highlight {
    background: linear-gradient(135deg, rgba(198, 166, 107, 0.2), rgba(198, 166, 107, 0.05));
    border: 1px solid rgba(198, 166, 107, 0.3);
    color: var(--color-gold-light);
  }
}

/* ---------------- HERO SECTION ---------------- */
.hero-editorial {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-color: var(--color-navy-dark);
  overflow: hidden;
  padding: 3rem 0;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.02);
  transition: transform 10s ease;
  filter: brightness(0.72) contrast(1.08);
}

.hero-editorial:hover .hero-bg-image {
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 45%, rgba(17, 24, 39, 0.15) 0%, rgba(10, 14, 23, 0.85) 75%, rgba(10, 14, 23, 0.95) 100%),
              linear-gradient(180deg, rgba(10, 14, 23, 0.4) 0%, rgba(10, 14, 23, 0.9) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
  padding: 3rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(198, 166, 107, 0.35);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.12;
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.hero-title span {
  display: block;
  color: var(--color-gold);
  font-style: italic;
  font-family: 'Playfair Display', serif;
  text-transform: none;
  font-weight: 400;
  font-size: 0.92em;
}

.hero-description {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--color-ivory);
  margin-bottom: 2.5rem;
  max-width: 620px;
  font-weight: 300;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.page-header-banner {
  padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(2rem, 3.5vw, 3rem);
  background: linear-gradient(180deg, #0A0E17 0%, var(--color-navy) 100%);
  border-bottom: 1px solid rgba(198, 166, 107, 0.15);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(198, 166, 107, 0.2);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(198, 166, 107, 0.12);
  border: 1px solid rgba(198, 166, 107, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
}

.highlight-text h4 {
  font-size: 0.95rem;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-weight: 600;
}

.highlight-text p {
  font-size: 0.78rem;
  color: var(--color-grey-muted);
}

/* ---------------- EDITORIAL CARDS & GRIDS ---------------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}

/* Service & Showcase Cards */
.editorial-card {
  background: var(--color-navy-surface);
  border: 1px solid rgba(198, 166, 107, 0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.editorial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 166, 107, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), var(--shadow-gold);
}

.card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background-color: var(--color-navy-dark);
}

.card-image-wrap.square {
  aspect-ratio: 1/1;
}

.card-image-wrap.tall {
  aspect-ratio: 3/4.5;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-card:hover .card-img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(8px);
  color: var(--color-gold-light);
  border: 1px solid rgba(198, 166, 107, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-content {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--color-white);
  transition: var(--transition-fast);
}

.editorial-card:hover .card-title {
  color: var(--color-gold-light);
}

.card-desc {
  font-size: 0.92rem;
  color: var(--color-grey-soft);
  margin-bottom: 1.5rem;
  font-weight: 300;
  line-height: 1.6;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.card-pricing-label {
  font-size: 0.82rem;
  color: var(--color-gold);
  font-style: italic;
  font-family: var(--font-serif);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
}

.card-link:hover {
  color: #FFFFFF;
  gap: 10px;
}

/* ---------------- SECTION BANNER / EDITORIAL FEATURE ---------------- */
.editorial-feature {
  background: linear-gradient(135deg, #161D2B 0%, #0F1420 100%);
  border-top: 1px solid rgba(198, 166, 107, 0.15);
  border-bottom: 1px solid rgba(198, 166, 107, 0.15);
  position: relative;
  overflow: hidden;
}

.feature-media-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(198, 166, 107, 0.3);
  box-shadow: var(--shadow-lg);
}

.feature-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-media-box:hover img {
  transform: scale(1.03);
}

.gold-frame {
  position: relative;
}

.gold-frame::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(198, 166, 107, 0.25);
  border-radius: calc(var(--radius-md) + 6px);
  pointer-events: none;
  z-index: 1;
}

/* ---------------- SCHOOL UNIFORM SPECIALIST SECTION ---------------- */
.uniform-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.pinafore-card {
  background: var(--color-navy-surface);
  border: 1px solid rgba(198, 166, 107, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.pinafore-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.pinafore-img-wrap {
  width: 100%;
  aspect-ratio: 3/4.8;
  overflow: hidden;
  background: #0A0E17;
}

.pinafore-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pinafore-info {
  padding: 1.25rem;
  text-align: center;
}

.pinafore-num {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.pinafore-title {
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.pinafore-desc {
  font-size: 0.8rem;
  color: var(--color-grey-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

/* ---------------- CRAFTSMANSHIP & WORKSHOP SHOWCASE ---------------- */
.craft-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.craft-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(198, 166, 107, 0.15);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.craft-card:hover {
  background: rgba(198, 166, 107, 0.05);
  border-color: var(--color-gold);
}

.craft-icon-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
  line-height: 1;
}

.craft-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.craft-desc {
  font-size: 0.9rem;
  color: var(--color-grey-soft);
  line-height: 1.6;
}

/* ---------------- PORTFOLIO GALLERY & FILTER TABS ---------------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-grey-soft);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(198, 166, 107, 0.2);
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-gold);
  color: var(--color-navy-dark);
  border-color: var(--color-gold);
  box-shadow: 0 4px 15px rgba(198, 166, 107, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  background-color: var(--color-navy-dark);
  border: 1px solid rgba(198, 166, 107, 0.15);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(10, 14, 23, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.gallery-item-title {
  font-size: 1.15rem;
  color: #FFFFFF;
  font-family: var(--font-serif);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 9, 15, 0.96);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image-wrap {
  max-width: 820px;
  max-height: 72vh;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(198, 166, 107, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-image-wrap img {
  max-height: 72vh;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1rem;
  text-align: center;
}

.lightbox-caption h3 {
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 4px;
}

.lightbox-caption p {
  font-size: 0.88rem;
  color: var(--color-grey-muted);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: var(--color-gold);
  font-size: 2rem;
  background: none;
  cursor: pointer;
  padding: 5px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-nav:hover {
  background: var(--color-gold);
  color: var(--color-navy);
}

.lightbox-prev {
  left: -65px;
}

.lightbox-next {
  right: -65px;
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
  .lightbox-close {
    top: 10px;
    right: 15px;
    z-index: 2010;
  }
}

/* ---------------- FORMS & BOOKING SYSTEM ---------------- */
.booking-card {
  background: var(--color-navy-surface);
  border: 1px solid rgba(198, 166, 107, 0.25);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: rgba(10, 14, 23, 0.6);
  border: 1px solid rgba(198, 166, 107, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  color: #FFFFFF;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(198, 166, 107, 0.2);
  background: rgba(10, 14, 23, 0.85);
}

.form-control option {
  background-color: var(--color-navy);
  color: #FFFFFF;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-grey-muted);
  margin-top: 0.4rem;
}

.alert-box {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: none;
}

.alert-success {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #8CF5B5;
}

.alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
}

/* ---------------- VERIFIED DETAILS / OWNER CONFIG MODAL ---------------- */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(198, 166, 107, 0.1);
  border: 1px solid rgba(198, 166, 107, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  color: var(--color-gold-light);
  font-weight: 500;
}

.config-banner {
  background: rgba(198, 166, 107, 0.08);
  border-bottom: 1px solid rgba(198, 166, 107, 0.2);
  padding: 6px 1rem;
  font-size: 0.76rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--color-grey-soft);
  text-align: center;
}

.config-btn-link {
  color: var(--color-gold);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  background: #0A0E17;
  border-top: 1px solid rgba(198, 166, 107, 0.2);
  padding: 4.5rem 0 2.5rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-bio {
  font-size: 0.9rem;
  color: var(--color-grey-soft);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 1.5px;
  background: var(--color-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--color-grey-soft);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-gold);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: var(--color-grey-soft);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--color-gold);
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: var(--color-grey-muted);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

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

/* ---------------- REDUCED MOTION ACCESSIBILITY ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
