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

:root {
  --bg: #0a0a0a;
  --surface: #111;
  --text: #fff;
  --text-secondary: rgba(255,255,255,0.65);
  --text-muted: rgba(255,255,255,0.45);
  --border: rgba(255,255,255,0.1);
  --shadow: 0 2px 12px rgba(0,0,0,0.3);
  --section-alt-bg: #111;
  --hero-overlay: rgba(0,0,0,0.45);
  --header-scrolled-bg: rgba(0,0,0,0.85);
  --hamburger: #fff;
  --filter-border: rgba(255,255,255,0.2);
  --filter-text: rgba(255,255,255,0.6);
  --filter-active-bg: #fff;
  --filter-active-text: #1a1a1a;
  --contact-social-border: rgba(255,255,255,0.3);
  --contact-social-text: rgba(255,255,255,0.7);
  --empty-text: rgba(255,255,255,0.5);
  --empty-heading: #fff;
  --insta-hover-bg: rgba(0,0,0,0.15);
  --dropdown-bg: #111;
  --dropdown-text: #fff;
  --lightbox-bg: rgba(0,0,0,0.92);
  --lbox-nav-bg: rgba(255,255,255,0.06);
  --lbox-nav-hover: rgba(255,255,255,0.15);
  --lbox-text: rgba(255,255,255,0.7);
  --lbox-text-secondary: rgba(255,255,255,0.5);
  --lbox-close: #fff;
  --btn-primary-bg: #333;
  --btn-primary-text: #fff;
  --btn-primary-hover-bg: #444;
  --radius: 8px;
  --header-height: 60px;
  --section-padding: 80px 0;
  --content-width: 1200px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

[data-theme="light"] {
  --bg: #f5f5f5;
  --surface: #fff;
  --text: #1a1a1a;
  --text-secondary: #777;
  --text-muted: #aaa;
  --border: #e0e0e0;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --section-alt-bg: #eee;
  --hero-overlay: rgba(0,0,0,0.25);
  --header-scrolled-bg: rgba(255,255,255,0.97);
  --hamburger: #1a1a1a;
  --filter-border: rgba(0,0,0,0.15);
  --filter-text: rgba(0,0,0,0.5);
  --filter-active-bg: #1a1a1a;
  --filter-active-text: #fff;
  --contact-social-border: rgba(0,0,0,0.2);
  --contact-social-text: rgba(0,0,0,0.5);
  --empty-text: rgba(0,0,0,0.4);
  --empty-heading: #1a1a1a;
  --insta-hover-bg: rgba(0,0,0,0.05);
  --dropdown-bg: #fff;
  --dropdown-text: #1a1a1a;
  --lightbox-bg: rgba(0,0,0,0.85);
  --lbox-nav-bg: rgba(255,255,255,0.1);
  --lbox-nav-hover: rgba(255,255,255,0.2);
  --lbox-text: rgba(255,255,255,0.8);
  --lbox-text-secondary: rgba(255,255,255,0.6);
  --lbox-close: #fff;
  --btn-primary-bg: #1a1a1a;
  --btn-primary-text: #fff;
  --btn-primary-hover-bg: #333;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  animation: pageIn 0.4s ease;
}

@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

[x-cloak] { display: none !important; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 1.8rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 48px;
  font-size: 0.95rem;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  font-family: inherit;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}

.btn-primary:hover {
  background: var(--btn-primary-hover-bg);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid currentColor;
}

.btn-outline.gallery-cta {
  color: var(--text);
  border-color: var(--text-secondary);
}

.btn-outline.gallery-cta:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ========== Navigation ========== */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: transparent;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

header.scrolled {
  background: var(--header-scrolled-bg);
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
}

header.scrolled .logo,
header.scrolled nav a {
  color: var(--text);
}

.logo {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  transition: color 0.3s;
}

[data-theme="light"] .logo {
  color: var(--text);
}

[data-theme="light"] header:not(.scrolled) .logo {
  color: #fff;
}

header nav {
  display: flex;
  gap: 28px;
}

header nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

header nav a:hover {
  color: #fff;
}

[data-theme="light"] header:not(.scrolled) nav a {
  color: rgba(255,255,255,0.8);
}

[data-theme="light"] header:not(.scrolled) nav a:hover {
  color: #fff;
}

header.scrolled nav a {
  color: var(--text-secondary);
}

header.scrolled nav a:hover,
header.scrolled nav a.active {
  color: var(--text);
}

header nav a.active {
  color: #fff;
}

header nav a.nav-admin {
  margin-left: 16px;
  opacity: 0.5;
  font-size: 0.72rem;
}

header nav a.nav-admin:hover {
  opacity: 1;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  padding: 4px 8px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  font-family: inherit;
}

.theme-toggle:hover {
  color: #fff;
}

[data-theme="light"] header:not(.scrolled) .theme-toggle {
  color: rgba(255,255,255,0.7);
}

[data-theme="light"] header:not(.scrolled) .theme-toggle:hover {
  color: #fff;
}

header.scrolled .theme-toggle {
  color: var(--text-secondary);
}

header.scrolled .theme-toggle:hover {
  color: var(--text);
}

.menu-backdrop {
  display: none;
}

@media (max-width: 768px) {
  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 999;
  }
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--hamburger);
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 1px;
}

