/* =========================================================
   AESTHETICS BY SL
   PERFORMANCE + MOBILE OPTIMIZED CSS
========================================================= */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: #000;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: inherit;
}


/* =========================================================
   BODY OVERLAY
========================================================= */

body::before {
    content: none;
}


/* =========================================================
   HEADER
========================================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(200, 155, 60, 0.2);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 5%;
}


/* =========================================================
   LOGO
========================================================= */

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo img {
  height: 45px;
  width: auto;
  object-fit: contain;
}


/* =========================================================
   NAVIGATION
========================================================= */

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

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #c89b3c;
}


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

.menu-toggle {
  display: none;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  outline: none;
  background: transparent;
  padding: 8px;
  font-size: 1.5rem;
  color: #c89b3c;
  cursor: pointer;
}


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

@media (max-width: 768px) {

  .nav-container {
    padding: 12px 5%;
  }

  .brand-logo img {
    height: 40px;
  }

  .menu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.97);
    flex-direction: column;
    align-items: center;
    padding: 22px 0;
    gap: 20px;
    display: none;
    border-bottom: 1px solid rgba(200, 155, 60, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .nav-links.active {
    display: flex;
  }

}


/* =========================================================
   BACKGROUND VIDEO SYSTEM
========================================================= */

.bg-slider {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  overflow: hidden;
  background: #000;
  pointer-events: none;
}

/* =========================================
   BACKGROUND VIDEO SLIDER
   ========================================= */
.bg-slider {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: #000;
    pointer-events: none;
}

.bg-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.60);
    z-index: 2;
    pointer-events: none;
}

.bg-slider video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.bg-slider video.active {
    opacity: 1;
}


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

.hero {
  min-height: 100vh;
  padding: 100px 5% 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 900px;
  width: 100%;
}

.hero-content h1 {
  font-size: clamp(2rem, 8vw, 4.5rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.hero-content p {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: #ccc;
  margin-bottom: 25px;
}

.hero-btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid #c89b3c;
  color: #c89b3c;
  text-decoration: none;
  letter-spacing: 2px;
  border-radius: 4px;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.hero-btn:hover {
  background: #c89b3c;
  color: #000;
  transform: translateY(-2px);
}


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

.about {
  position: relative;
  padding: 80px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-media {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-media img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-text {
  flex: 1.2;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #fff;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

@media (max-width: 900px) {

  .about-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .about-media img {
    max-width: 300px;
  }

  .about-text h2 {
    font-size: 2.2rem;
  }

}


/* =========================================================
   PACKAGES
========================================================= */

.packages {
  padding: 80px 5%;
  text-align: center;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.services-intro {
  color: #bbb;
  margin-bottom: 40px;
}

.package-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.package-card {
  background: #111;
  border: 1px solid rgba(200, 155, 60, 0.3);
  padding: 25px 20px;
  border-radius: 15px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(200, 155, 60, 0.25);
}

.package-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.package-card h3 {
  color: #c89b3c;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.package-card ul {
  list-style: none;
  margin-bottom: 25px;
}

.package-card li {
  margin: 10px 0;
  color: #ccc;
  font-size: 0.95rem;
}

.price {
  border: 1px solid #c89b3c;
  padding: 8px 20px;
  border-radius: 20px;
  color: #c89b3c;
  display: inline-block;
  font-weight: 600;
  align-self: center;
}


/* =========================================================
   PREMIUM CARD
========================================================= */

.package-card.premium {
  background: linear-gradient(145deg, #c89b3c, #8a641a);
  color: #000;
  border: none;
}

.package-card.premium h3,
.package-card.premium li,
.package-card.premium .price {
  color: #000;
  border-color: #000;
}


/* =========================================================
   EXTRAS
========================================================= */

.package-container.extras {
  max-width: 1100px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}


/* =========================================================
   WORK
========================================================= */

.work {
  padding: 80px 5%;
  text-align: center;
  position: relative;
}

.work-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.work-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  background: #111;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

  content-visibility: auto;
  contain-intrinsic-size: 300px 530px;
}

.work-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(200, 155, 60, 0.4);
}

.work-item video,
.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #111;
}


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

@media (max-width: 600px) {

  .work {
    padding: 60px 4%;
  }

  .work-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .work-item {
    border-radius: 9px;
  }

  .work-item:hover {
    transform: none;
    box-shadow: none;
  }

}


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

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  overscroll-behavior: contain;
}

.lightbox.active {
  display: flex;
}

#lightbox-content {
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#lightbox-content img,
#lightbox-content video {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(200, 155, 60, 0.3);
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c89b3c;
  background: transparent;
  border: none;
  font-size: 42px;
  cursor: pointer;
  font-weight: bold;
  z-index: 10000;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.close-btn:hover {
  color: #fff;
  transform: rotate(90deg);
}


/* =========================================================
   TERMS
========================================================= */

.terms {
  padding: 80px 5%;
}

.terms-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #c89b3c;
  letter-spacing: 3px;
  margin-bottom: 40px;
  font-weight: 600;
}

.terms-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: #c89b3c;
  margin: 15px auto 0;
}

.terms-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  color: #111;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.terms-content p {
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: 0.98rem;
}


