/* ============================================
   Mooreoki — Fine Art & Retail Website
   Classic & Elegant Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Teal Palette */
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --teal-950: #042f2e;

  /* Slate Palette */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate-800);
  background-color: var(--slate-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--teal-800);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  z-index: 9999;
  font-weight: 500;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--slate-900);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1rem; font-family: var(--font-sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-600); }

p {
  color: var(--slate-600);
  line-height: 1.7;
}

/* --- Section Label --- */
.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal-700);
  margin-bottom: var(--space-md);
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-description,
.visit-description,
.contact-description {
  font-size: 1.125rem;
  max-width: 640px;
  color: var(--slate-500);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--teal-800);
  color: #fff;
  border: 1.5px solid var(--teal-800);
}

.btn-primary:hover {
  background-color: var(--teal-900);
  border-color: var(--teal-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--teal-800);
  border: 1.5px solid var(--teal-800);
}

.btn-secondary:hover {
  background-color: var(--teal-50);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--slate-900);
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}

.logo:hover {
  color: var(--teal-700);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  letter-spacing: 0.02em;
  position: relative;
  transition: color var(--transition-fast);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--teal-600);
  transition: width var(--transition-base);
}

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

.main-nav a:hover::after {
  width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(20, 184, 166, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(13, 148, 136, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 70% 40% at 50% 80%, rgba(4, 47, 46, 0.8) 0%, transparent 60%),
    linear-gradient(160deg, #042f2e 0%, #134e4a 30%, #0f766e 55%, #115e59 80%, #042f2e 100%);
  z-index: 1;
}

/* Decorative floating shapes */
.hero-gradient::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero-gradient::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 15%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-4xl) var(--space-lg);
  max-width: 800px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: var(--space-xl);
}

.hero-headline em {
  font-style: italic;
  color: var(--teal-200);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--teal-100);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  background-color: #fff;
  color: var(--teal-900);
  border-color: #fff;
}

.hero-actions .btn-primary:hover {
  background-color: var(--teal-50);
  border-color: var(--teal-50);
  color: var(--teal-950);
}

.hero-actions .btn-secondary {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

.hero-actions .btn-secondary:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--teal-200);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--teal-300), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* --- Collection Section --- */
.collection {
  padding: var(--space-5xl) 0;
  background: var(--slate-50);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-header .section-description {
  margin: 0 auto;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.collection-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
  transition: all var(--transition-base);
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.collection-card:first-child {
  grid-row: span 2;
}

.collection-card:first-child .card-image {
  height: 100%;
  min-height: 400px;
}

.card-image {
  overflow: hidden;
  height: 280px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.collection-card:hover .card-image img {
  transform: scale(1.04);
}

.card-content {
  padding: var(--space-xl);
}

.card-content h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  margin-bottom: var(--space-sm);
  color: var(--slate-900);
}

.card-content p {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* --- About Section --- */
.about {
  padding: var(--space-5xl) 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-content .section-title {
  margin-bottom: var(--space-xl);
}

.about-content p {
  margin-bottom: var(--space-lg);
  font-size: 1.0625rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--slate-200);
}

.value-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.value-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--teal-400);
  font-weight: 400;
  line-height: 1;
}

.value-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-700);
}

/* --- Visit Section --- */
.visit {
  padding: var(--space-5xl) 0;
  background: var(--slate-50);
}

.visit-content {
  text-align: center;
  margin-bottom: var(--space-4xl);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.visit-content .section-description {
  margin: 0 auto;
}

.visit-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.visit-card {
  background: #fff;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.visit-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-50);
  border-radius: var(--radius-full);
  color: var(--teal-700);
}

.visit-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--slate-900);
}

.visit-card p,
.visit-card address {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.8;
}

.visit-card a {
  color: var(--teal-700);
  transition: color var(--transition-fast);
}

.visit-card a:hover {
  color: var(--teal-500);
  text-decoration: underline;
}

/* --- Map Section --- */
.map-section {
  padding: 0;
  background: var(--slate-100);
}

.map-wrapper {
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
  filter: saturate(0.7) contrast(1.05);
}

/* --- Contact Section --- */
.contact {
  padding: var(--space-5xl) 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: var(--space-lg);
}

.contact-info .contact-description {
  margin-bottom: var(--space-2xl);
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-400);
}

.contact-item a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--teal-700);
  transition: color var(--transition-fast);
}

.contact-item a:hover {
  color: var(--teal-500);
}

/* --- Contact Form --- */
.contact-form-wrapper {
  background: var(--slate-50);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--slate-800);
  background: #fff;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

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

.form-success {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-md);
  color: var(--teal-800);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* --- Footer --- */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--slate-800);
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: var(--space-md);
  display: inline-block;
}

.footer-brand p {
  color: var(--slate-400);
  font-size: 0.9375rem;
  max-width: 280px;
}

.footer-nav h4,
.footer-contact h4 {
  color: var(--slate-200);
  margin-bottom: var(--space-lg);
  font-size: 0.75rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-nav a {
  color: var(--slate-400);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--teal-300);
}

.footer-contact p {
  font-size: 0.9375rem;
  color: var(--slate-400);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.footer-contact a {
  color: var(--teal-300);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: var(--space-xl);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--slate-500);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-hidden {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .collection-grid {
    grid-template-columns: 1fr;
  }
  
  .collection-card:first-child {
    grid-row: span 1;
  }
  
  .collection-card:first-child .card-image {
    height: 280px;
    min-height: auto;
  }
  
  .about-grid {
    gap: var(--space-2xl);
  }
  
  .visit-details {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(248, 250, 252, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }
  
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: var(--space-xl);
  }
  
  .main-nav a {
    font-size: 1.25rem;
  }
  
  .hero-headline {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .about-image img {
    height: 300px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand p {
    max-width: 100%;
  }
  
  .footer-bottom p {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .collection {
    padding: var(--space-3xl) 0;
  }
  
  .about,
  .visit,
  .contact {
    padding: var(--space-3xl) 0;
  }
  
  .visit-card {
    padding: var(--space-xl);
  }
  
  .contact-form-wrapper {
    padding: var(--space-lg);
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
  
  .reveal-hidden {
    opacity: 1;
    transform: none;
  }
}
