/* ══════════════════════════
   PORTFOLIO — Simple Style
══════════════════════════ */

/* HERO */
.ph-hero {
  padding: 130px 6% 70px;
  background: var(--bg);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.ph-hero-inner { max-width: 640px; }
.ph-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}
.ph-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
}

/* SECTIONS */
.ph-sec {
  padding: 70px 6%;
  background: var(--bg);
}
.ph-sec--alt {
  background: var(--bg2);
}
.ph-sec-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ph-sec-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}
.ph-sec-head h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
}
.ph-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a84c, #f0d080);
  flex-shrink: 0;
}

/* 2-COLUMN GRID */
.ph-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* CARD */
.ph-card {
  background: var(--bg2);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s, transform .3s cubic-bezier(.23,1,.32,1), box-shadow .3s;
}
.ph-sec--alt .ph-card {
  background: var(--bg);
}
.ph-card:hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(201,168,76,0.08);
}

/* IMAGE */
.ph-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0d0d0d;
  overflow: hidden;
}
.ph-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .4s cubic-bezier(.23,1,.32,1);
}
.ph-card:hover .ph-img img {
  transform: scale(1.04);
}

/* Placeholder — shown when image missing */
.ph-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #0f0e0a, #1a1600);
  z-index: 0;
}
.ph-placeholder span {
  font-size: 2.4rem;
  opacity: .5;
}
.ph-placeholder p {
  font-size: .72rem;
  color: rgba(201,168,76,0.35);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  padding: 0 16px;
}

/* When image loads — sits on top of placeholder */
.ph-img img {
  position: relative;
  z-index: 1;
}
/* When image fails — onerror adds .no-img, hides img via CSS */
.ph-img.no-img img {
  display: none;
}

/* CARD BODY */
.ph-body {
  padding: 18px 20px 22px;
}
.ph-tag {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.ph-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
  transition: color .2s;
}
.ph-card:hover .ph-body h3 {
  color: var(--accent);
}
.ph-body p {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* CTA */
.ph-cta {
  padding: 80px 6%;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid rgba(201,168,76,0.1);
}
.ph-cta-inner { max-width: 560px; margin: 0 auto; }
.ph-cta h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 12px;
}
.ph-cta p {
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .ph-grid {
    grid-template-columns: 1fr;
  }
  .ph-sec {
    padding: 50px 5%;
  }
}

/* ══════════════════════════════════════════
   STEP 1: style.css ke BILKUL END mein paste karo
   ══════════════════════════════════════════ */

.mega-wrap { position: static !important; }
.dropdown-toggle { cursor: pointer; }
.drop-arrow { font-size: .7rem; opacity: .7; margin-left: 2px; }

/* Bridge: padding-top se gap fill hoti hai takey cursor slip na kare */
.mega-wrap::after {
  content: '';
  position: fixed;
  top: 60px; left: 0; right: 0;
  height: 20px;
  z-index: 997;
  display: none;
}
.mega-wrap:hover::after { display: block; }

.mega-menu {
  display: none;
  position: fixed;
  top: 73px; left: 0; right: 0;
  background: rgba(10,10,10,0.98);
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.08);
  backdrop-filter: blur(20px);
  z-index: 998;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  /* Gap fix: padding-top covers the invisible gap */
  padding-top: 8px;
}
.mega-menu.open { display: block; }

.mega-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 260px 1fr;
  min-height: 300px;
}

.mega-cats {
  border-right: 1px solid rgba(201,168,76,0.1);
  padding: 20px 0;
  display: flex; flex-direction: column;
}
.mega-cat-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 22px; cursor: pointer;
  color: var(--muted); font-size: .9rem; font-weight: 500;
  transition: background .2s, color .2s;
  border-left: 2px solid transparent;
}
.mega-cat-item:hover,
.mega-cat-item.active {
  background: rgba(201,168,76,0.07);
  color: var(--white);
  border-left-color: var(--accent);
}
.mega-cat-left { display: flex; align-items: center; gap: 10px; }
.mega-cat-icon { font-size: 1.1rem; }
.mega-cat-arrow { color: var(--accent); font-size: 1rem; opacity: 0; transition: opacity .2s; }
.mega-cat-item:hover .mega-cat-arrow,
.mega-cat-item.active .mega-cat-arrow { opacity: 1; }

.mega-panels { padding: 28px 32px 32px; }
.mega-panel { display: none; }
.mega-panel.active { display: block; }

.mega-panel-title {
  font-family: 'Syne', sans-serif;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent); margin-bottom: 18px;
}
.mega-sub-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.mega-sub-link {
  display: block; padding: 11px 16px;
  color: var(--muted); text-decoration: none;
  font-size: .88rem; font-weight: 400;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all .2s;
}
.mega-sub-link:hover {
  color: var(--white);
  background: rgba(201,168,76,0.07);
  border-color: rgba(201,168,76,0.18);
  padding-left: 20px;
}
.mega-footer {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(201,168,76,0.1);
  display: flex; align-items: center; justify-content: space-between;
}
.mega-footer p { font-size: .83rem; color: var(--muted); }
.mega-footer a {
  font-size: .83rem; font-weight: 700;
  color: var(--accent); text-decoration: none;
}
.mega-footer a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .mega-menu { display: none !important; }
}



/* ════════════════════════════
   MOBILE SERVICES ACCORDION
════════════════════════════ */
.mob-services-wrap { width: 100%; }

.mob-services-toggle {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  font-weight: 800; letter-spacing: -1px;
  color: var(--muted);
  padding: 8px 0; width: 100%; text-align: center;
  cursor: pointer;
  transition: color .2s;
}
.mob-services-toggle:hover { color: var(--accent); }
.mob-services-toggle.open  { color: var(--accent); }

.mob-arrow {
  transition: transform .3s cubic-bezier(.23,1,.32,1);
  flex-shrink: 0; margin-top: 4px;
}
.mob-services-toggle.open .mob-arrow { transform: rotate(180deg); }

.mob-services-list {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.23,1,.32,1), opacity .3s;
  opacity: 0;
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 20px;
}
.mob-services-list.open {
  max-height: 400px;
  opacity: 1;
  padding: 8px 20px 12px;
}

.mob-sub-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: .95rem; font-weight: 500;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all .2s;
}
.mob-sub-link:hover {
  color: var(--white);
  background: rgba(201,168,76,0.07);
  border-color: rgba(201,168,76,0.2);
}
.mob-sub-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}