/* =========================================================
   SOCIALS
========================================================= */

.socials {
  padding: 80px 5%;
  text-align: center;
  background: rgba(0, 0, 0, 0.8);
}

.socials h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-icons a {
  width: 65px;
  height: 65px;
  background: #111;
  color: #fff;
  border: 1px solid rgba(200, 155, 60, 0.4);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 1.8rem;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-6px);
  background: #c89b3c;
  color: #000;
  box-shadow: 0 8px 20px rgba(200, 155, 60, 0.4);
}


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

footer {
  background: rgba(0, 0, 0, 0.95);
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid rgba(200, 155, 60, 0.3);
}

footer h3 {
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 2px;
  color: #aaa;
}

footer span {
  color: #c89b3c;
  font-weight: 600;
}


/* =========================================================
   DIVIDERS
========================================================= */

.gold-divider {
  width: 150px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #c89b3c,
    transparent
  );
  margin: 40px auto;
}

.gold-divider-full {
  width: 250px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #c89b3c 50%,
    transparent 100%
  );
  margin: 60px auto;
  box-shadow: 0 0 10px rgba(200, 155, 60, 0.5);
}


/* =========================================================
   PRELOADER
========================================================= */

#preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;

  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition:
    opacity 0.55s ease,
    visibility 0.55s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-logo {
  width: 220px;
  max-width: 70vw;
  height: auto;
  margin-bottom: 25px;
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
  width: 180px;
  max-width: 60vw;
  height: 3px;
  background: rgba(200, 155, 60, 0.2);
  border-radius: 10px;
  margin: 0 auto;
  overflow: hidden;
}

.loader-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: #c89b3c;
  animation: loading 1.2s ease-in-out infinite;
}


/* =========================================================
   PRELOADER ANIMATION
========================================================= */

@keyframes pulse {

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

  50% {
    opacity: 0.8;
    transform: scale(0.98);
  }

}

@keyframes loading {

  0% {
    width: 0;
  }

  50% {
    width: 100%;
  }

  100% {
    width: 0;
  }

}


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

@media (max-width: 600px) {

  .loader-logo {
    width: 190px;
    max-width: 65vw;
    margin-bottom: 20px;
  }

  .loader-bar {
    width: 160px;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 400px) {

  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero-btn {
    padding: 11px 22px;
    font-size: 0.85rem;
  }

  .about,
  .packages,
  .work,
  .terms,
  .socials {
    padding-left: 20px;
    padding-right: 20px;
  }

  .terms-content {
    padding: 30px 20px;
  }

  .social-icons {
    gap: 15px;
  }

  .social-icons a {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }

}

/* Keep page content above the fixed background videos */
header,
.hero,
.about,
.packages,
.extras,
.work,
.terms,
.socials,
footer {
    position: relative;
    z-index: 1;
}

/* The preloader must remain above everything */
#preloader {
    z-index: 99999;
}

/* Gallery previews should never block the page while loading */
.work-video {
    background: #000;
}

@media (max-width: 768px) {
    .bg-slider video {
        object-position: center center;
    }
}

/* FINAL PRELOADER OVERRIDE */
#preloader.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* =========================================================
   FINAL RESPONSIVE SYSTEM — ALL DEVICES
   Keeps the desktop design intact while improving phones,
   tablets, landscape screens and small laptops.
