/* ============================================
   The Vintage Lincoln - Static Site Styles
   ============================================ */

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Variables */
:root {
  --gold: #a69859;
  --gold-light: #c4b477;
  --gold-dark: #8a7d47;
  --dark: #1a1a1a;
  --darker: #111111;
  --darkest: #0a0a0a;
  --text: #d4d4d4;
  --text-muted: #999;
  --white: #ffffff;
  --nav-h: 72px;
  --max-w: 1200px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Source Sans Pro', 'Segoe UI', sans-serif;
  background: var(--darker);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

h1, h2, h3, h4 {
  font-family: 'Vollkorn', Georgia, serif;
  color: var(--white);
  line-height: 1.3;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 32px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(166, 152, 89, 0.2);
  transition: transform 0.3s ease;
}

nav.hidden {
  transform: translateY(-100%);
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

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

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 8px;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--darkest);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.4) 0%,
    rgba(10, 10, 10, 0.7) 70%,
    var(--darker) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.hero-logo {
  width: 220px;
  margin: 0 auto 32px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn:hover {
  background: var(--gold);
  color: var(--darkest);
}

.btn-filled {
  background: var(--gold);
  color: var(--darkest);
}

.btn-filled:hover {
  background: var(--gold-light);
  color: var(--darkest);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.8rem;
}

/* ── Section Styles ── */
.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--dark);
}

.section-darker {
  background: var(--darker);
}

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

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.divider {
  width: 80px;
  margin: 24px auto;
  display: block;
}

.gold-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto 0;
}

/* ── Welcome / Intro Block ── */
.welcome {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
}

.welcome h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.welcome p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}

/* ── Service Cards (Homepage) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--dark);
  border: 1px solid rgba(166, 152, 89, 0.1);
  transition: transform var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(166, 152, 89, 0.3);
}

.service-card img {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--gold);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Artist Bio (Homepage) ── */
.artist {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
}

.artist-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 1px solid rgba(166, 152, 89, 0.2);
}

.artist-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.artist-info p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* ── About Page ── */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid rgba(166, 152, 89, 0.15);
}

/* ── Services Detail Page ── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid rgba(166, 152, 89, 0.15);
}

.service-detail-text h3 {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.service-detail-text p {
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ── Gift Certificate Page ── */
.gift-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.gift-intro p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.gift-highlight {
  background: var(--dark);
  border: 1px solid rgba(166, 152, 89, 0.2);
  padding: 24px 32px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gift-highlight p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.gift-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: all var(--transition);
  text-decoration: none;
  text-align: center;
}

.gift-btn:hover {
  background: var(--gold);
  color: var(--darkest);
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

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

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 2rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2001;
  transition: color var(--transition);
}

.lightbox-close:hover {
  color: var(--gold);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  padding: 16px;
  transition: color var(--transition);
  z-index: 2001;
}

.lightbox-nav:hover {
  color: var(--gold);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ── Contact Page ── */
.contact-notice {
  background: rgba(166, 152, 89, 0.1);
  border: 1px solid rgba(166, 152, 89, 0.3);
  padding: 24px 32px;
  text-align: center;
  margin-bottom: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-notice p {
  line-height: 1.7;
}

.contact-notice a {
  font-weight: 600;
  text-decoration: underline;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.contact-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--dark);
  border: 1px solid rgba(166, 152, 89, 0.1);
}

.contact-card img {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  opacity: 0.8;
  filter: invert(1);
}

.contact-card h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.contact-building {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-building img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid rgba(166, 152, 89, 0.1);
}

.contact-building-label {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 8px;
}

.contact-building-label p {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Forms ── */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark);
  border: 1px solid rgba(166, 152, 89, 0.2);
  color: var(--text);
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  transition: border-color var(--transition);
}

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

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a69859' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.form-checkbox label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: 0;
}

/* ── Footer ── */
footer {
  background: var(--darkest);
  border-top: 1px solid rgba(166, 152, 89, 0.15);
  padding: 48px 0 24px;
  text-align: center;
}

.footer-logo {
  width: 140px;
  margin: 0 auto 24px;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color var(--transition);
}

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

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-social a {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: color var(--transition);
}

.footer-social a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Page Header (non-homepage) ── */
.page-header {
  padding: calc(var(--nav-h) + 48px) 0 48px;
  text-align: center;
  background: var(--darkest);
  border-bottom: 1px solid rgba(166, 152, 89, 0.1);
}

.page-header h1 {
  font-size: 2.4rem;
  letter-spacing: 1px;
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .service-detail:nth-child(even) {
    direction: ltr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-mobile-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.97);
    padding: 20px 32px;
    gap: 16px;
    border-bottom: 1px solid rgba(166, 152, 89, 0.2);
  }
  .nav-links.open {
    display: flex;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-logo {
    width: 160px;
  }
  .artist {
    grid-template-columns: 1fr;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gift-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 48px 0;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
  .page-header h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
  nav {
    padding: 0 16px;
  }
  .container {
    padding: 0 16px;
  }
}
