/* Variables */
:root {
  --primary-color: #6B4423;
  --secondary-color: #8B4513;
  --tertiary-color: #A0522D;
  --accent-color: #DEB887;
  --light-color: #F5F5DC;
  --dark-color: #402218;
  --success-color: #556B2F;
  --danger-color: #8B0000;
  --font-main: 'Roboto', sans-serif;
  --font-heading: 'Oswald', sans-serif;
}

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

/* Base styles */
body {
  font-family: var(--font-main);
  color: #333;
  line-height: 1.6;
  background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-color);
}

a {
  text-decoration: none;
  color: var(--tertiary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Utility classes */
.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

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

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

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Header */
.site-header {
  background-color: var(--dark-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo-text {
  color: var(--accent-color);
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

.logo-text span {
  color: var(--light-color);
  font-weight: normal;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav li {
  margin-left: 2rem;
}

.main-nav a {
  color: var(--accent-color);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.main-nav a:hover {
  color: white;
  text-decoration: none;
}

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

.main-nav a:hover::after {
  width: 100%;
}

/* Hero section */
.hero {
  position: relative;
  background: linear-gradient(rgba(64, 34, 24, 0.7), rgba(64, 34, 24, 0.7)), 
              url('hero-bg.svg') center/cover no-repeat;
  height: 600px;
  display: flex;
  align-items: center;
}

.hero-content {
  color: white;
  max-width: 650px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero .btn {
  margin-right: 1rem;
}

/* Featured products */
.featured {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  display: inline-block;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent-color);
}

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

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.product-image {
  height: 200px;
  background-color: var(--accent-color);
  position: relative;
  overflow: hidden;
}

.product-content {
  padding: 1.5rem;
}

.product-category {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.product-title {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.product-price {
  color: var(--tertiary-color);
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.product-btn {
  width: 100%;
  text-align: center;
}

/* About section */
.about {
  padding: 5rem 0;
  background-color: var(--dark-color);
  color: white;
}

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

.about-image {
  height: 400px;
  background-color: var(--accent-color);
  border-radius: 8px;
  overflow: hidden;
}

.about-content h2 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
}

/* Services section */
.services {
  padding: 5rem 0;
}

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

.service-card {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.service-title {
  margin-bottom: 1rem;
}

/* News section */
.news {
  padding: 5rem 0;
  background-color: #f8f8f5;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.news-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.news-image {
  height: 180px;
  background-color: var(--accent-color);
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  display: block;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.news-title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.news-excerpt {
  margin-bottom: 1rem;
}

.read-more {
  color: var(--tertiary-color);
  font-weight: 600;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: white;
}

.testimonial-card {
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
}

/* CTA section */
.cta {
  padding: 5rem 0;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  margin-bottom: 1.5rem;
}

.cta p {
  margin-bottom: 2rem;
}

/* Footer */
.site-footer {
  background-color: var(--dark-color);
  color: #ddd;
  padding: 4rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-about img {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-about p {
  margin-bottom: 1.5rem;
}

.footer-heading {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #ddd;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.contact-info p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

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

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

.social-icon:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

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

/* Mobile responsiveness */
@media (max-width: 992px) {
  .products,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    padding: 1rem 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease;
  }
  
  .main-nav.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  .main-nav li {
    margin: 0.75rem 0;
    margin-left: 0;
  }
  
  .about-container,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .products,
  .services-grid {
    grid-template-columns: 1fr;
  }
}
