/**
 * Component Styles
 * Reusable component classes
 */

/* === TYPOGRAPHY COMPONENTS === */

.heading-primary {
  font-family: var(--font-primary);
  font-size: var(--text-4xl);
  font-weight: var(--weight-normal);
  letter-spacing: var(--tracking-wide);
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
}

.heading-secondary {
  font-family: var(--font-primary);
  font-size: var(--text-3xl);
  font-weight: var(--weight-normal);
  letter-spacing: var(--tracking-wide);
  line-height: var(--leading-tight);
}

.heading-tertiary {
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  font-weight: var(--weight-normal);
  letter-spacing: var(--tracking-normal);
}

.subtitle {
  font-size: var(--text-lg);
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

/* === BUTTONS === */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--button-padding-y) var(--button-padding-x);
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-none);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background-color: var(--color-hover);
  border-color: var(--color-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-text-primary);
}

.btn-secondary:hover {
  background-color: var(--color-text-primary);
  color: var(--color-text-light);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-text-light);
  border-color: var(--color-accent);
}

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

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.btn:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

/* === LINKS === */

.link {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

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

.link-underline {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.link-accent {
  color: var(--color-accent);
}

.link-accent:hover {
  color: var(--color-accent-dark);
}

/* === HEADER/NAVIGATION === */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height-mobile);
  background-color: var(--color-bg-primary);
  border-bottom: 1px solid var(--color-divider);
  z-index: var(--z-fixed);
  transition: all var(--duration-normal) var(--ease-out);
}

@media (min-width: 768px) {
  .header {
    height: var(--header-height);
  }
}

.header-transparent {
  background-color: transparent;
  border-bottom-color: transparent;
}

.header-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--space-4);
}

@media (min-width: 768px) {
  .nav {
    padding: 0 var(--space-6);
  }
}

.nav-logo {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  letter-spacing: var(--tracking-wider);
  color: var(--color-text-primary);
  text-decoration: none;
}

/* Brand name styling - minimal and elegant */
.nav-brand {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.nav-brand:hover {
  opacity: 0.7;
}

.nav-menu {
  display: flex;
  gap: var(--space-8);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: var(--weight-normal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  text-decoration: none;
  position: relative;
  transition: opacity var(--duration-normal) var(--ease-out);
  padding: 2px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-text-primary);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-link:hover::after,
.nav-link--active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link:hover {
  opacity: 0.7;
}

.nav-link--active {
  opacity: 1;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  width: 24px;
  height: 24px;
  flex-direction: column;
  justify-content: space-around;
  cursor: pointer;
}

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

  .nav-menu {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background-color: var(--color-bg-primary);
    padding: var(--space-6);
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--duration-normal) var(--ease-out);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-link {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-divider);
  }
}

.nav-toggle-line {
  width: 100%;
  height: 2px;
  background-color: var(--color-text-primary);
  transition: all var(--duration-fast) var(--ease-out);
}

.nav-toggle.open .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.nav-toggle.open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* === HERO SECTION === */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-overlay);
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--color-text-light);
  z-index: 1;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: var(--text-4xl);
  font-weight: var(--weight-normal);
  letter-spacing: var(--tracking-widest);
  margin-bottom: var(--space-4);
}

.hero-subtitle {
  font-size: var(--text-lg);
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-8);
}

/* === GALLERY === */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: var(--gallery-gap);
}

@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-out);
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

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

/* === FORMS === */

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--input-padding-y) var(--input-padding-x);
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background-color: var(--color-bg-secondary);
  border: var(--input-border-width) solid var(--color-border);
  border-radius: var(--radius-none);
  transition: all var(--duration-fast) var(--ease-out);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: var(--color-bg-primary);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-error {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-error);
  margin-top: var(--space-2);
}

.form-success {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-success);
  margin-top: var(--space-2);
}

/* === FOOTER === */

.footer {
  background-color: var(--color-bg-secondary);
  padding: var(--space-10) 0 var(--space-6) 0;
  border-top: 1px solid var(--color-divider);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-social {
  display: flex;
  gap: var(--space-4);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text-primary);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-social-link:hover {
  color: var(--color-accent);
}

.footer-copyright {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Footer links styling to match navigation */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: var(--weight-normal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: opacity var(--duration-normal) var(--ease-out);
  position: relative;
  display: inline-block;
  padding: 2px 0;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-text-primary);
  transition: width var(--duration-normal) var(--ease-out);
}

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

.footer-links a:hover {
  opacity: 0.7;
}

/* === LOADING SPINNER === */

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* === SKIP LINK (Accessibility) === */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-text-primary);
  color: var(--color-text-light);
  padding: var(--space-2) var(--space-4);
  text-decoration: none;
  z-index: var(--z-tooltip);
}

