/* ========================================
   Waltura — Curated Wall Art Prints
   ======================================== */

/* --- Custom Properties --- */
:root {
  --color-navy: #1B4F72;
  --color-charcoal: #2C3E50;
  --color-slate: #5D6D7E;
  --color-mid-grey: #AEB6BF;
  --color-light-grey: #D5D8DC;
  --color-off-white: #F2F3F4;
  --color-white: #FFFFFF;

  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1200px;
  --header-height: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-charcoal);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.anim-fade-up {
  animation: fadeInUp 0.8s ease both;
}

.anim-delay-1 { animation-delay: 0.2s; }
.anim-delay-2 { animation-delay: 0.4s; }
.anim-delay-3 { animation-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  .anim-fade-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ========================================
   Header
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-light-grey);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
}

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

.logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.wordmark {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.125rem;
  letter-spacing: 0.3em;
  color: var(--color-charcoal);
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-slate);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--color-charcoal);
}

.main-nav a:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 4px;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(27, 79, 114, 0.3) 0%,
    rgba(44, 62, 80, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--color-white);
}

.hero-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  object-fit: contain;
}

.hero-title {
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: 0.3em;
  margin-bottom: 0.75rem;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.hero-sub {
  font-weight: 300;
  font-size: 0.9375rem;
  opacity: 0.75;
  margin-bottom: 2.5rem;
}

.hero-scroll {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 0.75rem 2rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hero-scroll:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-scroll:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 4px;
}

/* ========================================
   Sections (shared)
   ======================================== */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-charcoal);
}

.section-header p {
  font-size: 1rem;
  color: var(--color-slate);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   Collection / Art Grid
   ======================================== */
.collection {
  background-color: var(--color-white);
}

.art-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.art-card {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.art-card:hover {
  transform: translateY(-4px);
}

.art-frame {
  background: var(--color-white);
  padding: 1rem;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
}

.art-card:hover .art-frame {
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.08);
}

.art-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.art-card h3 {
  font-weight: 400;
  font-size: 1.125rem;
  margin-top: 1rem;
  color: var(--color-charcoal);
}

.art-price {
  display: block;
  font-size: 0.875rem;
  color: var(--color-slate);
  margin-top: 0.25rem;
}

/* ========================================
   About
   ======================================== */
.about {
  background-color: var(--color-off-white);
}

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

.about-text h2 {
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--color-slate);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-image .art-frame {
  max-width: 480px;
  margin: 0 auto;
}

/* ========================================
   Shop CTA
   ======================================== */
.shop-cta {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  text-align: center;
}

.shop-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.shop-cta h2 {
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.shop-cta p {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 4px;
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-charcoal);
}

.btn-white:hover {
  background-color: var(--color-off-white);
  transform: translateY(-1px);
}

.shop-note {
  font-size: 0.8125rem;
  opacity: 0.5;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background-color: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-logo .wordmark {
  color: var(--color-white);
  font-size: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  opacity: 0.7;
}

.footer-contact h3,
.footer-links h3 {
  font-weight: 400;
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.footer-contact a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--color-white);
}

.footer-contact a:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

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

.footer-links a:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  opacity: 0.5;
}

.etsy-disclaimer {
  margin-top: 0.75rem;
  font-size: 0.6875rem;
  opacity: 0.35;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ========================================
   Tablet — 600px
   ======================================== */
@media (min-width: 600px) {
  .art-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   Tablet — 768px
   ======================================== */
@media (min-width: 768px) {
  .main-nav {
    display: block;
  }

  .hero-logo {
    width: 80px;
    height: 80px;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ========================================
   Desktop — 1024px
   ======================================== */
@media (min-width: 1024px) {
  .section {
    padding: 6rem 0;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }

  .art-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-text h2 {
    font-size: 2.5rem;
  }

  .shop-cta h2 {
    font-size: 2.5rem;
  }
}
