/* Betty's — Premium Lifestyle Boutique
   Design system: warm, editorial, timeless */

:root {
  /* Colors */
  --color-cream: #faf8f5;
  --color-cream-dark: #f0ebe3;
  --color-charcoal: #2c2c2c;
  --color-charcoal-light: #4a4a4a;
  --color-terracotta: #c47b5b;
  --color-terracotta-dark: #a86548;
  --color-sage: #8b9a7d;
  --color-sage-light: #a8b59a;
  --color-sand: #e8e2d9;
  --color-text: #2c2c2c;
  --color-text-muted: #6b6b6b;
  --color-white: #ffffff;

  /* Typography - system fallbacks for instant render */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --header-height: 72px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.35s;
  --duration-slow: 0.6s;
}

/* Reset & Base */
*, *::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.6;
  color: var(--color-text);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

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

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-charcoal);
  color: var(--color-white);
  font-weight: 500;
  z-index: 10000;
  transition: top var(--duration-fast);
}
.skip-link:focus {
  top: var(--space-md);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

@media (min-width: 768px) {
  .container { padding: 0 var(--space-lg); }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--duration-normal), border-color var(--duration-normal), box-shadow var(--duration-normal);
}

.header.scrolled {
  border-color: rgba(44, 44, 44, 0.08);
  box-shadow: 0 2px 20px rgba(44, 44, 44, 0.04);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-charcoal);
}

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

.nav-list {
  display: none;
  list-style: none;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .nav-list {
    display: flex;
  }
}

.nav-list a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-charcoal-light);
}
.nav-list a:hover {
  color: var(--color-terracotta);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}
@media (min-width: 768px) {
  .nav-toggle { display: none; }
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-charcoal);
  transition: transform var(--duration-normal), opacity var(--duration-normal);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.nav.open .nav-list {
  display: flex;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: auto;
  flex-direction: column;
  padding: var(--space-lg);
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-sand);
  gap: var(--space-md);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44, 44, 44, 0.4) 0%, rgba(44, 44, 44, 0.1) 50%, rgba(250, 248, 245, 0.3) 100%);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  max-width: 700px;
}

.hero-label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-white);
  opacity: 0.9;
  margin-bottom: var(--space-md);
  animation: fadeUp 0.8s var(--ease-out) both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  animation: fadeUp 0.8s var(--ease-out) 0.1s both;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
  animation: fadeUp 0.8s var(--ease-out) 0.2s both;
}

.hero .btn {
  animation: fadeUp 0.8s var(--ease-out) 0.3s both;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeUp 0.8s var(--ease-out) 0.5s both;
}

.scroll-indicator {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--duration-normal) var(--ease-out);
}

.btn-primary {
  background: var(--color-terracotta);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 123, 91, 0.35);
}

.btn-outline {
  border: 2px solid var(--color-charcoal);
  color: var(--color-charcoal);
}
.btn-outline:hover {
  background: var(--color-charcoal);
  color: var(--color-white);
}

/* Trust bar */
.trust-bar {
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: var(--space-md) 0;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md) var(--space-xl);
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-icon {
  color: var(--color-sage-light);
  font-weight: 700;
}

/* Section common */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: var(--space-sm);
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Collection */
.collection {
  padding: var(--space-2xl) 0;
}

.collection-grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .collection-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.collection-card {
  background: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(44, 44, 44, 0.06);
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.collection-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(44, 44, 44, 0.12);
}

.card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

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

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

.card-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.card-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.card-link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-terracotta);
}
.card-link:hover {
  color: var(--color-terracotta-dark);
}

/* About */
.about {
  padding: var(--space-2xl) 0;
  background: var(--color-cream-dark);
}

.about-grid {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

.about-content .section-label {
  margin-bottom: var(--space-sm);
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.about-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-terracotta);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

.about-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(44, 44, 44, 0.1);
}

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

/* Testimonials */
.testimonials {
  padding: var(--space-2xl) 0;
}

.testimonials-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(44, 44, 44, 0.06);
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--color-terracotta);
}

.testimonial-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
  flex: 1;
}

.testimonial-card footer {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-charcoal);
  display: block;
}

/* Newsletter */
.newsletter {
  padding: var(--space-2xl) 0;
  background: var(--color-charcoal);
  color: var(--color-white);
}

.newsletter-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.newsletter p {
  opacity: 0.9;
  margin-bottom: var(--space-lg);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

@media (min-width: 480px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  border-radius: 0;
  transition: border-color var(--duration-fast);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-terracotta);
}

.newsletter-note {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: var(--space-md);
}

.newsletter-note a {
  color: var(--color-sage-light);
  text-decoration: underline;
}

/* Contact */
.contact {
  padding: var(--space-2xl) 0;
}

.contact-grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.contact-info p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.contact-info address {
  font-style: normal;
}

.contact-info address p {
  margin-bottom: var(--space-sm);
}

.contact-info a {
  color: var(--color-terracotta);
}
.contact-info a:hover {
  color: var(--color-terracotta-dark);
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--color-sand);
  background: var(--color-white);
  transition: border-color var(--duration-fast);
}

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

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

/* Footer */
.footer {
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.logo-footer {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: var(--space-xs);
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: var(--space-xs);
}

.footer-nav a {
  font-size: 0.9rem;
  opacity: 0.9;
}
.footer-nav a:hover {
  opacity: 1;
  color: var(--color-sage-light);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: var(--space-md) var(--space-lg);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--duration-normal) var(--ease-out);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.cookie-content p {
  flex: 1;
  min-width: 250px;
  font-size: 0.9rem;
  opacity: 0.95;
}

.cookie-content a {
  color: var(--color-sage-light);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: var(--space-sm);
}

.cookie-banner .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
}
.cookie-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
}

/* Legal pages */
.legal-page {
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: var(--space-2xl);
  min-height: 100vh;
}

.legal-page .container {
  max-width: 720px;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: var(--space-lg) 0 var(--space-sm);
}

.legal-page p, .legal-page li {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.legal-page ul {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal-page a {
  color: var(--color-terracotta);
}
.legal-page a:hover {
  color: var(--color-terracotta-dark);
}

