/* ================================================================
   style.css  —  Karan Bhargav Portfolio
   ================================================================ */

/* ── ROOT VARIABLES ── */
:root {
  --bg:      #080809;
  --surface: #0f0f13;
  --card:    #15151b;
  --border:  #22222e;
  --accent:  #e50914;
  --accent2: #ff6535;
  --text:    #eeeef4;
  --muted:   #78788c;
  --radius:  6px;
  --FD: 'Bebas Neue', sans-serif;
  --FB: 'DM Sans', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--FB); overflow-x: hidden; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ================================================================
   NAV
   ================================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 6vw;
  background: linear-gradient(to bottom, rgba(8,8,9,.97) 0%, transparent 100%);
  transition: background .3s, border .3s;
}
.nav.scrolled {
  background: rgba(8,8,9,.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: var(--FD); font-size: 20px; letter-spacing: 4px; color: var(--accent); }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--muted); font-size: 13px; font-weight: 500;
  text-decoration: none; letter-spacing: .4px; transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center;
  padding: 8px 20px; background: var(--accent);
  color: #fff; font-size: 13px; font-weight: 600;
  border-radius: var(--radius); text-decoration: none; transition: all .2s;
}
.nav-cta:hover { background: #f40612; box-shadow: 0 6px 20px rgba(229,9,20,.4); transform: translateY(-1px); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: flex-end;
  padding: 0 6vw 80px;
  background: linear-gradient(155deg, #0d0006 0%, #09090f 55%, #080809 100%);
  overflow: hidden;
}
/* Bottom page fade */
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 55%;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  pointer-events: none; z-index: 3;
}

/* Animated grid */
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(229,9,20,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229,9,20,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 20%, transparent 100%);
  animation: gridMove 22s linear infinite;
}
@keyframes gridMove { from { background-position: 0 0; } to { background-position: 56px 56px; } }

/* Glow orbs */
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px);
  pointer-events: none; animation: orbf 15s ease-in-out infinite alternate; z-index: 2;
}
.orb1 { width: 600px; height: 600px; top: -180px; right: 4%;  background: rgba(229,9,20,.10); }
.orb2 { width: 400px; height: 400px; top: 25%;   right: 36%; background: rgba(255,101,53,.07); animation-delay: -6s; }
.orb3 { width: 340px; height: 340px; bottom: 0;  left: 18%;  background: rgba(50,20,160,.08); animation-delay: -11s; }
@keyframes orbf { from { transform: translate(0,0); } to { transform: translate(22px,16px); } }

/* Noise texture */
.hero-noise {
  position: absolute; inset: 0; z-index: 2; opacity: .025; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ── HERO SHOWREEL VIDEO (right-side cinematic panel) ──
   Place showreel.mp4 in the same folder as index.html.
   File should be: MP4 H.264, under 8MB, 5-10 seconds, loopable.
   If file is missing the hero still looks great with orbs + gradients.
*/
.hero-reel-wrap {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 62%; z-index: 1; overflow: hidden; pointer-events: none;
}
.hero-reel {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0;
  animation:
    reelFadeIn 2.4s ease 2.6s forwards,
    reelZoom   20s  ease-in-out 5s infinite alternate;
}
@keyframes reelFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes reelZoom   { from { transform: scale(1); } to { transform: scale(1.06); } }

.hero-reel-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right,
      var(--bg) 0%, rgba(8,8,9,.85) 22%,
      rgba(8,8,9,.45) 48%, rgba(8,8,9,.10) 72%, transparent 100%),
    linear-gradient(to bottom,
      var(--bg) 0%, rgba(8,8,9,.5) 15%, transparent 40%);
}
/* Red edge glow where reel meets text */
.hero-reel-wrap::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px;
  background: linear-gradient(to bottom,
    transparent 0%, rgba(229,9,20,.6) 40%, rgba(229,9,20,.6) 60%, transparent 100%);
  z-index: 3; filter: blur(3px);
}
@media (max-width: 768px) {
  .hero-reel-wrap { width: 100%; opacity: .4; }
  .hero-reel-overlay { background: rgba(8,8,9,.75); }
  .hero-reel-wrap::before { display: none; }
}

