/* Base Styles and Variables */
:root {
  --primary-color: #e63946;
  --secondary-color: #f1433f;
  --accent-color: #457b9d;
  --text-color: #333;
  --light-text: #f8f9fa;
  --dark-text: #212529;
  --background-color: #fff;
  --light-background: #f8f9fa;
  --border-color: #dee2e6;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 5px;
  --container-width: 1200px;
  --heading-font: "Montserrat", sans-serif;
  --body-font: "Poppins", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

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

ul {
  list-style: none;
}

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

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

section {
  padding: 80px 0;
}

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

.section-header h2 {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

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

.section-header p {
  color: #666;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.9rem;
}

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

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(230, 57, 70, 0.2);
}

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

.btn-secondary:hover {
  background-color: var(--light-text);
  color: var(--primary-color);
  transform: translateY(-3px);
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo a {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

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

.nav-list {
  display: flex;
}

.nav-list li {
  margin-left: 30px;
}

.nav-list a {
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin-bottom: 5px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://images.unsplash.com/photo-1591438252948-fa5dd3701c2a?fm=jpg&q=60&w=3000&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8dG95JTIwY2Fyc3xlbnwwfHwwfHx8MA%3D%3D")
      no-repeat center center/cover;
  color: var(--light-text);
  display: flex;
  align-items: center;
  position: relative;
}

/* Centralize the entire hero section */
.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  padding-top: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Ensures content is centered horizontally */
  height: 100vh; /* Full viewport height to center vertically */
}

.hero-content h1 {
  font-family: var(--heading-font);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center; /* Center buttons horizontally */
  margin-top: 30px;
  margin-bottom: 50px;
  gap: 40px; /* Increased spacing between buttons */
}

.cta-buttons .btn {
  margin: 0; /* Remove individual margins since we're using gap */
  padding: 10px 25px; /* Reduced padding for smaller buttons */
  font-size: 0.9rem; /* Reduced font size */
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-buttons .btn:hover {
  background-color: #00;
  transform: translateY(-3px);
}

/* Products Section */
.products {
  background-color: var(--light-background);
  padding: 100px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.product-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: var(--transition);
}

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

.product-image {
  height: 250px;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--accent-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.product-price {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 700;
}

.product-details {
  padding: 20px;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.product-category {
  color: #666;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.product-category svg {
  margin-right: 5px;
  color: var(--accent-color);
}

.product-features {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.product-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-feature span {
  color: var(--dark-text);
  font-weight: 600;
  font-size: 0.9rem;
}

.product-feature small {
  font-size: 0.8rem;
  color: #888;
}

.product-link {
  text-align: right;
}

.product-link a {
  color: var(--accent-color);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.product-link a svg {
  margin-left: 5px;
  transition: var(--transition);
}

.product-link a:hover svg {
  transform: translateX(5px);
}

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

/* About Section */
.about {
  position: relative;
  overflow: hidden;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
}

.about-text .section-header {
  text-align: left;
}

.about-text .section-header h2::after {
  left: 0;
  transform: none;
}

.about-text p {
  margin-bottom: 20px;
  color: #666;
  text-align: justify; /* Justify the paragraph text */
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.stat p {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-text);
  margin-bottom: 0;
}

/* Collections Section */
.collections {
  background-color: var(--light-background);
  padding: 100px 0;
}

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

.collection-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: var(--transition);
}

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

.collection-image {
  height: 300px;
  position: relative;
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transition: var(--transition);
}

.collection-card:hover .collection-overlay {
  opacity: 1;
}

.collection-overlay h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
  position: relative;
  background: #ffffff;
  color: var(--text-color);
}

.testimonials .section-header h2 {
  color: var(--primary-color);
}

.testimonials .section-header h2::after {
  background-color: var(--accent-color);
}

.testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
}

.testimonial-content {
  background-color: rgba(240, 240, 240, 0.5);
  border-radius: var(--border-radius);
  padding: 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quote {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 30px;
  position: relative;
  padding: 0 20px;
  color: var(--text-color);
}

.quote::before,
.quote::after {
  content: ""
    ";
  font-family: Georgia, serif;
  font-size: 4rem;
  position: absolute;
  color: var(--primary-color);
  opacity: 0.3;
}

.quote::before {
  top: -20px;
  left: -10px;
}

.quote::after {
  content: "
    "";
  bottom: -70px;
  right: -10px;
}

.client h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--dark-text);
}

.client p {
  font-size: 0.9rem;
  color: #666;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.prev-btn,
.next-btn {
  background-color: transparent;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
  padding: 10px;
}

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

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin: 0 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(230, 57, 70, 0.3);
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active,
.dot:hover {
  background-color: var(--primary-color);
}

/* Contact Section */
.contact {
  background-color: var(--light-background);
}

.contact-content {
  display: flex;
  gap: 50px;
}

.contact-info,
.contact-form {
  flex: 1;
}

.contact-info .section-header {
  text-align: left;
}

.contact-info .section-header h2::after {
  left: 0;
  transform: none;
}

.contact-details {
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item svg {
  margin-right: 15px;
  min-width: 24px;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  margin-top: 30px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  margin-right: 15px;
  transition: var(--transition);
}

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

.contact-form {
  background-color: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--text-color);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

.form-status {
  margin-top: 20px;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  display: none;
}

.form-status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* Newsletter Section */
.newsletter {
  background-color: var(--primary-color);
  padding: 60px 0;
  color: white;
}

.newsletter-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.newsletter-content h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.newsletter-content p {
  margin-bottom: 25px;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-family: var(--body-font);
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: none;
}

.newsletter-form .btn {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 0 20px;
}

.newsletter-status {
  margin-top: 15px;
  padding: 10px;
  border-radius: var(--border-radius);
  display: none;
}

.newsletter-status.success {
  background-color: rgba(255, 255, 255, 0.2);
  display: block;
}

.newsletter-status.error {
  background-color: rgba(220, 53, 69, 0.2);
  display: block;
}

/* Footer */
.footer {
  background-color: #1f2937;
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.footer-logo a {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
}

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

.footer-logo p {
  font-size: 0.9rem;
  margin-top: 5px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.footer-column h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

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

.footer-column ul li a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  opacity: 1;
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-bottom-links a {
  margin-left: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  opacity: 1;
  color: var(--primary-color);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }

  .contact-content {
    flex-direction: column;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }
}

@media screen and (max-width: 768px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    flex-direction: column;
    align-items: center;
  }

  .nav-list.show {
    display: flex;
  }

  .nav-list li {
    margin: 10px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .cta-buttons .btn {
    display: block;
    width: 100%;
    margin: 10px 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-links {
    width: 100%;
    justify-content: space-between;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-bottom-links {
    margin-top: 10px;
  }

  .footer-bottom-links a {
    margin: 0 10px;
  }
}

@media screen and (max-width: 576px) {
  section {
    padding: 60px 0;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 10px;
  }

  .newsletter-form .btn {
    border-radius: var(--border-radius);
    width: 100%;
  }

  .testimonial-content {
    padding: 30px 20px;
  }

  .quote {
    font-size: 1rem;
  }
}
