/*
Theme Name: Lumina
Theme URI: https://luminadesign.com
Author: Lumina Studio
Author URI: https://luminadesign.com
Description: A premium lighting company theme with advanced product management via ACF custom fields.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lumina
Tags: full-width-template, custom-menu, custom-logo, featured-images, threaded-comments
*/

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

:root {
  --black:       #080808;
  --deep:        #0f0f0f;
  --dark:        #1a1a1a;
  --card:        #141414;
  --border:      #2a2a2a;
  --muted:       #888888;
  --light:       #c8c4be;
  --white:       #f0ece6;
  --gold:        #c8a96e;
  --gold-light:  #e0c896;
  --gold-dark:   #9a7c46;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Syne', 'Helvetica Neue', sans-serif;

  --radius:      4px;
  --radius-lg:   8px;
  --transition:  0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --max-width:   1400px;
  --gutter:      clamp(1.5rem, 4vw, 4rem);
}

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; }

h1 { font-size: clamp(3rem, 7vw, 6.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.5vw, 4rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
h5 { font-size: 0.8rem; font-family: var(--font-body); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

p { max-width: 65ch; }

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

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap { gap: 1.5rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mt-5 { margin-top: 5rem; }

/* ============================================
   SECTION SPACING
   ============================================ */
.section { padding: clamp(4rem, 10vw, 10rem) 0; }
.section-sm { padding: clamp(2rem, 5vw, 5rem) 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 169, 110, 0.3);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--white);
  padding-left: 0;
}
.btn-ghost:hover { color: var(--gold); }

.btn-ghost::after {
  content: '→';
  transition: transform var(--transition);
}
.btn-ghost:hover::after { transform: translateX(4px); }

/* ============================================
   DIVIDERS
   ============================================ */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
}
.divider-gold {
  width: 3rem;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem 0;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.35s; }
.reveal-delay-4 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hide-mobile { display: none; }
}
