/* ==========================================================================
   Kar-Lijn: Design System & Core Stylesheet (Matched to Mock-up)
   ========================================================================== */

:root {
  /* Colors */
  --bg-primary: #fbf9f6;
  --bg-secondary: #f3efe6;
  --bg-white: #ffffff;
  --text-main: #1a1a1a;
  --text-muted: #4a4a4a;
  --accent-color: #df8080;
  --accent-hover: #c96b6b;
  --footer-bg: #2b3036;
  
  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  
  /* Layout & Spacing */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Header */
.header {
  background-color: var(--bg-primary);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition);
}

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

.header-socials {
  display: flex;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.logo-footer {
  color: var(--bg-white);
  text-align: center;
  font-size: 1.5rem;
}

/* Typography elements */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--text-main);
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-main);
  font-size: 0.95rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  color: var(--bg-white);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(to right, #eedbd0 0%, var(--bg-secondary) 40%, var(--bg-primary) 100%);
  padding: 4rem 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 500px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 400px 400px 0 0;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

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

/* About / Trinkets Section */
.about {
  background-color: var(--bg-primary);
}

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

.rounded-image {
  border-radius: var(--radius-sm);
  width: 100%;
}

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

/* Collections Section */
.bg-warm {
  background-color: var(--bg-secondary);
}

.grid-3, .collections-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.carousel-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(123, 76, 76, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background-color: #7b4c4c;
  transform: scale(1.25);
}

.collection-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.card-main-img {
  height: 250px;
  overflow: hidden;
  padding: 1.5rem;
  padding-bottom: 0;
}

.card-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-info h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-thumbs {
  display: flex;
  gap: 0.5rem;
}

.card-thumbs img {
  width: calc(50% - 0.25rem);
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.specs-text {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Benefits Section */
.benefits {
  background-color: var(--bg-primary);
}

.benefit-item {
  text-align: center;
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  color: #7b4c4c;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-item h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.benefit-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background-color: var(--footer-bg);
  padding: 3rem 0;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease;
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-image-wrapper {
    display: none; /* Hide on mobile as requested */
  }
  
  .main-nav {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-image {
    order: -1;
  }
  
  .collections-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem;
    padding: 0.5rem 1.5rem 1.5rem 1.5rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    scrollbar-width: none;
  }

  .collections-carousel::-webkit-scrollbar {
    display: none;
  }

  .collections-carousel .collection-card {
    flex: 0 0 85%;
    max-width: 85%;
    scroll-snap-align: center;
  }

  .carousel-dots {
    display: flex;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .section {
    padding: 3.5rem 0;
  }
}
