body, html {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  height: 100%;
}

.hero {
  position: relative;
  background: url('img/new/60376512-1761654812.jpeg') no-repeat center center/cover;
  height: 100vh;
  text-align: center;
  color: #1f021f;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  height: 100%; width: 100%;
  background: rgba(255, 255, 255, 0.447);
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
}

.logo {
  max-height: 170px;
  margin-bottom: 77px;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  margin: 0;
}

.tagline {
  font-size: 18px;
  margin: 10px 0 30px;
}

.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.buttons a {
  background-color: white;
  border: 2px solid #1f021f;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  color: black;
  font-weight: 600;
  transition: all 0.3s ease;
}

.buttons a:hover {
  background-color: #B67A6B;
  color: white;
}

.social a {
  color: #1f021f;
  text-decoration: none;
}
/* ---------- Global helpers ---------- */
:root{
  --ink:#0f010f;
  --ink-70:#B67A6B;
  --bg:#ffffff;
  --muted:#6b6b6b;
  --radius:18px;
  --shadow:0 10px 24px rgba(0,0,0,.08);
}

.container{ width:min(1100px, 92%); margin-inline:auto; }
.section-title{
  font-family:'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 36px);
  margin: 20px 0 12px;
  color: var(--ink);
}
.muted{ color: var(--muted); }

