:root {
  --bg: #101010;
  --surface: #191919;
  --surface2: #242424;
  --white: #f5f1e9;
  --muted: #a8a49d;
  --gold: #c9a46c;
  --line: rgba(255,255,255,.13);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3 {
  font-family: "Manrope", sans-serif;
}

h2 {
  font-size: 48px;
  line-height: 1.13;
  letter-spacing: -2px;
}

h2 span {
  color: var(--gold);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 82px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  background: rgba(12,12,12,.8);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo span {
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 13px;
  transition: color .3s;
}

.nav a:hover {
  color: var(--gold);
}

.nav-button {
  padding: 13px 19px;
  border: 1px solid var(--gold);
  border-radius: 4px;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  color: white;
  font-size: 27px;
}

.hero {
  height: 100vh;
  min-height: 650px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 110px 8% 80px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.9),
    rgba(0,0,0,.55) 55%,
    rgba(0,0,0,.15)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.eyebrow, .section-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 25px;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 10px;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: -4px;
  font-weight: 800;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-content > p {
  max-width: 480px;
  margin-top: 28px;
  color: #ddd;
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 35px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 17px 27px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  border: 1px solid transparent;
  transition: .3s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-light {
  background: var(--white);
  color: #111;
}

.btn-outline {
  border-color: #ddd;
  color: white;
  background: transparent;
}

.btn-gold {
  background: var(--gold);
  color: #111;
}

.full {
  width: 100%;
}

.hero-bottom {
  position: absolute;
  bottom: 30px;
  left: 8%;
  right: 8%;
  display: flex;
  justify-content: space-between;
  color: #ddd;
  font-size: 10px;
  letter-spacing: 2px;
  z-index: 2;
}

.section {
  padding: 120px 8%;
}

.about {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 70px;
  align-items: center;
}

.about h2 span {
  color: var(--muted);
}

.about-right p {
  color: var(--muted);
  font-size: 17px;
  line-height: 2;
}

.text-link {
  display: inline-block;
  margin-top: 35px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 1px;
}

.portfolio {
  background: var(--surface);
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 280px;
  line-height: 1.8;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 11px 20px;
  border-radius: 30px;
  font-size: 12px;
}

.filter.active, .filter:hover {
  background: var(--gold);
  color: #111;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  height: 350px;
  overflow: hidden;
  cursor: pointer;
  background: #292929;
}

.gallery-item.tall {
  height: 470px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent,rgba(0,0,0,.8));
  pointer-events: none;
}

.gallery-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
  font-size: 12px;
  letter-spacing: 2px;
}

.gallery-item.hidden {
  display: none;
}

.services h2 {
  margin-bottom: 55px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.service-card {
  padding: 40px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: .3s;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
}

.service-number {
  color: var(--gold);
  font-size: 13px;
}

.service-card h3 {
  margin: 45px 0 20px;
  font-size: 23px;
}

.service-card p {
  color: var(--muted);
  line-height: 1.9;
  min-height: 110px;
}

.service-link {
  margin-top: 25px;
  border: none;
  background: transparent;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 1px;
}

.booking {
  background: var(--surface);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 25px;
}

.booking-form {
  padding: 45px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.booking-form h3 {
  font-size: 21px;
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 23px;
}

.field label {
  display: block;
  margin-bottom: 10px;
  color: #ddd;
  font-size: 12px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface2);
  color: white;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 15px;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.field input:disabled {
  opacity: .55;
  font-size: 11px;
}

.form-note {
  margin-top: 15px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.booking-aside {
  background: var(--surface2);
}

.aside-image {
  height: 350px;
}

.aside-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aside-content {
  padding: 35px;
}

.aside-content h3 {
  font-size: 30px;
  line-height: 1.3;
}

.aside-content > p:last-child {
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.9;
}

.footer {
  padding: 80px 8% 25px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  padding-bottom: 75px;
}

.footer-top h2 {
  font-size: 48px;
}

.footer-top h2 em {
  color: var(--gold);
  font-style: normal;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}

.footer-bottom .logo {
  color: white;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.show {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 35px;
  background: #1c1c1c;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.modal-panel h2 {
  font-size: 32px;
}

.modal-close,
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: none;
  color: white;
  font-size: 32px;
  z-index: 5;
}

.payment-description {
  margin: 15px 0 25px;
  color: var(--muted);
  font-size: 13px;
}

.credit-card {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1.65;
  margin: 0 auto 30px;
  border-radius: 17px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,.5);
}

.card-front {
  height: 100%;
  padding: 25px;
  background:
    radial-gradient(circle at 85% 10%,rgba(255,255,255,.22),transparent 35%),
    linear-gradient(135deg,#39342e,#131313 65%,#6b5435);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-top,
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-top strong {
  font-size: 16px;
  letter-spacing: 2px;
}

.card-top span {
  color: var(--gold);
  font-size: 27px;
}

.card-chip {
  width: 48px;
  height: 35px;
  border-radius: 7px;
  background: linear-gradient(135deg,#e8d6a4,#8e7443);
  border: 1px solid #e3c994;
}

.card-number {
  font-size: 22px;
  letter-spacing: 3px;
  font-weight: 700;
}

.card-bottom small {
  display: block;
  color: #bbb;
  font-size: 9px;
  letter-spacing: 2px;
  margin-bottom: 7px;
}

.card-bottom strong {
  font-size: 12px;
  letter-spacing: 1px;
}

.demo-warning {
  color: #e7c48d;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.payment-result {
  margin-top: 15px;
  color: var(--gold);
  font-size: 13px;
  line-height: 1.8;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(0,0,0,.96);
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
}

.lightbox.show {
  display: flex;
}

.lightbox img {
  max-width: 95%;
  max-height: 85vh;
  object-fit: contain;
}

@media(max-width:900px) {
  .nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    width: 100%;
    padding: 25px 8%;
    background: #151515;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .about,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .gallery,
  .service-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .section {
    padding: 85px 6%;
  }

  .hero h1 {
    letter-spacing: -2px;
  }
}

@media(max-width:600px) {
  .header {
    padding: 0 5%;
  }

  .hero {
    min-height: 680px;
    padding: 120px 6% 90px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-bottom {
    font-size: 8px;
  }

  .section-top,
  .footer-top {
    flex-direction: column;
    align-items: start;
  }

  .gallery,
  .service-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item.tall {
    height: 400px;
  }

  .booking-form,
  .modal-panel {
    padding: 23px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: start;
  }

  .card-front {
    padding: 17px;
  }

  .card-number {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .card-chip {
    width: 40px;
    height: 29px;
  }
  
}

/* BOOKING BUTTONS */

.booking-buttons {
 display: flex;
 flex-direction: column;
 gap: 15px;
 margin-top: 25px;
}

.booking-buttons button {
 width: 100%;
 min-height: 55px;
}

#withoutPaymentBtn {
 background: transparent;
 border: 1px solid #c9a46c;
 color: #c9a46c;
}

#withoutPaymentBtn:hover {
 background: #c9a46c;
 color: #111;
}

#bookingStatus {
 margin-top: 15px;
 color: #c9a46c;
 font-size: 13px;
}

/* MOON STUDIO CONTACT & LOCATIONS */

.studio-contact {
  background: #101010;
  padding: 100px 20px;
  text-align: center;
  color: #fff;

}

.studio-contact-container {
  max-width: 110px;
  margin: 0 auto;
}

.contact-label {
  color: #c9a46c;
  letter-spacing: 4px;
  font-size: 12px;
  margin-bottom: 20px;
  
}

.studio-contact h2{
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 20px;
}

.contact-description{
  max-width: 650px;
  margin: 0 auto 45px;
  color: #aaa;
  line-height: 1.8;
}

.studio-locations{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  max-width: 700px;
  margin: 0 auto 45px;

}

.location-card{
  border: 1px solid#38332b;
  padding: 35px 20px;
  background: #181818;
  border-radius: 8px;

}
.location-flag{
  font-size: 35px;

}

.location-card h3{
  color: #c9a46c;
  margin: 15px 0;
  letter-spacing: 3px;

}

.location-card p{
  color: #aaa;
  font-size: 13px;

}

.studio-contact-links{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;

}

.studio-contact-links a{
  color: #c9a46c;
  border: 1px solid #c9a46c;
  padding: 14px 22px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  transition: 0.3s;
}

.studio-contact-links a:hover {
  background: #c9a46c;
  color: #111;

}

@media screen and (max-width: 600px) {
  .studio-locations {
 grid-template-columns: 1fr;

}
.studio-contact h2{
  font-size: 30px;
}
}

/* PREMIUM CONTACT SECTION REFINEENT */

.studio-contact{
  padding: 75px 20px;

}

.studio-contact h2{
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 18px;

}

.contact-description{
  max-width: 560px;
  margin: 0 auto 35px;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;

}

.studio-locations{
  max-width: 650px;
  gap: 15px;
  margin: 0 auto 35px;

}

.location-card{
  padding: 25px 15px;
  min-height: 130px;
}

.location-card h3{
  font-size: 18px;
  margin: 8px 0;
}

.location-card p{
  font-size: 12px;
  line-height: 1.5;
}

.location-flag{
  display: none;

}

.studio-contact-links{
  gap: 10px;

}

.studio-contact-links a{
  padding: 12px 18px;
  font-size: 11px;

}

@media screen and ( max-width:600px) {
  .studio-contact h2{
    font-size: 28px;
  }

  .studio-locations{
    grid-template-columns: 1fr;
  }
  
}

/* FIX CONTACT DESCRIPTION */

.studio-contact .studio-contact-container .contact-description{
  display: block;
  width: 90%;
  max-width: 550px;
  margin: -10px auto 35px;
  padding: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  white-space: normal;
  overflow-wrap: normal;
  overflow-wrap: break-word;
  color: #aaaaaa;

}

/* MOON STUDIO - MOBILE IMPROVEMENTS */

@media screen and (max-width: 600px) {

 body {
  overflow-x: hidden;
 }

 .hero-content h1 {
  font-size: 36px;
  line-height: 1.12;
 }

 .studio-contact {
  padding: 55px 18px;
 }

 .studio-contact h2 {
  font-size: 28px;
  line-height: 1.2;
 }

 .studio-contact .contact-description {
  width: 100%;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.7;
 }

 .studio-locations {
  grid-template-columns: 1fr;
  gap: 15px;
 }

 .studio-contact-links {
  flex-wrap: wrap;
  gap: 10px;
 }
}

/* MOBILE RESPONSIVE IMPROVEMENTS */

@media screen and (max-width: 600px) {

 /* Header */
 .header {
  padding: 15px 20px;
  min-height: 75px;
 }

 .logo {
  font-size: 24px;
 }

 /* Main headings */
 .hero-content h1 {
  font-size: 36px;
  line-height: 1.12;
 }

 /* About and Portfolio headings */
 .about h2,
 .portfolio h2 {
  font-size: 36px;
  line-height: 1.15;
  overflow-wrap: break-word;
 }

 /* Portfolio photos */
 .portfolio-grid img {
  width: 100%;
  height: 350px;
  object-fit: cover;
 }

 /* Prevent horizontal overflow */
 body {
  overflow-x: hidden;
 }
}

/* MOBILE DESIGN REFINEMENT */

@media screen and (max-width: 600px) {

 .header {
  padding: 12px 20px;
  min-height: 70px;
 }

 .logo {
  font-size: 23px;
 }

 section {
  scroll-margin-top: 80px;
 }

 .hero-content h1 {
 font-size: 36px;
  line-height: 1.12;
 }

 .studio-contact {
  padding: 55px 18px;
 }

}