
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --walnut: #2C1810;
  --walnut-light: #4A2E1F;
  --cream: #F5F0EB;
  --cream-dark: #E8E0D6;
  --gold: #C4A35A;
  --gold-light: #D4B76A;
  --bronze: #8B6914;
  --charcoal: #1A1A1A;
  --gray: #6B6560;
  --gray-light: #A39E99;
  --white: #FFFFFF;
  --shadow: rgba(44, 24, 16, 0.08);
  --shadow-deep: rgba(44, 24, 16, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  color: var(--walnut);
}

h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }

p {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 65ch;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(245, 240, 235, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196, 163, 90, 0.15);
  transition: all 0.4s ease;
}

nav.scrolled {
  padding: 0.8rem 4%;
  box-shadow: 0 4px 30px var(--shadow);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--walnut);
  letter-spacing: 1px;
}

.logo span {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--walnut);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--gold);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--walnut);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--walnut-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--shadow-deep);
}

.btn-outline {
  background: transparent;
  color: var(--walnut);
  border: 1.5px solid var(--walnut);
}

.btn-outline:hover {
  background: var(--walnut);
  color: var(--cream);
}

.btn-gold {
  background: var(--gold);
  color: var(--walnut);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 4% 4rem;
  background: 
    linear-gradient(135deg, rgba(245,240,235,0.97) 0%, rgba(232,224,214,0.95) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c4a35a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  position: relative;
}

.hero-content {
  max-width: 900px;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  color: var(--gray);
  max-width: 55ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section styling */
section {
  padding: 6rem 4%;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 55ch;
  margin: 0 auto;
}

/* Divider */
.divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem auto;
}

/* Featured Products */
.featured {
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.product-card {
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px var(--shadow-deep);
}

.product-image {
  height: 280px;
  background: linear-gradient(135deg, var(--walnut-light), var(--walnut));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.product-icon {
  font-size: 3rem;
  color: rgba(255,255,255,0.3);
  z-index: 1;
}

.product-info {
  padding: 1.8rem;
}

.product-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.product-info p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 600;
}

/* About Preview */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-image {
  height: 500px;
  background: linear-gradient(145deg, var(--walnut), var(--walnut-light));
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.about-image::after {
  content: 'EST. 2020';
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.5rem 1rem;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.2rem;
}

/* Stats */
.stats {
  background: var(--walnut);
  color: var(--cream);
  padding: 4rem 4%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--gold);
  font-weight: 600;
}

.stat-label {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 0.5rem;
}

/* Testimonials */
.testimonials {
  background: var(--cream);
}

.testimonial-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
}

.testimonial-card blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--walnut);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 500;
  color: var(--charcoal);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--gray-light);
}

/* Footer */
footer {
  background: var(--walnut);
  color: var(--cream);
  padding: 4rem 4% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-brand .logo {
  color: var(--cream);
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  color: rgba(245, 240, 235, 0.6);
  font-size: 0.95rem;
}

.footer-column h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.8rem;
}

.footer-column a {
  color: rgba(245, 240, 235, 0.6);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 235, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(245, 240, 235, 0.4);
  font-size: 0.85rem;
}

/* About Page */
.about-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 4% 4rem;
  background: var(--walnut);
  color: var(--cream);
}

.about-hero h1 {
  color: var(--cream);
}

.about-hero p {
  color: rgba(245, 240, 235, 0.7);
}

.story-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 4%;
}

.story-section p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4% 5rem;
}

.value-card {
  padding: 2rem;
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  transition: all 0.3s;
}

.value-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 30px var(--shadow);
}

.value-card h3 {
  margin-bottom: 0.8rem;
  color: var(--walnut);
}

/* Products Page */
.products-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 4% 3rem;
  background: linear-gradient(135deg, var(--walnut) 0%, var(--walnut-light) 100%);
  color: var(--cream);
}

.products-hero h1 { color: var(--cream); }
.products-hero p { color: rgba(245,240,235,0.7); }

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.category-tab {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--cream-dark);
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--gray);
}

.category-tab:hover,
.category-tab.active {
  background: var(--walnut);
  color: var(--cream);
  border-color: var(--walnut);
}

/* Custom Order Page */
.custom-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 4% 3rem;
  background: var(--cream-dark);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.process-step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.4;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step h3 {
  margin-bottom: 0.5rem;
}

.order-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 10px 40px var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--walnut);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--cream-dark);
  background: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--charcoal);
  transition: border-color 0.3s;
  border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Contact Page */
.contact-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 4% 3rem;
  background: var(--walnut);
  color: var(--cream);
}

.contact-hero h1 { color: var(--cream); }
.contact-hero p { color: rgba(245,240,235,0.7); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 4%;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-detail {
  margin-bottom: 1.5rem;
}

.contact-detail strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.contact-detail span {
  color: var(--gray);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--walnut);
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--walnut);
  color: var(--cream);
  border-color: var(--walnut);
}

/* Gallery for products */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.gallery-item {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--walnut-light), var(--walnut));
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px var(--shadow-deep);
}

.gallery-item::after {
  content: attr(data-title);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(44,24,16,0.9));
  color: var(--cream);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.gallery-item:hover::after {
  transform: translateY(0);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 900px) {
  .about-preview,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 6rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .order-form {
    padding: 1.5rem;
  }
}