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

:root {
  --color-bg: #0a0a0a;
  --color-text: #f5f5f5;
  --color-accent: #c9a962;
  --color-muted: #888;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  background: transparent;
  transition: background 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.3em;
}

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

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 1px;
  background: var(--color-text);
  transition: 0.3s ease;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('imgs/2024-09-02_19-52-06_401.webp') center/cover no-repeat;
  filter: brightness(0.4);
  transform: scale(1.1);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  animation: fadeUp 1.2s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 3rem;
}

.hero-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.hero-cta:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

/* Section Titles */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 4rem;
}

/* Gallery */
.gallery {
  padding: 8rem 4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--color-text);
  padding: 0.75rem 1.5rem;
}


/* About */
.about {
  padding: 8rem 4rem;
  background: #111;
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

/* Contact */
.contact {
  padding: 8rem 4rem;
  text-align: center;
}

.contact-text {
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.contact-email {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.contact-email::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact-email:hover::after {
  transform: scaleX(1);
}

/* Footer */
.footer {
  padding: 2rem 4rem;
  text-align: center;
  border-top: 1px solid #222;
}

.footer p {
  font-size: 0.8rem;
  color: var(--color-muted);
  letter-spacing: 0.1em;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  transition: color 0.3s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--color-accent);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav {
    padding: 1rem 2rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 101;
  }

  .nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .gallery,
  .about,
  .contact {
    padding: 5rem 2rem;
  }

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

/* Light
 Mode */
[data-theme="light"] {
  --color-bg: #f8f8f8;
  --color-text: #1a1a1a;
  --color-accent: #8b7355;
  --color-muted: #666;
}

[data-theme="light"] .hero-bg {
  filter: brightness(0.6);
}

[data-theme="light"] .about {
  background: #eee;
}

[data-theme="light"] .nav.scrolled {
  background: rgba(248, 248, 248, 0.95);
}

[data-theme="light"] .footer {
  border-top-color: #ddd;
}

[data-theme="light"] .lightbox {
  background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .lightbox-close,
[data-theme="light"] .lightbox-prev,
[data-theme="light"] .lightbox-next {
  color: var(--color-text);
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.theme-toggle:hover {
  color: var(--color-accent);
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

[data-theme="light"] .gallery-caption {
  color: #f5f5f5;
  border-color: #f5f5f5;
}


[data-theme="light"] .hero-subtitle {
  color: #ddd;
}

[data-theme="light"] .hero-cta {
  color: #f5f5f5;
  border-color: #f5f5f5;
}

[data-theme="light"] .hero-cta:hover {
  background: #f5f5f5;
  color: #1a1a1a;
}

[data-theme="light"] .nav-logo,
[data-theme="light"] .nav-links a,
[data-theme="light"] .theme-toggle {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .nav.scrolled .nav-logo,
[data-theme="light"] .nav.scrolled .nav-links a,
[data-theme="light"] .nav.scrolled .theme-toggle {
  color: #1a1a1a;
  text-shadow: none;
}

[data-theme="light"] .nav-toggle span {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .nav.scrolled .nav-toggle span {
  background: #1a1a1a;
  box-shadow: none;
}