/*
Theme Name: Luxe Fashion
Theme URI: https://yoursite.com
Author: Your Name
Author URI: https://yoursite.com
Description: A premium fashion store WordPress theme with elegant design, smooth animations, and a full e-commerce ready layout.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luxe-fashion
Tags: e-commerce, fashion, elegant, responsive, custom-colors
*/

/* =============================================
   CSS VARIABLES & ROOT
============================================= */
:root {
  --black: #0a0a0a;
  --white: #fafaf8;
  --cream: #f5f0e8;
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --charcoal: #2c2c2c;
  --mid-gray: #888;
  --light-gray: #e0ddd8;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-hover: 0 16px 60px rgba(0,0,0,0.2);
}



.site-logo-img {
  height: 80px;       /* adjust to fit your header height */
  width: auto;
  display: block;
  object-fit: contain;
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* =============================================
   LAYOUT UTILITIES
============================================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad { padding: 6rem 0; }
.section-pad-sm { padding: 3rem 0; }

.text-center { text-align: center; }
.text-gold { color: var(--gold); }

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}
.btn-primary:hover { color: var(--black); }
.btn-primary:hover::after { transform: scaleX(1); }

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--charcoal);
  color: var(--white);
}

/* =============================================
   HEADER / NAVIGATION
============================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 1.5rem 0;
}

#site-header.scrolled {
  background: rgba(250, 250, 248, 0.97);
  backdrop-filter: blur(12px);
  padding: 0.9rem 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}

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

.site-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
  transition: var(--transition);
}
#site-header.scrolled .site-logo { color: var(--black); }

.main-nav ul {
  display: flex;
  gap: 2.2rem;
}
.main-nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  position: relative;
}
#site-header.scrolled .main-nav a { color: var(--charcoal); }

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.main-nav a:hover::after,
.main-nav a.current-menu-item::after { width: 100%; }
.main-nav a:hover { color: var(--gold-light); }
#site-header.scrolled .main-nav a:hover { color: var(--gold); }

.header-icons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: rgba(255,255,255,0.9);
}
#site-header.scrolled .header-icons { color: var(--charcoal); }
.header-icons a { font-size: 1.1rem; }
.header-icons a:hover { color: var(--gold); }

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--gold);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  margin-left: 2px;
  vertical-align: super;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: var(--transition);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--white);
  letter-spacing: 0.05em;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute;
  top: 2rem; right: 2rem;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
}

/* =============================================
   FOOTER
============================================= */
#site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-brand .site-logo {
  display: block;
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.8; max-width: 280px; }

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.4rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}
.footer-col ul a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* =============================================
   PRODUCT CARD
============================================= */
.product-card {
  position: relative;
  overflow: hidden;
}
.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--cream);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.06); }

.product-card-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
}

.product-card-actions {
  position: absolute;
  bottom: 1rem;
  left: 1rem; right: 1rem;
  display: flex;
  gap: 0.5rem;
  transform: translateY(120%);
  transition: var(--transition);
}
.product-card:hover .product-card-actions { transform: translateY(0); }

.product-card-info {
  padding: 1.2rem 0.2rem 0.5rem;
}
.product-card-info h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.product-card-info .price {
  font-size: 0.9rem;
  color: var(--charcoal);
}
.product-card-info .price-old {
  text-decoration: line-through;
  color: var(--mid-gray);
  margin-right: 0.5rem;
}
.product-card-info .price-sale { color: #c0392b; }

/* =============================================
   PAGE BANNER
============================================= */
.page-banner {
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
  position: relative;
  background: var(--charcoal);
  overflow: hidden;
  margin-top: 0;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  z-index: 1;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
}
.page-banner-content {
  position: relative;
  z-index: 2;
  color: white;
  padding-top: 6rem;
}
.page-banner-content h1 { color: white; margin-bottom: 0.5rem; }

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 0.5rem;
}
.breadcrumb a { color: white; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { opacity: 0.6; }

/* =============================================
   FORMS
============================================= */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--light-gray);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  outline: none;
  transition: var(--transition);
  border-radius: 0;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .main-nav, .header-icons .search-icon { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .section-pad { padding: 4rem 0; }
  .container { padding: 0 1.2rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }
}