/* ================================================
   Cannes Photo Review – Main Stylesheet
   ================================================ */

/* ── CSS Variables ─────────────────────────────── */
:root {
  --color-dark:    #1a1a2e;
  --color-gold:    #c9a96e;
  --color-gold-lt: #e8d5b7;
  --color-text:    #2d2d2d;
  --color-muted:   #666;
  --color-bg:      #fafaf8;
  --color-white:   #ffffff;
  --color-border:  #e8e4de;
  --color-success: #2e7d32;
  --color-error:   #c62828;

  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body:    'Lato', system-ui, sans-serif;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.18);

  --radius:    8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --max-width:  1200px;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-dark); text-decoration: none; }
a:hover { color: var(--color-gold); }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-heading);
  line-height: 1.25;
  color: var(--color-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
em { font-style: italic; color: var(--color-gold); }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ── Container ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-primary {
  background: var(--color-gold);
  color: var(--color-dark);
  border-color: var(--color-gold);
}
.btn-primary:hover {
  background: #b8904a;
  border-color: #b8904a;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,169,110,.4);
}
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
}
.btn-secondary {
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}
.btn-secondary:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-dark);
}
.btn-sm { padding: .5rem 1.25rem; font-size: .85rem; }

/* ── Header ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26,26,46,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,169,110,.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--color-white);
  font-family: var(--ff-heading);
  font-size: 1.2rem;
}
.logo:hover { color: var(--color-gold); }
.logo-icon { color: var(--color-gold); font-size: 1.4rem; }
.logo-text em { color: var(--color-gold); font-style: normal; }
.logo--white .logo-text { color: var(--color-white); }
.main-nav ul {
  display: flex;
  gap: 2rem;
}
.main-nav a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--color-gold);
  border-color: var(--color-gold);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
}

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.hero--mini { min-height: 52vh; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,.85) 0%, rgba(26,26,46,.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.hero-tagline {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: .75rem;
}
.hero-content h1 {
  color: var(--color-white);
  max-width: 720px;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 580px;
  opacity: .9;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stat strong {
  font-family: var(--ff-heading);
  font-size: 2rem;
  color: var(--color-gold);
}
.stat span {
  font-size: .8rem;
  opacity: .8;
  letter-spacing: .1em;
}

/* ── Breadcrumb ─────────────────────────────────── */
.breadcrumb {
  font-size: .85rem;
  opacity: .8;
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--color-gold); }
.breadcrumb span { margin: 0 .4rem; }

/* ── Section ─────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: .5rem;
}
.section-desc {
  color: var(--color-muted);
  font-size: 1.05rem;
}
.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ── Intro Strip ────────────────────────────────── */
.intro-strip {
  background: var(--color-dark);
  padding: 2.5rem 0;
}
.intro-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.strip-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: var(--color-white);
}
.strip-icon { font-size: 2rem; flex-shrink: 0; }
.strip-item h3 {
  color: var(--color-gold);
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  margin-bottom: .25rem;
}
.strip-item p { font-size: .9rem; opacity: .8; }

/* ── Image Band ─────────────────────────────────── */
.image-band { overflow: hidden; }
.image-band-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 320px;
}
.image-band-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.image-band-grid img:hover { transform: scale(1.05); }

