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

:root {
  /* Color palette */
  --color-background: #F5F0E9;
  --color-primary: #8A7968;
  --color-secondary: #D5C9B6;
  --color-accent: #4A4238;
  --color-text: #322d26;
  --color-text-light: #8A7968;
  --color-white: #FFFFFF;
  --color-off-white: #F9F8F5;

  /* Typography */
  --font-heading: 'Hatton', sans-serif;
  --font-body: 'Raleway', sans-serif;
}

@font-face {
  font-family: 'Hatton';
  src: url('../Hatton.otf') format('opentype');
  font-style: normal;
  font-display: swap;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 100;
}

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

/* Button styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-light {
  background-color: var(--color-white);
  color: var(--color-accent);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-light:hover {
  background-color: var(--color-off-white);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  background-color: #7b6b5b;
}

.btn-small {
  font-size: 12px;
  padding: 6px 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  font-weight: 500;
}

.btn-small:hover {
  color: var(--color-accent);
}

/* Header styles */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 5px;
  /* Reduced padding */
}

.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
}

.logo-image {
  height: 64px;
  /* Increased to 80% of header height (80px) */
  width: auto;
  max-width: 240px;
  /* Increased proportionally */
  object-fit: contain;
}

/* Improved desktop navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 5px;
  /* Add spacing between links */
}

.desktop-nav a {
  position: relative;
  padding: 10px 18px;
  /* More padding for better click targets */
  margin-left: 0;
  /* Remove old margin */
  color: var(--color-text);
  font-size: 15px;
  font-weight: 400;
  /* Slightly bolder */
  text-transform: uppercase;
  letter-spacing: 1.2px;
  /* Reduce letter spacing slightly */
  transition: all 0.3s ease;
  border-radius: 6px;
}

/* Highlight effect on hover */
.desktop-nav a::before {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.desktop-nav a:hover {
  color: var(--color-primary);
  background-color: var(--color-off-white);
}

.desktop-nav a:hover::before {
  width: calc(100% - 36px);
}

/* Special styling for "Why Us" */
.desktop-nav a.highlight {
  background-color: var(--color-secondary);
  color: var(--color-accent);
}

.desktop-nav a.highlight:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Visual separator */
.nav-separator {
  width: 1px;
  height: 24px;
  background-color: var(--color-secondary);
  margin: 0 10px;
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--color-text-light);
  font-size: 20px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: var(--color-off-white);
  border-top: 1px solid var(--color-secondary);
  padding: 10px 0;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  padding: 10px 20px;
  color: var(--color-text-light);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

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

/* Hero section */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(75, 75, 75, 0.5);
  z-index: 2;
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 3;
}

.hero h1 {
  font-size: 36px;
  font-weight: 100;
  line-height: 1.0;
  margin-bottom: 20px;
  max-width: 600px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 500px;
}

/* Media queries for responsive design */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    font-size: 20px;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 60px;
  }
}

/* Products section */
.products {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 32px;
  color: var(--color-accent);
  margin-bottom: 15px;
}

.section-header p {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 800px;
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.product-card {
  background-color: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-details {
  padding: 20px;
}

.product-details h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--color-accent);
}

.product-details p {
  color: var(--color-text-light);
  margin-bottom: 15px;
  font-size: 14px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-weight: 600;
  color: var(--color-accent);
}

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

/* Footer styles */
footer {
  background-color: var(--color-accent);
  color: var(--color-secondary);
  padding: 60px 0 20px;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: var(--color-white);
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-column p {
  font-size: 14px;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: var(--color-secondary);
  font-size: 16px;
  transition: color 0.2s ease;
}

.social-icons a:hover {
  color: var(--color-white);
}

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

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  font-size: 14px;
  color: var(--color-secondary);
  transition: color 0.2s ease;
}

.footer-column ul li a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid var(--color-primary);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.footer-links a {
  color: var(--color-secondary);
  transition: color 0.2s ease;
}

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

/* Media queries */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    font-size: 20px;
  }

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

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-links {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero h1 {
    font-size: 60px;
  }

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

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}