/* ══════════════════════════════════════════════
   GiftCraft — CSS
   Aesthetic: Warm luxury editorial
   ══════════════════════════════════════════════ */

:root {
  --cream: #fdf8f2;
  --warm-white: #fff9f3;
  --gold: #c9943a;
  --gold-light: #e8bf7a;
  --rose: #d4756b;
  --dark: #1a1410;
  --dark-2: #2d2420;
  --mid: #6b5a4e;
  --light: #e8ddd5;
  --light-2: #f2ebe4;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(26, 20, 16, 0.08);
  --shadow-lg: 0 12px 48px rgba(26, 20, 16, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

#scene {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3;
  pointer-events: none;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* ── TYPOGRAPHY ── */
.section__label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 32px;
}

.section__title em {
  font-style: italic;
  color: var(--gold);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: var(--gold);
  color: white;
}

.btn--primary:hover {
  background: #b5832e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 148, 58, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}

.btn--ghost:hover {
  background: var(--dark);
  color: white;
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: white;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.hidden {
  display: none !important;
}

/* ── HEADER ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(253, 248, 242, 0.95);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(26, 20, 16, 0.08);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo__icon {
  color: var(--gold);
  font-size: 1.2rem;
}

.logo__text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.9rem;
  color: var(--mid);
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--gold);
}

.nav__link--cta {
  background: var(--gold);
  color: white !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 500;
}

.nav__link--cta:hover {
  background: #b5832e;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
  background: var(--warm-white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: #f5d0a0;
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: #f0b8b0;
  top: 20%;
  right: -10%;
  animation-delay: 3s;
}

.hero__orb--3 {
  width: 350px;
  height: 350px;
  background: #fce8d0;
  bottom: 0;
  left: 30%;
  animation-delay: 5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease both;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--mid);
  margin-bottom: 40px;
  line-height: 1.7;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  opacity: 0.7;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── MARQUEE ── */
.marquee {
  background: var(--dark);
  padding: 16px 0;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

.marquee__track span {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold-light);
  padding: 0 32px;
  letter-spacing: 0.05em;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── ABOUT ── */
.about {
  background: var(--cream);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__desc {
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.about__stats {
  display: flex;
  gap: 40px;
}

.stat__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold);
}

.stat__label {
  font-size: 0.8rem;
  color: var(--mid);
  letter-spacing: 0.05em;
}

.about__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
}

.about__card {
  background: var(--warm-white);
  border: 1px solid var(--light);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.about__card--1 {
  grid-column: 1 / -1;
}

.about__card-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.about__card p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.5;
  font-weight: 500;
}

/* ── CATEGORIES ── */
.categories {
  background: var(--light-2);
}

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

.cat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  cursor: default;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.cat-card__icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cat-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}

.cat-card p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.6;
}

/* ── GALLERY ── */
.gallery {
  background: var(--cream);
}

.gallery__sub {
  color: var(--mid);
  margin-top: -20px;
  margin-bottom: 36px;
  font-size: 0.95rem;
}

.gallery__filters {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--light);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  min-height: 300px;
}

/* Loading */
.gallery__loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px;
  color: var(--mid);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 2px solid var(--light);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Gallery Item */
.gallery__item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--light-2);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 20, 16, 0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery__item:hover .gallery__item-overlay {
  opacity: 1;
}

.gallery__item-meta {
  color: white;
  font-size: 0.8rem;
}

.gallery__item-meta p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  margin-bottom: 4px;
}

.gallery__item-likes {
  opacity: 0.8;
  font-size: 0.75rem;
}

.gallery__item-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(26, 20, 16, 0.6);
  color: white;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.gallery__error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px;
  color: var(--mid);
}

.gallery__error span {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}

.gallery__footer {
  text-align: center;
  margin-top: 48px;
}

/* ── LIGHTBOX ── */
.lightbox__overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 8, 0.92);
  z-index: 200;
  backdrop-filter: blur(8px);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 201;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox__close {
  position: fixed;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 202;
  transition: background 0.2s;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 202;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev {
  left: 20px;
}

.lightbox__nav--next {
  right: 20px;
}

.lightbox__content img,
.lightbox__content video {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox__caption {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  max-width: 600px;
  text-align: center;
  line-height: 1.5;
}

/* ── ENQUIRY ── */
.enquire {
  background: var(--dark);
}

.enquire .section__label {
  color: var(--gold-light);
}

.enquire .section__title {
  color: white;
}

.enquire__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.enquire__desc {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 36px;
  font-size: 1rem;
}

.enquire__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 20px;
  border-radius: 100px;
  font-size: 0.9rem;
  transition: all 0.2s;
  width: fit-content;
}

.contact-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* Form */
.enquire__form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__group--full {
  grid-column: 1 / -1;
}

.form__group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form__group input,
.form__group select,
.form__group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: white;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form__group select option {
  background: var(--dark-2);
  color: white;
}

.form__group--full .btn--primary {
  margin-top: 8px;
  font-size: 1rem;
  padding: 16px;
}

.form__success {
  grid-column: 1 / -1;
  background: rgba(100, 200, 120, 0.12);
  border: 1px solid rgba(100, 200, 120, 0.3);
  color: #8edd9c;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  text-align: center;
}

/* ── FOOTER ── */
.footer {
  background: var(--dark-2);
  padding: 48px 0 24px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 24px;
}

.footer__brand .logo__icon {
  color: var(--gold);
}

.footer__brand .logo__text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: white;
}

.footer__brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
}

.footer__links {
  display: flex;
  gap: 28px;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--gold-light);
}

.footer__bottom {
  text-align: center;
  margin-top: 24px;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {

  .about__grid,
  .enquire__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 70px 0;
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--warm-white);
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 99;
  }

  .nav.open .nav__link {
    font-size: 1.4rem;
  }

  .hamburger {
    display: flex;
    z-index: 100;
  }

  .categories__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .enquire__form {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .about__stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
}