/* Hero text content */
.hero-content { position: relative; z-index: 4; max-width: 600px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--accent); }
.hero-name {
  font-family: var(--FD);
  font-size: clamp(64px, 11vw, 138px);
  line-height: .88; letter-spacing: 3px; color: var(--text); margin-bottom: 6px;
}
.hero-name em { color: var(--accent); font-style: normal; }
.hero-role {
  font-family: var(--FD);
  font-size: clamp(16px, 2.6vw, 32px);
  letter-spacing: 8px; color: var(--muted); margin-bottom: 30px;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.pill {
  padding: 5px 13px; background: rgba(255,255,255,.05);
  border: 1px solid var(--border); border-radius: 100px;
  font-size: 11px; font-weight: 500; letter-spacing: .8px; color: var(--muted);
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-family: var(--FB); font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; text-decoration: none;
  transition: all .2s; white-space: nowrap;
}
.btn-red  { background: var(--accent); color: #fff; }
.btn-red:hover { background: #f40612; transform: translateY(-1px); box-shadow: 0 8px 26px rgba(229,9,20,.45); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--text); border: 1px solid rgba(255,255,255,.15); }
.btn-ghost:hover { background: rgba(255,255,255,.15); }

/* ================================================================
   VIDEO ROWS
   ================================================================ */
#work { padding-bottom: 60px; }
.section-row { margin-bottom: 0; }
.section-header {
  display: flex; align-items: center;
  padding: 36px 6vw 16px; gap: 14px;
}
.s-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.s-title { font-family: var(--FD); font-size: clamp(18px,2.3vw,27px); letter-spacing: 2px; }
.s-count { font-size: 11px; color: var(--muted); font-weight: 500; }
.s-line { flex: 1; height: 1px; background: linear-gradient(to right, var(--border) 0%, transparent 100%); }

.track-wrap { position: relative; }
.fade-l, .fade-r {
  position: absolute; top: 0; bottom: 20px; width: 70px; z-index: 5; pointer-events: none;
}
.fade-l { left:  0; background: linear-gradient(to right, var(--bg), transparent); }
.fade-r { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

.arr {
  position: absolute; top: 50%; transform: translateY(-60%); z-index: 10;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(8,8,9,.9); border: 1px solid var(--border);
  color: var(--text); font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all .2s;
}
.track-wrap:hover .arr { opacity: 1; }
.arr:hover { background: var(--accent); border-color: var(--accent); }
.arr.L { left: 14px; }
.arr.R { right: 14px; }

.cards-track {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 4px 6vw 24px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.cards-track::-webkit-scrollbar { display: none; }

/* ── LANDSCAPE CARD (default) ── */
.vcard {
  flex-shrink: 0; width: clamp(210px, 21vw, 295px);
  scroll-snap-align: start; cursor: pointer;
  transition: transform .3s ease; position: relative; z-index: 1;
}
.vcard:hover { transform: scale(1.06); z-index: 20; }

.vcard-thumb {
  width: 100%; aspect-ratio: 16/9; border-radius: var(--radius);
  overflow: hidden; position: relative; background: var(--card);
  border: 1px solid var(--border); transition: border-color .2s;
}
.vcard:hover .vcard-thumb { border-color: rgba(229,9,20,.5); }
.vcard-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.vcard:hover .vcard-thumb img { transform: scale(1.05); }
.vcard-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,9,.85) 0%, transparent 55%);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: center; justify-content: center;
}
.vcard:hover .vcard-overlay { opacity: 1; }
.play-circle {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(229,9,20,.9); color: #fff; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(229,9,20,.55); transition: transform .2s;
}
.vcard:hover .play-circle { transform: scale(1.1); }

/* ── PORTRAIT CARD ──
   Applied automatically to Shorts (thumbnail detection)
   OR always applied when section has forcePortrait: true
*/
.vcard.portrait { width: clamp(100px, 10vw, 138px); }
.vcard.portrait .vcard-thumb { aspect-ratio: 9 / 16; }

/* Badge shown on portrait cards */
.vcard-badge {
  position: absolute; top: 7px; left: 7px; z-index: 5;
  color: #fff; font-family: var(--FB); font-size: 9px;
  font-weight: 700; letter-spacing: 1.2px;
  padding: 2px 7px; border-radius: 3px; text-transform: uppercase;
}
.vcard-badge.reels  { background: #b14fff; }
.vcard-badge.shorts { background: var(--accent); }

.vcard-info { padding: 9px 3px 0; }
.vcard-title {
  font-size: 13px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px;
}
.vcard-meta { font-size: 11px; color: var(--muted); }

.s-divider { height: 1px; background: var(--border); margin: 8px 6vw; opacity: .3; }
.empty-row {
  margin: 0 6vw 24px; padding: 28px 24px;
  background: var(--surface); border: 1px dashed var(--border);
  border-radius: var(--radius); color: var(--muted); font-size: 13px;
}

/* ================================================================
   ABOUT
   ================================================================ */
#about {
  padding: 90px 6vw;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start; max-width: 1200px; margin: 0 auto;
}
.sec-label {
  font-size: 11px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.sec-label::before { content: ''; display: block; width: 22px; height: 2px; background: var(--accent); }
.about-heading {
  font-family: var(--FD);
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: 2px; line-height: .95; margin-bottom: 24px;
}
.about-heading em { color: var(--accent); font-style: normal; }
.about-bio { font-size: 15px; line-height: 1.85; color: var(--muted); font-weight: 300; margin-bottom: 28px; }
.about-bio strong { color: var(--text); font-weight: 600; }
.stats-row { display: flex; gap: 36px; flex-wrap: wrap; margin-bottom: 36px; }
.stat-num { font-family: var(--FD); font-size: 42px; letter-spacing: 1px; color: var(--accent); line-height: 1; }
.stat-label { font-size: 11px; font-weight: 500; letter-spacing: 1px; color: var(--muted); margin-top: 4px; }
.skills-heading { font-family: var(--FD); font-size: 22px; letter-spacing: 2px; margin-bottom: 20px; }
.skill-group { margin-bottom: 26px; }
.skill-group-title {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent2);
  margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag {
  padding: 6px 14px; background: rgba(255,255,255,.04);
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 12px; font-weight: 500; color: var(--muted); transition: all .2s;
}
.skill-tag:hover { border-color: var(--accent2); color: var(--text); }

/* ================================================================
   CONTACT
   ================================================================ */
#contact { padding: 90px 6vw; background: var(--bg); }
.contact-inner { max-width: 1200px; margin: 0 auto; }
.contact-top {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; margin-bottom: 52px; align-items: start;
}
.contact-heading { font-family: var(--FD); font-size: clamp(38px, 5.5vw, 68px); letter-spacing: 2px; line-height: .92; }
.contact-heading em { color: var(--accent); font-style: normal; }
.contact-sub { font-size: 15px; line-height: 1.85; color: var(--muted); font-weight: 300; margin-top: 20px; }
.contact-sub strong { color: var(--text); font-weight: 600; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; color: var(--text); transition: all .2s;
}
.contact-card:hover { border-color: var(--accent); background: rgba(229,9,20,.05); transform: translateX(4px); }
.contact-card.clickable { cursor: pointer; }
.cc-arrow { margin-left: auto; font-size: 18px; color: var(--muted); transition: color .2s; flex-shrink: 0; }
.contact-card:hover .cc-arrow { color: var(--accent); }
.cc-icon { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.cc-label { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 1px; margin-bottom: 2px; }
.cc-value { font-size: 14px; font-weight: 600; }
.contact-cta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; padding: 34px 38px;
  background: var(--accent); border-radius: 10px;
}
.cta-big  { font-family: var(--FD); font-size: clamp(22px, 3vw, 36px); letter-spacing: 2px; color: #fff; }
.cta-small { font-size: 13px; color: rgba(255,255,255,.72); margin-top: 4px; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: transparent; color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius); font-family: var(--FB);
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: all .2s; white-space: nowrap; flex-shrink: 0;
}
.btn-white:hover {
  background: var(--accent);              /* red highlight */
  border-color: var(--accent);
  color: #fff;

  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229,9,20,.35);
}

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  padding: 34px 6vw; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-family: var(--FD); font-size: 18px; letter-spacing: 4px; color: var(--muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); font-size: 12px; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 11px; color: var(--muted); }

/* ================================================================
   VIDEO MODAL  —  Smart Portrait / Landscape
   ================================================================ */
.modal-bg {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.90); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal-bg.open { opacity: 1; visibility: visible; }

/* ── LANDSCAPE shell (default) ── */
.modal {
  width: 98%; max-width: 1600px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transform: scale(.95) translateY(10px);
  transition: transform .3s ease, max-width .3s ease, width .3s ease;
  box-shadow: 0 60px 140px rgba(0,0,0,.95);
}
.modal-bg.open .modal { transform: scale(1) translateY(0); }

/* ── PORTRAIT shell — applied by JS for Shorts / forced-portrait sections ── */
.modal.portrait {
  max-width: 600px;
  width: min(95vw, 600px);
}

/* ── VIDEO AREA ── */
.modal-video {
  position: relative;      /* required for absolute YT link button */
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  background: #000;
  overflow: hidden;
  transition: aspect-ratio .3s ease;
}
/* Portrait video area */
.modal.portrait .modal-video {
  aspect-ratio: 9 / 16;
  min-height: unset;
  max-height: 95vh;
}
.modal-video iframe { width: 100%; height: 100%; display: block; border: none; }

/* tap to play */

.tap-to-play{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.4);
  color:#fff;
  font-size:18px;
  z-index:2;
  cursor:pointer;
}