/* ── Reviews Grid ───────────────────────────────── */
.reviews-section { background: var(--color-white); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.review-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.review-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.review-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.review-card:hover .review-card-img img { transform: scale(1.06); }
.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: .3rem .8rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge-top {
  background: var(--color-gold);
  color: var(--color-dark);
}
.review-card-body { padding: 1.5rem; }
.review-card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; flex-wrap: wrap; gap: .5rem; }
.review-speciality {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.stars { display: flex; align-items: center; gap: .2rem; }
.star { font-size: 1rem; color: #ddd; }
.star-full, .star-half { color: #f4c542; }
.rating-num { font-weight: 700; font-size: .9rem; margin-left: .3rem; }
.rating-count { font-size: .8rem; color: var(--color-muted); }
.review-card-body h3 { font-size: 1.25rem; margin-bottom: .15rem; }
.studio-name { font-size: .9rem; color: var(--color-muted); margin-bottom: .75rem; }
.review-desc { font-size: .9rem; color: var(--color-text); opacity: .85; margin-bottom: 1rem; }
.review-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tag {
  background: var(--color-gold-lt);
  color: var(--color-dark);
  padding: .2rem .6rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
}
.review-footer { display: flex; justify-content: space-between; align-items: center; padding-top: .75rem; border-top: 1px solid var(--color-border); }
.location { font-size: .82rem; color: var(--color-muted); }
.price { font-weight: 700; color: var(--color-gold); font-size: .9rem; }

/* ── Methodology ────────────────────────────────── */
.methodology-section { background: var(--color-gold-lt); }
.methodology-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.methodology-text h2 { margin-bottom: 1rem; }
.methodology-list { padding-left: 1.5rem; list-style: disc; }
.methodology-list li { margin-bottom: 1rem; }
.methodology-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* ── Testimonials ───────────────────────────────── */
.testimonials-section { background: var(--color-dark); }
.testimonials-section .section-header h2 { color: var(--color-white); }
.testimonials-section .section-label { color: var(--color-gold); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(201,169,110,.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--color-white);
}
.testimonial-card p { opacity: .9; font-style: italic; font-size: 1rem; }
.testimonial-card cite { font-style: normal; font-size: .85rem; opacity: .65; font-weight: 700; }

/* ── Blog Preview ───────────────────────────────── */
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.blog-preview-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-preview-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.blog-preview-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.blog-preview-body { padding: 1.5rem; }
.blog-preview-body h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.blog-preview-body h3 a { color: var(--color-dark); }
.blog-preview-body h3 a:hover { color: var(--color-gold); }
.blog-preview-body p { font-size: .9rem; color: var(--color-muted); margin-bottom: 1rem; }
.post-cat {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-dark);
  padding: .2rem .7rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.read-more {
  font-weight: 700;
  font-size: .88rem;
  color: var(--color-gold);
  letter-spacing: .03em;
}
.read-more:hover { color: var(--color-dark); }

/* ── Blog Grid ──────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}
.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.blog-card-img-link { display: block; overflow: hidden; height: 220px; }
.blog-card-img-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-img-link img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; }
.blog-card-body h2 { font-size: 1.2rem; margin-bottom: .5rem; }
.blog-card-body h2 a { color: var(--color-dark); }
.blog-card-body h2 a:hover { color: var(--color-gold); }
.blog-card-body p { font-size: .9rem; color: var(--color-muted); margin-bottom: 1rem; }
.blog-card-meta { display: flex; gap: 1rem; font-size: .8rem; color: var(--color-muted); margin-bottom: .75rem; }

/* ── Article Single ─────────────────────────────── */
.post-meta-hero { font-size: .88rem; opacity: .75; margin-top: 1rem; }
.post-meta-hero span { margin: 0 .4rem; }
.article-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}
.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
}
.article-body h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.article-body h2:first-child { border-top: none; padding-top: 0; }
.article-body h3 { font-size: 1.3rem; margin: 1.75rem 0 .75rem; }
.article-body h4 { font-size: 1.1rem; margin: 1.25rem 0 .5rem; }
.article-body ul, .article-body ol { padding-left: 1.75rem; margin: 1rem 0; }
.article-body li { margin-bottom: .5rem; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body blockquote {
  border-left: 4px solid var(--color-gold);
  padding: 1rem 1.5rem;
  background: var(--color-gold-lt);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  font-size: 1.05rem;
}
.article-body img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.article-body strong { color: var(--color-dark); }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.article-body th { background: var(--color-dark); color: var(--color-white); padding: .75rem 1rem; text-align: left; }
.article-body td { padding: .75rem 1rem; border-bottom: 1px solid var(--color-border); }
.article-body tr:nth-child(even) td { background: var(--color-bg); }

/* ── Sidebar ─────────────────────────────────────── */
.article-sidebar { position: sticky; top: 84px; }
.sidebar-widget {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--color-gold);
}
.author-widget img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: .75rem;
  object-fit: cover;
}
.related-list li { padding: .4rem 0; border-bottom: 1px solid var(--color-border); }
.related-list li:last-child { border-bottom: none; }
.related-list a { font-size: .9rem; font-weight: 700; }
.sidebar-cta { background: var(--color-dark); }
.sidebar-cta h3, .sidebar-cta p { color: var(--color-white); }
.sidebar-cta h3 { border-color: var(--color-gold); }

