/*
Theme Name: Fotografie Sieland
Theme URI: https://www.fotografie-sieland.de
Author: Tom Sieland
Author URI: https://www.fotografie-sieland.de
Description: Professionelles WordPress Theme für Fotografie Sieland — Fotografie & Videografie in Rudolstadt. Dunkles, cinematisches Design mit Portfolio Custom Post Type und Contact Form 7 Integration.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fotografie-sieland
Tags: photography, portfolio, dark, one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ═══════════════════════════════════════════
   FONTS — Elegant serif + clean sans
   ═══════════════════════════════════════════ */
@font-face {
  font-family: 'SystemSerif';
  src: local('Georgia'), local('Times New Roman');
}

:root {
  /* Palette — deep cinematic darks */
  --bg-primary: #0a0a0c;
  --bg-secondary: #111114;
  --bg-tertiary: #18181c;
  --bg-card: #1a1a1f;
  --bg-card-hover: #222228;
  --text-primary: #f0ece4;
  --text-secondary: #9a9690;
  --text-muted: #5a5854;
  --accent: #c8a96e;
  --accent-dim: rgba(200, 169, 110, 0.15);
  --accent-glow: rgba(200, 169, 110, 0.3);
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-display: 'Georgia', 'SystemSerif', serif;
  --font-body: -apple-system, 'Segoe UI', 'Helvetica Neue', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-pad: clamp(80px, 12vh, 140px);
  --container: min(1200px, 90vw);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: thin;
  scrollbar-color: var(--text-muted) transparent;
}

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

::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 5vw;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s var(--ease-out);
}

.nav.scrolled {
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}

.nav-logo img {
  height: 36px;
  width: auto;
  transition: height 0.5s var(--ease-out);
}

.nav.scrolled .nav-logo img {
  height: 30px;
}

/* WordPress menu integration */
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links li {
  list-style: none;
  position: relative;
}

.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

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

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

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

/* Remove WP default sub-menu styles */
.nav-links .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(10, 10, 12, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 0;
  min-width: 200px;
  list-style: none;
  z-index: 1001;
}

.nav-links li:hover>.sub-menu {
  display: block;
}

.nav-links .sub-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 4px 0;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.4s var(--ease-out);
  transform-origin: center;
}

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

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    flex-direction: column;
    background: rgba(10, 10, 12, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 100px 40px 40px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
    border-left: 1px solid var(--border);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1rem;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    display: block;
  }

  .nav-links .sub-menu {
    position: static;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    display: block;
  }
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: heroZoom 20s var(--ease-in-out) forwards;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 10, 12, 0.3) 0%, rgba(10, 10, 12, 0.1) 40%, rgba(10, 10, 12, 0.6) 80%, rgba(10, 10, 12, 1) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(10, 10, 12, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-out) 0.5s forwards;
}

.hero-logo {
  width: clamp(260px, 40vw, 480px);
  margin: 0 auto 32px;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.5));
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 300;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUpCentered 1s var(--ease-out) 1.5s forwards;
}