/* "Watch on YouTube" button inside the player */
.yt-ext-link {
  position: absolute; bottom: 16px; right: 16px;
  padding: 9px 15px; background: var(--accent); color: #fff;
  text-decoration: none; border-radius: 5px;
  font-family: var(--FB); font-size: 12px; font-weight: 600;
  z-index: 10; transition: background .2s;
}
.yt-ext-link:hover { background: #f40612; }
/* Move to bottom-centre for portrait so it doesn't cover the video */
.modal.portrait .yt-ext-link {
  right: 50%; transform: translateX(50%);
  bottom: 12px;
}

/* Modal footer */
.modal-foot {
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.modal-title   { font-family: var(--FD); font-size: 22px; letter-spacing: 1px; }
.modal-section { font-size: 12px; color: var(--muted); margin-top: 2px; }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: transparent;
  color: var(--muted); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; flex-shrink: 0;
}
.modal-close:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Loading spinner shown while orientation is being detected */
.modal-loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; background: #000;
}
.modal-spinner {
  width: 38px; height: 38px; border-radius: 50%;
  border: 3px solid var(--border); border-top-color: var(--accent);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.modal-loading-text { font-size: 12px; color: var(--muted); letter-spacing: 1px; }

/* ================================================================
   NETFLIX INTRO SPLASH
   ================================================================ */
#intro {
  position: fixed; inset: 0; background: #000; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; transition: opacity .8s ease, visibility .8s;
}
.intro-lines {
  position: absolute; width: 200%; height: 200%;
  background: linear-gradient(120deg,
    transparent 40%, rgba(229,9,20,.15) 50%,
    rgba(229,9,20,.6) 52%, rgba(229,9,20,.15) 54%, transparent 60%);
  animation: lineMove 1.5s ease forwards; filter: blur(20px);
}
.intro-logo{
  position:relative;
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(32px, 10vw, 70px); /* responsive */
  letter-spacing:clamp(2px, 1vw, 8px);
  color:#e50914;
  opacity:0;
  transform:scale(0.8);
  text-align:center;
  padding:0 10px;
  animation:logoReveal 1.2s ease forwards;
  animation-delay:0.6s;
}

