/* Alternative Photography — Global Styles */

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── Typography ── */
.has-playfair-font-family { font-family: 'Playfair Display', serif !important; }
.has-raleway-font-family  { font-family: 'Raleway', sans-serif !important; }

/* ── Eyebrow label ── */
.altphoto-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wp--preset--color--accent);
  margin-bottom: 1rem;
}

.altphoto-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--wp--preset--color--accent);
  flex-shrink: 0;
}

/* ── Nav ── */
.altphoto-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--wp--preset--color--background);
  border-bottom: 1px solid var(--wp--preset--color--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.altphoto-nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--wp--preset--color--primary);
  text-decoration: none;
}

.altphoto-nav__logo em {
  font-style: italic;
  color: var(--wp--preset--color--accent);
}

.altphoto-nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}

.altphoto-nav__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wp--preset--color--foreground);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.altphoto-nav__links a:hover { opacity: 1; }

.altphoto-nav__cta {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--white) !important;
  background: var(--wp--preset--color--primary);
  padding: 9px 20px;
  border-radius: 2px;
  text-decoration: none !important;
  transition: background 0.2s;
}

.altphoto-nav__cta:hover { background: var(--wp--preset--color--accent) !important; }

/* Mobile nav toggle */
.altphoto-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.altphoto-nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--wp--preset--color--foreground);
  transition: transform 0.25s, opacity 0.25s;
}

/* ── Hero ── */
.altphoto-hero {
  padding-top: 120px;
  padding-bottom: 5rem;
  background: var(--wp--preset--color--primary);
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.altphoto-hero__texture {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(57,135,204,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(57,135,204,0.08) 0%, transparent 40%);
  pointer-events: none;
}

.altphoto-hero__filmstrip {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 320px;
  background: rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.altphoto-hero__frame {
  width: 100%;
  height: 195px;
  border-top: 3px solid rgba(255,255,255,0.05);
  border-bottom: 3px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  position: relative;
}

.altphoto-hero__frame::before,
.altphoto-hero__frame::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 13px;
  background: var(--wp--preset--color--primary);
  border-radius: 2px;
}

.altphoto-hero__frame::before { left: 8px; }
.altphoto-hero__frame::after  { right: 8px; }

.altphoto-hero__frame-inner {
  width: 100%;
  height: 155px;
  background: rgba(255,255,255,0.04);
  border-radius: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.altphoto-hero__frame-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.altphoto-hero__frame-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

.altphoto-hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.altphoto-hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wp--preset--color--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.altphoto-hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--wp--preset--color--accent);
}

.altphoto-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--wp--preset--color--background);
  margin-bottom: 1.5rem;
}

.altphoto-hero__title em {
  font-style: italic;
  color: rgba(250,249,247,0.6);
}

.altphoto-hero__body {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(250,249,247,0.7);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.altphoto-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary-light {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--primary) !important;
  background: var(--wp--preset--color--background);
  padding: 14px 28px;
  border-radius: 2px;
  text-decoration: none !important;
  transition: background 0.2s;
  display: inline-block;
}

.btn-primary-light:hover {
  background: var(--wp--preset--color--secondary) !important;
}

.btn-ghost-light {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(250,249,247,0.75) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(250,249,247,0.3);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost-light:hover {
  color: var(--wp--preset--color--background) !important;
  border-color: rgba(250,249,247,0.7);
}

/* ── Sections ── */
.altphoto-section {
  padding: 6rem 2rem;
}

.altphoto-section--alt {
  background: #FFFFFF;
}

.altphoto-section--dark {
  background: var(--wp--preset--color--primary);
  position: relative;
  overflow: hidden;
}

/* ── Workshop cards ── */
.altphoto-workshops__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5px;
  background: var(--wp--preset--color--border);
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 3rem;
}

.altphoto-workshop-card {
  background: #fff;
  padding: 2.5rem;
  transition: background 0.2s;
}

.altphoto-workshop-card:hover { background: var(--wp--preset--color--secondary); }

.altphoto-workshop-card--coming-soon {
  background: var(--wp--preset--color--secondary);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.altphoto-workshop-card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wp--preset--color--accent);
  background: rgba(57,135,204,0.1);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.altphoto-workshop-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--wp--preset--color--primary);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.altphoto-workshop-card__excerpt {
  font-size: 14px;
  line-height: 1.75;
  color: var(--wp--preset--color--muted);
  margin-bottom: 1.5rem;
}

.altphoto-workshop-card__meta {
  padding: 1.25rem 0;
  border-top: 1px solid var(--wp--preset--color--border);
  border-bottom: 1px solid var(--wp--preset--color--border);
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.altphoto-workshop-card__meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.altphoto-workshop-card__meta-label { color: var(--wp--preset--color--muted); }
.altphoto-workshop-card__meta-value { color: var(--wp--preset--color--foreground); font-weight: 500; }

.altphoto-workshop-card__includes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.altphoto-include-chip {
  font-size: 11px;
  font-weight: 500;
  color: var(--wp--preset--color--foreground);
  background: var(--wp--preset--color--secondary);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--wp--preset--color--border);
}

.altphoto-workshop-card__cta {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--wp--preset--color--primary);
  padding: 11px 22px;
  border-radius: 2px;
  text-decoration: none !important;
  transition: background 0.2s;
}

.altphoto-workshop-card__cta:hover { background: var(--wp--preset--color--accent) !important; }

/* ── Single Workshop ── */
.altphoto-single-workshop {
  padding-top: 100px;
}

.altphoto-single-workshop__hero {
  background: var(--wp--preset--color--primary);
  padding: 5rem 2rem;
  color: var(--wp--preset--color--background);
}

.altphoto-single-workshop__meta-table {
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 4px;
  overflow: hidden;
  margin: 2rem 0;
}

