:root {
  --black: #0a0a0a;
  --black-2: #141414;
  --red: #d90429;
  --red-dark: #a00320;
  --white: #f5f5f5;
  --gray: #9a9a9a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2rem;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #222;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-badge {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  overflow: hidden;
}

.brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.brand-text em {
  display: block;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.5em;
  color: var(--red);
}

.site-header nav {
  display: flex;
  gap: 1.8rem;
  align-items: center;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header nav a:hover {
  color: var(--red);
}

.nav-cta {
  background: var(--red);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 3px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--red-dark);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.4), var(--black));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.hero h2 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}

.hero h2 span {
  color: var(--red);
}

.hero .tagline {
  margin-top: 1rem;
  color: var(--red);
  font-size: 1.15rem;
  font-style: italic;
  letter-spacing: 0.05em;
}

.hero p {
  margin-top: 1.2rem;
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn {
  margin-top: 2rem;
}

/* ---------- Sections ---------- */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

.section-title + h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.service-card {
  background: var(--black-2);
  border: 1px solid #262626;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--red);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(217, 4, 41, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.service-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.service-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ---------- Gallery ---------- */
.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-header h3 {
  font-size: 2rem;
}

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.7rem 1.6rem;
  border-radius: 3px;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover {
  background: var(--red-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid #444;
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

/* Category cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.category-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #222;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-card .label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.75));
}

.category-card .label span {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.category-card .label small {
  color: #ccc;
  font-size: 0.8rem;
}

/* Photo grid */
.photo-grid {
  columns: 3;
  column-gap: 0.6rem;
}

.photo-grid figure {
  break-inside: avoid;
  margin-bottom: 0.6rem;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.photo-grid img {
  width: 100%;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.photo-grid figure:hover img {
  transform: scale(1.04);
}

.photo-grid figure:hover::after {
  content: '⤓';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  background: rgba(217, 4, 41, 0.9);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .photo-grid { columns: 2; }
}

@media (max-width: 600px) {
  .photo-grid { columns: 1; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-img {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.about-text .btn {
  margin-top: 0.6rem;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Packages ---------- */
.package-price {
  color: var(--red) !important;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.9rem !important;
}

/* ---------- Social links ---------- */
.social-row {
  margin-top: 1rem;
  display: flex;
  gap: 0.8rem;
  justify-content: center;
}

.social-link {
  border: 1px solid #444;
  border-radius: 20px;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.social-link:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ---------- Image fade-in ---------- */
.photo-grid img,
.category-card img {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.photo-grid img.loaded,
.category-card img.loaded {
  opacity: 1;
}

.category-card .label {
  opacity: 1;
}

/* ---------- Booking form ---------- */
.booking-form {
  max-width: 640px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  background: var(--black-2);
  border: 1px solid #333;
  border-radius: 4px;
  color: var(--white);
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--red);
}

.booking-form select option {
  background: var(--black-2);
  color: var(--white);
}

.booking-form textarea {
  resize: vertical;
  margin-bottom: 1.2rem;
}

.booking-form .btn {
  width: 100%;
}

.form-note {
  margin-top: 0.8rem;
  color: var(--gray);
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.96);
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.lightbox.hidden {
  display: none;
}

.lb-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.lb-close:hover {
  color: var(--red);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}

.lb-nav:hover {
  background: var(--red);
}

.lb-prev { left: 0.5rem; }
.lb-next { right: 0.5rem; }

.lb-figure {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 5rem 5.5rem;
  min-height: 0;
}

.lb-figure img {
  max-width: 100%;
  max-height: calc(100vh - 13rem);
  object-fit: contain;
  border-radius: 4px;
}

#lbCaption {
  margin-top: 0.8rem;
  color: var(--gray);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.lb-actions {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.hidden {
  display: none;
}

.modal-box {
  background: var(--black-2);
  border: 1px solid #333;
  border-radius: 10px;
  padding: 2rem;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.modal-box h3 {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}

.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--red);
}

.modal-box label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 1rem 0 0.4rem;
}

.modal-box input[type="text"],
.modal-box input[type="password"],
.modal-box input[type="date"] {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 4px;
  color: var(--white);
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
}

.modal-box input:focus {
  outline: none;
  border-color: var(--red);
}

.cat-checks {
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 0.5rem 0.8rem;
  margin-top: 0.4rem;
}

.cat-checks label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.3rem 0;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.9rem;
  color: var(--white);
  cursor: pointer;
}

.cat-checks input {
  accent-color: var(--red);
}

.modal-box .btn {
  width: 100%;
  margin-top: 1.4rem;
}

.modal-error {
  color: var(--red);
  font-size: 0.85rem;
  margin-top: 0.6rem;
  min-height: 1.2em;
}

.share-link-box {
  margin-top: 1.2rem;
}

.share-link-box input {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 4px;
  color: var(--white);
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  font-family: monospace;
}

.qr-box {
  text-align: center;
  margin-top: 1rem;
}

.qr-box img {
  width: 170px;
  height: 170px;
  background: #fff;
  padding: 10px;
  border-radius: 6px;
}

.qr-hint {
  color: var(--gray);
  font-size: 0.78rem;
  margin-top: 0.4rem;
}

/* ---------- Client gallery ---------- */
.subcat-title {
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin: 2rem 0 1rem;
}

.header-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  font-size: 0.9rem;
  z-index: 200;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.toast.hidden {
  display: none;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid #222;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-logo {
  height: 54px;
  width: auto;
  margin: 0 auto 1rem;
  filter: invert(1);
}

footer p {
  color: var(--gray);
  font-size: 0.9rem;
}

.footer-sub {
  margin-top: 0.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem !important;
}

.contact-info {
  margin-top: 1.2rem;
}

.contact-item {
  color: var(--white) !important;
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

.contact-item a {
  color: var(--red);
  font-weight: 600;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-note {
  color: var(--gray);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

@media (max-width: 700px) {
  .site-header {
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
  }

  .site-header nav {
    gap: 1rem;
    font-size: 0.8rem;
  }

  section {
    padding: 3rem 1rem;
  }

  .lb-figure {
    padding: 3.5rem 3rem 5rem;
  }
}
