/* Kuyana Event Design — Digital Catalogue Styles */
/* Generated by build.js — do not edit directly */

:root {
  --primary: #1A8A7D;
  --primary-light: #E8F5F3;
  --primary-dark: #14706A;
  --bg: #F5F0EB;
  --bg-light: #FAF8F5;
  --text-dark: #2C2C2C;
  --text-medium: #5A5A5A;
  --text-light: #8A8A8A;
  --card-bg: #FFFFFF;
  --border: #E8E4DF;
  --heading-font: 'Cormorant Garamond', serif;
  --body-font: 'DM Sans', sans-serif;
}

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

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

body {
  font-family: var(--body-font);
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

/* ─── Typography ───────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--heading-font);
  font-weight: 400;
  line-height: 1.2;
}

.section-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 300;
  text-align: center;
  color: var(--text-medium);
  margin-bottom: 2.5rem;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--primary);
  margin: 0 auto 2rem;
}

/* ─── Navigation ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 240, 235, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(245, 240, 235, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-family: var(--heading-font);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-dark);
  text-transform: uppercase;
}

.nav-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--body-font);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-medium);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Hero Section ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/hero-bg.jpg') center center / cover no-repeat;
  opacity: 0.12;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-botanical {
  position: absolute;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}

.hero-botanical.top-left {
  top: -20px;
  left: -20px;
  width: 300px;
  transform: rotate(-15deg);
}

.hero-botanical.bottom-right {
  bottom: -20px;
  right: -20px;
  width: 350px;
  transform: rotate(165deg);
}

.hero-logo {
  font-family: var(--heading-font);
  font-size: 4.5rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.hero-sub {
  font-family: var(--body-font);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2rem;
}

.hero-tagline {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-medium);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.hero-services {
  font-family: var(--body-font);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.hero-cta {
  display: inline-block;
  padding: 14px 40px;
  background: var(--primary);
  color: #fff;
  font-family: var(--body-font);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-cta:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 138, 125, 0.3);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: scrollBounce 2s infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-light);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── Botanical Decorations ────────────────────────────────────── */
.botanical-accent {
  position: absolute;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* ─── Collection Section ───────────────────────────────────────── */
.collection {
  padding: 6rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 8px 20px;
  background: transparent;
  border: 1.5px solid var(--border);
  font-family: var(--body-font);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  border-color: transparent;
}

.product-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--bg-light);
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image {
  transform: scale(1.03);
}

.product-card-info {
  padding: 1.2rem 1rem;
  text-align: center;
}

.product-card-name {
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.product-card-price {
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--text-dark);
}

.product-card-price .amount {
  font-weight: 700;
}

.product-card-price .unit {
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--text-light);
}

.product-card-price .enquire {
  font-weight: 300;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--primary);
}

.product-card-enquiry-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: #fff;
  font-family: var(--body-font);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

.product-card:hover .product-card-enquiry-btn {
  opacity: 1;
  transform: translateY(0);
}

.product-card-enquiry-btn:hover {
  background: var(--primary-dark);
}

/* ─── Product Modal ────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--card-bg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2rem;
  color: var(--text-medium);
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
  background: var(--bg-light);
}

.modal-details {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-category {
  font-family: var(--body-font);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.modal-name {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.modal-price {
  font-family: var(--body-font);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.modal-price .amount {
  font-weight: 700;
  color: var(--text-dark);
}

.modal-price .unit {
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-light);
}

.modal-description,
.modal-materials,
.modal-dimensions {
  font-family: var(--body-font);
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.modal-field-label {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.modal-enquiry-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary);
  color: #fff;
  font-family: var(--body-font);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  text-align: center;
}

.modal-enquiry-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 138, 125, 0.3);
}

/* ─── Order Form Section ───────────────────────────────────────── */
.order-section {
  padding: 6rem 2rem;
  background: var(--bg-light);
  position: relative;
}

.order-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--body-font);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-date {
  width: 100%;
  padding: 12px 16px;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  font-family: var(--body-font);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color 0.3s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-date:focus {
  border-color: var(--primary);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Product selection in form */
.product-selection {
  margin: 2rem 0;
}

.product-selection-title {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.category-group {
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  background: var(--card-bg);
  overflow: hidden;
}

.category-group-header {
  padding: 12px 16px;
  background: var(--bg);
  font-family: var(--body-font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease;
  user-select: none;
}

.category-group-header:hover {
  background: var(--primary-light);
}

.category-group-header .chevron {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.category-group.collapsed .chevron {
  transform: rotate(-90deg);
}

.category-group.collapsed .category-group-items {
  display: none;
}

.category-group-items {
  padding: 0.5rem 0;
}

.product-select-item {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  gap: 12px;
  transition: background 0.2s ease;
}

.product-select-item:hover {
  background: var(--bg);
}

.product-select-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.product-select-item .product-select-thumb {
  width: 50px;
  height: 38px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.product-select-item .product-select-name {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-dark);
}

.product-select-item .product-select-price {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  flex-shrink: 0;
}

.product-select-item .qty-input {
  width: 50px;
  padding: 4px 8px;
  border: 1px solid var(--border);
  font-family: var(--body-font);
  font-size: 0.85rem;
  text-align: center;
  outline: none;
  flex-shrink: 0;
}

.product-select-item .qty-input:focus {
  border-color: var(--primary);
}

.form-submit {
  display: inline-block;
  padding: 14px 40px;
  background: var(--primary);
  color: #fff;
  font-family: var(--body-font);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 1rem;
}

.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 138, 125, 0.3);
}

.form-message {
  padding: 1rem;
  text-align: center;
  font-family: var(--body-font);
  font-size: 0.95rem;
  margin-top: 1rem;
  display: none;
}

.form-message.success {
  background: var(--primary-light);
  color: var(--primary-dark);
  display: block;
}

.form-message.error {
  background: #fef2f2;
  color: #991b1b;
  display: block;
}

/* ─── About Section ────────────────────────────────────────────── */
.about-section {
  padding: 6rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.about-text {
  font-family: var(--body-font);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-medium);
  margin-bottom: 2rem;
}

.about-address {
  font-family: var(--body-font);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.about-email {
  font-family: var(--body-font);
  font-size: 0.85rem;
  color: var(--primary);
}

/* ─── Footer ───────────────────────────────────────────────────── */
.footer {
  padding: 3rem 2rem;
  background: var(--text-dark);
  text-align: center;
}

.footer-text {
  font-family: var(--body-font);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.3rem;
}

.footer-text a {
  color: rgba(255,255,255,0.7);
}

.footer-text a:hover {
  color: #fff;
}

/* ─── Scroll Reveal Animation ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ─── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(245, 240, 235, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hamburger {
    display: flex;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .modal {
    grid-template-columns: 1fr;
    max-height: 95vh;
  }

  .modal-image {
    min-height: 250px;
    max-height: 300px;
  }

  .modal-details {
    padding: 2rem 1.5rem;
  }

  .hero-logo {
    font-size: 2.8rem;
    letter-spacing: 0.25em;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .collection {
    padding: 4rem 1rem;
  }

  .filter-bar {
    gap: 0.3rem;
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: 0.65rem;
  }
}

@media (max-width: 375px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    font-size: 2.2rem;
  }

  .nav-inner {
    padding: 0 1rem;
  }

  .product-card-info {
    padding: 0.8rem;
  }
}

/* ─── Loading state ────────────────────────────────────────────── */
.loading-skeleton {
  background: linear-gradient(90deg, var(--bg) 25%, var(--bg-light) 50%, var(--bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
