/*
Theme Name: Bluelight Glasses Theme
Theme URI: https://yourdomain.com/
Author: Your Name
Author URI: https://yourdomain.com/
Description: A modern, SEO-friendly, and fast WordPress theme for blue light glasses e-commerce stores targeting the US market.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bluelight-glasses-theme
Tags: e-commerce, blue, white, gray, responsive, SEO, modern
*/

:root {
  --primary-blue: #3a86ff;
  --secondary-blue: #0a66c2;
  --light-gray: #f8f9fa;
  --dark-gray: #343a40;
  --white: #fff;
  --accent: #00b4d8;
  --font-main: 'Poppins', 'Open Sans', Arial, sans-serif;
  --box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  --transition: all 0.3s ease;
}

body {
  font-family: var(--font-main);
  color: var(--dark-gray);
  background: var(--light-gray);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark-gray);
  font-weight: 600;
  margin-top: 0;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

h3 {
  font-size: 1.5rem;
}

a {
  color: var(--secondary-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.site-logo img {
  height: 40px;
  margin-right: 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0 15px;
}

.nav-menu a {
  color: var(--dark-gray);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

.nav-menu a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-menu a:hover:after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero-content {
  max-width: 550px;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #555;
}

.hero-image {
  max-width: 500px;
  width: 100%;
}

.hero-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

/* Button Styles */
.btn {
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
}

.btn:hover {
  background: var(--secondary-blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: rgba(58, 134, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 35px;
  height: 35px;
  color: var(--primary-blue);
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: var(--white);
  border-radius: 20px;
  padding: 0.25rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.product-details {
  padding: 1.5rem;
}

.product-title {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.product-price {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.product-rating {
  color: #ffc107;
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.testimonial-author {
  font-weight: 600;
}

/* Newsletter */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.newsletter-section h2 {
  color: var(--white);
}

.newsletter-section h2:after {
  background: var(--white);
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
}

.newsletter-form button {
  background: var(--accent);
}

/* Footer */
.site-footer {
  background: var(--dark-gray);
  color: #adb5bd;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #adb5bd;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    padding: 4rem 0;
  }
  
  .hero-content, .hero-image {
    max-width: 100%;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1.5rem;
  }
} 