
:root{
  --bg:#0b0b0b;
  --surface:#111;
  --muted:#777;
  --text:#e9e9e9;
  --accent:#c6a969; /* luxe gold */
  --accent-2:#a43a3a; /* secondary (deep red) */
  --maxw:1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.5;
}
/* فقط داخل صفحات آلبوم */
body.album-page .gallery {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}

body.album-page .gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;   
  object-fit: cover;
  border-radius: 12px;   
}
body.album-page .gallery img.focus-top{
  object-position: top center;
  /* object-fit: cover; از قبل ست است و نسبت ۳:۴ حفظ می‌شود */
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{max-width:var(--maxw);margin:0 auto;padding:0 16px}

.nav{
  position:sticky; top:0; z-index:1000;
  background:rgba(11,11,11,.8); backdrop-filter: blur(8px);
  border-bottom:1px solid #1f1f1f;
}
.nav__wrap{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.brand{display:flex;gap:10px;align-items:center;font-weight:700;letter-spacing:.08em}
.brand__dot{width:10px;height:10px;border-radius:50%;background:var(--accent)}
.nav__menu{display:flex;gap:20px;align-items:center}
.nav__link{opacity:.85}
.nav__link:hover{opacity:1;color:var(--accent)}
.burger{display:none;background:none;border:0;color:var(--text);font-size:28px}

@media (max-width: 800px){
  .nav__menu{display:none;flex-direction:column;align-items:flex-start;background:#0f0f0f;position:absolute;left:0;right:0;top:60px;padding:12px;border-bottom:1px solid #1f1f1f}
  .nav__menu.open{display:flex}
  .burger{display:block}
}

.btn{display:inline-flex;align-items:center;gap:10px;border:1px solid #2a2a2a;color:var(--text);padding:12px 18px;border-radius:999px;font-weight:600;transition:.2s background,.2s border,.2s transform}
.btn:hover{border-color:var(--accent);transform:translateY(-1px)}
.btn--accent{background:linear-gradient(90deg, var(--accent), #e2c97f);color:#171717;border-color:transparent}
.btn--ghost{background:transparent}
.btn--block{width:100%;justify-content:center}

.hero{
  min-height:85dvh; display:grid; place-items:center; text-align:center;
  background: radial-gradient(80% 60% at 50% 0%, #151515 0%, #0b0b0b 60%);
}
.hero__inner{padding:40px 0}
.kicker{letter-spacing:.2em;color:var(--muted);text-transform:uppercase;font-size:.8rem}
.h1{font-size:clamp(36px, 7vw, 64px);margin:12px 0 6px;letter-spacing:.02em}
.sub{color:#cfcfcf;max-width:720px;margin:0 auto 28px}
.hero__cta{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}

.section{padding:64px 0;border-top:1px solid #171717}
.section__hd{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}
.h2{font-size:clamp(24px,4.5vw,36px);margin:0}
.lead{color:#cccccc;max-width:760px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media (max-width:900px){.cards{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.cards{grid-template-columns:1fr}}

.card{background:var(--surface);border:1px solid #1f1f1f;border-radius:18px;overflow:hidden}
.card__img{aspect-ratio:4/5;object-fit:cover}
.card__bd{padding:14px}
.card__title{font-weight:600}
.meta{color:var(--muted);font-size:.9rem}

.footer{border-top:1px solid #171717;padding:28px 0;color:#bcbcbc}
.footer a{color:#ddd}
.footer__grid{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}
@media (max-width:700px){.footer__grid{grid-template-columns:1fr}}

.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
@media (max-width:900px){.gallery{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.gallery{grid-template-columns:1fr}}
.gallery a{position:relative;overflow:hidden;border-radius:14px}
.gallery img{aspect-ratio:4/5;object-fit:cover;transition:transform .5s ease}
.gallery a:hover img{transform:scale(1.03)}

.lb__overlay{position:fixed;inset:0;background:rgba(0,0,0,.9);display:none;align-items:center;justify-content:center;padding:20px;z-index:2000}
.lb__overlay.open{display:flex}
.lb__inner{max-width:min(90vw,1000px);width:100%}
.lb__img{width:100%;height:auto;display:block;border-radius:8px}
.lb__ctrl{display:flex;justify-content:space-between;align-items:center;margin-top:10px;gap:8px;flex-wrap:wrap}
.lb__btn{background:#1c1c1c;border:1px solid #2a2a2a;border-radius:10px;padding:10px 14px;cursor:pointer}
.lb__btn:hover{border-color:var(--accent)}
.lb__cap{color:#cfcfcf;flex:1;text-align:center}

.form{max-width:720px;margin:0 auto}
.input, textarea{
  width:100%;padding:12px 14px;border-radius:12px;border:1px solid #262626;background:#121212;color:#ddd;
}
textarea{min-height:140px;resize:vertical}
.form__row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:600px){.form__row{grid-template-columns:1fr}}
.form__actions{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}

.badge{display:inline-flex;gap:8px;align-items:center;background:#151515;border:1px solid #262626;border-radius:999px;padding:8px 12px;color:#cfcfcf}
.badge svg{width:16px;height:16px}

.fade-in{opacity:0; transform:translateY(10px); transition:opacity .6s ease, transform .6s ease}
.fade-in.is-inview{opacity:1; transform:none}



/* --- albums (covers only page) --- */
.album-covers{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
@media (max-width:900px){.album-covers{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.album-covers{grid-template-columns:1fr}}
.album-cover{background:var(--surface, #1c1c1c);border:1px solid #2a2a2a;border-radius:16px;overflow:hidden;display:block}
.album-cover img{aspect-ratio:4/5;object-fit:cover;display:block;opacity:.95;transition:transform .45s ease, opacity .2s ease}
.album-cover:hover img{transform:scale(1.03);opacity:1}
.album-cover__meta{padding:12px;background:rgba(0,0,0,.35)}
.album-cover__title{font-weight:600}

/* --- socials in footer --- */
.footer__socials{display:flex;gap:10px;align-items:center}
.footer__socials a{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #2a2a2a;border-radius:999px;opacity:.9}
.footer__socials a:hover{opacity:1;border-color:var(--accent,#e2c97f)}
.social-icon{width:16px;height:16px}


/* Hide old footer socials */
.footer__socials, .footer .social, .footer .social a { display:none !important; }
/* --- theme toggle --- */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;border:1px solid #2a2a2a;background:transparent;margin-left:8px;cursor:pointer;opacity:.9}
.theme-toggle:hover{opacity:1;border-color:var(--accent,#e2c97f)}
.theme-toggle img{width:18px;height:18px}

/* Light theme overrides (minimal-safe) */
body.light-theme{background:#ffffff;color:#111}
body.light-theme .nav, body.light-theme .footer{background:#f7f7f7;border-color:#e8e8e8}
body.light-theme .album-cover{background:#fafafa;border-color:#dedede}
body.light-theme .album-cover__meta{background:rgba(255,255,255,.7)}
body.light-theme .footer__socials a{border-color:#d9d9d9}

/* --- Hero right layout --- */
.hero.hero--right { padding: 40px 0; }
.hero__wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; }
.hero__text { text-align: left; }
.hero__title { font-size: clamp(28px, 5vw, 52px); line-height: 1.1; margin-bottom: 12px; }
.hero__subtitle { opacity: .9; margin-bottom: 20px; }
.hero__image img { width: 100%; height: auto; object-fit: cover; border-radius: 12px; }

@media (max-width: 768px){
  .hero__wrap { grid-template-columns: 1fr; text-align: center; }
  .hero__text { order: 2; }
  .hero__image { order: 1; }
}


/* Sun icon color handling */

body:not(.light-theme) .theme-toggle img { filter: invert(1) brightness(1.2); }
body.light-theme .theme-toggle img { filter: none; }


/* --- Hero background (blur-up + fade-in) --- */
.hero-bg {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 110%;
  object-fit: cover;
  /* focus to the right/bottom as requested */
  object-position: 100% 28%;
  transform: scale(1.04);
  filter: blur(12px);
  opacity: 0;
  transition: opacity .6s ease, filter .8s ease, transform 1s ease;
}
.hero-bg.is-loading .hero-bg__img { opacity: 1; } /* show LQ fast */

.hero-bg.is-ready .hero-bg__img {
  transform: scale(1.0);
  filter: blur(0);
  opacity: 1;
}

.hero-bg__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}
body.light-theme .hero-bg__overlay {
  background: linear-gradient(90deg, rgba(255,255,255,0.6) 30%, rgba(255,255,255,0) 70%);
}

.hero-bg__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  color: #fff;
}
body.light-theme .hero-bg__content { color: #111; }

.hero-bg__title { font-size: clamp(28px, 5vw, 56px); line-height: 1.1; margin-bottom: 12px; }
.hero-bg__subtitle { font-size: 18px; opacity: .9; margin-bottom: 20px; }

@media (max-width: 768px){
  .hero-bg { min-height: 64vh; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .hero-bg__img { transition: none; filter: none; transform: none; }
}

/* --- Custom overrides for hero alignment --- */
.hero-bg{ display:flex; align-items:center; justify-content:flex-start; padding: 50px 0; }
.hero-bg__content{ max-width: 560px; margin-left: 0; margin-right: auto; padding: 0 24px; white-space: normal; }
.hero-bg__title{ white-space: nowrap; } /* keep on one line */
@media (max-width: 768px){
  .hero-bg{ padding: 40px 0; background-position: center right; }
  .hero-bg__title{ white-space: nowrap; font-size: clamp(24px, 6vw, 40px); }
}



/* === Scoped: Contact layout & About card === */
.contact-two{display:grid;gap:24px;}
@media (min-width:900px){.contact-two{grid-template-columns:1fr 1fr;align-items:start;}}
.contact-col{display:flex;flex-direction:column;gap:12px;}
.about-card{border:1px solid rgba(255,255,255,0.7);border-radius:14px;padding:18px 20px;background:rgba(255,255,255,0.02);box-shadow:inset 0 0 0 1px rgba(255,255,255,0.05);}
.about-card .h4{margin:0 0 8px;}
.about-card p{line-height:1.8;margin:0 0 10px;}

