/* =========================
   Fonts & Root
========================= */

@font-face {
  font-family: 'MyFont';
  src: url('fonts/Stardom-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --text-light: #ffffff;
  --text-dark: #000000;
}

/* =========================
   Global Reset
========================= */

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  height: 100%;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: #fafafa;
  color: var(--text-dark);
}

/* =========================
   Navbar
========================= */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 3000;
  overflow: visible;
}

/* Logo */

.logo {
  margin-left: -20px;
}

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

.logo-img {
  height: 50px;
  margin-right: 5px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-line1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.logo-line2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}

/* Navigation Links */

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
}

.nav-links a.active {
  color: var(--text-dark);
  font-weight: 600;
  border-bottom: 2px solid var(--text-dark);
  padding-bottom: 3px;
}

/* =========================
   Mobile Menu
========================= */

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: var(--text-dark);
  border-radius: 5px;
}

.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================
   Dropdown Menu
========================= */

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  padding: 0.75rem 0;
  background: #ffffff;
  list-style: none;
  border-radius: 0.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 5000;
}

.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: var(--text-dark);
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background: rgba(0,0,0,0.05);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================
   Hero Section (MOBILE SAFE)
========================= */

.hero {
  min-height: 100svh; /* mobile-safe viewport */
  width: 100%;
  background: url('images/home-page-min.jpg') center / cover no-repeat;
  position: relative;

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

  text-align: center;
  color: var(--text-light);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

/* =========================
   Hero Text Positioning
========================= */

.hero-content {
  position: relative;
  z-index: 1;
  transform: translateY(-120px); /* moves both up together */
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 5rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem; /* closer to subtext */
}

.hero-subtext {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
  color: var(--text-light);
}


/* =========================
   Desktop Lift Only
========================= */

@media (min-width: 769px) {
  .hero-content {
    margin-top: -6vh;
  }
}

/* =========================
   Mobile Fix
========================= */

@media (max-width: 768px) {
  .hero {
    min-height: 100dvh; /* dynamic viewport height */
  }

  .hero-content h1 {
    font-size: 3rem;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
  }

  .hero-subtext {
    font-size: 1.05rem; /* slightly smaller than desktop */
    line-height: 1.45;
  }
}

/* =========================
   Homepage Navbar Overrides
========================= */

.home-page .navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .nav-links a,
.home-page .logo-line1,
.home-page .logo-line2,
.home-page .menu-toggle .bar {
  color: var(--text-light);
}

.home-page .logo-img {
  filter: invert(1) brightness(1.1);
}

.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.home-page .navbar.scrolled .logo-img {
  filter: none;
}

.home-page .navbar.scrolled .nav-links a,
.home-page .navbar.scrolled .logo-line1,
.home-page .navbar.scrolled .logo-line2 {
  color: var(--text-dark);
}

/* Dark dropdown on homepage */

.home-page .dropdown-menu {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
}

.home-page .dropdown-menu li a {
  color: var(--text-light);
}

.home-page .dropdown-menu li a:hover {
  background: rgba(255,255,255,0.15);
}

/* =========================
   Homepage Mobile Hamburger (White)
========================= */

.home-page .menu-toggle .bar {
  background-color: #ffffff;
}

/* =========================
   Gallery (Photos)
========================= */

.gallery {
  padding: 3rem 2rem;
  text-align: center;
}

.gallery-grid {
  column-count: 3;
  column-gap: 0;
  line-height: 0;
}

.gallery-item {
  width: 100%;
  break-inside: avoid;
}

/* =========================
   Video Gallery
========================= */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.video-item video,
.video-item iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  background: #000000;
}

/* =========================
   Contact
========================= */

.contact {
  padding: 3rem 2rem;
  text-align: center;
}

.contact-form {
  max-width: 400px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(0,0,0,0.3);
}

.contact h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

/* =========================
   Footer
========================= */

footer {
  text-align: center;
  padding: 1.5rem;
  background: #ffffff;
  color: var(--text-dark);
  box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

.social-icon {
  width: 28px;
}

/* =========================
   Responsive
========================= */

@media (max-width: 900px) {
  .gallery-grid { column-count: 2; }
}

@media (max-width: 600px) {
  .gallery-grid { column-count: 1; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    display: none;
  }

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

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
  }
}

