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

:root {
  --primary-color: #c88a44;
  --secondary-color: #3e2723;
  --bg-color: #fdfaf5;
  --text-color: #4a4a4a;
  --text-light: #7a7a7a;
  --accent-color: #8d6e63;
  --border-color: #e6dace;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lora', serif;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
header {
  background-color: var(--bg-color);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

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

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--secondary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--primary-color);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  border: 1px solid var(--primary-color);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #b07635;
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: var(--bg-color);
}

/* Hero Section */
.hero {
  height: 80vh;
  background: linear-gradient(rgba(40, 25, 20, 0.5), rgba(40, 25, 20, 0.5)), url('https://images.unsplash.com/photo-1509440159596-0249088772ff?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 4.5rem;
  color: #fff;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  font-style: italic;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-btns {
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-btns .btn {
  margin: 0 10px;
}

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

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* Featured Products Carousel */
.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.product-card {
  flex: 0 0 calc(33.333% - 20px);
  margin-right: 30px;
  background: #fff;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  text-align: center;
  border: 1px solid var(--border-color);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  transition: transform 0.5s ease;
}

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

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-card .price {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

/* Carousel Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  color: var(--secondary-color);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.carousel-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.carousel-prev { left: -25px; }
.carousel-next { right: -25px; }

.carousel-wrapper {
  position: relative;
  padding: 0 40px;
}

/* Full Width Image Content Grid */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 10px 10px 0 var(--border-color);
}

.split-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.split-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Contact Page specific */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  background: #fff;
  padding: 3rem;
  border: 1px solid var(--border-color);
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: #f8efe5;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-form {
  background: #fff;
  padding: 3rem;
  border: 1px solid var(--border-color);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  color: var(--secondary-color);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
  background: var(--bg-color);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

.map-container {
  height: 400px;
  background: #eee;
  margin-top: 3rem;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Partners Page */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.partner-card {
  background: #fff;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
}

.partner-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.partner-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 5rem 0 2rem;
}

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

.footer-col h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-col p {
  color: #ccc;
  margin-bottom: 1rem;
}

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

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: #ccc;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #888;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .split-image img { height: 400px; box-shadow: 5px 5px 0 var(--border-color); }
  .split-section.reverse > * { direction: inherit; }
  
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .product-card { flex: 0 0 calc(50% - 15px); }
  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  nav ul.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu-btn { display: block; }
  .hero h1 { font-size: 3rem; }
  .carousel-wrapper { padding: 0 20px; }
  .carousel-btn { width: 40px; height: 40px; }
  .carousel-prev { left: -10px; }
  .carousel-next { right: -10px; }
}

@media (max-width: 480px) {
  .product-card { flex: 0 0 100%; margin-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns .btn { margin: 10px 0; display: block; }
}