.altphoto-single-workshop__meta-row {
  display: flex;
  border-bottom: 1px solid var(--wp--preset--color--border);
}

.altphoto-single-workshop__meta-row:last-child { border-bottom: none; }

.altphoto-single-workshop__meta-key,
.altphoto-single-workshop__meta-val {
  padding: 12px 16px;
  font-size: 14px;
}

.altphoto-single-workshop__meta-key {
  font-weight: 600;
  color: var(--wp--preset--color--muted);
  width: 40%;
  background: var(--wp--preset--color--secondary);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

/* ── Blog cards ── */
.altphoto-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.altphoto-blog-card {
  background: #fff;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 2px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
}

.altphoto-blog-card:hover {
  border-color: var(--wp--preset--color--accent);
  transform: translateY(-2px);
}

.altphoto-blog-card__img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  background: var(--wp--preset--color--secondary);
}

.altphoto-blog-card__img-placeholder {
  width: 100%;
  aspect-ratio: 3/2;
  background: var(--wp--preset--color--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.altphoto-blog-card__body { padding: 1.5rem; }

.altphoto-blog-card__date {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--muted);
  margin-bottom: 0.5rem;
}

.altphoto-blog-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--wp--preset--color--primary);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.altphoto-blog-card__excerpt {
  font-size: 13px;
  line-height: 1.75;
  color: var(--wp--preset--color--muted);
}

/* ── FAQ ── */
.altphoto-faq__item {
  border-top: 1px solid var(--wp--preset--color--border);
}

.altphoto-faq__item:last-child {
  border-bottom: 1px solid var(--wp--preset--color--border);
}

.altphoto-faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
}

.altphoto-faq__question-text {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--wp--preset--color--primary);
  line-height: 1.4;
}

.altphoto-faq__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
}

.altphoto-faq__icon::before,
.altphoto-faq__icon::after {
  content: '';
  position: absolute;
  background: var(--wp--preset--color--accent);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.altphoto-faq__icon::before {
  top: 50%; left: 0; right: 0;
  height: 1.5px;
  transform: translateY(-50%);
}

.altphoto-faq__icon::after {
  left: 50%; top: 0; bottom: 0;
  width: 1.5px;
  transform: translateX(-50%);
}

.altphoto-faq__item.open .altphoto-faq__icon::after {
  opacity: 0;
}

.altphoto-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.altphoto-faq__answer-inner {
  padding-bottom: 1.25rem;
  font-size: 15px;
  line-height: 1.8;
  color: var(--wp--preset--color--muted);
}

/* ── Contact ── */
.altphoto-contact-form {
  background: rgba(250,249,247,0.06);
  border: 1px solid rgba(250,249,247,0.12);
  border-radius: 4px;
  padding: 2.5rem;
}

.altphoto-form-group { margin-bottom: 1.25rem; }

.altphoto-form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,249,247,0.55);
  margin-bottom: 0.5rem;
}

.altphoto-form-input,
.altphoto-form-select,
.altphoto-form-textarea {
  width: 100%;
  background: rgba(250,249,247,0.08);
  border: 1px solid rgba(250,249,247,0.15);
  border-radius: 2px;
  padding: 11px 14px;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  color: var(--wp--preset--color--background);
  outline: none;
  transition: border-color 0.2s;
}

.altphoto-form-input::placeholder,
.altphoto-form-textarea::placeholder { color: rgba(250,249,247,0.3); }

.altphoto-form-input:focus,
.altphoto-form-select:focus,
.altphoto-form-textarea:focus { border-color: rgba(57,135,204,0.6); }

.altphoto-form-select {
  cursor: pointer;
  appearance: none;
}

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

.altphoto-form-submit {
  width: 100%;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--primary);
  background: var(--wp--preset--color--background);
  border: none;
  padding: 14px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.altphoto-form-submit:hover { background: var(--wp--preset--color--secondary); }

/* ── Footer ── */
.altphoto-footer {
  background: var(--wp--preset--color--foreground);
  padding: 2.5rem 2rem;
}

.altphoto-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.altphoto-footer__logo {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: rgba(250,249,247,0.7);
  text-decoration: none;
}

.altphoto-footer__logo em { font-style: italic; color: var(--wp--preset--color--accent); }

.altphoto-footer__copy {
  font-size: 12px;
  color: rgba(250,249,247,0.3);
}

/* ── About page ── */
.altphoto-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 4rem;
}

.altphoto-about-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px;
}

.altphoto-about-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--wp--preset--color--secondary);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.altphoto-credential {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--wp--preset--color--muted);
  padding: 10px 0;
  border-top: 1px solid var(--wp--preset--color--border);
}

.altphoto-credential__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wp--preset--color--accent);
  margin-top: 6px;
  flex-shrink: 0;
}

/* ── Fade-up animation ── */
@keyframes altphoto-fadeup {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.altphoto-fade-up { animation: altphoto-fadeup 0.6s ease both; }
.altphoto-delay-1 { animation-delay: 0.1s; }
.altphoto-delay-2 { animation-delay: 0.22s; }
.altphoto-delay-3 { animation-delay: 0.36s; }

/* ── Scroll reveal ── */
.altphoto-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ── Responsive ── */
@media (max-width: 768px) {
  .altphoto-nav__links { display: none; }
  .altphoto-nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--wp--preset--color--background);
    border-bottom: 1px solid var(--wp--preset--color--border);
    padding: 1.5rem 2rem;
    gap: 1rem;
  }
  .altphoto-nav__toggle { display: flex; }
  .altphoto-hero__filmstrip { display: none; }
  .altphoto-about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .altphoto-workshops__grid { grid-template-columns: 1fr; }
  .altphoto-blog-grid { grid-template-columns: 1fr; }
}
