/* ══════════════════════════════════════════
   STYLES OF TILES — SHARED STYLESHEET
   Breakpoints: 1024 | 860 | 768 | 480 | 360
══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --gold: #b8943f;
  --gold-light: #d4ac52;
  --dark: #1a1a1a;
  --mid: #3d3d3d;
  --muted: #999;
  --light-bg: #f8f6f2;
  --white: #ffffff;
  --border: #e0d8cc;
  --radius: 2px;
  --sp-v: 80px;
  --sp-h: 40px;
  --hero-v: 70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', sans-serif; color: var(--dark); background: var(--white); font-size: 16px; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── HEADER ── */
header { background: var(--dark); border-bottom: 3px solid var(--gold); position: sticky; top: 0; z-index: 200; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--white); text-decoration: none; letter-spacing: 0.5px; white-space: nowrap; flex-shrink: 0; }
.logo span { color: var(--gold); }

nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
nav a { color: #bbb; text-decoration: none; font-size: 0.82rem; letter-spacing: 0.6px; text-transform: uppercase; padding: 6px 10px; transition: color 0.2s; white-space: nowrap; }
nav a:hover { color: var(--gold); }
nav a.active { color: var(--gold); }

.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-dropdown > a::after { content: '▾'; font-size: 0.65rem; opacity: 0.7; }
.dropdown-menu { position: absolute; top: calc(100% + 8px); left: 0; background: var(--dark); border: 1px solid #333; border-top: 2px solid var(--gold); min-width: 170px; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity 0.2s, transform 0.2s; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 10px 16px; border-radius: 0; border-bottom: 1px solid #2a2a2a; font-size: 0.8rem; width: 100%; }
.dropdown-menu a:last-child { border-bottom: none; }

.header-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; flex-shrink: 0; }
.header-contact a { font-size: 0.75rem; color: #999; text-decoration: none; transition: color 0.2s; }
.header-contact a:hover { color: var(--gold); }
.header-contact .phone { font-size: 0.85rem; color: var(--gold); font-weight: 600; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px 6px; flex-direction: column; gap: 5px; z-index: 201; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold); transition: all 0.3s; transform-origin: center; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 198; cursor: pointer; }
.nav-overlay.open { display: block; }

/* ── PAGE HERO ── */
.page-hero { background: linear-gradient(135deg, #1a1a1a 0%, #2e2a24 50%, #1a1a1a 100%); padding: var(--hero-v) var(--sp-h); text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(184,148,63,0.03) 40px, rgba(184,148,63,0.04) 80px); }
.page-hero > * { position: relative; }
.hero-badge { display: inline-block; background: var(--gold); color: var(--dark); font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 5px 18px; margin-bottom: 18px; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 5vw, 3.2rem); color: var(--white); line-height: 1.15; margin-bottom: 16px; }
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero p { color: #b0a898; font-size: clamp(0.92rem, 2.5vw, 1.05rem); max-width: 580px; margin: 0 auto 28px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary { background: var(--gold); color: var(--dark); padding: 13px 28px; font-weight: 700; font-size: 0.88rem; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border-radius: var(--radius); display: inline-block; transition: background 0.2s, transform 0.15s; border: none; cursor: pointer; font-family: inherit; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--gold); color: var(--gold); padding: 11px 26px; font-weight: 600; font-size: 0.88rem; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border-radius: var(--radius); display: inline-block; transition: all 0.2s; }
.btn-outline:hover { background: var(--gold); color: var(--dark); }
.btn-dark { background: var(--dark); color: var(--white); padding: 13px 28px; font-weight: 700; font-size: 0.88rem; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border-radius: var(--radius); display: inline-block; transition: background 0.2s; border: none; cursor: pointer; font-family: inherit; }
.btn-dark:hover { background: #2a2a2a; }

/* ── TYPOGRAPHY ── */
.section-label { font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; display: block; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--dark); margin-bottom: 12px; line-height: 1.2; }
.section-sub { color: var(--muted); max-width: 580px; font-size: clamp(0.9rem, 2vw, 1rem); }

/* ── LAYOUT ── */
.section { padding: var(--sp-v) var(--sp-h); }
.section-light { background: var(--light-bg); }
.section-dark { background: var(--dark); }
.container { max-width: 1140px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header .section-sub { margin: 0 auto; }

/* ── STATS BAR ── */
.stats-bar { background: var(--gold); display: flex; justify-content: center; flex-wrap: wrap; }
.stat-item { text-align: center; padding: 22px 36px; border-right: 1px solid rgba(0,0,0,0.15); flex: 1 1 auto; min-width: 120px; }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--dark); font-weight: 700; line-height: 1; }
.stat-label { font-size: 0.76rem; color: rgba(0,0,0,0.65); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ── CARDS ── */
.card-grid { display: grid; gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.feature-card { background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--gold); padding: 32px 26px; transition: box-shadow 0.25s, transform 0.2s; }
.feature-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.09); transform: translateY(-3px); }
.feature-card .icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ── GALLERY ── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.gallery-item { overflow: hidden; background: #222; aspect-ratio: 1/1; cursor: pointer; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, opacity 0.3s; opacity: 0.9; }
.gallery-item:hover img { transform: scale(1.06); opacity: 1; }
.gallery-item .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 14px; }
.gallery-item:hover .overlay { opacity: 1; }
.overlay-icon { color: var(--gold); font-size: 1.5rem; }

/* ── LIGHTBOX ── */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.93); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 60px 70px 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border: 2px solid #333; }
.lightbox-close { position: absolute; top: 16px; right: 20px; color: var(--white); font-size: 2rem; cursor: pointer; background: none; border: none; line-height: 1; opacity: 0.8; transition: opacity 0.2s, color 0.2s; padding: 8px; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { opacity: 1; color: var(--gold); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: var(--white); font-size: 1.8rem; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s, color 0.2s; }
.lightbox-nav:hover { background: var(--gold); color: var(--dark); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

/* ── CTA BAND ── */
.cta-band { background: linear-gradient(135deg, var(--gold) 0%, #9a7530 100%); padding: 65px var(--sp-h); text-align: center; }
.cta-band h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--dark); margin-bottom: 12px; }
.cta-band p { color: rgba(0,0,0,0.6); font-size: clamp(0.9rem, 2vw, 1.02rem); max-width: 520px; margin: 0 auto 28px; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: var(--dark); border-top: 3px solid var(--gold); padding: 40px var(--sp-h); }
.footer-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start; }
.footer-brand .logo { font-size: 1.2rem; display: inline-block; margin-bottom: 10px; }
.footer-brand p { color: #666; font-size: 0.85rem; max-width: 280px; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.footer-links a { color: #888; text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { max-width: 1140px; margin: 24px auto 0; padding-top: 18px; border-top: 1px solid #2a2a2a; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { color: #555; font-size: 0.8rem; }
.footer-bottom a { color: #888; text-decoration: none; margin-left: 14px; font-size: 0.8rem; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }
.social-links { display: flex; gap: 10px; margin-top: 14px; }
.social-links a { width: 36px; height: 36px; border: 1px solid #333; display: flex; align-items: center; justify-content: center; color: #888; font-size: 0.85rem; text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.social-links a:hover { border-color: var(--gold); color: var(--gold); }

/* ── BREADCRUMB ── */
.breadcrumb { padding: 14px var(--sp-h); background: var(--light-bg); border-bottom: 1px solid var(--border); font-size: 0.82rem; color: #999; }
.breadcrumb a { color: var(--gold); text-decoration: none; }

/* ── GALLERY NAV ── */
.gallery-nav { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 50px; }
.gallery-nav a { border: 1.5px solid var(--border); padding: 8px 22px; font-size: 0.82rem; letter-spacing: 0.5px; text-transform: uppercase; font-weight: 600; text-decoration: none; color: var(--mid); transition: all 0.2s; }
.gallery-nav a:hover, .gallery-nav a.active { border-color: var(--gold); background: var(--gold); color: var(--dark); }


/* ╔════════════════════════════╗
   ║  BREAKPOINTS               ║
   ╚════════════════════════════╝ */

/* 1024 — tablet landscape */
@media (max-width: 1024px) {
  :root { --sp-h: 32px; }
  .header-inner { padding: 0 28px; }
  nav a { padding: 6px 8px; font-size: 0.78rem; }
}

/* 860 — tablet portrait */
@media (max-width: 860px) {
  :root { --sp-v: 64px; --sp-h: 24px; --hero-v: 56px; }
  .header-contact { display: none; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

/* 768 — mobile */
@media (max-width: 768px) {
  :root { --sp-v: 52px; --sp-h: 20px; --hero-v: 48px; }

  .header-inner { padding: 0 16px; height: 60px; }
  .logo { font-size: 1.15rem; }
  .header-contact { display: none; }

  /* Hamburger on, desktop nav off */
  .nav-toggle { display: flex; }
  nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: #111;
    padding: 8px 0 20px;
    border-bottom: 2px solid var(--gold);
    z-index: 199;
    gap: 0;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  }
  nav.open { display: flex; }
  nav > a { padding: 13px 22px; font-size: 0.88rem; border-bottom: 1px solid #1e1e1e; width: 100%; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown > a { padding: 13px 22px; font-size: 0.88rem; border-bottom: 1px solid #1e1e1e; width: 100%; justify-content: space-between; }
  .nav-dropdown > a::after { margin-left: auto; }
  .dropdown-menu { position: static; opacity: 1; pointer-events: all; transform: none; border: none; border-top: 1px solid #1a1a1a; background: #0d0d0d; min-width: 0; width: 100%; }
  .dropdown-menu a { padding: 11px 22px 11px 36px; font-size: 0.85rem; border-bottom-color: #191919; }

  /* Stats */
  .stat-item { flex: 1 1 50%; border-right: none; border-bottom: 1px solid rgba(0,0,0,0.12); padding: 16px 10px; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(0,0,0,0.12); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: 0.72rem; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-bottom a { margin-left: 0; margin-right: 14px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .gallery-nav { gap: 8px; margin-bottom: 32px; }
  .gallery-nav a { padding: 7px 14px; font-size: 0.78rem; }

  /* Lightbox */
  .lightbox { padding: 55px 8px 8px; }
  .lightbox img { max-width: 98vw; max-height: 80vh; }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.4rem; }

  /* CTA */
  .cta-band { padding: 48px var(--sp-h); }
  .cta-band .btns { flex-direction: column; align-items: stretch; gap: 10px; max-width: 300px; margin: 0 auto; }
  .cta-band .btns a, .cta-band .btns button { text-align: center; }

  /* Section header */
  .section-header { margin-bottom: 32px; }
  .hero-ctas { gap: 10px; }
}

/* 480 — small phones */
@media (max-width: 480px) {
  :root { --sp-v: 40px; --sp-h: 16px; --hero-v: 40px; }

  .page-hero p { margin-bottom: 22px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; max-width: 260px; margin-left: auto; margin-right: auto; }
  .hero-ctas a { text-align: center; }

  .stat-item { flex: 1 1 100%; border-right: none !important; }
  .stat-item:nth-last-child(-n+2) { border-bottom: 1px solid rgba(0,0,0,0.12) !important; }
  .stat-item:last-child { border-bottom: none !important; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 4px; }

  .btn-primary, .btn-outline, .btn-dark { padding: 12px 20px; font-size: 0.84rem; }

  .footer-links { flex-direction: column; gap: 8px; }
  .footer-bottom p { font-size: 0.75rem; }
}

/* 360 — tiny phones */
@media (max-width: 360px) {
  :root { --sp-h: 12px; }
  .logo { font-size: 1rem; }
  .hero-badge { font-size: 0.64rem; padding: 4px 10px; letter-spacing: 1.5px; }
  .header-inner { padding: 0 12px; }
}

/* ── LOGO WITH IMAGE ── */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img {
  height: 15%;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.logo-img--footer { height: 34px; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.logo-accent { color: var(--gold); }
/* Hide text fallback once image has loaded */
.logo:has(.logo-img:not([style*="display: none"])) .logo-text { display: none; }

@media (max-width: 768px) {
  .logo-img { height: 30px; }
  .logo-text { font-size: 1.1rem; }
}
@media (max-width: 360px) {
  .logo-img { height: 26px; }
  .logo-text { font-size: 1rem; }
}
