/* ==========================================================================
   Studio NLF — styles
   ========================================================================== */

@font-face {
  font-family: 'Akira Expanded';
  src: url('../fonts/AkiraExpandedDemo.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #eef0fb;
  --color-primary: #454dff;
  --color-primary-dark: #373ecc;
  --color-navy: #232055;
  --color-purple: #5b4be8;
  --color-text: #211d3d;
  --color-text-muted: #56517a;
  --color-white: #ffffff;

  --font-display: 'Akira Expanded', 'Montserrat', 'Arial Black', sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-nav: 'Lexend Deca', 'Poppins', sans-serif;

  --container-width: 1160px;
  --radius: 0;
  --transition: 0.2s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------- Placeholder media -------------------- */
.placeholder-img {
  position: relative;
  background: linear-gradient(135deg, #6a5cf2 0%, #3f2f9e 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.placeholder-img::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-align: center;
  font-size: 11px;
  font-family: var(--font-body);
  color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.12);
  pointer-events: none;
}
.placeholder-img.has-image::after { content: none; }
.placeholder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  border-radius: 0;
  border: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 6px 18px rgba(74, 62, 242, 0.35);
}

.btn-light {
  background: #fff;
  color: var(--color-primary);
}
.btn-light:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.2); }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  text-decoration: none;
}
.logo span { color: var(--color-primary); }

.main-nav {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  flex: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav-link {
  color: var(--color-primary);
  text-decoration: none;
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-link:hover { color: var(--color-primary-dark); font-weight: 700; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-navy);
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.14), 0 0 12px rgba(255, 255, 255, 0.06);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-location {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 2;
  width: 100%;
  text-align: center;
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}
.hero-kicker {
  font-family: 'Lexend Exa', var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0 0 8px;
  opacity: 0.85;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0;
}
.hero-line { display: block; font-size: clamp(1.75rem, 6vw, 3.3rem); }
.hero-amp {
  display: block;
  position: relative;
  top: -20px;
  text-align: center;
  font-family: 'Amiri Quran', serif;
  font-weight: 300;
  font-size: clamp(2.1rem, 6vw, 3.7rem);
  line-height: 1;
  margin: 0;
}
.hero-subtitle {
  font-family: 'Lexend Exa', var(--font-body);
  position: relative;
  top: -10px;
  text-transform: uppercase;
  margin: 20px 0 6px;
  font-size: 0.82rem;
  letter-spacing: 1px;
  font-weight: 500;
}

/* -------------------- Stats -------------------- */
.stats {
  background: var(--color-bg-alt);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform var(--transition);
}
.stat-item:hover { transform: scale(1.06); }
.stat-icon {
  font-size: 3.6rem;
  line-height: 1;
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.32));
}
.stat-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.15;
  color: var(--color-primary);
}
.stat-label {
  font-family: 'Lexend Tera', var(--font-body);
  font-size: 0.72rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

/* -------------------- Section titles -------------------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  color: var(--color-navy);
  margin: 0 0 12px;
}
.section-title span { color: var(--color-primary); }
#studio .section-title { color: var(--color-primary); }
.section-title.light,
.section-title.light span { color: #fff; }

.section-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}
.section-subtitle.light { color: rgba(255,255,255,0.85); }
#studio .section-subtitle {
  font-family: 'Lexend', var(--font-body);
  font-weight: 300;
  color: #4d4d4d;
  max-width: 1100px;
}

/* -------------------- Services -------------------- */
.services { padding: 50px 0 90px; }
.services .section-title { margin-bottom: 42px; }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}
.service-row:last-child { margin-bottom: 0; }
.service-row.reverse .service-media { order: 2; }
.service-row.reverse .service-content { order: 1; }

