/* ==========================================================
   PORTFOLIO PAGE LAYOUT (HERO + GALLERY + LIGHTBOX)
   — same as your working version
========================================================== */

/* ===== PAGE HEADER (inside page, not main site header) ===== */
.project-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px;
  background:#fff;
  border-bottom:1px solid #eee;
}

.project-header a {
  text-decoration:none;
  font-weight:600;
  color:#333;
}

.start-btn {
  background:#000;
  color:#fff !important;
  padding:8px 14px;
  border-radius:5px;
}

/* ===== SIMPLE HERO SLIDER (OLD PORTFOLIO TOP STRIP) ===== */
.hero-slider {
  width:100%;
  max-width:1400px;
  margin:20px auto;
  position:relative;
  overflow:hidden;
}

.slider-wrapper {
  position:relative;
}

.slide {
  display:none;
  width:100%;
  aspect-ratio:16/9;
}

.slide.active {
  display:block;
}

.slide img {
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:10px;
}

.slider-btn {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,0.5);
  color:#fff;
  border:none;
  padding:10px 15px;
  cursor:pointer;
  font-size:24px;
  border-radius:50%;
}

.slider-btn.prev { left:10px; }
.slider-btn.next { right:10px; }

/* ===== GRID GALLERY (old style, still used on some projects) ===== */
.project-gallery {
  padding:20px;
  max-width:1400px;
  margin:auto;
}

.project-gallery h2 {
  margin-bottom:15px;
}

.grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:10px;
}

.grid img {
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:8px;
  cursor:pointer;
  transition:opacity .2s;
}

.grid img:hover {
  opacity:0.85;
}

/* ===== LIGHTBOX (old gallery) ===== */
.lightbox {
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.85);
  justify-content:center;
  align-items:center;
  z-index:9999;
}

.lightbox img {
  max-width:90%;
  max-height:90%;
  border-radius:10px;
}

.close {
  position:absolute;
  top:20px;
  right:30px;
  font-size:40px;
  color:#fff;
  cursor:pointer;
}

.lb-prev, .lb-next {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:50px;
  color:white;
  cursor:pointer;
  padding:10px;
}

.lb-prev { left:30px; }
.lb-next { right:30px; }

/* ==========================================================
   NEW PORTFOLIO HERO + LAYOUT (CURRENT 2BHK STYLE)
========================================================== */

/* ===== HERO PROJECT WRAP ===== */
.hero--project {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:24px;
  padding-top:20px;
  padding-bottom:20px;
}

.hero--project .hero-copy {
  flex:1 1 260px;
  min-width:260px;
}

.hero--project .h-tag {
  display:inline-block;
  font-size:0.85rem;
  letter-spacing:0.04em;
  text-transform:uppercase;
  opacity:0.8;
  margin-bottom:6px;
}

.hero--project h1 {
  font-size:1.6rem;
  margin-bottom:8px;
}

/* ===== 16:9 HERO SLIDER (BEDROOM/KITCHEN SLIDER) ===== */
.hero-slider {
  flex:1 1 320px;
  min-width:280px;
  max-width:520px;
  position:relative;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(0,0,0,0.18);
  background:#000;
}

.hero-slider::before {
  content:"";
  display:block;
  padding-top:56.25%; /* 16:9 ratio */
}

.hero-slide {
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity 0.6s ease;
}

.hero-slide.is-active {
  opacity:1;
}

.hero-slide img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.hero-slider-dots {
  position:absolute;
  left:50%;
  bottom:8px;
  transform:translateX(-50%);
  display:flex;
  gap:6px;
  z-index:2;
}

.hero-slider-dots button {
  width:9px;
  height:9px;
  border-radius:999px;
  border:none;
  padding:0;
  background:rgba(255,255,255,0.4);
  cursor:pointer;
}

.hero-slider-dots button.is-active {
  width:18px;
  background:#fff;
}

/* ===== PROJECT INFO BAR ===== */
.project-meta-bar {
  margin-top:10px;
  font-size:0.9rem;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  color:rgba(0,0,0,0.7);
}

.project-meta-bar span {
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.project-meta-bar i {
  font-size:0.9rem;
  opacity:0.85;
}

/* ===== PROJECT LAYOUT WRAP ===== */
.project-section {
  padding-top:10px;
  padding-bottom:24px;
}

.project-layout {
  display:grid;
  grid-template-columns:2fr 1.3fr;
  gap:20px;
}

@media (max-width:900px) {
  .project-layout {
    grid-template-columns:1fr;
  }
}

/* LEFT DESCRIPTION CARD */
.project-copy-card {
  background:rgba(245,248,252,0.95);
  border-radius:16px;
  padding:16px 18px;
}

.project-copy-card h2 {
  font-size:1.15rem;
  margin-bottom:6px;
}

.project-copy-card ul {
  margin:8px 0 0 18px;
  padding:0;
  font-size:0.92rem;
}

.project-copy-card li {
  margin-bottom:4px;
}

/* ===== GALLERY GRID (2 per row desktop, 1 per row mobile) ===== */
.project-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px;
}

