/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #8b5a2b;
  --secondary-color: #d4af37;
  --accent-color: #a67c52;
  --text-color: #333;
  --light-text: #f5f5f5;
  --background-color: #f9f5f0;
  --card-bg: #fff;
  --header-bg: #1a1a1a;
  --footer-bg: #1a1a1a;
  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  transition: var(--transition);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  color: var(--primary-color);
}

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

/* Custom Cursor */
.cursor {
  width: 12px;
  height: 12px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-active {
  transform: translate(-50%, -50%) scale(1.5);
  background-color: transparent;
  border: 1px solid var(--secondary-color);
}

.cursor-follower-active {
  transform: translate(-50%, -50%) scale(0.5);
  background-color: rgba(212, 175, 55, 0.1);
}

/* Header Styles */
.header {
  background-color: var(--header-bg);
  padding: 1rem 5%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--light-text);
  letter-spacing: 1px;
}

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

.main-nav {
  display: flex;
  align-items: center;
}

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

/* Mobile Navigation Styles */
.nav-active {
  display: flex !important;
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links li {
  margin: 0 1.2rem;
}

.nav-links a {
  color: var(--light-text);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

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

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

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--light-text);
  margin: 5px;
  transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 0;
    top: 70px;
    background-color: var(--header-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    z-index: 999;
  }
  
  .nav-links li {
    opacity: 0;
    margin: 1.5rem 0;
  }
  
  .burger {
    display: block;
  }
  
  .nav-active {
    transform: translateX(0%);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }
  
  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .toggle .line2 {
    opacity: 0;
  }
  
  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
  background-color: var(--background-color);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 40%);
  z-index: 0;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 3px;
  background: var(--secondary-color);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-color);
  line-height: 1.8;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: var(--light-text);
  border-radius: var(--border-radius);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--secondary-color);
  transition: all 0.5s ease;
  z-index: -1;
}

.cta-button:hover::before {
  left: 0;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  z-index: 1;
  animation: fadeInRight 1s ease-out;
}

.image-container {
  width: 90%;
  height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.image-container:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-container:hover .main-image {
  transform: scale(1.05);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Featured Carousel Section */
.featured-carousel {
  padding: 5rem 0;
  background-color: var(--background-color);
  position: relative;
  overflow: hidden;
}

.featured-carousel::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 90, 43, 0.1), transparent 70%);
  z-index: 0;
}

.carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  position: relative;
  height: 450px;
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel-slide:hover img {
  transform: scale(1.05);
}

.slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--light-text);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.carousel-slide:hover .slide-info {
  transform: translateY(0);
  opacity: 1;
}

.slide-info h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--light-text);
}

.slide-info p {
  font-size: 1rem;
  opacity: 0.9;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.prev-btn, .next-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--light-text);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.prev-btn:hover, .next-btn:hover {
  background-color: var(--secondary-color);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 8px;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--secondary-color);
  width: 30px;
  border-radius: 10px;
}

.is-hidden {
  display: none;
}

/* Product Showcase Section */
.product-showcase {
  padding: 5rem 0;
  background-color: var(--background-color);
  position: relative;
}

.product-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 90, 43, 0.1), transparent 70%);
  z-index: 0;
}

.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.card-item {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  text-decoration: none;
  transform: translateY(0);
}

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

.card-image-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.05));
  z-index: 1;
}

.card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-item:hover img {
  transform: scale(1.1);
}

.card-content {
  padding: 1.5rem;
  position: relative;
}

.category {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.first {
  background-color: rgba(139, 90, 43, 0.1);
  color: var(--primary-color);
}

.second {
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--secondary-color);
}

.third {
  background-color: rgba(166, 124, 82, 0.1);
  color: var(--accent-color);
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  transition: var(--transition);
}

.card-item:hover .product-title {
  color: var(--primary-color);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--light-text);
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  transition: var(--transition);
  transform: translateX(0);
}

.card-item:hover .arrow {
  background-color: var(--secondary-color);
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .card-list {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    padding: 15px;
  }
  
  .card-image-wrapper {
    height: 180px;
  }
  
  .card-content {
    padding: 1rem;
  }
  
  .product-title {
    font-size: 1.1rem;
  }
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: #f0e9e0;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent 70%);
  z-index: 0;
}

.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  transform: translateY(0);
}

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

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--light-text);
  font-size: 2rem;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  line-height: 1.8;
}

.testimonial-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--primary-color);
}

.testimonial-content span {
  font-size: 0.9rem;
  color: var(--secondary-color);
  font-weight: 500;
}

.card-item h3 {
  color: #000;
  font-size: 1.438rem;
  margin-top: 28px;
  font-weight: 600;
}

.card-item .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-35deg);
  height: 40px;
  width: 40px;
  color: #000;
  border: 1px solid #000;
  border-radius: 50%;
  margin-top: 40px;
  transition: 0.2s ease;
}

.card-list .card-item:hover .arrow  {
  background: #000;
  color: #fff; 
}

@media (max-width: 1200px) {
  .card-list .card-item {
      padding: 15px;
  }
}

@media screen and (max-width: 980px) {
  .card-list {
      margin: 0 auto;
  }
}

/* Footer Styles */
.footer {
  background-color: var(--footer-bg);
  color: var(--light-text);
  padding-top: 4rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 3rem;
}

.footer-section {
  flex: 1;
  min-width: 300px;
  margin-bottom: 2rem;
  padding: 0 1.5rem;
}

.footer-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  color: var(--light-text);
}

.footer-section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-section p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: #aaa;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-item i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--secondary-color);
}

.contact-item span {
  color: #aaa;
}

.newsletter-form {
  display: flex;
  margin-top: 1.5rem;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.newsletter-form input {
  flex: 1;
  padding: 1rem;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  font-family: inherit;
}

.newsletter-form input::placeholder {
  color: #aaa;
}

.newsletter-form button {
  padding: 0 1.5rem;
  background-color: var(--primary-color);
  color: var(--light-text);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--secondary-color);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 1.5rem 0;
}

.footer-bottom p {
  color: #aaa;
  font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
  /* Mobile Navigation */
  .burger {
    display: block;
    z-index: 1001;
  }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: auto;
    background-color: var(--header-bg);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .nav-links li {
    margin: 1rem 0;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: calc(0.1s * var(--i, 0));
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Footer Responsive */
  .footer-content {
    flex-direction: column;
    padding: 0 20px 2rem;
  }
  
  .footer-section {
    padding: 0;
    margin-bottom: 3rem;
  }
  
  .footer-section:last-child {
    margin-bottom: 0;
  }
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  .hero {
    flex-direction: column;
    height: auto;
    padding: 5rem 5% 3rem;
  }
  
  .hero-content {
    max-width: 100%;
    margin-bottom: 3rem;
    text-align: center;
  }
  
  .hero-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .hero-image {
    justify-content: center;
  }
  
  .image-container {
    width: 100%;
    max-width: 600px;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .testimonial-card {
    min-width: 100%;
  }
}