@keyframes fadeUpCentered {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero mobile background */
@media (max-width: 768px) {
  .hero-bg {
    background-image: url('assets/images/bg_tomsieland_mobile.png') !important;
  }
}

/* ═══════════════════════════════════════════
   SECTION COMMONS
   ═══════════════════════════════════════════ */
section {
  padding: var(--section-pad) 0;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.stagger.visible>*:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger.visible>*:nth-child(2) {
  transition-delay: 0.12s;
}

.stagger.visible>*:nth-child(3) {
  transition-delay: 0.19s;
}

.stagger.visible>*:nth-child(4) {
  transition-delay: 0.26s;
}

.stagger.visible>*:nth-child(5) {
  transition-delay: 0.33s;
}

.stagger.visible>* {
  opacity: 0;
  transform: translateY(24px);
}

.stagger.visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   LEISTUNGEN (SERVICES)
   ═══════════════════════════════════════════ */
.services {
  background: var(--bg-primary);
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 80px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  display: block;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--accent);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* Why section */
.why-section {
  border-top: 1px solid var(--border);
  padding-top: 64px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 36px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.why-check svg {
  width: 12px;
  height: 12px;
  color: var(--accent);
}

.why-item h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.why-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ═══════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════ */
.portfolio {
  background: var(--bg-secondary);
}

.portfolio-header {
  text-align: center;
  margin-bottom: 48px;
}

.portfolio-header .section-subtitle {
  margin: 0 auto;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.filter-tab {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.filter-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
}

.filter-tab.active {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
  font-weight: 500;
}

/* Gallery grid — masonry via CSS columns */
.gallery-grid {
  columns: 4;
  column-gap: 12px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.gallery-item.hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-item-overlay span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 300;
}

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

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

@media (max-width: 1024px) {
  .gallery-grid {
    columns: 3;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    columns: 2;
    column-gap: 8px;
  }

  .gallery-item {
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    columns: 2;
    column-gap: 6px;
  }

  .gallery-item {
    margin-bottom: 6px;
  }
}

/* Gallery Pagination */
.gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.pagination-info {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-right: 12px;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.pagination-btn:hover:not(.disabled):not(.active) {
  color: var(--text-primary);
  border-color: var(--border-light);
  background: var(--bg-card);
}

.pagination-btn.active {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
  font-weight: 600;
}

.pagination-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination-btn svg {
  width: 16px;
  height: 16px;
}

.pagination-ellipsis {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0 4px;
  user-select: none;
}

@media (max-width: 480px) {
  .gallery-pagination {
    gap: 4px;
    margin-top: 32px;
  }

  .pagination-info {
    width: 100%;
    text-align: center;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .pagination-btn {
    min-width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }
}

/* ═══════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

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

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

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

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox-nav svg {
  width: 20px;
  height: 20px;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
}

/* ═══════════════════════════════════════════
   BEWERTUNGEN (REVIEWS)
   ═══════════════════════════════════════════ */
.reviews {
  background: var(--bg-primary);
}

.reviews-header {
  text-align: center;
  margin-bottom: 48px;
}

.reviews-header .section-subtitle {
  margin: 0 auto;
}

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

.google-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.google-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 1.1rem;
}

.google-logo svg {
  width: 24px;
  height: 24px;
}

.stars {
  display: flex;
  gap: 4px;
  color: #fbbf24;
}

.stars svg {
  width: 22px;
  height: 22px;
  fill: #fbbf24;
}

.rating-score {
  font-size: 2.4rem;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-primary);
}

.rating-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 20px;
  text-align: left;
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}

.review-name {
  font-weight: 500;
  font-size: 0.95rem;
}

.review-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.review-stars svg {
  width: 14px;
  height: 14px;
  fill: #fbbf24;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
  font-style: italic;
}

.reviews-cta {
  margin-top: 36px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: all 0.3s var(--ease-out);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.btn-outline svg {
  width: 16px;
  height: 16px;
}

/* ═══════════════════════════════════════════
   KONTAKT
   ═══════════════════════════════════════════ */
.contact {
  background: var(--bg-secondary);
}

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

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  padding-top: 8px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 300;
}

.contact-item-value a {
  transition: color 0.3s;
}

.contact-item-value a:hover {
  color: var(--accent);
}

.contact-cta {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--bg-primary);
  border-radius: 100px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s var(--ease-out);
}

.btn-primary:hover {
  background: #d4b57a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.contact-map {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 380px;
  background: var(--bg-card);
}

.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  text-align: center;
  padding: 32px;
  z-index: 2;
}

.map-placeholder-content {
  max-width: 400px;
}

.map-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0.8;
}

.map-placeholder h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.map-placeholder p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  filter: grayscale(0.6) invert(0.92) contrast(0.9) hue-rotate(180deg);
}

/* ═══════════════════════════════════════════
   CONTACT FORM 7 — Styled for Dark Theme
   ═══════════════════════════════════════════ */
.contact-form-section {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}

.contact-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form-header {
  text-align: center;
  margin-bottom: 48px;
}

/* CF7 Form Fields */
.wpcf7 .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wpcf7 label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.wpcf7 .wpcf7-form-control-wrap {
  display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
  outline: none;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim), 0 4px 16px rgba(200, 169, 110, 0.1);
  background: var(--bg-card-hover);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: var(--text-muted);
  font-weight: 300;
}

.wpcf7 textarea {
  min-height: 160px;
  resize: vertical;
}

/* CF7 Form row — side by side fields */
.cf7-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .cf7-form-row {
    grid-template-columns: 1fr;
  }
}

/* CF7 Submit Button */
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 40px;
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  border-radius: 100px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  width: auto;
  align-self: flex-start;
  margin-top: 8px;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
  background: #d4b57a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.wpcf7 input[type="submit"]:active,
.wpcf7 .wpcf7-submit:active {
  transform: translateY(0);
}

/* CF7 Validation & Response Messages */
.wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 0.78rem;
  margin-top: 6px;
  font-weight: 400;
}