@media(max-width:600px){
  .intro-logo{
    font-size:40px;        /* smaller */
    letter-spacing:4px;    /* tighter */
    text-align:center;
    padding:0 10px;        /* prevent cut */
    line-height:1.1;
  }
}
@keyframes lineMove {
  0%   { transform: translateX(-60%) rotate(10deg); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: translateX(60%)  rotate(10deg); opacity: 0; }
}
@keyframes logoReveal {
  0%   { opacity: 0; transform: scale(.7);  text-shadow: none; }
  50%  { opacity: 1; transform: scale(1.1); text-shadow: 0 0 40px rgba(229,9,20,.8); }
  100% { opacity: 1; transform: scale(1);   text-shadow: 0 0 10px rgba(229,9,20,.5); }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .about-grid   { grid-template-columns: 1fr; gap: 44px; }
  .contact-top  { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .nav-links     { display: none; }
  .hero-name     { font-size: clamp(58px, 16vw, 90px); }
  .modal,
  .modal.portrait{ border-radius: 0; max-width: 100%; width: 100%; }
  .contact-cta   { padding: 24px 20px; }
  .stats-row     { gap: 24px; }
}

/* ================================================================
   TOAST
   ================================================================ */
#toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 10px 24px;
  font-size: 13px; font-weight: 500; color: var(--text);
  z-index: 1000; opacity: 0; visibility: hidden;
  transition: all .3s ease; white-space: nowrap;
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
}
#toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ================================================================
   CONTACT SHEETS  (Phone / Email / Message)
   ================================================================ */
