/* Arrow Remodeling — homepage styles */

:root {
  --background: oklch(97% 0.004 85);
  --foreground: oklch(18% 0.01 250);
  --card: oklch(100% 0 0);
  --primary: oklch(55% 0.14 35);
  --primary-foreground: oklch(98.5% 0.002 80);
  --muted-foreground: oklch(45% 0.01 250);
  --accent: oklch(62% 0.12 65);
  --border: oklch(88% 0.008 75);
  --primary-soft: oklch(55% 0.14 35 / 0.1);
  --radius: 0.75rem;
  --shadow: 0 1px 2px oklch(0% 0 0 / 0.05);
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--foreground);
  background: var(--background);
}

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

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

a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */

.site-header {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
}

.site-header__inner {
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.site-header__icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

/* Main */

.site-main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1.5rem 4rem;
}

@media (min-width: 640px) {
  .site-main {
    padding: 4rem 1.5rem;
  }
}

.site-main__inner {
  width: 100%;
  max-width: 42rem;
}

/* Card */

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-card__accent {
  height: 0.5rem;
  background: linear-gradient(
    to right,
    var(--primary),
    var(--accent),
    var(--primary)
  );
}

.contact-card__body {
  padding: 2rem;
}

@media (min-width: 640px) {
  .contact-card__body {
    padding: 3rem;
  }
}

.contact-card__logo {
  display: flex;
  justify-content: center;
}

.contact-card__logo img {
  width: 100%;
  max-width: 28rem;
}

.badge {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.badge__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Contact section */

.contact-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-section__title {
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.contact-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-list__item + .contact-list__item {
  margin-top: 1rem;
}

.contact-list__item--location {
  align-items: flex-start;
}

.contact-list__icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--primary-soft);
  color: var(--primary);
}

.contact-list__item--location .contact-list__icon-wrap {
  margin-top: 0.125rem;
}

.contact-list__icon {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-list__phone {
  font-weight: 600;
}

.contact-list__hint {
  margin-left: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-list__text {
  color: var(--muted-foreground);
}

.contact-list__text--location {
  line-height: 1.625;
}

.contact-list__email {
  font-weight: 500;
  word-break: break-all;
}

/* Tagline */

.tagline {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.tagline__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--accent);
}

/* Gallery */

.gallery {
  margin-top: 3rem;
}

.gallery__title {
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.gallery__grid {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.gallery__item {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.gallery__trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
}

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

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery__trigger:hover img {
  transform: scale(1.03);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 3.5rem 1rem 1rem;
  border: none;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: oklch(0% 0 0 / 0.88);
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__figure {
  margin: 0;
  max-width: min(90vw, 72rem);
  max-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 7rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px oklch(0% 0 0 / 0.35);
}

.lightbox__caption {
  margin: 0;
  font-size: 0.875rem;
  color: oklch(92% 0.01 85);
  text-align: center;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: oklch(100% 0 0 / 0.12);
  color: oklch(98% 0.01 85);
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: oklch(100% 0 0 / 0.22);
}

.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  outline: 2px solid oklch(98% 0.01 85);
  outline-offset: 2px;
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
}

.lightbox__close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
}

.lightbox__nav svg {
  width: 1.5rem;
  height: 1.5rem;
}

.lightbox__nav--prev {
  left: 1rem;
}

.lightbox__nav--next {
  right: 1rem;
}

@media (min-width: 640px) {
  .lightbox {
    padding: 4rem 4.5rem 1.5rem;
  }

  .lightbox__nav--prev {
    left: 1.5rem;
  }

  .lightbox__nav--next {
    right: 1.5rem;
  }
}

body.lightbox-open {
  overflow: hidden;
}

/* Copyright */

.copyright {
  margin: 2rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
