*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff;
  background-color: #000;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.9);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-logo {
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* hamburger – винаги видим */
.nav-toggle {
  display: block;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background: #ffffffcc;
  border-radius: 999px;
}

/* dropdown меню – скрито по подразбиране */
.nav-links {
  position: absolute;
  top: 100%;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.96);
  padding: 0.8rem 1rem;
  border-radius: 0 0 12px 12px;
  min-width: 160px;
  transform-origin: top right;
  transform: scaleY(0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.nav-links.open {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}

.nav-links a {
  color: #ffffffcc;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.15rem 0;
}

/* HERO */
.hero {
  position: relative;
  min-height: 70vh;
  background-image: url("img/background.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: stretch;
  margin-top: 52px; /* за да не влиза под navbar-а */
}

.hero-overlay {
  flex: 1;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.4)
  );
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.hero-kicker {
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #ffcf99;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw + 1rem, 3.3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-name {
  white-space: nowrap;   /* не позволява да се пречупи на "Julia" / "Duhlyovska" */
}

.hero-subtitle {
  max-width: 540px;
  font-size: 1rem;
  line-height: 1.6;
  color: #fbe9d6;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease, border-color 0.15s ease;
}

.btn.primary {
  background: #ff8a2b;
  color: #250f03;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.btn.primary:hover {
  background: #ff9b4a;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.btn.ghost {
  background: transparent;
  color: #ffe0b7;
  border-color: #ffb46b;
}

.btn.ghost:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

/* COLLECTION SECTION */
.collection {
  background: #050505;
  padding: 3.5rem 1.5rem 4rem;
}

.collection-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.collection h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.collection-subtitle {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-size: 0.95rem;
  color: #d0c7bf;
}

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: #141414;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  cursor: default;
}

/* всички карти, които отварят галерия */
.card-gallery {
  cursor: pointer;
}


.card-image img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 1.4rem 1.4rem 1.6rem;
}

.card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.card-body p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e2ddd8;
}

/* FOOTER */
.site-footer {
  background: #000;
  text-align: center;
  font-size: 0.8rem;
  color: #c9c3bb;
  padding: 1rem 1.5rem 1.4rem;
}

/* ---- LIGHTBOX / GALLERY ---- */

.no-scroll {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.lightbox.open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.lightbox-dialog {
  position: relative;
  margin: 2.5rem auto 1.5rem;     /* малък отстъп отгоре, центриране */
  max-width: 1100px;
  width: calc(100% - 2.5rem);     /* да не стига до самия край на екрана */
  background: #050505;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  padding: 1rem 2.5rem 1.4rem;    /* малко, но все пак да има рамка */
  display: flex;
  flex-direction: column;
  align-items: stretch;
}




.lightbox-image-wrapper {
  flex: 1;                          /* заема цялата височина над caption-а */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050505;
  overflow: hidden;
}

.lightbox-image {
  display: block;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;              /* без изрязване, но максимално голяма */
}



.lightbox-caption {
  font-size: 0.9rem;
  color: #e2ddd8;
  text-align: left;
  padding: 0.4rem 1rem 0.8rem;
}

/* бутони в lightbox */
.lightbox-close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  border: none;
  background: transparent;
  color: #ffffffcc;
  font-size: 1.3rem;
  cursor: pointer;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;

  /* по-тъмно кръгче + бял контур, за да се вижда и на светло, и на тъмно */
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.9);

  color: #ffffff;                 /* стрелката винаги бяла */
  cursor: pointer;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* леко светеща рамка за още контраст */
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.9);
}


.lightbox-arrow.prev {
  left: 0.7rem;
}

.lightbox-arrow.next {
  right: 0.7rem;
}

.lightbox-arrow:hover,
.lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.lightbox-arrow.disabled {
  opacity: 0;
  pointer-events: none;
}




/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: 2.5rem 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  /* lightbox на телефон – почти цял екран */
  .lightbox-dialog {
    width: 100vw;
    height: 100vh;
    max-width: none;
    border-radius: 0;
    padding: 0.5rem;
  }

  /* ↓ новото ↓ */
  .lightbox-image {
    max-height: 65vh;
  }

  .lightbox-caption {
    font-size: 0.9rem;
    color: #f5f0ea;
    padding: 0.4rem 0.75rem 0.8rem;
    text-align: left;
  }

  .lightbox-arrow.prev {
    left: 0.5rem;
  }

  .lightbox-arrow.next {
    right: 0.5rem;
  }
}