.wpcf7 .wpcf7-not-valid {
  border-color: #e74c3c !important;
}

.wpcf7-response-output {
  border-radius: 10px !important;
  padding: 16px 20px !important;
  font-size: 0.88rem !important;
  font-weight: 400;
  margin: 16px 0 0 !important;
  border: 1px solid var(--border) !important;
}

.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(46, 204, 113, 0.1) !important;
  border-color: rgba(46, 204, 113, 0.3) !important;
  color: #2ecc71 !important;
}

.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background: rgba(231, 76, 60, 0.1) !important;
  border-color: rgba(231, 76, 60, 0.3) !important;
  color: #e74c3c !important;
}

.wpcf7-spam-blocked,
.wpcf7 form.spam .wpcf7-response-output {
  background: rgba(241, 196, 15, 0.1) !important;
  border-color: rgba(241, 196, 15, 0.3) !important;
  color: #f1c40f !important;
}

/* CF7 Spinner */
.wpcf7-spinner {
  display: inline-block;
  margin-left: 12px;
}

/* CF7 Acceptance checkbox */
.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo img {
  height: 28px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.footer-logo img:hover {
  opacity: 1;
}

.footer-center {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links li {
  list-style: none;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.3s;
  letter-spacing: 0.05em;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s;
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════
   DIVIDER ACCENT
   ═══════════════════════════════════════════ */
.section-divider {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 20px auto 0;
}

/* Center subtitle helper */
.section-subtitle.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ═══════════════════════════════════════════
   SERVICE PAGE TEMPLATE
   ═══════════════════════════════════════════ */
.service-page-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.service-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 12, 0.4) 0%, rgba(10, 10, 12, 0.8) 80%, rgba(10, 10, 12, 1) 100%);
}

.service-page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.service-page-content {
  padding: var(--section-pad) 0;
}

.service-page-content .entry-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
  font-weight: 300;
}

.service-page-content .entry-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--text-primary);
  margin: 48px 0 20px;
}

.service-page-content .entry-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-primary);
  margin: 36px 0 16px;
}

.service-page-content .entry-content p {
  margin-bottom: 20px;
}

.service-page-content .entry-content ul,
.service-page-content .entry-content ol {
  margin: 16px 0 20px 24px;
  color: var(--text-secondary);
}

.service-page-content .entry-content li {
  margin-bottom: 8px;
}

.service-page-content .entry-content img {
  border-radius: 12px;
  margin: 32px 0;
}

.service-page-cta {
  text-align: center;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════
   PORTFOLIO ARCHIVE PAGE
   ═══════════════════════════════════════════ */
.portfolio-archive {
  padding-top: 120px;
  background: var(--bg-secondary);
  min-height: 100vh;
}

/* ═══════════════════════════════════════════
   SINGLE PORTFOLIO
   ═══════════════════════════════════════════ */
.single-portfolio-page {
  padding-top: 120px;
  background: var(--bg-primary);
  min-height: 100vh;
}

.single-portfolio-image {
  max-width: 1000px;
  margin: 0 auto 32px;
  border-radius: 12px;
  overflow: hidden;
}

.single-portfolio-image img {
  width: 100%;
  display: block;
}

.single-portfolio-meta {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 0;
}

.single-portfolio-meta h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  margin-bottom: 16px;
}

.single-portfolio-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.single-portfolio-categories a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-out);
}

.single-portfolio-categories a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.single-portfolio-nav {
  display: flex;
  justify-content: space-between;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  max-width: 800px;
  margin: 0 auto;
}

.single-portfolio-nav a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.single-portfolio-nav a:hover {
  color: var(--accent);
}

/* ═══════════════════════════════════════════
   DEFAULT PAGE TEMPLATE
   ═══════════════════════════════════════════ */
.page-default {
  padding-top: 120px;
  min-height: 60vh;
}

.page-default .entry-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--section-pad) 0;
}

.page-default .entry-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 32px;
}

.page-default .entry-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  margin: 48px 0 20px;
}

.page-default .entry-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 20px;
}

.page-default .entry-content a {
  color: var(--accent);
  transition: opacity 0.3s;
}

.page-default .entry-content a:hover {
  opacity: 0.8;
}

/* ═══════════════════════════════════════════
   WORDPRESS CORE OVERRIDES
   ═══════════════════════════════════════════ */
.wp-block-image img {
  border-radius: 12px;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 24px;
  margin-bottom: 16px;
}

.alignright {
  float: right;
  margin-left: 24px;
  margin-bottom: 16px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}