/* Aidan Hopkins Hotel Photography — shared styles */

:root {
  --ink: #1b1b1b;
  --paper: #ffffff;
  --stone: #f5f4f2;
  --line: #e4e2de;
  --muted: #6b6864;
  --accent: #9c7c50;
  --maxw: 1120px;
  --font-body: 'Inter', "Helvetica Neue", Arial, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* Header / nav */
header.site {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  z-index: 50;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.logo {
  font-size: clamp(13px, 2vw, 17px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

.logo span { color: var(--accent); }

nav.primary ul {
  display: flex;
  gap: 36px;
  list-style: none;
}

nav.primary a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

nav.primary a:hover,
nav.primary a.active {
  color: var(--ink);
  border-color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 90px 0 70px;
  text-align: left;
}

.hero .eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  max-width: 820px;
  margin-bottom: 22px;
}

.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 34px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid var(--ink);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.btn:hover { background: var(--ink); color: var(--paper); }

.btn.primary {
  background: var(--ink);
  color: var(--paper);
}

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

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* Placeholder image blocks */
.placeholder {
  background: var(--stone);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.placeholder img { width: 100%; height: 100%; object-fit: cover; }

.hero-image {
  margin-top: 40px;
  aspect-ratio: 16 / 7;
  width: 100%;
}

/* Section basics */
section { padding: 80px 0; }
section.alt { background: var(--stone); }

.section-head { max-width: 640px; margin-bottom: 48px; }

.section-head .eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 500;
  line-height: 1.2;
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}

/* Services grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}

.service-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
}

/* Portfolio gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery .placeholder {
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery .placeholder.tall { aspect-ratio: 4 / 5; }
.gallery .placeholder.wide { aspect-ratio: 8 / 5; grid-column: span 2; }

.filter-row {
  display: flex;
  gap: 12px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.04em;
  background: none;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--ink);
  color: var(--ink);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-photo { aspect-ratio: 4/5; }

.stats-row {
  display: flex;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat h3 {
  font-size: 32px;
  font-weight: 600;
  color: var(--accent);
}

.stat p {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* Pricing / packages */
.pricing-card {
  border: 1px solid var(--line);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card.featured {
  border-color: var(--ink);
  background: var(--stone);
}

.pricing-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.pricing-card .price { font-size: 28px; font-weight: 600; margin: 14px 0; }
.pricing-card .price span { font-size: 13px; color: var(--muted); font-weight: 400; }

.pricing-card ul {
  list-style: none;
  margin: 18px 0 26px;
  flex-grow: 1;
}

.pricing-card li {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.pricing-card li:first-child { border-top: none; }

/* Testimonials */
.testimonial {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
}

.testimonial p.quote {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 14px;
}

.testimonial p.by {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info dl {
  margin-top: 24px;
}

.contact-info dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 20px;
}

.contact-info dd {
  font-size: 17px;
  margin-top: 4px;
}

form.contact-form label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 22px;
}

form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--ink);
}

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

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.form-success {
  display: none;
  padding: 16px 18px;
  background: var(--stone);
  border: 1px solid var(--line);
  font-size: 14px;
  margin-top: 18px;
}

/* CTA band */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 70px 0;
}

.cta-band h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 500; margin-bottom: 22px; }
.cta-band .btn { border-color: var(--paper); color: var(--paper); }
.cta-band .btn:hover { background: var(--paper); color: var(--ink); }

/* Footer */
footer.site {
  border-top: 1px solid var(--line);
  padding: 46px 0;
}

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

.footer-row p { font-size: 13px; color: var(--muted); }

