/*
Theme Name: Luxe Store Theme
Theme URI: https://your-domain.com
Author: Your Name
Author URI: https://your-domain.com
Description: Professional e-commerce theme for WooCommerce with video banners, sliders, and full customization
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luxe-store
Tags: e-commerce, woocommerce, shop, responsive, modern
*/

/* ===========================
   GLOBAL STYLES
=========================== */

:root {
  --primary-color: #2c3e50;
  --secondary-color: #e74c3c;
  --accent-color: #3498db;
  --text-color: #333;
  --light-bg: #f8f9fa;
  --border-color: #e0e0e0;
  --success-color: #27ae60;
  --spacing: 20px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--spacing);
}

/* ===========================
   HEADER STYLES
=========================== */

.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-top {
  background: var(--primary-color);
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top a {
  color: #fff;
  margin-left: 15px;
}

.header-main {
  padding: 20px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.site-logo {
  flex-shrink: 0;
}

.site-logo a {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-navigation {
  flex-grow: 1;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 30px;
  justify-content: center;
}

.main-navigation a {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 5px 0;
  position: relative;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a.current-menu-item::after {
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.search-toggle,
.cart-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: var(--primary-color);
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--secondary-color);
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
}

/* ===========================
   VIDEO BANNER
=========================== */

.video-banner {
  position: relative;
  height: 600px;
  overflow: hidden;
  margin-bottom: 60px;
}

.video-banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.video-banner-content h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.video-banner-content p {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 600px;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: #fff;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: 2px solid var(--secondary-color);
}

.btn:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn-primary {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary-color);
}

/* ===========================
   HERO SLIDER
=========================== */

.hero-slider {
  position: relative;
  margin-bottom: 60px;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 600px;
}

.hero-slide-content h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-slide-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;
}

.swiper-pagination-bullet {
  background: #fff !important;
}

/* ===========================
   COLLECTIONS SECTION
=========================== */

.collections-section {
  padding: 60px 0;
  background: var(--light-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.section-header p {
  font-size: 18px;
  color: #666;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.collection-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.collection-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.collection-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.collection-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
}

.collection-card-overlay h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.collection-card-overlay p {
  font-size: 14px;
  opacity: 0.9;
}

/* ===========================
   PRODUCTS SECTION
=========================== */

.products-section {
  padding: 60px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 350px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--secondary-color);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.product-badge.sale {
  background: var(--secondary-color);
}

.product-badge.new {
  background: var(--success-color);
}

.product-info {
  padding: 20px;
}

.product-category {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.product-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.product-price del {
  font-size: 16px;
  color: #999;
  margin-right: 10px;
}

.add-to-cart-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.add-to-cart-btn:hover {
  background: var(--secondary-color);
}

/* ===========================
   TESTIMONIALS
=========================== */

.testimonials-section {
  padding: 60px 0;
  background: var(--light-bg);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.testimonial-text {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 25px;
  line-height: 1.8;
  color: #555;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.testimonial-info p {
  font-size: 14px;
  color: #999;
}

.testimonial-stars {
  color: #ffc107;
  font-size: 18px;
  margin-bottom: 20px;
}

/* ===========================
   NEWSLETTER
=========================== */

.newsletter-section {
  padding: 80px 0;
  background: var(--primary-color);
  color: #fff;
  text-align: center;
}

.newsletter-section h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.newsletter-section p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.newsletter-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 15px;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
}

.newsletter-form button {
  padding: 15px 40px;
  background: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: #c0392b;
}

/* ===========================
   FOOTER
=========================== */

.site-footer {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-widget h3 {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-widget ul {
  list-style: none;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget a {
  color: #ccc;
  transition: var(--transition);
}

.footer-widget a:hover {
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  color: #999;
  font-size: 14px;
}

/* ===========================
   RESPONSIVE DESIGN
=========================== */

@media (max-width: 768px) {
  .header-main .container {
    flex-wrap: wrap;
  }
  
  .main-navigation {
    display: none;
    width: 100%;
    order: 3;
  }
  
  .main-navigation.active {
    display: block;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-slide,
  .video-banner {
    height: 400px;
  }
  
  .hero-slide-content h2,
  .video-banner-content h1 {
    font-size: 32px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .collections-grid,
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
}

/* ===========================
   ANIMATIONS
=========================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.8s ease;
}

/* ===========================
   UTILITIES
=========================== */

.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

.mt-0 { margin-top: 0; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }