:root {
  --purple-dark: #2d143d;
  --purple: #7b2cbf;
  --purple-light: #c77dff;
  --lavender: #f6efff;
  --lavender-deep: #ecdefa;

  --text: #2c2233;
  --muted: #6f5c7d;

  --white: #ffffff;
}

/* =========================
   BASE
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--lavender);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  color: white;
}

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(20, 8, 30, 0.68),
      rgba(20, 8, 30, 0.68)
    ),
    url("background images/Media (54).jfif");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  animation:
    slideshow 35s infinite ease-in-out,
    heroZoom 35s infinite ease-in-out;

  z-index: 0;
}

nav,
.hero-content {
  position: relative;
  z-index: 2;
}

/* =========================
   NAV
========================= */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 28px 8%;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 600;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 15px;

  transition: 0.3s ease;
}

nav a:hover {
  color: var(--purple-light);
}

/* =========================
   HERO CONTENT
========================= */

.hero-content {
  max-width: 760px;
  padding: 180px 8%;
}

.small-text {
  letter-spacing: 3px;
  font-size: 13px;

  color: var(--purple-light);

  margin-bottom: 18px;
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;

  font-size: 78px;
  line-height: 1.05;

  margin-bottom: 28px;
}

.hero-description {
  max-width: 620px;

  font-size: 18px;
  color: #ece4f3;

  margin-bottom: 38px;
}

/* =========================
   BUTTONS
========================= */

.btn,
button {
  background: var(--purple);

  color: white;

  border: none;
  border-radius: 40px;

  padding: 15px 34px;

  cursor: pointer;

  text-decoration: none;

  transition: 0.3s ease;
}

.btn:hover,
button:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 100px 8%;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title p {
  letter-spacing: 3px;
  font-size: 13px;

  color: var(--purple);

  margin-bottom: 10px;
}

.section-title h2,
.gallery-section h2,
.about-content h2,
.contact h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
}

/* =========================
   SERVICES
========================= */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: white;

  padding: 40px;

  border-radius: 24px;

  box-shadow: 0 12px 30px rgba(0,0,0,0.06);

  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  font-family: 'Cormorant Garamond', serif;

  font-size: 32px;

  color: var(--purple);

  margin-bottom: 15px;
}

.card p {
  color: var(--muted);
}

/* =========================
   ABOUT
========================= */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 60px;
  align-items: center;

  padding: 110px 8%;

  background: var(--lavender-deep);
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  width: 520px;
  height: 520px;

  object-fit: cover;
  object-position: center;

  border-radius: 50%;

  box-shadow: 0 20px 45px rgba(45, 20, 61, 0.18);
}

.about-small,
.contact-small {
  letter-spacing: 3px;
  font-size: 13px;

  color: var(--purple);

  margin-bottom: 14px;
}

.about-content p {
  color: var(--muted);

  margin-bottom: 20px;

  font-size: 17px;
}

/* =========================
   GALLERY
========================= */

.gallery-section {
  padding: 90px 8%;

  background: var(--lavender);

  text-align: center;
}

.gallery-section.alt {
  background: var(--lavender-deep);
}

.gallery-section h2 {
  color: var(--purple-dark);
  margin-bottom: 10px;
}

.gallery-section p {
  color: var(--muted);
  margin-bottom: 40px;
}

.gallery {
  display: flex;

  gap: 18px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-behavior: smooth;

  padding-bottom: 14px;
}

.gallery img {
  min-width: 320px;
  width: 320px;

  height: 420px;

  object-fit: cover;

  border-radius: 18px;

  cursor: pointer;

  transition: 0.3s ease;

  flex-shrink: 0;
}

.gallery img:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

/* SCROLLBAR */

.gallery::-webkit-scrollbar {
  height: 10px;
}

.gallery::-webkit-scrollbar-track {
  background: #e8daf7;
  border-radius: 20px;
}

.gallery::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 20px;
}