@media (max-width:768px) {
  .project-grid {
    grid-template-columns:1fr;
  }
}

.project-grid figure {
  margin:0;
  border-radius:10px;
  overflow:hidden;
  background:#000;
  cursor:pointer;
  position:relative;
}

.project-grid img {
  width:100%;
  height:100%;
  max-height:260px;
  object-fit:cover;
  display:block;
  transition:transform 0.35s ease, opacity 0.35s ease;
}

.project-grid figure:hover img {
  transform:scale(1.04);
  opacity:0.92;
}

.project-grid figcaption {
  position:absolute;
  left:0;
  bottom:0;
  right:0;
  padding:5px 8px;
  font-size:0.75rem;
  background:linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color:#fff;
}

/* ===== LIGHTBOX (NEW GALLERY) ===== */
.lightbox {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.9);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.3s ease;
  z-index:9999;
}

.lightbox.is-open {
  opacity:1;
  pointer-events:auto;
}

.lightbox-img-wrap {
  max-width:92vw;
  max-height:86vh;
  position:relative;
}

#lightbox-img {
  max-width:100%;
  max-height:86vh;
  object-fit:contain;
  display:block;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position:absolute;
  border:none;
  background:rgba(0,0,0,0.5);
  color:#fff;
  width:34px;
  height:34px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:1.1rem;
}

.lightbox-close { top:10px; right:10px; }
.lightbox-prev  { left:10px; top:50%; transform:translateY(-50%); }
.lightbox-next  { right:10px; top:50%; transform:translateY(-50%); }

/* ===== MOBILE TWEAKS ===== */
@media (max-width:600px) {
  .hero--project {
    padding-top:12px;
  }
  .hero--project h1 {
    font-size:1.35rem;
  }
  .hero-slider {
    max-width:100%;
  }
}

/* ==========================================================
   PREMIUM HEADER — CLEAN, SINGLE VERSION
   EXACTLY LIKE 2BHK PORTFOLIO + DIAMOND SHINE
========================================================== */

/* HEADER WRAP */
.dcc-header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15,23,42,0.06);
  transition: background 0.25s ease,
              box-shadow 0.25s ease,
              padding 0.25s ease;
  padding: 14px 0;
}

.dcc-header.is-sticky {
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(15,23,42,0.14);
}

/* INNER FLEX */
.dcc-header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

/* BRAND */
.dcc-brand {
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
}

/* logo */
.dcc-logo,
.dcc-brand img {
  width:115px;
  height:auto;
  object-fit:contain;
  display:block;
}

/* brand text */
.dcc-brand-text {
  display:flex;
  flex-direction:column;
  line-height:1.15;
}

/* brand name – deep navy, as screenshot */
.dcc-brand-name {
  font-size:1.55rem;
  font-weight:800;
  letter-spacing:0.03em;
  color:#0a1d4d;
}

/* tagline under brand name */
.dcc-brand-tagline {
  font-size:0.85rem;
  color:#1f3566;
  margin-top:2px;
}

/* CTA GROUP */
.dcc-cta-group {
  display:flex;
  align-items:center;
  gap:12px;
}