.skip-link:focus {
  top: 0;
}

/* === PORTFOLIO GALLERY === */

.portfolio-section {
  padding: var(--space-8) 0;
}

/* Filter Bar */
.filter-bar {
  margin-bottom: var(--space-8);
}

/* Video Card Styles */
.photo-card--video {
  position: relative;
}

.photo-card__play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-out);
}

.photo-card--video:hover .photo-card__play-button {
  background: rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

.photo-card__play-button svg {
  width: 32px;
  height: 32px;
  margin-left: 3px; /* Optical centering */
}

.filter-bar__container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: flex-end;
  padding: var(--space-6);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-divider);
}

.filter-bar__group {
  flex: 1;
  min-width: 200px;
}

.filter-bar__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

.filter-bar__select {
  width: 100%;
  padding: var(--input-padding-y) var(--input-padding-x);
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  border: var(--input-border-width) solid var(--color-border);
  border-radius: var(--radius-none);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.filter-bar__select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.filter-bar__select:hover {
  border-color: var(--color-accent);
}

.filter-bar__reset {
  padding: var(--input-padding-y) var(--space-6);
  font-family: var(--font-secondary);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  background-color: transparent;
  border: var(--input-border-width) solid var(--color-border);
  border-radius: var(--radius-none);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

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

.filter-bar__reset:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.filter-bar__results {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-align: center;
}

@media (max-width: 767px) {
  .filter-bar__container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-bar__group {
    min-width: 100%;
  }
  
  .filter-bar__reset {
    width: 100%;
  }
}

/* Photo Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: var(--gallery-gap);
  margin-bottom: var(--space-10);
}

@media (min-width: 640px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .photo-grid[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .photo-grid[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
  }
}

.photo-grid--empty {
  grid-template-columns: 1fr;
  min-height: 400px;
  place-items: center;
}

.photo-grid__empty-state {
  text-align: center;
  padding: var(--space-10);
}

.photo-grid__empty-message {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

/* Photo Card */
.photo-card {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-secondary);
}

.photo-card__button {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-out);
}

.photo-card__button:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.photo-card__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: calc(2 / 3);
  overflow: hidden;
}

.photo-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--duration-slow) var(--ease-out);
}

.photo-card__button:hover .photo-card__image {
  transform: scale(1.05);
}

.photo-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.photo-card__button:hover .photo-card__overlay,
.photo-card__button:focus .photo-card__overlay {
  opacity: 1;
}

.photo-card__meta {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.photo-card__badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--color-text-primary);
}

.photo-card__badge--shoot {
  background-color: var(--color-accent);
  color: var(--color-text-light);
}

/* === LIGHTBOX === */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal) var(--ease-out),
              visibility var(--duration-normal) var(--ease-out);
}

.lightbox[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.lightbox__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  cursor: pointer;
}

.lightbox__container {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1400px;
  max-height: 90vh;
  margin: var(--space-6);
  z-index: 1;
}

.lightbox__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-text-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out);
  z-index: 2;
}

.lightbox__close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.lightbox__close:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-text-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out);
  z-index: 2;
}

.lightbox__nav:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.lightbox__nav:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

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

.lightbox__nav--prev {
  left: var(--space-4);
}

.lightbox__nav--next {
  right: var(--space-4);
}

@media (max-width: 767px) {
  .lightbox__nav {
    width: 40px;
    height: 40px;
  }
}

.lightbox__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__image {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}

.lightbox__info {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-4) var(--space-6);
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  color: var(--color-text-light);
  z-index: 2;
}

@media (max-width: 767px) {
  .lightbox__info {
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
  }
}

.lightbox__meta {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.lightbox__badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--color-text-light);
}

.lightbox__counter {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
}

.lightbox__separator {
  margin: 0 var(--space-2);
  opacity: 0.5;
}

/* === ABOUT PAGE === */

.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-10) 0;
}

.about-section {
  margin-bottom: var(--space-12);
}

.about-section:last-child {
  margin-bottom: 0;
}

.about-text {
  max-width: 700px;
  margin: var(--space-6) 0;
}

.about-text p {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-experience {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

@media (min-width: 768px) {
  .about-experience {
    grid-template-columns: repeat(3, 1fr);
  }
}

.experience-item {
  padding: var(--space-6);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-divider);
}

.experience-item h3 {
  margin-bottom: var(--space-3);
  color: var(--color-accent);
}

.experience-item p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

.about-skills {
  margin-top: var(--space-6);
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-3);
  list-style: none;
  padding: 0;
}