.service-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
}
.service-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lexend Exa', var(--font-body);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--color-primary);
  margin: 0 0 6px;
}
.service-icon { font-size: 1.7rem; }
.service-content p {
  margin: 0 0 14px;
  font-family: 'Lexend', var(--font-body);
  font-weight: 300;
  color: #4d4d4d;
}
.service-price {
  font-family: 'Lexend', var(--font-body);
  font-weight: 300;
  color: #4d4d4d !important;
  font-size: 0.95rem;
}
.service-price strong { color: #4d4d4d; }
.price-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #4d4d4d;
  letter-spacing: 0.3px;
  margin-right: 12px;
}
.price-night { white-space: nowrap; }

/* -------------------- Credits -------------------- */
.credits {
  background: #454dff;
  padding: 52px 0;
}
.credits .section-subtitle {
  font-family: 'Lexend', var(--font-body);
  font-weight: 300;
  margin-top: -16px;
  margin-bottom: 28px;
}
.credits .container { max-width: 1850px; }
.artists-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 40px;
  margin-bottom: 28px;
}
.artist {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.artist-photo {
  width: 100%;
  aspect-ratio: 1;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transition: transform var(--transition);
}
.artist:hover .artist-photo { transform: scale(1.05) rotate(3deg); }
.artist-name {
  color: #fff;
  font-family: 'Lexend Exa', var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
}
.credits-cta { text-align: center; }

/* -------------------- Studio gallery -------------------- */
.studio { padding: 65px 0 90px; background: #ecedff; }
.studio-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.studio-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
}

/* -------------------- Contact -------------------- */
.contact { padding: 40px 0 90px; }
#contact .section-title { color: var(--color-primary); }
#contact .section-subtitle {
  margin-bottom: 24px;
  font-family: 'Lexend', var(--font-body);
  font-weight: 300;
  color: #4d4d4d;
}
.contact-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.contact-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* -------------------- Footer -------------------- */
.site-footer { background: var(--color-primary); color: #fff; padding-top: 40px; }
.site-footer .logo,
.site-footer .logo span { color: #fff; }
.site-footer .btn-primary {
  background: #fff;
  color: var(--color-primary);
}
.site-footer .btn-primary:hover {
  background: #eef0fb;
  color: var(--color-primary-dark);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-family: var(--font-nav);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 18px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.footer-bottom a { color: #fff; font-weight: 600; text-decoration: none; }

/* -------------------- Modal -------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 50, 0.6);
}
.modal-dialog {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-dialog h3 {
  font-family: var(--font-display);
  color: var(--color-navy);
  margin: 0 0 8px;
  text-transform: uppercase;
}
.modal-dialog p { color: var(--color-text-muted); margin: 0 0 24px; }
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
}
.modal-close:hover { color: var(--color-text); }

/* -------------------- Lightbox -------------------- */
.studio-photo {
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
}
.studio-photo:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 40, 0.92);
}
.lightbox-img {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2001;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
}
.lightbox-close:hover { opacity: 1; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; gap: 24px; }
  .service-row.reverse .service-media,
  .service-row.reverse .service-content { order: initial; }
  .artists-grid { grid-template-columns: repeat(4, 1fr); }
  .studio-gallery { grid-template-columns: repeat(2, 1fr); }
  .service-content { text-align: center; }
  .service-title {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .price-night { display: block; margin-top: 6px; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 20px 12px; }
  .stat-item { flex-direction: column; gap: 6px; }
  .stat-icon { font-size: 2.6rem; }
  .stat-text { align-items: center; text-align: center; }
  .hero-amp { top: -13px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: none; }
  .main-nav { display: none; }
  .header-inner { justify-content: center; }

  .hero { min-height: 680px; }
  .hero-kicker { font-size: 0.75rem; }
  .hero-subtitle { font-size: 0.75rem; }
  .service-title { align-items: center; font-size: 1.05rem; }
  .title-break { display: block; }
  .artists-grid { grid-template-columns: repeat(3, 1fr); }
  .studio-gallery { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; justify-items: center; }
  .subtitle-break { display: block; }
  .hero-amp { top: -11px; }
  .hero-subtitle { display: none; }
  .hero-location { font-size: 0.75rem; }
  .hero-media { background-position: 58% center; }
}

@media (max-width: 480px) {
  .artists-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { gap: 32px; }
}