header.scrolled .hamburger span {
  background: var(--text);
}

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

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

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

/* ========== Hero ========== */

#home {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding: 24px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 200;
  letter-spacing: 3px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.85;
  margin-bottom: 36px;
  letter-spacing: 1px;
}

.hero-content .btn {
  color: white;
  border: 1px solid rgba(255,255,255,0.6);
}

.hero-content .btn:hover {
  background: white;
  color: var(--text);
  border-color: white;
}

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

#gallery {
  background: var(--section-alt-bg);
}

#gallery .section-title {
  color: var(--text);
}

#gallery .section-subtitle {
  color: var(--text-secondary);
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.filters-scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-start;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.filters-scroll::-webkit-scrollbar { display: none; }

.filter-dropdown {
  display: none;
  padding: 8px 16px;
  border: 1px solid var(--filter-border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 24px;
  max-width: 300px;
  width: 100%;
}
.filter-dropdown option { background: var(--dropdown-bg); color: var(--dropdown-text); }

@media (max-width: 600px) {
  .filter-dropdown { display: block; }
  .filters-scroll { display: none; }
  .filters.filters-scroll { display: none; }
}

.filter-btn {
  padding: 6px 18px;
  border: 1px solid var(--filter-border);
  border-radius: 20px;
  background: transparent;
  color: var(--filter-text);
  cursor: pointer;
  font-size: 0.82rem;
  transition: all 0.2s;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: var(--text);
  color: var(--text);
}

.filter-btn.active {
  background: var(--filter-active-bg);
  color: var(--filter-active-text);
  border-color: var(--filter-active-bg);
}

.photo-grid {
  columns: 3;
  column-gap: 16px;
}

.photo-card {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.photo-card:hover {
  transform: translateY(-4px);
}

.photo-card img {
  width: 100%;
  display: block;
}

.photo-card .info {
  display: none;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

.service-card:hover {
  transform: translateY(-3px);
}

.service-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.3rem;
  color: #fff;
  object-fit: cover;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== Testimonials ========== */

#testimonials {
  background: var(--surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.testimonial-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
}

.testimonial-card .text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.about-grid img {
  width: 100%;
  border-radius: var(--radius);
}

.about-grid .bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--text);
}

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

#contact {
  text-align: center;
  background: var(--section-alt-bg);
  color: var(--text);
}

#contact .section-subtitle {
  color: var(--text-secondary);
}

.contact-email {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 32px;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.contact-email:hover {
  color: var(--text);
}

.contact-social {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--contact-social-border);
  color: var(--contact-social-text);
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: all 0.2s;
}

.contact-social a:hover {
  border-color: var(--text);
  color: var(--text);
}

/* ========== Instagram ========== */

#instagram {
  padding-bottom: 0;
}

.instagram-header {
  text-align: center;
  margin-bottom: 32px;
}

.instagram-header .handle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-bottom: 32px;
}

.insta-grid a {
  display: block;
  overflow: hidden;
  position: relative;
}

.insta-grid a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
}

.insta-grid a:hover::after {
  background: var(--insta-hover-bg);
}

.insta-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.insta-cta {
  text-align: center;
  margin-bottom: 60px;
}

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

footer {
  text-align: center;
  padding: 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

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

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: var(--lightbox-bg);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 88vw;
  max-height: 88vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--lbox-close);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--lbox-nav-bg);
  border: none;
  color: var(--lbox-close);
  font-size: 1.5rem;
  padding: 16px 10px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
  line-height: 1;
  opacity: 0.7;
}

.lightbox-nav:hover {
  background: var(--lbox-nav-hover);
  opacity: 1;
}

.lightbox-prev { left: -56px; }
.lightbox-next { right: -56px; }

.lightbox-info {
  position: absolute;
  bottom: -48px;
  left: 0;
  right: 0;
  color: var(--lbox-text);
  text-align: center;
}

.lightbox-info h3 {
  font-size: 1rem;
  font-weight: 500;
}

.lightbox-info p {
  font-size: 0.85rem;
  color: var(--lbox-text-secondary);
}

/* ========== Empty State ========== */

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--empty-text);
}

.empty-state h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--empty-heading);
}

.empty-state a {
  color: var(--text);
  text-decoration: underline;
}

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

@media (max-width: 1024px) {
  .photo-grid { columns: 2; }
  .about-grid { grid-template-columns: 220px 1fr; gap: 32px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-padding: 60px 0; }

  header { padding: 0 20px; }

  .hamburger { display: block; }

  header nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 20px;
    transition: right 0.3s;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  }

  header nav.open { right: 0; }

  header nav a,
  header.scrolled nav a {
    color: var(--text);
    font-size: 0.9rem;
  }

  header nav a.active {
    color: var(--text);
    font-weight: 600;
  }

  .hero-content h1 { font-size: 2.2rem; letter-spacing: 2px; }
  .hero-content p { font-size: 0.95rem; }

  .photo-grid { columns: 1; }
  .section-title { font-size: 1.5rem; }

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-grid img {
    max-width: 200px;
  }

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

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .section-title { font-size: 1.3rem; }
  .contact-email { font-size: 1.1rem; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
}