/* ---------- Header ---------- */
.site-header{
  background:#fff; border-bottom:1px solid #B67A6B;
  position:sticky; top:0; z-index: 2;
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding:12px 0; }
.brand-link{ display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--ink); }
.brand-logo{ width:38px; height:auto; color: #2f032f;}
.brand-name{ font-family:'Playfair Display',serif; font-weight:700; letter-spacing:.3px; }
.main-nav a{ color:var(--ink); text-decoration:none; margin-left:18px; font-weight:600; }
.main-nav a.active{ text-decoration:underline; text-underline-offset:6px; }
.btn{ background:var(--ink); color:#fff; padding:10px 18px; border-radius:999px; text-decoration:none; display:inline-block; }
.btn-outline{ background:#fff; border:2px solid var(--ink); color:var(--ink); }
.btn.small{ padding:8px 14px; font-size:.95rem; }

/* ---------- Page hero ---------- */
.page-hero{
  background: url('img/new/60376475-1761654238.jpeg') center/cover no-repeat;
  padding: 202px 0 224px;
  text-align:center;
}
.page-hero h1{
  font-family:'Playfair Display', serif;
  font-size: clamp(34px, 6vw, 54px);
  margin:0;
  color: var(--ink);
  background-color: rgba(245, 245, 245, 0.293);
}
.page-hero p{ max-width:720px; margin:10px auto 0; color:#B67A6B; }

/* ---------- Cards ---------- */
.cards-grid{
  display:grid; gap:22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin:18px 0 8px;
}
.card{
  background:#fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding:22px; border:1px solid rgba(0,0,0,.06);
}
.card h3{ margin:0 0 8px; color:var(--ink); }
.card-link{ display:inline-block; margin-top:10px; color:var(--ink-70); font-weight:700; text-decoration:none; }
.card.coming-soon{ background: linear-gradient(180deg, #fff, #fff7ff); }

/* ---------- Lists ---------- */
.checklist{ padding-left:0; list-style:none; margin:12px 0 0; }
.checklist li{
  margin:8px 0; padding-left:28px; position:relative;
}
.checklist li::before{
  content:"\f00c"; /* fa-check */
  font-family:"Font Awesome 5 Free"; font-weight:900;
  position:absolute; left:0; top:0; color:var(--ink);
}

/* ---------- Split section ---------- */
.split{
  display:grid; gap:34px;
  grid-template-columns: 1.1fr .9fr;
  align-items:start;
  margin:32px auto;
}
@media (max-width: 900px){ .split{ grid-template-columns: 1fr; } }

/* Features */
.feature-list{ display:grid; gap:18px; }
.feature{ display:flex; gap:14px; align-items:flex-start; }
.feature i{ color:var(--ink); font-size:22px; margin-top:2px; }
.feature h4{ margin:0 0 4px; }

/* Process box */
.process{ background:#fff; border:1px solid rgba(0,0,0,.08); border-radius: var(--radius); padding:22px; box-shadow: var(--shadow); }
.steps{ margin:0 0 16px 18px; }
.steps li{ margin:10px 0; }


/* ---------- Gallery ---------- */
.gallery{ margin: 45px auto 75px; }
.filter-bar{
  display:flex; flex-wrap:wrap; gap:10px; margin:8px 0 18px;
}
.filter-btn{
  border:1.5px solid var(--ink); background:#fff; color:var(--ink);
  padding:8px 14px; border-radius:999px; cursor:pointer; font-weight:700;
}
.filter-btn.active, .filter-btn:hover{ background:var(--ink); color:#fff; }

.gallery-grid{
  display:grid; gap:20px;
  grid-template-columns: repeat(auto-fill, minmax(520px, 1fr));
}
.gallery-item{
  background:#fff; border-radius:14px; overflow:hidden; border:1px solid rgba(0,0,0,.06); box-shadow: var(--shadow);
}
.gallery-item img{ width: 450px; height:370px; object-fit:cover; display:block; cursor:pointer; }
.gallery-item figcaption{ padding:10px 12px; font-size:.95rem; color:#2c2c2c; }

/* Lightbox */
.lightbox{
  position:fixed; inset:0; background:rgba(0,0,0,.72);
  display:grid; place-items:center; padding:24px; z-index:9999;
}
.lightbox[hidden]{ display:none; }
.lightbox-img{ max-width:min(92vw, 1100px); max-height:80vh; border-radius:12px; display:block; }
.lightbox-caption{ color:#fff; margin-top:12px; text-align:center; }
.lightbox-close{
  position:absolute; top:14px; right:18px; font-size:36px; line-height:1;
  background:transparent; border:none; color:#fff; cursor:pointer;
}


/* ---------- Footer ---------- */
/* =======================
   Black Dahlia – Footer
========================== */
.bd-footer {
  background: #e2dede;
  color: #1f021f;
  padding: 60px 0 30px;
  margin-top: 60px;
  font-family: 'Open Sans', sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 14px;
  font-size: 1.1rem;
  color: #B67A6B;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color:#1f021f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #b2b2b2;
}

.footer-logo {
  width: 150px;
  margin-bottom: 12px;

}

.footer-about {
  max-width: 260px;
  line-height: 1.5;
}

.footer-social a {
  color: #1f021f;
  font-size: 15px;
  margin-right: 14px;
  transition: opacity 0.3s ease;
  font-style: italic;
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #1f021f;
  border-top: 1px solid rgba(165, 162, 162, 0.08);
  padding-top: 18px;
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #B67A6B;
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 30px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

#backToTop:hover {
  background: #b88072;
  transform: translateY(-2px);
}
.footer-bottom {
  text-align: center;
  padding: 18px 0;
  margin-top: 30px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

/* ===============================
   GLOBAL RESPONSIVE OVERRIDES
   Paste at bottom of CSS
================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- HERO ---------- */
@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
    height: auto;
    min-height: 100vh;
  }

  .logo {
    max-height: 120px;
    margin-bottom: 40px;
  }

  .brand {
    font-size: 32px;
  }

  .tagline {
    font-size: 16px;
  }

  .buttons {
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 26px;
  }

  .tagline {
    font-size: 15px;
  }
}

/* ---------- HEADER ---------- */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }

  .main-nav a {
    margin-left: 0;
    margin-right: 12px;
    font-size: 0.95rem;
  }
}

/* ---------- PAGE HERO ---------- */
.page-hero {
  padding: clamp(100px, 20vw, 200px) 16px;
}

@media (max-width: 600px) {
  .page-hero h1 {
    font-size: 28px;
  }

  .page-hero p {
    font-size: 15px;
  }
}

/* ---------- SPLIT SECTIONS ---------- */
@media (max-width: 600px) {
  .split {
    gap: 24px;
  }
}

/* ---------- GALLERY (CRITICAL FIX) ---------- */
.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ---------- FOOTER ---------- */
@media (max-width: 600px) {
  .footer-about {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .footer-col h4 {
    font-size: 1rem;
  }
}

/* ---------- BACK TO TOP ---------- */
@media (max-width: 600px) {
  #backToTop {
    right: 16px;
    bottom: 16px;
    font-size: 22px;
    padding: 10px 14px;
  }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row */
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}
/* =================================================
   PORTFOLIO PAGE – RESPONSIVE OVERRIDES
   Paste at bottom of CSS file
================================================= */

/* Global safety */
*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- PAGE HERO ---------- */
.page-hero {
  padding: clamp(120px, 20vw, 220px) 16px;
}

.page-hero h1 {
  text-align: center;
}

@media (max-width: 600px) {
  .page-hero h1 {
    font-size: 28px;
  }
}

/* ---------- FILTER BAR ---------- */
.filter-bar {
  justify-content: center;
}

@media (max-width: 768px) {
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .filter-btn {
    width: 100%;
    text-align: center;
  }

  .dropdown {
    width: 100%;
  }
}

/* Dropdown menu full-width on mobile */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    width: 100%;
    border-radius: 12px;
    margin-top: 6px;
  }

  .dropdown-item {
    width: 100%;
    text-align: left;
  }
}

/* ---------- GALLERY GRID ---------- */
.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Images */
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* Smaller gaps on phones */
@media (max-width: 480px) {
  .gallery-grid {
    gap: 14px;
  }

  .gallery-item figcaption {
    font-size: 0.9rem;
  }
}

/* ---------- LIGHTBOX / MODAL ---------- */
.lightbox {
  padding: 16px;
}

.lightbox-img {
  max-width: 95vw;
  max-height: 75vh;
}

.lb-nav {
  font-size: 28px;
}

@media (max-width: 600px) {
  .lb-nav {
    font-size: 22px;
  }

  .lightbox-close {
    font-size: 28px;
  }
}

/* ---------- IMAGE MODAL (SECOND MODAL) ---------- */
.image-modal {
  padding: 16px;
}

.image-modal img {
  max-width: 95vw;
  max-height: 80vh;
}

/* ---------- FOOTER ---------- */
@media (max-width: 600px) {
  .footer-grid {
    gap: 28px;
  }

  .footer-about {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .footer-bottom p {
    font-size: 0.85rem;
    padding: 0 12px;
  }
}

/* ---------- BACK TO TOP ---------- */
@media (max-width: 600px) {
  #backToTop {
    right: 16px;
    bottom: 16px;
    font-size: 22px;
    padding: 10px 14px;
  }
}
/* Masonry style – keeps original proportions */
.gallery-grid {
  column-count: 1;
  column-gap: 16px;
}

@media (min-width: 600px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (min-width: 1000px) {
  .gallery-grid {
    column-count: 3;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
}

.gallery-item img {
  width: 100%;
  height: auto;
}

/* =========================================
   MOBILE GALLERY VISIBILITY FIX
   Paste at bottom of CSS
========================================= */

/* Reduce overall spacing */
.gallery {
  margin-top: 30px;
}

/* Strong mobile grid */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px; /* MUCH smaller gap */
  }
}

/* Make images BIGGER and more visible */
.gallery-item {
  border-radius: 14px;
  overflow: hidden;
}

/* Taller images on mobile */
.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 4; /* TALLER images */
  object-fit: cover;
  display: block;
}

/* Tighten caption spacing */
.gallery-item figcaption {
  padding: 8px 10px;
  font-size: 0.9rem;
  line-height: 1.2;
  min-height: auto;
}

/* Extra mobile polish */
@media (max-width: 480px) {
  .gallery-item img {
    aspect-ratio: 4 / 5; /* Even taller on very small phones */
  }

  .gallery-item figcaption {
    font-size: 0.85rem;
  }
}
/* =========================================
   FINAL MOBILE GALLERY FIX (NO MORE PILLS)
========================================= */

/* FORCE CORRECT GRID ON SMALL SCREENS */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns, not 3 */
    gap: 10px; /* remove big gaps */
  }
}

/* EVEN SMALLER PHONES */
@media (max-width: 420px) {
  .gallery-grid {
    grid-template-columns: 1fr; /* 1 column for very small phones */
  }
}

/* MAKE IMAGE CARDS STRONG */
.gallery-item {
  border-radius: 14px;
  overflow: hidden;
}

/* MAKE IMAGES BIGGER */
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5; /* MUCH TALLER */
  object-fit: cover;
  display: block;
}

/* REMOVE EXTRA CAPTION SPACE */
.gallery-item figcaption {
  padding: 6px 8px;
  font-size: 0.85rem;
  line-height: 1.2;
  min-height: unset !important; /* IMPORTANT */
}

/* OPTIONAL: even tighter on very small screens */
@media (max-width: 420px) {
  .gallery-item figcaption {
    font-size: 0.8rem;
  }
}
/* =========================================
   GALLERY FINAL OVERRIDE (NO STRUCTURE CHANGE)
========================================= */

/* KILL MASONRY + AUTO-FIT */


/* TABLET */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* MOBILE – 2 PER ROW */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px; /* VERY SMALL GAP */
  }
}

/* VERY SMALL PHONES */
@media (max-width: 420px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* REMOVE EXTRA SPACE BELOW IMAGES */
.gallery-item figcaption {
  padding: 4px 6px !important;
  font-size: 0.8rem;
  line-height: 1.1;
}

/* REMOVE CARD MARGINS */
.gallery-item {
  margin: 0 !important;
}

