/* Tsuki Landing Page - Custom CSS */

/* Typography */
:root {
  --color-cream: #f5f1ed;
  --color-beige: #e8dfd6;
  --color-dustrose: #b8989f;
  --color-charcoal: #2c2c2c;
  --color-white: #ffffff;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lora:wght@400;500&family=Inter:wght@300;400;500;600&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', serif;
  background-color: var(--color-cream);
  color: var(--color-charcoal);
  line-height: 1.6;
}

/* Typography Classes */
.font-playfair {
  font-family: 'Playfair Display', serif;
}

.font-lora {
  font-family: 'Lora', serif;
}

.font-inter {
  font-family: 'Inter', sans-serif;
}

/* Colors */
.bg-cream {
  background-color: var(--color-cream);
}

.bg-beige {
  background-color: var(--color-beige);
}

.bg-dustrose {
  background-color: var(--color-dustrose);
}

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

.text-charcoal {
  color: var(--color-charcoal);
}

.text-dustrose {
  color: var(--color-dustrose);
}

/* Moon Icon */
.moon-icon {
  font-size: 1.2em;
  margin-right: 0.3em;
  display: inline-block;
}

/* Hero Section */
.hero-image {
  filter: sepia(0.1) saturate(0.85) brightness(1.05);
}

.hero-title {
  animation: fadeInDown 0.8s ease-out;
  line-height: 1.1;
}

.hero-subtitle {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Gallery Items */
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  animation: fadeInUp 0.6s ease-out backwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

.gallery-item img {
  filter: sepia(0.08) saturate(0.9) brightness(1.02);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Artisan Section */
.artisan-image {
  filter: sepia(0.08) saturate(0.9) brightness(1.02);
}

/* Buttons */
a[href*="creations"],
a[href*="mailto"],
button {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Links Styling */
a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Contact Cards */
.contact-card {
  background: var(--color-white);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  h2 {
    font-size: 2rem;
  }
}

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

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

/* Header Styles */
header {
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Smooth transitions */
button,
a {
  transition: all 0.3s ease;
}

/* No horizontal scroll on mobile */
@media (max-width: 375px) {
  body, html {
    overflow-x: hidden;
  }

  .hero-title {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  p {
    font-size: 0.95rem;
  }
}

/* Print styles (no background colors) */
@media print {
  header, footer {
    display: none;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states for keyboard navigation */
button:focus,
a:focus {
  outline: 2px solid var(--color-dustrose);
  outline-offset: 2px;
}

/* Loading state for images */
img {
  background-color: var(--color-beige);
  animation: imageFade 0.5s ease-out;
}

@keyframes imageFade {
  from {
    opacity: 0.8;
  }
  to {
    opacity: 1;
  }
}