/* ── Contact ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}
.contact-form-wrap h2 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 1rem;
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,.15);
}
.form-group textarea { resize: vertical; }
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.alert-success { background: #e8f5e9; color: var(--color-success); border: 1px solid #a5d6a7; }
.alert-error { background: #ffebee; color: var(--color-error); border: 1px solid #ef9a9a; }
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-info-item strong { display: block; margin-bottom: .25rem; }
.contact-faq { margin-top: 2rem; }
.contact-faq h3 { margin-bottom: 1rem; }
details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: .5rem;
  padding: .75rem 1rem;
}
summary { cursor: pointer; font-weight: 700; font-size: .95rem; }
details p { margin-top: .75rem; font-size: .9rem; color: var(--color-muted); }

/* ── Privacy ─────────────────────────────────────── */
.privacy-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
  align-items: start;
}
.privacy-toc {
  position: sticky;
  top: 84px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.privacy-toc h2 { font-size: 1rem; margin-bottom: 1rem; }
.privacy-toc ol { padding-left: 1.25rem; list-style: decimal; }
.privacy-toc li { padding: .3rem 0; font-size: .9rem; }
.privacy-content h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.privacy-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.privacy-content h3 { font-size: 1.1rem; margin: 1.25rem 0 .5rem; }
.privacy-content ul, .privacy-content ol { padding-left: 1.75rem; margin: .75rem 0 1rem; }
.privacy-content li { margin-bottom: .4rem; }
.privacy-content ul { list-style: disc; }
.privacy-content ol { list-style: decimal; }
.privacy-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.privacy-table th { background: var(--color-dark); color: var(--color-white); padding: .75rem 1rem; text-align: left; }
.privacy-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--color-border); }
.privacy-table tr:nth-child(even) td { background: var(--color-bg); }
address { font-style: normal; padding: 1rem; background: var(--color-bg); border-radius: var(--radius); border-left: 4px solid var(--color-gold); }

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: .9rem; margin-top: .75rem; opacity: .7; }
.footer-links h4, .footer-contact h4 {
  color: var(--color-gold);
  font-family: var(--ff-heading);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.footer-links li { padding: .3rem 0; }
.footer-links a { font-size: .9rem; color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--color-gold); }
.footer-contact p, .footer-contact address { font-size: .9rem; margin-bottom: .4rem; color: rgba(255,255,255,.75); }
.footer-contact a { color: var(--color-gold); text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.empty-state {
  text-align: center;
  padding: 4rem;
  color: var(--color-muted);
  font-size: 1.1rem;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-container { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .privacy-container { grid-template-columns: 1fr; }
  .privacy-toc { position: static; }
  .methodology-grid { grid-template-columns: 1fr; }
  .methodology-img { order: -1; }
}

@media (max-width: 768px) {
  .intro-strip-grid { grid-template-columns: 1fr; }
  .image-band-grid { grid-template-columns: repeat(3, 1fr); }
  .image-band-grid img:nth-child(n+4) { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-preview-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-dark);
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(201,169,110,.2);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.08); border-left: none; }
  .site-header { position: relative; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .image-band-grid { grid-template-columns: repeat(2, 1fr); height: 200px; }
  .image-band-grid img:nth-child(n+3) { display: none; }
  .hero-actions { flex-direction: column; }
  .btn { text-align: center; }
}

/* ── Scroll animations ─────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Blog post table (used in post 2 content) ─────── */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .95rem;
}
.article-content th,
.article-content td {
  text-align: left;
  padding: .65rem 1rem;
  border: 1px solid #ddd;
}
.article-content th {
  background: var(--color-gold);
  color: #fff;
}
.article-content tr:nth-child(even) td { background: #fafafa; }

/* ── Gallery page ──────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1a2540 100%);
  padding: 5rem 0 3.5rem;
  text-align: center;
  color: #fff;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .75rem; }
.page-hero p  { max-width: 600px; margin: 0 auto; opacity: .8; font-size: 1.1rem; }

.gallery-section { padding: 3rem 0 5rem; }

/* Filter bar */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.gallery-filter-btn {
  background: #f4f4f4;
  border: 2px solid transparent;
  border-radius: 50px;
  padding: .5rem 1.2rem;
  font-size: .9rem;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  font-family: var(--font-body);
}
.gallery-filter-btn:hover { background: #e8e8e8; }
.gallery-filter-btn.is-active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #fff;
}

/* Masonry grid */
.gallery-grid {
  columns: 4 240px;
  column-gap: 1rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}
.gallery-item-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 6px;
}
.gallery-item-btn img {
  width: 100%;
  display: block;
  border-radius: 6px;
  transition: transform .35s ease;
}
.gallery-item-btn:hover img { transform: scale(1.04); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity .25s;
  border-radius: 6px;
}
.gallery-item-btn:hover .gallery-item-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.93);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox-inner {
  max-width: 92vw;
  max-height: 92vh;
  text-align: center;
}
.lightbox-inner img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-caption {
  color: rgba(255,255,255,.7);
  margin-top: .75rem;
  font-size: .88rem;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 1.3rem;
  line-height: 44px;
  text-align: center;
  transition: background .2s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-prev  { left: 1.2rem;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* Gallery CTA */
.gallery-cta {
  background: var(--color-dark);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}
.gallery-cta h2 { margin-bottom: 1rem; }
.gallery-cta p  { margin-bottom: 2rem; opacity: .8; }

@media (max-width: 640px) {
  .gallery-grid { columns: 2 140px; }
  .lightbox-prev { left: .4rem; }
  .lightbox-next { right: .4rem; }
}