.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 860px) {
  .grid-3, .grid-2, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  nav.primary { display: none; }
  .nav-toggle { display: block; }
  nav.primary.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 20px 32px;
  }
  nav.primary.open ul { flex-direction: column; gap: 18px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .placeholder.wide { grid-column: span 2; }
  .form-row-2 { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .wrap { padding: 0 20px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .placeholder.wide { grid-column: span 1; }
}

/* ============================================================
   Elevated design: typography, motion, and interactive elements
   ============================================================ */

.hero h1, .section-head h2, .cta-band h2, .logo, .pricing-card .price {
  font-family: var(--font-display);
}

.logo {
  text-transform: none;
  font-weight: 500;
}

.logo span {
  font-style: italic;
  color: var(--accent);
}

/* Animated nav underline */
nav.primary a {
  position: relative;
  border-bottom: none;
  padding-bottom: 6px;
}

nav.primary a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

nav.primary a:hover::after,
nav.primary a.active::after {
  transform: scaleX(1);
}

/* Button lift on hover */
.btn {
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(27,27,27,0.14);
}

.cta-band .btn:hover {
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}

/* Scroll-reveal (only hides content once JS confirms it can reveal it again) */
.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Placeholder shimmer + gallery hover */
.placeholder {
  position: relative;
  isolation: isolate;
}

.placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.6) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 3.4s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

/* Real photos: no shimmer, no placeholder label needed */
.placeholder.has-image::before {
  display: none;
}

.placeholder.has-image {
  color: transparent;
  font-size: 0;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

.gallery .placeholder {
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery .placeholder:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
  z-index: 2;
}

/* Hero decorative accents */
.hero { position: relative; overflow: hidden; }

.hero .wrap { position: relative; z-index: 1; }

.hero-blob {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.09;
  filter: blur(46px);
  pointer-events: none;
  z-index: 0;
}

.hero-blob.one { width: 300px; height: 300px; top: -70px; right: 6%; animation: float 9s ease-in-out infinite; }
.hero-blob.two { width: 200px; height: 200px; bottom: -50px; left: 3%; animation: float 11s ease-in-out infinite reverse; }

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-14px, 18px); }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20,18,16,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 60px 40px;
}

.lightbox.open { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 760px;
  width: 100%;
}

.lightbox-content {
  aspect-ratio: 4 / 3;
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 30px;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: var(--paper);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { transform: scale(1.08); }
.lightbox-close { top: -56px; right: 0; }
.lightbox-prev { left: -56px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -56px; top: 50%; transform: translateY(-50%); }

@media (max-width: 700px) {
  .lightbox-prev { left: 0; top: auto; bottom: -56px; transform: none; }
  .lightbox-next { right: 0; top: auto; bottom: -56px; transform: none; }
  .lightbox-close { top: -46px; }
}

/* Testimonial carousel */
.carousel { position: relative; max-width: 640px; }
.carousel-track { position: relative; min-height: 140px; }

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.carousel-dots {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dots button.active {
  background: var(--accent);
  transform: scale(1.35);
}

/* Floating CTA + back-to-top */
.float-actions {
  position: fixed;
  bottom: 26px;
  right: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 90;
}

.float-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 13px 24px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  pointer-events: none;
  white-space: nowrap;
}

.float-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-cta:hover { background: var(--accent); }

.back-to-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 16px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, border-color 0.2s;
  pointer-events: none;
}

.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { border-color: var(--ink); }

/* Form focus glow */
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(156,124,80,0.15);
}

/* Stat micro-interaction */
.stat h3 { transition: transform 0.3s; }
.stat:hover h3 { transform: translateY(-3px); }

@media (max-width: 540px) {
  .float-actions { bottom: 18px; right: 18px; }
  .float-cta { padding: 11px 18px; font-size: 12px; }
}

/* ============================================================
   Blog: listing cards + article prose
   ============================================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card:not(.coming-soon):hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.1);
}

.blog-thumb {
  aspect-ratio: 16 / 10;
}

.blog-card.coming-soon .blog-thumb {
  filter: grayscale(0.4);
}

.blog-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-card p.excerpt {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.blog-link {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  align-self: flex-start;
  padding-bottom: 2px;
}

.blog-card.coming-soon {
  opacity: 0.7;
}

.badge-soon {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--stone);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--muted);
  align-self: flex-start;
}

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

/* Article prose */
.article {
  max-width: 720px;
  margin: 0 auto;
}

.article-meta {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.article .lede {
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.6;
}

.article h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 500;
  margin: 46px 0 16px;
  line-height: 1.3;
}

.article h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 30px 0 12px;
}

.article p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.75;
}

.article ul {
  margin: 0 0 22px 22px;
}

.article li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.photo-spot {
  border: 1px dashed var(--line);
  background: var(--stone);
  padding: 46px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 8px 0 36px;
}

.photo-spot strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.article-image {
  margin: 8px 0 36px;
}

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

.article-image figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}

.article-cta {
  margin: 44px 0 28px;
  text-align: center;
  padding: 40px 24px;
  background: var(--stone);
  border: 1px solid var(--line);
}

.article-cta p {
  margin-bottom: 22px;
}

.article-related {
  margin-top: 10px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.article-related a {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
}
