/*
Theme Name: Medha Bags
Description: A premium WordPress theme for bag companies featuring modern design and responsive layout
Version: 1.2
Author: Medha Bags Team
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

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

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #f59e0b;
  color: #1e3a8a;
}

.btn-primary:hover {
  background: #d97706;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #e5e7eb;
  color: #374151;
}

.btn-secondary:hover {
  background: #d1d5db;
  transform: translateY(-2px);
}

/* Product Gallery Styles */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-gallery .main-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

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

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

.product-gallery .gallery-thumbnails {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.product-gallery .gallery-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.product-gallery .gallery-thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.product-gallery .gallery-thumb.active {
  border-color: #f59e0b;
  opacity: 1;
  transform: translateY(-2px);
}

/* Fallback for featured image when no gallery */
.product-featured-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Product Features List */
.product-features-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.product-features-list li {
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}

.product-features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f59e0b;
  font-weight: bold;
}

/* Responsive Gallery */
@media (max-width: 768px) {
  .product-gallery .main-image img {
    height: 450px;
  }
  
  .product-gallery .gallery-thumbnails {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  
  .product-gallery .gallery-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
  }
}
  background: #fbbf24;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #1e3a8a;
}

/* Header Styles */
.site-header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1e3a8a;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: #1e3a8a;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #1e3a8a;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1e3a8a 100%);
  color: white;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.2);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-text .highlight {
  color: #fbbf24;
  display: block;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #bfdbfe;
  line-height: 1.6;
}

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

.hero-image {
  position: relative;
}

.hero-image-container {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 2rem;
  transform: rotate(3deg);
  transition: transform 0.5s ease;
}

.hero-image-container:hover {
  transform: rotate(0deg);
}

.hero-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #f59e0b;
  color: #1e3a8a;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: bold;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Products Section */
.products {
  padding: 80px 0;
  background: #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

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

.product-image {
  position: relative;
  overflow: hidden;
}

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

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

.product-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #1e3a8a;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.product-info p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

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

.product-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1e3a8a;
}

.add-to-cart {
  background: #f59e0b;
  color: #1e3a8a;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-to-cart:hover {
  background: #fbbf24;
  transform: scale(1.05);
}

/* About Section */
.about {
  padding: 80px 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.125rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.about-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.about-badge {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #1e3a8a;
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.about-badge .number {
  font-size: 2rem;
  font-weight: bold;
  display: block;
}

.about-badge .text {
  font-size: 0.875rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: #f9fafb;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: #f59e0b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
}

.feature-card p {
  color: #666;
  line-height: 1.5;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

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

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.testimonial-info h4 {
  font-weight: bold;
  color: #333;
}

.testimonial-info p {
  color: #666;
  font-size: 0.875rem;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  color: #f59e0b;
  font-size: 1.25rem;
}

.testimonial-content {
  color: #666;
  line-height: 1.6;
  font-style: italic;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: #1f2937;
  color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  space-y: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: #f59e0c;
  color: #f59e0b;
  margin-top: 0.25rem;
  border-radius: 23px;
  padding: 5px;
}

.contact-item h3 {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #d1d5db;
  line-height: 1.5;
}

.contact-form {
  background: #374151;
  padding: 2rem;
  border-radius: 16px;
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

section#contact .section-header h2 {
  color: #ffffff;
}

section#contact .section-header p {
  color: #ffffff;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #4b5563;
  border: 1px solid #6b7280;
  border-radius: 8px;
  color: white;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f59e0b;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  background: #f59e0b;
  color: #1f2937;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #fbbf24;
  transform: scale(1.02);
}

/* Footer */
.site-footer {
  background: #000;
  color: white;
  padding: 3rem 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-brand .logo-icon {
  background: #f59e0b;
}

.footer-brand .logo-text {
  color: white;
}

.footer-description {
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 400px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #d1d5db;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #f59e0b;
}

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

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

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #f59e0b;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #d1d5db;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }
  
  .main-nav ul li {
    border-bottom: 1px solid #f3f4f6;
  }
  
  .main-nav ul li:last-child {
    border-bottom: none;
  }
  
  .main-nav a {
    display: block;
    padding: 1rem 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .about-text h2 {
    font-size: 2rem;
  }
  
  .products,
  .about,
  .testimonials,
  .contact {
    padding: 60px 0;
  }
}

/* Contact Form 7 Custom Styles for Medha Bags Theme */
.wpcf7 {
  background: #374151;
  padding: 0;
  border-radius: 16px;
  color: white;
  margin-top: 2rem;
}

.wpcf7-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #fff;
}

.wpcf7-form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #4b5563;
  border: 1px solid #6b7280;
  border-radius: 8px;
  color: white;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s ease;
}

.wpcf7-form-control:focus {
  outline: none;
  border-color: #f59e0b;
}

.wpcf7-textarea {
  resize: vertical;
  min-height: 120px;
}

.wpcf7-submit {
  width: 100%;
  background: #f59e0b;
  color: #1f2937;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpcf7-submit:hover {
  background: #fbbf24;
  transform: scale(1.02);
}

.wpcf7-spinner {
  margin-left: 10px;
}

.wpcf7-response-output {
  margin-top: 1rem;
  color: #f59e0b;
  font-weight: bold;
}