/* CTA BUTTON BASE */
.dcc-cta {
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 18px;
  min-height:48px;
  border-radius:14px;
  font-size:0.8rem;
  text-decoration:none;
  border:1.5px solid #dfe6f3;
  background:#ffffff;
  color:#0f172a;
  overflow:hidden;
  cursor:pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

/* icon circle */
.dcc-cta-icon {
  width:28px;
  height:28px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:radial-gradient(circle at 30% 0%, #e0f2fe, #0ea5e9);
  color:#0f172a;
  font-size:0.95rem;
}

.dcc-cta-text {
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.dcc-cta-text small {
  font-size:0.68rem;
  opacity:0.75;
  margin-bottom:1px;
}
.dcc-cta-text strong {
  font-size:0.82rem;
}

/* Hover */
.dcc-cta:hover {
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(15,23,42,0.18);
}

/* Outline CTA (Call Now) */
.dcc-cta--outline {
  background:rgba(248,250,252,0.98);
}

/* Primary CTA (Fix an Appointment) – blue pill */
.dcc-cta--primary {
  color:#ffffff;
  border-color:transparent;
  background:linear-gradient(90deg,#3db7ff,#005eff);
}

/* text & icon white */
.dcc-cta--primary .dcc-cta-text strong,
.dcc-cta--primary .dcc-cta-icon {
  color:#ffffff;
}

/* DIAMOND SHINE EFFECT */
.dcc-cta--primary::before {
  content:"";
  position:absolute;
  inset:-40%;
  background:linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.8) 45%,
    transparent 70%
  );
  transform:translateX(-120%);
  opacity:0;
}

/* add class dcc-glow to enable animation */
.dcc-cta--primary.dcc-glow::before {
  animation:dccShine 2.8s linear infinite;
  opacity:1;
}

@keyframes dccShine {
  0%   { transform:translateX(-120%); }
  45%  { transform:translateX(120%);  }
  100% { transform:translateX(120%);  }
}

/* ================================
   MINI TOPBAR (below header)
================================ */
.dcc-topbar-mini {
  width:100%;
  background:#f7f9fc;
  border-bottom:1px solid #e5e9f2;
  padding:10px 12px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:0.78rem;
}

.mini-btn {
  padding:8px 16px;
  border-radius:10px;
  background:#fff;
  border:1px solid rgba(0,0,0,0.1);
  text-decoration:none;
  color:#0A2A53;
  white-space:nowrap;
  transition:0.2s ease;
}

.mini-btn:hover {
  background:#eef3ff;
  border-color:#cdd9ff;
}

.mini-translate {
  display:flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  background:#ffffff;
  border:1px solid rgba(0,0,0,0.1);
  border-radius:10px;
  white-space:nowrap;
}

.mini-translate i {
  font-size:1.1rem;
  color:#0A2A53;
}

/* Google Translate scale */
#google_translate_element {
  transform:scale(0.78);
  transform-origin:left center;
  overflow:hidden;
}

.goog-te-gadget {
  height:26px !important;
}

.goog-te-gadget select {
  padding:2px 4px !important;
  font-size:11px !important;
}

@media (max-width:360px) {
  #google_translate_element {
    transform:scale(0.65);
  }
}

/* YOUTUBE GLOW ICON (header or CTA links) */
.btn--yt {
  display:inline-flex;
  align-items:center;
  gap:8px;
  position:relative;
}

.btn--yt .yt-icon {
  font-size:1.2rem;
  color:#ff0000;
  filter:drop-shadow(0 0 4px rgba(255,0,0,0.45));
  transition:0.3s ease;
}

.dcc-youtube-glow i,
.btn--yt:hover .yt-icon {
  filter:drop-shadow(0 0 10px rgba(255,0,0,0.75));
}

/* ================================
   RESPONSIVE HEADER
================================ */
@media (max-width:720px) {
  .dcc-header-inner {
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }

  .dcc-cta-group {
    width:100%;
    justify-content:space-between;
  }

  .dcc-cta {
    flex:1 1 0;
  }
}

@media (max-width:480px) {
  .dcc-brand {
    gap:8px;
  }

  .dcc-logo,
  .dcc-brand img {
    width:90px;
  }

  .dcc-brand-name {
    font-size:1.3rem;
  }

  .dcc-brand-tagline {
    font-size:0.75rem;
    white-space:nowrap;
  }
}

/* ==========================================================
   FOOTER BRAND BLOCK (matches 2BHK portfolio)
========================================================== */

.brand-closure {
  text-align:center;
  padding:32px 0;
}

/* Brand name big in footer */
.footer-brand {
  font-size:1.6rem;
  font-weight:800;
  color:#0a1d4d;
  display:inline-block;
  margin-bottom:12px;
}

.footer-brand-link {
  color:inherit;
  text-decoration:none;
}
.footer-brand-link:hover {
  opacity:0.9;
}

/* Social icons */
.closure-social {
  margin:10px 0 14px;
  display:flex;
  justify-content:center;
  gap:18px;
  font-size:1.3rem;
}

.closure-social a {
  color:#0a1d4d;
  text-decoration:none;
}

/* One-line footer meta */
.closure-meta {
  font-size:0.92rem;
  color:#333;
  white-space:nowrap;
  text-align:center;
  margin-top:10px;
}

.closure-meta a {
  color:#0a1d4d;
  text-decoration:none;
  margin:0 4px;
}

.closure-brand {
  text-align:center;
  margin-bottom:8px;
}