/* =========================
   Lightbox
========================= */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;

  justify-content: center;
  align-items: center;
  flex-direction: column;

  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  object-fit: contain;
  border-radius: 6px;

  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox.show .lightbox-content {
  opacity: 1;
  transform: scale(1);
}

/* Close button */
.lightbox .close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 36px;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
}

/* Navigation arrows */
.lightbox .prev,
.lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
  padding: 12px;
}

.lightbox .prev {
  left: 30px;
}

.lightbox .next {
  right: 30px;
}

.lightbox .prev:hover,
.lightbox .next:hover,
.lightbox .close:hover {
  opacity: 0.7;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .lightbox .prev,
  .lightbox .next {
    font-size: 36px;
  }

  .lightbox .close {
    font-size: 32px;
    right: 20px;
  }
}

/* =========================
   Gallery Hover Indicator
========================= */

.gallery-item-wrapper {
  position: relative;
  cursor: pointer; /* white glove hand */
}

.gallery-item-wrapper img {
  width: 100%;
  display: block;
}

/* Hover overlay */
.gallery-item-wrapper::after {
  content: "Click to view";
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;

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

  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

/* Hover state */
.gallery-item-wrapper:hover::after {
  opacity: 1;
}

.gallery h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
}

/* Disable hover UI on touch devices */
@media (hover: none) {
  .gallery-item-wrapper::after {
    display: none;
  }
}

/* =========================
   About Page
========================= */

.about {
  padding: 5rem 2rem;
  display: flex;
  justify-content: center;
}

.about-container {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 0.75rem;
  display: block;
}

.about-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

/* Responsive */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-text h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 0 1.25rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    letter-spacing: 0.04em;
    line-height: 1.15;
  }

  .hero-subtext {
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 0.5rem;
    transform: none;
  }
}

/* =========================
   Mobile Hamburger Dropdown Styling
========================= */

@media (max-width: 768px) {
  .nav-links {
    background: #000000; /* black dropdown */
  }

  .nav-links a {
    color: #ffffff; /* white text */
  }

  .nav-links a.active {
    color: #ffffff;
    border-bottom: 2px solid #ffffff; /* white underline */
  }

  .dropdown-menu li a {
    color: #ffffff;
  }

  .dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.15);
  }
}

/* =========================
   Mobile Hamburger Alignment Fix
========================= */

@media (max-width: 768px) {

  .nav-links {
    width: 100%;
    text-align: center;
  }

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

  .nav-links a {
    display: inline-block;
    padding: 0.75rem 0;
    width: 100%;
    text-align: center;
  }

  /* Dropdown items (Photos / Videos) */
  .dropdown-menu {
    width: 100%;
  }

  .dropdown-menu li a {
    padding: 0.6rem 0;
    text-align: center;
  }
}

/* =========================
   Mobile Submenu Hierarchy
========================= */

@media (max-width: 768px) {

  /* Main nav items */
  .nav-links > li > a {
    text-align: center;
    padding: 0.75rem 0;
  }

  /* Submenu container */
  .dropdown-menu {
    width: 100%;
    margin-top: 0.25rem;
  }

  /* Submenu items (Photos / Videos) */
  .dropdown-menu li a {
    padding: 0.6rem 0;
    transform: translateX(14px); /* subtle indent */
    font-size: 0.95rem;
    opacity: 0.9;
  }

  /* Optional: smaller underline for submenu */
  .dropdown-menu li a.active {
    border-bottom-width: 1px;
  }
}

.btn {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: #000000;
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: #222222;
  transform: translateY(-1px);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #000000;
}

/* =========================
   Services Page
========================= */

.services {
  padding: 5rem 2rem;
  display: flex;
  justify-content: center;
}

.services-container {
  max-width: 1100px;
  width: 100%;
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.services-header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.service-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #444;
}

.services-cta {
  text-align: center;
  margin-top: 5rem;
}

.services-cta p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-header h1 {
    font-size: 2.4rem;
  }
}

.gallery h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.video-intro {
  max-width: 640px;
  margin: -1.5rem auto 3rem;
  text-align: center;
  font-size: 1.05rem;
}
.contact-intro {
  max-width: 480px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}