#phoneSheet, #emailSheet, #msgSheet {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,.78); backdrop-filter: blur(10px);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 12px 12px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
#phoneSheet.open, #emailSheet.open, #msgSheet.open {
  opacity: 1; visibility: visible;
}
.sheet-box {
  width: 100%; max-width: 440px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px 20px 16px;
  transform: translateY(30px);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 -20px 60px rgba(0,0,0,.6);
}
#phoneSheet.open .sheet-box,
#emailSheet.open .sheet-box,
#msgSheet.open .sheet-box { transform: translateY(0); }

.sheet-title {
  font-family: var(--FD); font-size: 14px; letter-spacing: 3px;
  color: var(--muted); text-align: center; margin-bottom: 8px;
  text-transform: uppercase;
}
.sheet-number {
  font-family: var(--FD); font-size: 26px; letter-spacing: 2px;
  color: var(--text); text-align: center; margin-bottom: 22px; line-height: 1.3;
}
.sheet-btns {
  display: flex; gap: 10px; margin-bottom: 12px;
}
.sheet-btn {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 15px 10px;
  border-radius: 14px; text-decoration: none;
  font-family: var(--FB); font-size: 15px; font-weight: 700;
  transition: all .2s; letter-spacing: .2px; cursor: pointer;
  border: none;
}
.sheet-btn.call    { background: var(--accent);  color: #fff; }
.sheet-btn.call:hover { background: #f40612; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(229,9,20,.45); }
.sheet-btn.whatsapp { background: #25d366; color: #fff; }
.sheet-btn.whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.4); }
.sheet-btn.copy    { background: rgba(255,255,255,.08); color: var(--text); border: 1px solid var(--border); }
.sheet-btn.copy:hover { background: rgba(255,255,255,.15); border-color: var(--muted); transform: translateY(-2px); }
.sheet-btn.gmail   { background: #ea4335; color: #fff; }
.sheet-btn.gmail:hover { background: #d33828; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(234,67,53,.4); }
.sheet-close {
  display: block; width: 100%; padding: 14px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  border-radius: 12px; color: var(--muted);
  font-family: var(--FB); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .2s; margin-top: 6px;
}
.sheet-close:hover { background: rgba(255,255,255,.1); color: var(--text); }

/* Hide scroll bar when modal is open */
body.modal-open #scrollBar { opacity: 0; }