========================================================= */

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

section,
header,
footer,
.hero,
.about,
.packages,
.work,
.terms,
.socials {
  width: 100%;
  max-width: 100%;
}

/* Better tap targets and prevent accidental text selection on controls */
.menu-toggle,
.hero-btn,
.social-icons a,
.close-btn {
  touch-action: manipulation;
}

/* -----------------------------------------
   LARGE TABLETS / SMALL LAPTOPS
------------------------------------------ */
@media (max-width: 1100px) {
  .nav-container {
    max-width: 100%;
    padding-left: 4%;
    padding-right: 4%;
  }

  .nav-links {
    gap: 22px;
  }

  .hero {
    padding-left: 6%;
    padding-right: 6%;
  }

  .about-container,
  .package-container,
  .work-container {
    max-width: 100%;
  }

  .about-container {
    gap: 40px;
  }

  .work-container {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* -----------------------------------------
   TABLETS
------------------------------------------ */
@media (max-width: 900px) {
  .header {
    background: rgba(0, 0, 0, 0.94);
  }

  .nav-container {
    min-height: 68px;
    padding: 10px 5%;
  }

  .brand-logo img {
    height: 42px;
    max-width: 180px;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding: 110px 6% 60px;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-content h1 {
    font-size: clamp(2.4rem, 8vw, 4rem);
  }

  .about {
    padding: 70px 6%;
  }

  .about-container {
    gap: 35px;
  }

  .about-media,
  .about-text {
    min-width: 0;
    width: 100%;
  }

  .about-media img {
    max-width: 360px;
  }

  .packages,
  .work,
  .terms,
  .socials {
    padding-left: 6%;
    padding-right: 6%;
  }

  .package-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .package-container.extras {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }

  .terms-content {
    width: 100%;
  }
}

/* -----------------------------------------
   PHONES — MAIN MOBILE LAYOUT
------------------------------------------ */
@media (max-width: 768px) {
  .header {
    top: 0;
    padding-top: env(safe-area-inset-top);
  }

  .nav-container {
    min-height: 64px;
    padding: 8px max(4%, env(safe-area-inset-left)) 8px max(4%, env(safe-area-inset-left));
  }

  .brand-logo {
    min-width: 0;
    max-width: calc(100% - 60px);
  }

  .brand-logo img {
    width: auto;
    max-width: min(175px, 58vw);
    height: 38px;
    object-fit: contain;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    padding: 0;
    border-radius: 8px;
    font-size: 1.35rem;
  }

  .nav-links {
    top: calc(100% - 1px);
    width: 100%;
    padding: 12px 18px 20px;
    gap: 4px;
    align-items: stretch;
    border-top: 1px solid rgba(200, 155, 60, 0.12);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    letter-spacing: 1.2px;
  }

  .nav-links a:active,
  .nav-links a:focus-visible {
    background: rgba(200, 155, 60, 0.12);
    color: #c89b3c;
  }

  .bg-slider video {
    object-fit: cover;
    object-position: center center;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding: calc(86px + env(safe-area-inset-top)) 5% 55px;
  }

  .hero-content {
    width: 100%;
    max-width: 560px;
    padding: 0 4px;
  }

  .hero-content h1 {
    width: 100%;
    font-size: clamp(2rem, 11vw, 3.2rem);
    line-height: 1.06;
    letter-spacing: 0.5px;
    text-wrap: balance;
    margin-bottom: 14px;
  }

  .hero-content p {
    width: 100%;
    max-width: 420px;
    font-size: clamp(0.9rem, 4vw, 1.05rem);
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .hero-btn {
    min-height: 48px;
    padding: 13px 24px;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .gold-divider {
    width: min(150px, 42vw);
    margin: 30px auto;
  }

  .gold-divider-full {
    width: min(210px, 58vw);
    margin: 38px auto;
  }

  .about,
  .packages,
  .work,
  .terms,
  .socials {
    padding: 58px 5%;
  }

  .about-container {
    width: 100%;
    gap: 30px;
  }

  .about-media {
    width: 100%;
  }

  .about-media img {
    width: min(100%, 360px);
    max-width: 100%;
    margin: 0 auto;
    border-radius: 10px;
  }

  .about-text {
    width: 100%;
  }

  .about-text h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 18px;
    text-wrap: balance;
  }

  .about-text p {
    font-size: 0.94rem;
    line-height: 1.75;
    margin-bottom: 16px;
  }

  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    line-height: 1.2;
    text-wrap: balance;
  }

  .services-intro {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 auto 28px;
    max-width: 450px;
  }

  .package-container,
  .package-container.extras {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .package-card {
    width: 100%;
    min-width: 0;
    padding: 20px 18px 22px;
    border-radius: 13px;
  }

  .package-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 16px;
    border-radius: 9px;
  }

  .package-card h3 {
    font-size: 1.08rem;
    line-height: 1.35;
    margin-bottom: 12px;
  }

  .package-card ul {
    margin-bottom: 18px;
  }

  .package-card li {
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 8px 0;
  }

  .price {
    font-size: 0.88rem;
    padding: 8px 17px;
  }

  .extras-section .package-card {
    min-height: 115px;
    justify-content: center;
    gap: 14px;
  }

  .work-container {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .work-item {
    width: 100%;
    min-width: 0;
    aspect-ratio: 9 / 16;
    border-radius: 8px;
  }

  .work-item video,
  .work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .terms-title {
    font-size: clamp(1.65rem, 7vw, 2.2rem);
    line-height: 1.25;
    letter-spacing: 1.8px;
    margin-bottom: 28px;
  }

  .terms-content {
    padding: 28px 20px;
    border-radius: 12px;
  }

  .terms-content p {
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 15px;
  }

  .socials h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
    line-height: 1.25;
    margin-bottom: 24px;
  }

  .social-icons {
    flex-wrap: wrap;
    gap: 14px;
  }

  .social-icons a {
    width: 54px;
    height: 54px;
    font-size: 1.45rem;
  }

  footer {
    padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
  }

  footer h3 {
    font-size: 0.72rem;
    line-height: 1.7;
    letter-spacing: 1.2px;
  }

  /* Mobile lightbox: use almost the full screen without clipping video controls */
  .lightbox {
    padding: max(58px, env(safe-area-inset-top) + 48px) 10px max(18px, env(safe-area-inset-bottom));
  }

  #lightbox-content {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 90px);
  }

  #lightbox-content video,
  #lightbox-content img {
    max-width: 100%;
    max-height: calc(100dvh - 100px);
    width: auto;
    height: auto;
    border-radius: 8px;
  }

  .close-btn {
    top: max(10px, env(safe-area-inset-top));
    right: 10px;
    width: 44px;
    height: 44px;
    font-size: 34px;
  }
}

/* -----------------------------------------
   SMALL PHONES (iPhone SE / compact Android)
------------------------------------------ */
@media (max-width: 480px) {
  .nav-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-logo img {
    max-width: 145px;
    height: 34px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-content h1 {
    font-size: clamp(1.85rem, 10.5vw, 2.65rem);
  }

  .hero-content p {
    font-size: 0.88rem;
  }

  .hero-btn {
    width: 100%;
    max-width: 280px;
  }

  .about,
  .packages,
  .work,
  .terms,
  .socials {
    padding-left: 16px;
    padding-right: 16px;
  }

  .work-container {
    gap: 8px;
  }

  .work-item {
    border-radius: 7px;
  }

  .package-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .terms-content {
    padding: 24px 17px;
  }
}

/* -----------------------------------------
   VERY SMALL PHONES
------------------------------------------ */
@media (max-width: 360px) {
  .brand-logo img {
    max-width: 128px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .work-container {
    gap: 7px;
  }

  .social-icons a {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

/* -----------------------------------------
   LANDSCAPE PHONES
------------------------------------------ */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 900px) {
  .hero {
    min-height: 620px;
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero-content p {
    margin-bottom: 16px;
  }

  .nav-links {
    max-height: calc(100svh - 64px);
    overflow-y: auto;
  }
}

/* -----------------------------------------
   ACCESSIBILITY / MOTION
------------------------------------------ */
@media (hover: none) {
  .package-card:hover,
  .work-item:hover,
  .social-icons a:hover,
  .hero-btn:hover,
  .close-btn:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-slider video {
    transition: none;
  }
}
