/* Global Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #d2b48c; /* Sandal color */
    --accent-color: #c19a6b; /* Darker sandal for accents */
    --text-color: #333333;
    --light-text: #ffffff;
    --light-bg: #f9f9f9;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
  }
  
  .section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
  }
  
  .btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
  }
  
  .btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--light-text);
  }
  
  .btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
    cursor: pointer;
  }
  
  .btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
  }
  
  /* Header Styles */
  header {
    background-color: var(--light-text);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    flex-wrap: wrap;
  }
  
  .logo h1 {
    font-size: 28px;
    color: var(--primary-color);
  }
  
  .logo span {
    color: var(--secondary-color);
  }
  
  .search-bar {
    display: flex;
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
  }
  
  .search-bar input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    outline: none;
  }
  
  .search-bar button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
  }
  
  nav ul {
    display: flex;
  }
  
  nav ul li {
    margin-left: 20px;
  }
  
  nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding-bottom: 5px;
    position: relative;
  }
  
  nav ul li a:hover,
  nav ul li a.active {
    color: var(--secondary-color);
  }
  
  nav ul li a.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
  }
  
  .user-actions {
    display: flex;
    align-items: center;
  }
  
  .cart-icon {
    margin-left: 15px;
    position: relative;
    font-size: 18px;
  }
  
  .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
  }
  
  /* Hero Section */
  .hero {
    padding: 60px 0;
    background-color: var(--light-text);
  }
  
  .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .hero-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
  }
  
  .hero-text h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary-color);
  }
  
  .hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-color);
  }
  
  .hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
  }
  
  /* Categories Section */
  .categories {
    padding: 60px 0;
    background-color: var(--light-bg);
  }
  
  .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }
  
  .category-card {
    background-color: var(--light-text);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
  }
  
  .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .category-icon {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--secondary-color);
  }
  
  .category-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
  }
  
  .category-card p {
    color: var(--text-color);
  }
  
  /* Featured Books Section */
  .featured-books {
    padding: 60px 0;
    background-color: var(--light-text);
  }
  
  .book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }
  
  .book-card {
    background-color: var(--light-text);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
  }
  
  .book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .book-image {
    position: relative;
    height: 300px;
    overflow: hidden;
  }
  
  .book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .discount-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
  }
  
  .book-info {
    padding: 20px;
  }
  
  .book-info h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
  }
  
  .author {
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
  }
  
  .rating {
    color: #ffc107;
    margin-bottom: 10px;
  }
  
  .rating span {
    color: var(--text-color);
    margin-left: 5px;
  }
  
  .price {
    margin-bottom: 15px;
  }
  
  .current-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
  }
  
  .original-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
  }
  
  .view-all {
    text-align: center;
    margin-top: 40px;
  }
  
  /* Special Offers Section */
  .special-offers {
    padding: 60px 0;
    background-color: var(--light-bg);
  }
  
  .offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .offer-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .offer-content {
    padding: 30px;
    z-index: 1;
  }
  
  .offer-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary-color);
  }
  
  .offer-content p {
    margin-bottom: 20px;
    color: var(--primary-color);
  }
  
  .offer-card .btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
  }
  
  .offer-card .btn-primary:hover {
    background-color: var(--text-color);
  }
  
  /* Testimonials Section */
  .testimonials {
    padding: 60px 0;
    background-color: var(--light-text);
  }
  
  .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .testimonial-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
  }
  
  .testimonial-content p {
    font-style: italic;
    margin: 20px 0;
  }
  
  .testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
  }
  
  .testimonial-author p {
    font-style: normal;
    margin: 0;
    color: #666;
  }
  
  /* Newsletter Section */
  .newsletter {
    padding: 60px 0;
    background-color: var(--secondary-color);
  }
  
  .newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .newsletter-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
  }
  
  .newsletter-content p {
    color: var(--primary-color);
    margin-bottom: 30px;
  }
  
  .newsletter-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
  }
  
  .newsletter-form button {
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 0 4px 4px 0;
  }
  
  /* Footer */
  footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0 20px;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .footer-column h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 18px;
  }
  
  .footer-column p {
    margin-bottom: 20px;
  }
  
  .social-icons {
    display: flex;
    gap: 15px;
  }
  
  .social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  
  .social-icons a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
  }
  
  .footer-column ul li {
    margin-bottom: 10px;
  }
  
  .footer-column ul li a {
    transition: var(--transition);
  }
  
  .footer-column ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
  }
  
  .contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
  }
  
  .contact-info li i {
    margin-right: 10px;
    margin-top: 5px;
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Responsive Styles */
  @media (max-width: 992px) {
    .header-content {
      flex-direction: column;
      align-items: stretch;
    }
  
    .logo {
      margin-bottom: 15px;
      text-align: center;
    }
  
    .search-bar {
      margin: 15px 0;
      max-width: 100%;
    }
  
    nav ul {
      justify-content: center;
      margin: 15px 0;
    }
  
    .user-actions {
      justify-content: center;
    }
  
    .hero-text,
    .hero-image {
      flex: 100%;
      padding-right: 0;
      text-align: center;
    }
  
    .hero-text {
      margin-bottom: 30px;
    }
  
    .newsletter-form {
      flex-direction: column;
    }
  
    .newsletter-form input {
      border-radius: 4px;
      margin-bottom: 10px;
      width: 100%;
    }
  
    .newsletter-form button {
      border-radius: 4px;
      width: 100%;
    }
  }
  
  @media (max-width: 768px) {
    .section-title {
      font-size: 28px;
    }
  
    .hero-text h2 {
      font-size: 32px;
    }
  
    .category-grid,
    .book-grid,
    .offers-grid,
    .testimonial-grid {
      grid-template-columns: 1fr;
    }
  
    .footer-content {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 576px) {
    nav ul {
      flex-wrap: wrap;
    }
  
    nav ul li {
      margin: 5px 10px;
    }
  
    .hero-text h2 {
      font-size: 28px;
    }
  
    .btn-primary,
    .btn-secondary {
      display: block;
      width: 100%;
      text-align: center;
    }
  }
  
  