/*
 * Theme Name: Parquet Elite
 * Theme URI: https://parquet-elite.test
 * Description: A minimal, dark luxury WordPress theme built for Parquet Elite. Designed for Elementor Pro page building.
 * Version: 1.0.0
 * Author: Parquet Elite
 * Author URI: https://parquet-elite.test
 * Text Domain: parquet-elite
 * Domain Path: /languages
 * License: GPL v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Requires at least: 6.4
 * Tested up to: 6.7
 * Requires PHP: 8.1
 */

/* =====================================================
   CSS VARIABLES & COLOR TOKENS
   ===================================================== */

:root {
  --color-ink: #1A1410;        /* main page background */
  --color-espresso: #2E2118;   /* alternate section background */
  --color-cream: #F5F0E8;      /* primary text */
  --color-bark: #6B4C2A;       /* mid wood tone, borders */
  --color-gold: #C9A95A;       /* primary accent, CTAs */
  --color-gold-light: #E8D4A0; /* headings, hover states */
  --color-muted: #8C7B6A;      /* secondary/muted text */
  --color-border: rgba(201, 169, 90, 0.15); /* subtle gold borders */
}

/* =====================================================
   BASE STYLES
   ===================================================== */

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: 'Jost', sans-serif;
  background-color: var(--color-ink);
  color: var(--color-cream);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: var(--color-cream);
  line-height: 1.1;
  margin: 0 0 1rem 0;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.9rem; }

p {
  margin: 0 0 1.5rem 0;
}

/* =====================================================
   SCROLLBAR STYLING
   ===================================================== */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-ink);
}

::-webkit-scrollbar-thumb {
  background: var(--color-bark);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* =====================================================
   SELECTION & TEXT
   ===================================================== */

::selection {
  background: var(--color-gold);
  color: var(--color-ink);
}

::placeholder {
  color: var(--color-muted);
}

/* =====================================================
   LINKS
   ===================================================== */

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-gold-light);
}

/* =====================================================
   BUTTONS
   ===================================================== */

button, input[type="button"], input[type="submit"] {
  cursor: pointer;
  border: none;
  font-family: 'Jost', sans-serif;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  background: var(--color-gold);
  color: var(--color-espresso);
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}

.btn-gold:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px);
  color: var(--color-espresso);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--color-cream);
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid rgba(245, 240, 232, 0.25);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* =====================================================
   FORMS
   ===================================================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="phone"],
textarea,
select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(46, 33, 24, 0.5);
  color: var(--color-cream);
  border: 1px solid rgba(201, 169, 90, 0.2);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  border-radius: 0;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="phone"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(46, 33, 24, 0.8);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* =====================================================
   PRODUCT CARD
   ===================================================== */

.product-card {
  background: rgba(245, 240, 232, 0.04);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  border-color: rgba(201, 169, 90, 0.4);
  transform: translateY(-4px);
}

.product-card-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.product-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-cream);
  margin-bottom: 0.5rem;
}

.product-card-meta {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-card-price {
  font-size: 0.85rem;
  color: var(--color-gold-light);
  font-weight: 500;
}

/* =====================================================
   ELEMENTOR SUPPORT
   ===================================================== */

.elementor-section,
.e-con {
  background-color: var(--color-ink) !important;
}

.elementor-widget-container {
  color: var(--color-cream);
}

/* =====================================================
   UTILITIES
   ===================================================== */

.gold-line {
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  background: var(--color-gold);
  vertical-align: middle;
  margin-right: 1rem;
}

.section-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-eyebrow::after {
  content: '';
  flex: 0 0 2rem;
  height: 1px;
  background: var(--color-gold);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* =====================================================
   WORDPRESS ADMIN BAR FIX
   ===================================================== */

html.wp-toolbar {
  margin-top: 0 !important;
}

body.admin-bar {
  padding-top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar {
    padding-top: 46px;
  }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.3rem; }
  
  body {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1rem; }
  
  .container {
    padding: 0 1rem;
  }
}
