
/* ==========================================
   BEST EVER SMART LIGHTING
   Complete Smart Lighting Stylesheet
   ========================================== */

:root {
  --navy: #101820;
  --navy-light: #192632;
  --gold: #d5ad63;
  --cream: #f5f2ec;
  --white: #ffffff;
  --muted: #aeb8c0;
  --radius: 14px;
}

/* GLOBAL */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1160px, 90%);
  margin: auto;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.16;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.3rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1.3rem;
}

section {
  padding: 105px 0;
}

.section-intro {
  text-align: center;
  max-width: 770px;
  margin: 0 auto 50px;
}

.section-intro h2 {
  margin: 12px 0 20px;
}

.dark {
  background: var(--navy);
  color: white;
}

.soft {
  background: var(--cream);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 6px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
  text-align: center;
  border: 1px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: #edc77e;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: white;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ==========================================
   HEADER AND NAVIGATION
   ========================================== */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #080c11;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-logo {
  display: block;
  height: 65px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.brand span {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links .btn-gold:hover {
  color: var(--navy);
}

.menu-toggle {
  display: none;
  color: white;
  background: transparent;
  border: 1px solid #56616b;
  padding: 8px 12px;
  border-radius: 5px;
}

/* ==========================================
   HERO
   Full image visible - OMNI logo protected
   ========================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100vh;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: white;
  background: #050608;
}

/* Show the entire original photograph */

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Very subtle shading for readable text */

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.48) 0%,
      rgba(0, 0, 0, 0.24) 35%,
      transparent 70%
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.65) 0%,
      transparent 42%
    );
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 0;
  padding-bottom: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 540px;
  padding: 30px;
  margin-top: 110px;

  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero .eyebrow {
  color: #f0ca83;
  font-size: 0.75rem;
  letter-spacing: 2.5px;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 3.8vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 14px 0 18px;
  color: white;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero p {
  max-width: 480px;
  font-size: clamp(1rem, 1.25vw, 1.13rem);
  line-height: 1.6;
  color: #f2f2f2;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* ==========================================
   FEATURE CARDS
   ========================================== */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: white;
  border: 1px solid #e1e3e5;
  border-radius: var(--radius);
  padding: 32px;
  color: var(--navy);
}
.feature-card-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 24px;
}

#feature-image-3 {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.feature-card .number {
  color: #a7803d;
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin-bottom: 14px;
}

.feature-card p {
  color: #4c5963;
  margin-bottom: 0;
}

/* ==========================================
   LIGHTING SHOWCASES
   ========================================== */

.showcase {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #24303a;
  aspect-ratio: 16 / 9;
}

.showcase img {
  position: absolute;
  object-position: center bottom;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.showcase img.active {
  opacity: 1;
}

.showcase-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 55px 25px 24px;
  color: white;
  background: linear-gradient(
    transparent,
    rgba(0, 0, 0, 0.85)
  );
}

.showcase-caption h3 {
  margin-bottom: 4px;
}

.showcase-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}


#custom-scenes {
  object-position: center;
  transform: translateY(30px);
}

.mode-btn {
  border: 1px solid #697580;
  border-radius: 30px;
  background: transparent;
  color: inherit;
  padding: 9px 18px;
  font-size: 0.88rem;
  transition: 0.2s ease;
}

.mode-btn:hover {
  border-color: var(--gold);
}

.mode-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* ==========================================
   IMAGE AND TEXT SPLIT SECTIONS
   ========================================== */

#christmas-image {
  object-position: 15% center;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #29333b;
}

.split h2 {
  margin: 14px 0 22px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.feature-list li {
  position: relative;
  padding: 9px 0 9px 28px;
}

.feature-list li::before {
  content: "✓";
  color: var(--gold);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* ==========================================
   PROJECT GALLERY
   ========================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery button {
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #27323a;
  width: 100%;
}

.gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery button:hover img {
  transform: scale(1.04);
}

/* GALLERY LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  width: auto;
  max-width: 95%;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  background: transparent;
  border: 0;
  font-size: 2.3rem;
  line-height: 1;
}

/* ==========================================
   FAQ
   ========================================== */

.faq {
  max-width: 850px;
  margin: auto;
}

details {
  border-bottom: 1px solid #d8dde0;
  padding: 20px 0;
}

summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
}

details p {
  padding-top: 14px;
  margin-bottom: 0;
}

/* ==========================================
   CONTACT AND CONSULTATION
   ========================================== */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.contact-form {
  background: white;
  padding: 35px;
  border-radius: var(--radius);
  color: var(--navy);
}

.contact-form h3 {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 700;
  margin: 15px 0 6px;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #c8cdd1;
  border-radius: 5px;
  background: white;
  color: var(--navy);
}

.contact-form textarea {
  min-height: 115px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
  margin-top: 22px;
}

/* ==========================================
   FOOTER
   ========================================== */

footer {
  background: #080e13;
  color: #b9c3cb;
  padding: 50px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 35px;
}

footer h3 {
  color: white;
}

footer a:hover {
  color: var(--gold);
}

.copyright {
  border-top: 1px solid #35404a;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.82rem;
}

/* ==========================================
   TABLET AND MOBILE
   ========================================== */

@media (max-width: 850px) {

  section {
    padding: 75px 0;
  }

  .split,
  .contact,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    padding: 22px 5%;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    aspect-ratio: auto;
    min-height: 0;
    display: block;
    overflow: visible;
  }

  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    z-index: auto;
  }

  .hero::after {
    display: none;
  }

  .hero .container {
    padding-top: 30px;
    padding-bottom: 55px;
  }

  .hero-content {
    max-width: 650px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 7vw, 4rem);
  }
}

/* ==========================================
   SMALL PHONES
   ========================================== */

@media (max-width: 540px) {

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .showcase {
    aspect-ratio: 4 / 3;
  }

  .contact-form {
    padding: 22px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mode-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .feature-card {
    padding: 25px;
  }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
