/* =============================================
   ArtOnSundays – style.css
   Aesthetic: editorial / refined museum tone
   Palette: warm off-white, forest green, ink
   ============================================= */

:root {
  --green:      #3a5c42;
  --green-dark: #2b4531;
  --green-light:#e8efe9;
  --ink:        #1c1c1c;
  --warm-white: #f7f4ef;
  --muted:      #6b6560;
  --accent:     #c9a96e;  /* warm gold */
  --border:     #d6cfc5;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-w: 1140px;
  --section-gap: 7rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--warm-white);
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ---- UTILITIES ---- */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 2rem;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.8rem 2rem;
  border-radius: 2px;
  transition: background 0.2s;
}
.btn:hover { background: var(--green-dark); }

/* ---- HEADER ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.logo img {
  height: 38px;
  width: auto;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.main-nav {
  display: flex;
  gap: 2.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
}
.main-nav a { transition: color 0.2s; }
.main-nav a:hover { color: var(--green); }

/* ---- HERO ---- */

.hero {
  padding-top: 5rem;
  padding-bottom: var(--section-gap);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--green);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 42ch;
  margin-bottom: 1.8rem;
  line-height: 1.65;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.2rem;
}
.tags span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 2px;
  padding: 0.3rem 0.75rem;
}

.hero-image {
  position: relative;
}
.hero-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
}
.hero-image-accent {
  position: absolute;
  inset: -1rem -1rem 1rem 1rem;
  border: 2px solid var(--accent);
  border-radius: 4px;
  z-index: -1;
}

/* ---- OVER ---- */

.section-over {
  padding-block: var(--section-gap);
  background: #fff;
  border-top: 1px solid var(--border);
}

.over-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}

.over-text p {
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-size: 1rem;
}
.over-text p strong { color: var(--ink); font-weight: 500; }
.over-text p em    { font-style: italic; }

.over-quote {
  position: sticky;
  top: 6rem;
}
blockquote {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  color: var(--green-dark);
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
}

/* ---- GALLERY ---- */

.section-gallery {
  padding-block: var(--section-gap);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.02); }

.gallery-item { overflow: hidden; border-radius: 3px; }
.gallery-item--tall { height: 420px; }
.gallery-item--center { height: 340px; }

/* ---- CONTACT ---- */

.section-contact {
  padding-block: var(--section-gap);
  background: var(--green);
  color: #fff;
}

.contact-inner { max-width: 640px; }

.section-contact .section-label { color: var(--accent); }

.contact-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contact-sub {
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.05rem;
  color: #fff;
  transition: opacity 0.2s;
}
.contact-link:hover { opacity: 0.75; }
.contact-link svg { flex-shrink: 0; opacity: 0.7; }

.contact-name {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  margin-top: 1.5rem;
}

/* ---- FOOTER ---- */

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
  font-size: 0.82rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.footer-logo img {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.4);
}
.footer-logo span {
  font-family: var(--font-display);
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
}

/* ---- RESPONSIVE ---- */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-image { order: -1; }
  .hero-image img { height: 340px; }

  .over-grid {
    grid-template-columns: 1fr;
  }
  .over-quote { position: static; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item--center { display: none; }
}

@media (max-width: 600px) {
  :root { --section-gap: 4rem; }

  .main-nav { gap: 1.5rem; font-size: 0.8rem; }
  .logo-text { display: none; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--tall { height: 280px; }
  .gallery-item--center { display: block; height: 280px; }

  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}
