/* ============================================
   Earths Art — Styles
   Palette: Plum (#6B1D5E) + Amber (#C8840A)
   Fonts: Playfair Display + Inter
   ============================================ */

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

:root {
  --plum: #6B1D5E;
  --plum-dark: #4E1446;
  --plum-light: #8B2E7A;
  --amber: #C8840A;
  --amber-light: #E0A832;
  --amber-dark: #A06A08;
  --neutral-900: #1A1A1A;
  --neutral-700: #333333;
  --neutral-500: #666666;
  --neutral-300: #AAAAAA;
  --neutral-100: #F2F2F2;
  --neutral-50: #F9F8F7;
  --white: #FFFFFF;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--neutral-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* SKIP LINK */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--plum);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 16px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--neutral-900);
}
.logo-text {
  letter-spacing: -0.02em;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.main-nav a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-700);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover {
  color: var(--plum);
  background: rgba(107,29,94,0.06);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--neutral-700);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--plum);
  color: var(--white);
  border-color: var(--plum);
}
.btn-primary:hover {
  background: var(--plum-dark);
  border-color: var(--plum-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107,29,94,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--neutral-700);
  border-color: var(--neutral-300);
}
.btn-outline:hover {
  border-color: var(--plum);
  color: var(--plum);
  transform: translateY(-2px);
}
.btn-full {
  width: 100%;
}
.btn-nav {
  background: var(--plum);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
}
.btn-nav:hover {
  background: var(--plum-dark) !important;
  color: var(--white) !important;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--neutral-50) 0%, var(--white) 50%, rgba(200,132,10,0.04) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--neutral-900);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.text-amber { color: var(--amber); }
.text-plum { color: var(--plum); }
.hero-desc {
  font-size: 1.1rem;
  color: var(--neutral-500);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--neutral-500);
}
.trust-item svg {
  color: var(--amber);
  flex-shrink: 0;
}

/* Hero Image */
.hero-image {
  position: relative;
}
.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--amber);
  border-radius: var(--radius-md);
  opacity: 0.2;
  z-index: -1;
}
.hero-stat-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--plum);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--neutral-500);
  line-height: 1.4;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--neutral-900);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 100px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-images {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-pattern {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, var(--plum) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.15;
  z-index: -1;
}
.about-content p {
  color: var(--neutral-500);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}
.about-signature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--plum);
  font-size: 1rem;
}

/* ============================================
   COLLECTIONS
   ============================================ */
.collections {
  padding: 100px 0;
  background: var(--neutral-50);
}
.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.collection-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.collection-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5/4;
}
.collection-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.collection-card:hover .collection-img img {
  transform: scale(1.05);
}
.collection-overlay {
  position: absolute;
  inset: 0;
  background: rgba(107,29,94,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.collection-card:hover .collection-overlay {
  opacity: 1;
}
.collection-link {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border: 2px solid var(--white);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.collection-card:hover .collection-link {
  background: var(--white);
  color: var(--plum);
}
.collection-info {
  padding: 20px 24px 24px;
}
.collection-info h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 8px;
}
.collection-info p {
  font-size: 0.9rem;
  color: var(--neutral-500);
  line-height: 1.6;
}

/* ============================================
   WHY US
   ============================================ */
.why-us {
  padding: 100px 0;
  background: var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--neutral-100);
}
.why-item:first-child {
  padding-top: 0;
}
.why-item:last-child {
  border-bottom: none;
}
.why-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107,29,94,0.08);
  border-radius: var(--radius-sm);
  color: var(--plum);
}
.why-item h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 6px;
}
.why-item p {
  font-size: 0.9rem;
  color: var(--neutral-500);
  line-height: 1.7;
}
.why-visual {
  position: relative;
}
.why-img-stack {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-img-stack img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-img-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.why-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   VISIT
   ============================================ */
.visit {
  padding: 100px 0;
  background: var(--neutral-50);
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.visit-detail {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--neutral-100);
}
.visit-detail:first-child {
  padding-top: 0;
}
.visit-detail:last-child {
  border-bottom: none;
}
.visit-detail svg {
  flex-shrink: 0;
  color: var(--plum);
  margin-top: 2px;
}
.visit-detail strong {
  display: block;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 4px;
}
.visit-detail p {
  font-size: 0.9rem;
  color: var(--neutral-500);
  line-height: 1.6;
}
.visit-detail a {
  color: var(--plum);
  transition: color var(--transition);
}
.visit-detail a:hover {
  color: var(--amber);
}
.map-embed {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.visit-cta {
  position: sticky;
  top: 100px;
}
.cta-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.cta-icon {
  margin-bottom: 16px;
}
.cta-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 24px;
}
.hours-list {
  list-style: none;
  margin-bottom: 16px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--neutral-100);
  font-size: 0.9rem;
}
.hours-list li:last-child {
  border-bottom: none;
}
.hours-list .day {
  color: var(--neutral-700);
  font-weight: 500;
}
.hours-list .time {
  color: var(--neutral-500);
}
.hours-note {
  font-size: 0.8rem;
  color: var(--neutral-300);
  margin-bottom: 24px;
  font-style: italic;
}
.cta-card .btn {
  margin-bottom: 12px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--white);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-text p {
  color: var(--neutral-500);
  font-size: 1rem;
  line-height: 1.75;
}
.contact-form {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--neutral-900);
  background: var(--white);
  border: 1.5px solid var(--neutral-100);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(107,29,94,0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.btn-submit {
  margin-top: 8px;
}
.form-note {
  font-size: 0.8rem;
  color: var(--neutral-300);
  margin-top: 12px;
  text-align: center;
}
.form-note a {
  color: var(--plum);
}
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: rgba(107,29,94,0.08);
  border-radius: var(--radius-sm);
  color: var(--plum);
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: 16px;
}
.form-success.show {
  display: flex;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--neutral-900);
  color: var(--neutral-300);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--neutral-300);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--amber);
}
.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  line-height: 1.6;
}
.footer-contact a {
  color: var(--neutral-300);
  transition: color var(--transition);
}
.footer-contact a:hover {
  color: var(--amber);
}
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--neutral-500);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--plum);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 50;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--plum-dark);
  transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   MOBILE NAV
   ============================================ */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--neutral-100);
    padding: 16px 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }
  .main-nav a {
    display: block;
    padding: 12px 16px;
    width: 100%;
  }
  .btn-nav {
    text-align: center;
    margin-top: 8px;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .why-grid,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-image {
    order: -1;
  }
  .hero-img-wrapper {
    aspect-ratio: 4/3;
  }
  .hero-stat-card {
    bottom: -16px;
    left: 16px;
  }
  .collections-grid {
    grid-template-columns: 1fr;
  }
  .visit-grid {
    grid-template-columns: 1fr;
  }
  .visit-cta {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-img-secondary {
    right: 16px;
    bottom: -16px;
  }
  .why-img-float {
    right: 16px;
    bottom: -16px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-trust {
    flex-direction: column;
    gap: 12px;
  }
  .contact-form {
    padding: 24px;
  }
  .cta-card {
    padding: 24px;
  }
}
