/*
Theme Name: Veylorae Aesthetic
Theme URI: https://veylorae.shop
Author: Veylorae
Author URI: https://veylorae.shop
Description: A premium, aesthetic e-commerce theme for beauty and lifestyle products. Minimal, elegant, and modern design with smooth animations.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
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: veylorae-aesthetic
Tags: e-commerce, custom-menu, featured-images, theme-options, translation-ready
WC requires at least: 5.0
WC tested up to: 8.0
*/

/* ============================================
   VEYLORAE AESTHETIC - Premium Theme Styles
   ============================================ */

/* CSS Variables */
:root {
  --gold: #c9a87c;
  --gold-light: #e8d5b7;
  --gold-dark: #a88a5c;
  --dark: #1a1a1a;
  --dark-soft: #2c2c2c;
  --text: #444444;
  --text-light: #777777;
  --white: #ffffff;
  --bg: #faf8f5;
  --bg-warm: #f5f0eb;
  --border: #e8e4df;
  --shadow: rgba(0, 0, 0, 0.06);
  --shadow-hover: rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.site-logo span {
  color: var(--gold);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.current::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-actions a {
  font-size: 1.1rem;
  color: var(--dark);
  position: relative;
}

.header-actions .cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-warm) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-text {
  animation: fadeInUp 1s ease;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--gold-light);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-text h1 {
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-text h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  animation: fadeInRight 1s ease;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px var(--shadow);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--dark);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 168, 124, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 168, 124, 0.4);
}

/* ============================================
   FEATURES BAR
   ============================================ */
.features-bar {
  background: var(--white);
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 24px 16px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
}

.feature-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.feature-item p {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .subtitle {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ============================================
   PRODUCT GRID (WooCommerce Override)
   ============================================ */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)) !important;
  gap: 30px !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product {
  background: var(--white) !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
  transition: var(--transition) !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px var(--shadow-hover) !important;
  border-color: var(--gold-light) !important;
}

.woocommerce ul.products li.product a img {
  border-radius: 0 !important;
  margin: 0 !important;
  transition: var(--transition);
}

.woocommerce ul.products li.product:hover a img {
  transform: scale(1.03);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: var(--dark) !important;
  padding: 16px 20px 4px !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product .price {
  color: var(--gold-dark) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding: 0 20px 16px !important;
  display: block !important;
}

.woocommerce ul.products li.product .price del {
  color: var(--text-light) !important;
  font-weight: 400 !important;
  font-size: 0.85rem !important;
}

.woocommerce ul.products li.product .price ins {
  color: var(--gold-dark) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button {
  margin: 0 20px 20px !important;
  padding: 12px 28px !important;
  background: var(--dark) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 50px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  transition: var(--transition) !important;
  display: inline-block !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--gold) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(201, 168, 124, 0.3) !important;
}

/* Sale Badge */
.woocommerce span.onsale {
  background: var(--gold) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 6px 14px !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  min-width: auto !important;
  min-height: auto !important;
  line-height: 1.4 !important;
  top: 16px !important;
  right: 16px !important;
}

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 168, 124, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.promo-banner h2 {
  color: var(--white) !important;
  margin-bottom: 16px;
}

.promo-banner p {
  color: var(--gold-light);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--bg);
  padding: 36px;
  border-radius: var(--radius);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--gold-light);
  position: absolute;
  top: 16px;
  left: 24px;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
  padding-top: 24px;
  color: var(--text);
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 4px;
  letter-spacing: 2px;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
  background: var(--bg-warm);
  padding: 80px 0;
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 32px auto 0;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 24px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  background: var(--white);
  transition: var(--transition);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand .site-logo {
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col ul a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ============================================
   CART & CHECKOUT
   ============================================ */
.woocommerce-cart table.cart,
.woocommerce-cart form.cart {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.woocommerce-cart .button {
  border-radius: 50px !important;
  background: var(--dark) !important;
  padding: 12px 30px !important;
}

.woocommerce-cart .button:hover {
  background: var(--gold) !important;
}

.woocommerce-checkout #order_review {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px;
  }
  
  .hero-desc {
    margin: 0 auto 36px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .hero-section {
    min-height: 70vh;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .section {
    padding: 60px 0;
  }
}