/* =========================
   CONTACT
========================= */

.contact {
  padding: 110px 8%;
  background: var(--purple-dark);
  color: white;
}

.contact-container {
  max-width: 760px;
  margin: auto;
  text-align: center;
}

.contact-small {
  color: var(--purple-light);
}

.contact-text {
  color: #e5d9f0;
  margin-bottom: 40px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

input,
select,
textarea {
  width: 100%;

  padding: 18px;

  border: none;
  border-radius: 16px;

  font-size: 16px;
  font-family: 'Inter', sans-serif;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
  display: none;

  position: fixed;
  z-index: 9999;

  inset: 0;

  background: rgba(20, 8, 30, 0.92);

  justify-content: center;
  align-items: center;

  padding: 30px;
}

.lightbox.active {
  display: flex;
  animation: lightboxFade 0.3s ease;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;

  border-radius: 20px;

  object-fit: contain;

  opacity: 1;
  transform: scale(1);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.lightbox-img.fade-out {
  opacity: 0;
  transform: scale(0.97);
}

.close {
  position: absolute;

  top: 25px;
  right: 40px;

  color: white;

  font-size: 45px;

  cursor: pointer;

  z-index: 10001;
}

/* NAV BUTTONS */

.nav-btn {
  position: absolute;

  top: 50%;
  transform: translateY(-50%);

  background: rgba(255,255,255,0.12);

  border: none;

  width: 60px;
  height: 60px;

  border-radius: 50%;

  color: white;

  font-size: 28px;

  cursor: pointer;

  backdrop-filter: blur(8px);

  transition: 0.3s ease;

  z-index: 10000;

  padding: 0;
}

.nav-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-50%) scale(1.05);
}

.prev {
  left: 40px;
}

.next {
  right: 40px;
}

/* =========================
   FOOTER
========================= */

footer {
  text-align: center;

  padding: 28px;

  background: #1d1028;

  color: #d8cae6;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes lightboxFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideshow {

  0%, 18% {
    background-image:
      linear-gradient(
        rgba(20, 8, 30, 0.68),
        rgba(20, 8, 30, 0.68)
      ),
      url("background images/Media (54).jfif");
  }

  22%, 38% {
    background-image:
      linear-gradient(
        rgba(20, 8, 30, 0.68),
        rgba(20, 8, 30, 0.68)
      ),
      url("background images/Media (65).jfif");
  }

  42%, 58% {
    background-image:
      linear-gradient(
        rgba(20, 8, 30, 0.68),
        rgba(20, 8, 30, 0.68)
      ),
      url("background images/Media (10).jfif");
  }

  62%, 78% {
    background-image:
      linear-gradient(
        rgba(20, 8, 30, 0.68),
        rgba(20, 8, 30, 0.68)
      ),
      url("background images/Media (6).jfif");
  }

  82%, 100% {
    background-image:
      linear-gradient(
        rgba(20, 8, 30, 0.68),
        rgba(20, 8, 30, 0.68)
      ),
      url("background images/Media - 2026-05-27T204243.864.jfif");
  }
}

@keyframes heroZoom {

  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 950px) {

  nav {
    flex-direction: column;
    gap: 25px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content {
    padding-top: 140px;
  }

  .hero-content h1 {
    font-size: 52px;
  }

  .cards,
  .about {
    grid-template-columns: 1fr;
  }

  .about-image img {
    width: 320px;
    height: 320px;
  }

  .gallery img {
    min-width: 280px;
    width: 280px;

    height: 390px;
  }

  .section-title h2,
  .gallery-section h2,
  .about-content h2,
  .contact h2 {
    font-size: 42px;
  }

  .nav-btn {
    width: 48px;
    height: 48px;

    font-size: 22px;
  }

  .prev {
    left: 15px;
  }

  .next {
    right: 15px;
  }

  .close {
    right: 25px;
    font-size: 38px;
  }
}
