/*
Theme Name: Enzian Royal Gold - Perfume Store
Theme URI: https://example.com/enzian-perfume-theme
Author: Custom Studio Design
Author URI: https://example.com
Description: A classic, ultra-luxury Black & Gold cosmetic and perfume WooCommerce theme inspired by Enzian Perfume Store. Features 3 animated hero banners, smooth scrolling, interactive bottle engraving customizer, gender filtering (Male/Female), luxury gifting catalog, phone OTP verification modal, complete My Account dashboard, and full WooCommerce integration.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, black-and-gold, luxury, customization, bottle-engraving, woocommerce, responsive, smooth-scroll, phone-otp, my-account
Text Domain: enzian-perfume
*/

:root {
  --primary-gold: #D4AF37;         /* Metallic Classic Gold */
  --primary-gold-hover: #C5A059;
  --gold-light: #F4EBE1;           /* Soft Champagne Accent */
  --bg-dark: #000;              /* Rich Deep Black */
  --bg-dark-secondary: #1A1A1A;    /* Dark Charcoal Card BG */
  --bg-light: #FAF8F5;             /* Warm Light Cream for contrasted sections */
  --bg-white: #FFFFFF;
  --text-dark: #222222;
  --text-light: #F5F5F5;
  --text-gold: #D4AF37;
  --text-muted: #777777;
  --border-dark: #333333;
  --border-light: #E8E8E8;
  --border-gold: rgba(212, 175, 55, 0.3);

  --font-heading: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-max-width: 1240px;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --box-shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.15);
  --box-shadow-dark: 0 15px 35px rgba(0, 0, 0, 0.4);
}

html {
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  font-weight: 500;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Buttons & UI Tokens
   ========================================================================== */
.btn-gold {
  display: inline-block;
  padding: 14px 34px;
  background: linear-gradient(135deg, #D4AF37 0%, #AA7C11 100%);
  color: #111;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid var(--primary-gold);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  border-radius: 0;
  text-align: center;
}

.btn-gold:hover {
  background: #111;
  color: var(--primary-gold);
  border-color: var(--primary-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline-gold {
  display: inline-block;
  padding: 13px 32px;
  background: transparent;
  color: var(--primary-gold);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid var(--primary-gold);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-outline-gold:hover {
  background: var(--primary-gold);
  color: #111;
  transform: translateY(-2px);
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 45px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-gold);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 34px;
  position: relative;
  display: inline-block;
}

.section-title.title-dark { color: var(--text-dark); }
.section-title.title-light { color: var(--text-light); }

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
  margin: 14px auto 0;
}

/* ==========================================================================
   Header & Navigation Menu
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-topbar {
  background: linear-gradient(90deg, #0A0A0A 0%, #1A1A1A 50%, #0A0A0A 100%);
  color: var(--primary-gold);
  font-size: 12px;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 2px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 5px;
  color: var(--primary-gold);
  text-transform: uppercase;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.main-navigation a {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  position: relative;
  padding: 8px 0;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--primary-gold);
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-icon-btn {
  font-size: 18px;
  color: var(--primary-gold);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.header-icon-btn:hover {
  transform: scale(1.15);
  color: #FFF;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: var(--primary-gold);
  color: #111;
  font-size: 11px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero-slider-container {
  position: relative;
  width: 100%;
  min-height: 580px;
  background-color: var(--bg-dark);
  overflow: hidden;
  color: var(--text-light);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active-slide {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
  transform: scale(1.05);
  transition: transform 6s ease;
}

.hero-slide.active-slide .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  max-width: 650px;
}

.hero-slide-content .hero-title {
  font-size: 52px;
  line-height: 1.15;
  color: #FFF;
  margin-bottom: 22px;
}

.slider-controls {
  position: absolute;
  bottom: 25px;
  right: 40px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 15px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--primary-gold);
  background: transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dot.active-dot {
  background: var(--primary-gold);
  transform: scale(1.3);
}

/* ==========================================================================
   Feature Cards / Why Choose Us
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.why-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 35px 25px;
  text-align: center;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.why-card:hover {
  border-color: var(--primary-gold);
  box-shadow: var(--box-shadow-gold);
  transform: translateY(-5px);
}

.why-card i {
  font-size: 36px;
  color: var(--primary-gold);
  margin-bottom: 18px;
}

/* ==========================================================================
   Product Cards & Grid
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  text-align: center;
  padding: 24px 20px;
  position: relative;
  transition: var(--transition-smooth);
}

.product-card:hover {
  box-shadow: var(--box-shadow-gold);
  border-color: var(--primary-gold);
  transform: translateY(-5px);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-gold);
  color: #111;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
}

.product-image img {
  max-height: 100%;
  transition: var(--transition-smooth);
}

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

.product-title {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.product-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-gold);
  margin-bottom: 16px;
}

/* ==========================================================================
   My Account Dashboard Layout
   ========================================================================== */
.account-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}

.account-sidebar-menu {
  list-style: none;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
}

.account-sidebar-menu li button {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: #FFF;
  border: none;
  border-bottom: 1px solid var(--border-light);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-smooth);

}

.account-sidebar-menu li button:hover,
.account-sidebar-menu li button.active-acc-tab {
  background: var(--bg-dark);
  color: var(--primary-gold);
}

.account-sidebar-menu li:last-child button {
  border-bottom: none;
}

/* ==========================================================================
   Phone OTP Verification Modal
   ========================================================================== */
.otp-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.otp-modal-content {
  background: var(--bg-dark);
  border: 1px solid var(--border-gold);
  padding: 40px;
  border-radius: 4px;
  width: 100%;
  max-width: 440px;
  color: #FFF;
  text-align: center;
  position: relative;
  box-shadow: var(--box-shadow-dark);
}

/* Trust Badges */
.trust-badges-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px;
  background: var(--bg-light);
  border-radius: 4px;
  text-align: center;
  margin-top: 40px;
}

.trust-badge-item i {
  font-size: 28px;
  color: var(--primary-gold);
  margin-bottom: 8px;
}

.site-footer {
  background-color: var(--bg-dark);
  color: #BBB;
  padding: 80px 0 35px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-widget h4 {
  color: var(--primary-gold);
  font-size: 17px;
  margin-bottom: 22px;
  letter-spacing: 1.5px;
}

.footer-widget ul { list-style: none; }
.footer-widget li { margin-bottom: 12px; }
.footer-widget a { color: #AAA; font-size: 14px; }
.footer-widget a:hover { color: var(--primary-gold); }

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #777;
}

@media (max-width: 992px) {
  .account-wrapper { grid-template-columns: 1fr; }
  .why-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
  .why-grid, .products-grid { grid-template-columns: 1fr; }
  .trust-badges-wrap { grid-template-columns: 1fr 1fr; }
  .main-navigation { display: none; }
}
