/* DELECON® Portfolio — Magazine Engine (FAST + CLEAN)
   Works with meta-head.php global rules
*/

:root{
  --gold:#b8974d;
  --dark:#111;
  --muted:#666;
  --bg:#f7f7f7;
  --white:#fff;
  --shadow:0 18px 40px rgba(0,0,0,.10);
  --shadow2:0 10px 25px rgba(0,0,0,.10);
}

*{box-sizing:border-box;}
img{max-width:100%;height:auto;display:block;}

.magazine-container{
  max-width:1300px;
  margin:0 auto;
  padding:0 25px;
}

/* =========================
   HERO BAND (TITLE BACKGROUND)
========================= */
.portfolio-hero{
  width:100%;
  color:#fff;
  text-align:center;
  padding:90px 0 140px;
  position:relative;
  overflow:hidden;
  background: linear-gradient(135deg,#2c2c2c 0%,#4a4a4a 55%,#b8974d 110%);
}
.portfolio-hero::before{
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,.25);
  pointer-events:none;
}
.hero-inner{position:relative; z-index:2;}
.hero-tag{
  display:inline-block;
  color:#f1c40f;
  letter-spacing:6px;
  text-transform:uppercase;
  font-size:13px;
  font-weight:600;
  opacity:.95;
}
.hero-title{
  font-weight:300;
  font-size:clamp(32px,7vw,52px);
  margin:14px 0 0;
  letter-spacing:1px;
}
.hero-line{
  width:62px;height:3px;
  background:var(--gold);
  margin:22px auto 0;
}

/* =========================
   HERO STORY CARD
========================= */
.hero-story-card{
  background:var(--white);
  display:flex;
  align-items:center;
  gap:50px;
  border-radius:20px;
  padding:50px;
  margin:-90px auto 60px;
  position:relative;
  z-index:10;
  box-shadow:var(--shadow);
  max-width:1100px;
}

.hero-img-frame{
  flex:1;
  border-radius:14px;
  overflow:hidden;
  height:480px;
  box-shadow:0 15px 35px rgba(0,0,0,.15);
  border:5px solid var(--white);
  background:#eee;
}
.hero-img-frame img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:top;
}

.hero-text-block{flex:1.2;}
.quote-mark{
  color:var(--gold);
  font-size:60px;
  line-height:1;
  opacity:.25;
  font-family:Georgia, serif;
  display:block;
  margin-bottom:6px;
}
.testimonial-text{
  font-size:19px;
  line-height:1.8;
  color:#444;
  margin:0 0 18px;
  font-style:italic;
}
.gold-line{width:40px;height:2px;background:var(--gold);margin:10px 0;}
.location-tag{color:#777;font-size:13px;margin-top:4px;}

.project-meta-bar{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin:18px 0 18px;
  border-top:1px solid #eee;
  padding-top:16px;
  color:#333;
  font-size:13px;
}
.project-meta-bar i{color:var(--gold);}

.cta-group{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px;}
.btn{
  padding:12px 18px;
  border-radius:10px;
  text-decoration:none;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:1px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition:.25s;
}
.btn--primary{background:var(--gold);color:#fff;border:1px solid var(--gold);}
.btn--primary:hover{transform:translateY(-1px);filter:brightness(1.02);}
.btn--youtube-glow{
  background:#fff;
  border:1px solid #eee;
  color:#b10000;
  box-shadow:0 4px 14px rgba(255,0,0,.10);
}
.btn--youtube-glow:hover{transform:translateY(-1px);}

/* =========================
   ROOM SECTIONS
========================= */
.room-section{margin-bottom:95px;}
.room-label{
  display:inline-block;
  font-size:11px;
  letter-spacing:4px;
  text-transform:uppercase;
  color:#999;
  margin-bottom:10px;
}
.room-title{
  font-size:clamp(24px,3.2vw,34px);
  font-weight:300;
  margin:0 0 22px;
  color:#222;
}
.room-desc{
  color:#555;
  line-height:1.8;
  font-size:15px;
  margin:0 0 18px;
}

/* =========================
   IMAGE GRID + PLUS ICON
========================= */
.mag-flex{display:flex;gap:25px;flex-wrap:wrap;margin-bottom:25px;}
.mag-col-2{flex:2;min-width:320px;}
.mag-col-3{flex:1.3;min-width:320px;}

.img-box{
  position:relative;
  overflow:hidden;
  border-radius:14px;
  background:#f0f0f0;
  cursor:pointer;
  box-shadow:var(--shadow2);
}
.img-box img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .6s cubic-bezier(.2,1,.3,1);
}
.img-box:hover img{transform:scale(1.04);}
.plus-icon{
  position:absolute;
  right:14px; bottom:14px;
  width:34px; height:34px;
  border-radius:10px;
  background:rgba(0,0,0,.55);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:18px;
  user-select:none;
}

/* =========================
   MAP BLOCK (DELECON®)
========================= */
.map-block{
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 14px;
  overflow: hidden;              /* critical for rounded iframe */
  border: 1px solid #e6e6e6;
  background: #fafafa;
}

.map-block iframe{
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Mobile tuning */
@media (max-width: 768px){
  .map-block{
    height: 300px;
    border-radius: 12px;
  }
}

/* =========================
   LIGHTBOX (NO X BUTTON)
========================= */
.sw-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.92);
  z-index:999999;
  justify-content:center;
  align-items:center;
  padding:18px;
}
.sw-overlay.active{display:flex;}

.sw-img-container{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.sw-img{
  max-width:min(1100px, 96vw);
  max-height:85vh;
  object-fit:contain;
  border:2px solid rgba(255,255,255,.85);
  background:#000;
}

/* Top bar */
.sw-go-back-btn{
  position:fixed;
  top:0; left:0;
  width:100%;
  padding:16px 14px;
  border:0;
  background:var(--gold);
  color:#111;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1px;
  z-index:1000001;
}

/* arrows: show on desktop, hide on mobile */
.sw-nav{
  position:fixed;
  top:50%;
  transform:translateY(-50%);
  border:0;
  width:56px;
  height:56px;
  border-radius:50%;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:30px;
  cursor:pointer;
  z-index:1000001;
}
.sw-prev{left:16px;}
.sw-next{right:16px;}

.sw-mobile-hint{
  position:fixed;
  bottom:18px;
  width:100%;
  text-align:center;
  color:rgba(255,255,255,.65);
  font-size:10px;
  letter-spacing:1px;
  text-transform:uppercase;
  z-index:1000001;
}

/* =========================
   MOBILE
========================= */
@media (max-width:768px){
  .magazine-container{padding:0 16px;}
  .portfolio-hero{padding:70px 0 120px;}
  .hero-story-card{
    flex-direction:column;
    padding:26px 18px;
    margin:-65px auto 40px;
    gap:18px;
    text-align:center;
  }
  .hero-img-frame{
    width:100%;
    height:auto;
    aspect-ratio:4/5;
  }
  .cta-group{flex-direction:column;}
  .btn{width:100%;}
  .sw-img{max-height:72vh;}
  .sw-nav{display:none;} /* ✅ your request: no side buttons on mobile */
}