.skills-list li {
  padding: var(--space-3) var(--space-4);
  background-color: var(--color-bg-secondary);
  border-left: 3px solid var(--color-accent);
  font-size: var(--text-base);
}

.about-cta {
  text-align: center;
  padding: var(--space-10);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-divider);
  margin-top: var(--space-10);
}

.about-cta h2 {
  margin-bottom: var(--space-4);
}

.about-cta p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.about-cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* === DIGITALS PAGE === */

.digitals-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-10) 0;
}

.digitals-stats {
  margin-bottom: var(--space-12);
}

.stats-card {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-divider);
  padding: var(--space-8);
}

.stats-card h2 {
  margin-bottom: var(--space-6);
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-divider);
}

.stat-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-text-muted);
}

.stat-value {
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
}

.stats-note {
  padding: var(--space-4);
  background-color: var(--color-bg-primary);
  border-left: 3px solid var(--color-accent);
}

.stats-note p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.digitals-photos {
  margin-bottom: var(--space-12);
}

.digitals-description {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin: var(--space-4) 0 var(--space-8) 0;
}

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

@media (min-width: 768px) {
  .digitals-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.digital-card {
  position: relative;
  background-color: var(--color-bg-secondary);
  overflow: hidden;
}

.digital-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.digital-meta {
  padding: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-secondary);
}

.digital-type {
  font-weight: var(--weight-medium);
  color: var(--color-accent);
}

.digital-separator {
  opacity: 0.5;
}

.digitals-download {
  text-align: center;
  padding: var(--space-10);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-divider);
}

.digitals-download h2 {
  margin-bottom: var(--space-4);
}

.digitals-download p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.digitals-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* === CONTACT PAGE === */

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-10) 0;
}

.contact-info {
  margin-bottom: var(--space-12);
}

.contact-intro {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin: var(--space-4) 0 var(--space-8) 0;
  line-height: var(--leading-relaxed);
}

.contact-methods {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

@media (min-width: 768px) {
  .contact-methods {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-method {
  padding: var(--space-6);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-divider);
  text-align: center;
}

.contact-icon {
  font-size: var(--text-3xl);
  display: block;
  margin-bottom: var(--space-3);
}

.contact-method h3 {
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.contact-method p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

.contact-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact-form-section {
  margin-bottom: var(--space-12);
}

.form-intro {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin: var(--space-4) 0 var(--space-8) 0;
}

/* Contact Form Styles */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-8);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-divider);
}

.required-indicator {
  color: var(--color-error);
}

.optional-indicator {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--weight-normal);
  text-transform: none;
}

.form-hint {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  padding: var(--space-4);
  margin-bottom: var(--space-6);
  border-radius: var(--radius-sm);
  display: none;
  text-align: center;
  font-weight: var(--weight-medium);
}

.form-status--success {
  background-color: var(--color-success-bg, #d4edda);
  color: var(--color-success, #155724);
  border: 1px solid var(--color-success, #155724);
}

.form-status--error {
  background-color: var(--color-error-bg, #f8d7da);
  color: var(--color-error);
  border: 1px solid var(--color-error);
}

.form-status--info {
  background-color: var(--color-info-bg, #d1ecf1);
  color: var(--color-info, #0c5460);
  border: 1px solid var(--color-info, #0c5460);
}

.form-input--error,
.form-select--error,
.form-textarea--error {
  border-color: var(--color-error);
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.form-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
}

.btn--loading {
  position: relative;
  pointer-events: none;
}

.btn-loading {
  display: none;
}

.btn--loading .btn-loading {
  display: inline;
}

/* Contact Additional Info */
.contact-additional {
  margin-bottom: var(--space-12);
}

.booking-info {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-6);
}

@media (min-width: 768px) {
  .booking-info {
    grid-template-columns: repeat(2, 1fr);
  }
}

.info-item {
  padding: var(--space-6);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-divider);
}

.info-item h3 {
  margin-bottom: var(--space-4);
  color: var(--color-accent);
}

.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  padding: var(--space-2) 0;
  padding-left: var(--space-4);
  position: relative;
  color: var(--color-text-secondary);
}

.info-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: var(--weight-bold);
}

/* FAQ Section */
.contact-faq {
  margin-bottom: var(--space-10);
}

.faq-list {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.faq-item {
  padding: var(--space-6);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-divider);
}

.faq-question {
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-3);
  color: var(--color-text-primary);
}

.faq-answer {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}