/* Legal links */
.footer-legal-link {
  color:inherit;
  text-decoration:none;
}
.footer-legal-link:hover {
  text-decoration:underline;
}

/* Mobile meta tweak */
@media (max-width:480px) {
  .closure-meta {
    font-size:0.78rem;
    white-space:nowrap;
    overflow:hidden;
  }
  .closure-meta a {
    margin:0 2px;
  }
}

/* ==========================================================
   DELECON – FINAL GALLERY GRID (HOME PORTFOLIO GRID)
========================================================== */

.project-gallery-grid {
  width:100%;
  max-width:1400px;
  margin:0 auto;
  padding:20px 0 40px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}

/* TILE CARD */
.pg-card {
  position:relative;
  background:#000;
  overflow:hidden;
  border-radius:14px;
  cursor:pointer;
}

/* 16:9 frame */
.pg-card::before {
  content:"";
  display:block;
  padding-top:56.25%; /* 16:9 */
}

/* IMAGE inside card */
.pg-card img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease, opacity .35s ease;
}

.pg-card:hover img {
  transform:scale(1.06);
  opacity:0.92;
}

/* SMALL CAPTION INSIDE BOTTOM */
.pg-card figcaption {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:6px 10px;
  background:linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color:#fff;
  font-size:0.82rem;
  letter-spacing:0.3px;
  pointer-events:none;
}

/* TABLET – 2 PER ROW */
@media (max-width:1024px) {
  .project-gallery-grid {
    grid-template-columns:repeat(2,1fr);
  }
}

/* MOBILE – SINGLE TILE */
@media (max-width:680px) {
  .project-gallery-grid {
    grid-template-columns:1fr;
    gap:20px;
  }
  .pg-card figcaption {
    font-size:0.75rem;
    padding:6px 8px;
  }
}/* ==========================================================
   FINAL WINNING OVERRIDE — CTA SAME HEIGHT + SAME LOOK
   ========================================================== */

/* Stronger selector */
.dcc-header .dcc-cta,
.dcc-cta.dcc-cta--outline,
.dcc-cta.dcc-cta--primary {
    min-height: 52px !important;
    height: 52px !important;
    padding: 0 18px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 12px !important;
    box-sizing: border-box !important;
}

/* Icon bubble */
.dcc-header .dcc-cta-icon {
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Text alignment */
.dcc-header .dcc-cta-text {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.15 !important;
}

/* OUTLINE (Call Now) */
.dcc-header .dcc-cta--outline {
    background: #ffffff !important;
    border: 2px solid #dfe6f3 !important;
}

/* PRIMARY (Fix Appointment) */
.dcc-header .dcc-cta--primary {
    background: linear-gradient(90deg,#3db7ff,#005eff) !important;
    color: #fff !important;
    border: none !important;
}

/* Force text color inside primary */
.dcc-header .dcc-cta--primary strong,
.dcc-header .dcc-cta--primary small,
.dcc-header .dcc-cta--primary i {
    color: #fff !important;
}.dcc-cta--primary .dcc-cta-text,
.dcc-cta--primary .dcc-cta-text strong {
    white-space: nowrap !important;
}/* === UNIVERSAL FIX: Show Both CTAs on Mobile === */
@media (max-width: 768px) {

  /* Keep both CTA buttons visible */
  .dcc-cta-group .dcc-cta {
    display: flex !important;
  }

  /* Spacing for small screens */
  .dcc-cta-group {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
  }

  /* Adjust button size */
  .dcc-cta {
    padding: 6px 10px;
    border-radius: 8px;
  }

  .dcc-cta-text small {
    font-size: 11px;
    line-height: 1.2;
  }

  .dcc-cta-text strong {
    font-size: 13px;
    line-height: 1.2;
  }
}/* === FINAL MOBILE FIX (100% SAFE) === */
@media (max-width: 768px) {

  /* Keep both CTA buttons visible (never hide) */
  .dcc-header .dcc-cta-group {
      display: flex !important;
      flex-wrap: nowrap !important;
      justify-content: space-between !important;
      gap: 8px !important;
      width: 100% !important;
  }

  /* CTA buttons fit inside screen */
  .dcc-header .dcc-cta {
      flex: 1 1 auto !important;
      min-width: 0 !important;
      padding: 8px 10px !important;
      border-radius: 10px !important;
  }

  .dcc-header .dcc-cta-text small {
      font-size: 11px !important;
      line-height: 1.1 !important;
  }

  .dcc-header .dcc-cta-text strong {
      font-size: 13px !important;
      line-height: 1.1 !important;
      white-space: nowrap !important;
  }
}