/*
Theme Name: Hand Made Suds
Theme URI: https://handmadesuds.in/
Author: The Appinvnetiv team
Author URI: https://appinventiv.com
Description: Hand Made Suds is designed to take advantage of the new design tools introduced in WordPress 6.1. With a clean, blank base as a starting point, this default theme includes ten diverse style variations created by members of the WordPress community. Whether you want to build a complex or incredibly simple website, you can do it quickly and intuitively through the bundled styles or dive into creation and full customization yourself.
Requires at least: 6.1
Tested up to: 6.8
Requires PHP: 5.6
Version: 1.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: handmadesuds
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

.banner-container {
  margin: 0 50px;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: 2px;
}

.logo p {
  font-size: 0.8rem;
  color: #7f8c8d;
  text-align: center;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  gap: 1rem;
}

.nav-icon {
  font-size: 1.2rem;
  text-decoration: none;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.nav-icon:hover {
  background-color: #f8f9fa;
}

/* Hero Section */
.hero {
  padding: 60px 0 0;
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #5d6d7e;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: #34495e;
  color: white;
}

.btn-primary:hover {
  background-color: #2c3e50;
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.btn-secondary {
  background-color: transparent;
  color: #34495e;
  border: 2px solid #34495e;
}

.btn-secondary:hover {
  background-color: #34495e;
  color: white;
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Product Showcase */
.product-showcase {
  padding: 2.5rem 0;
  background: white;
}

.products-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Common page Section */
.common-page-section {
  background-color: #fff;
  color: black;
  padding: 0 0 60px;
}

/* Common page Section */

/* About Section */
.about-section,
.video-section {
  background-color: #2c5f4a;
  color: white;
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-content p {
  color: #bfcacb !important;
}

.about-section h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  color: #ecf0f1;
}

.about-story h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #4f5a5d;
}

.about-story p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: #7a8287;
}

.product-categories p {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Contact Section */
.contact-section {
  background: white;
  padding: 80px 0;
}

.contact-section h3,
.testimonials-section h3 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #2c3e50;
}

.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.contact-info p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #5d6d7e;
}

.btn-whatsapp {
  background-color: #25d366;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: background-color 0.3s;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
}

.business-info h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.business-info p {
  margin-bottom: 0.3rem;
  color: #7f8c8d;
}

.contact-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Follow Section */
.follow-section {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.follow-section h3 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #2c3e50;
}

.follow-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2rem;
}

.follow-info h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.follow-info p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #5d6d7e;
}

.follow-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.social-media {
  text-align: center;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #666;
  background-color: #f8f9fa;
  border: 2px solid transparent;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon.facebook:hover {
  background-color: #1877f2;
  color: white;
  border-color: #1877f2;
}

.social-icon.instagram:hover {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: white;
  border-color: #bc1888;
}

/* Footer */
.footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  text-align: center;
  padding: 2rem 0;
}

.footer p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-align: right;
}

/* --- Mobile Hamburger & Side Nav --- */
.mobile-hamburger {
  display: none;
  width: 30px;
  height: 30px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1101;
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border-radius: 8px;
  transition: background 0.2s;
  cursor: pointer;
}
.mobile-hamburger:hover {
  background: #f2f2f2;
}
.hamburger-icon,
.close-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.2s;
}
.hamburger-icon span {
  display: block;
  height: 3px;
  width: 22px;
  background: #333;
  margin: 3px 0;
  border-radius: 2px;
  transition: background 0.2s;
}
.close-icon svg {
  display: block;
  width: 24px;
  height: 24px;
  stroke: #333;
}
.mobile-side-nav {
  position: fixed;
  top: 0;
  left: -260px;
  width: 250px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  z-index: 1100;
  transition: left 0.3s;
  overflow-y: auto;
  display: block;
}
.mobile-side-nav.open {
  left: 0;
}
.side-nav-content {
  padding: 0.5rem;
}
.side-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1099;
}
.side-nav-overlay.active {
  display: block;
}
.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu li {
  margin: 0 0 10px 0;
}
.mobile-menu li:nth-child(3) {
  margin: 0;
}
.mobile-menu li .sub-menu {
  padding-left: 1.5rem;
}
.mobile-menu li .sub-menu li {
  list-style: none;
}
.current-menu-item a {
  background: rgb(47, 79, 79);
  color: #fff !important;
}
.current-menu-item a:hover {
  background: rgb(64, 104, 104) !important;
}
.mobile-menu a {
  display: block;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.5rem 0.675rem;
  border-radius: 4px;
}
.mobile-menu a:hover {
  background: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .about-content,
  .contact-content,
  .follow-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-buttons {
    align-items: center;
    margin-bottom: 1rem;
  }

  .btn {
    width: 200px;
  }

  .banner-container {
    padding: 0 15px;
  }

  .hero {
    padding: 1rem 0 0 0;
  }

  .about-section,
  .contact-section,
  .follow-section {
    padding: 60px 0;
  }

  .category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .banner-container {
    margin: 0;
  }

  .product-showcase {
    padding: 1rem 0 2rem;
  }
  .mobile-hamburger {
    display: flex !important;
    position: fixed;
    top: 48px;
    right: 18px;
    z-index: 1200;
  }
  .header .nav.menu-nav {
    display: none !important;
  }
  .mobile-side-nav {
    display: block;
  }
  .hero-subtitle {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .logo h1 {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .nav {
    gap: 0.5rem;
  }

  .category-list {
    gap: 0;
  }

  .follow-section {
    padding: 2rem 0;
  }

  .follow-section h3 {
    margin-bottom: 1rem;
  }
  .social-media {
    margin-top: 0;
  }
}
