/*
Theme Name: Luxe Companion
Theme URI: https://example.com/luxe-companion
Author: Custom for Content Creator
Description: Elegant dark theme for adult content creators – sell digital content, blog, and screen F2F appointments. WooCommerce ready.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: luxe-companion
Tags: dark, adult, portfolio, blog, e-commerce, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===== CSS VARIABLES ===== */
:root {
  --bg-dark: #0d0d0d;
  --bg-card: #161616;
  --bg-elevated: #1f1f1f;
  --accent: #c9a87c;          /* soft gold */
  --accent-hover: #e0c19a;
  --text-primary: #f5f0e8;
  --text-secondary: #b8b0a4;
  --text-muted: #7a736a;
  --border: #2a2a2a;
  --danger: #c45c5c;
  --success: #6b9b7a;
  --radius: 12px;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-primary);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

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

.site-branding a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.site-branding a:hover { color: var(--accent); }

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.main-navigation a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--accent);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
}

/* ===== HERO / FRONT PAGE ===== */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, #111 0%, var(--bg-dark) 100%);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #0d0d0d;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #0d0d0d;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #0d0d0d;
}

/* ===== CONTENT CARDS / SECTIONS ===== */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card-img {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 1.25rem;
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== BLOG ===== */
.post-list article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.75rem;
}

.post-list .entry-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.entry-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.entry-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Single post */
.single-post .entry-header {
  margin-bottom: 2rem;
  text-align: center;
}
.single-post .entry-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

/* ===== PAGE ===== */
.page-header {
  padding: 3rem 0 1.5rem;
  text-align: center;
}
.page-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

/* ===== SCREENING FORM ===== */
.screening-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.form-checkbox input {
  margin-top: 0.25rem;
  width: auto;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  text-align: center;
}
.form-message.success {
  background: rgba(107, 155, 122, 0.15);
  border: 1px solid var(--success);
  color: var(--success);
}
.form-message.error {
  background: rgba(196, 92, 92, 0.15);
  border: 1px solid var(--danger);
  color: var(--danger);
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  list-style: none;
}
.footer-nav a { color: var(--text-secondary); }
.footer-nav a:hover { color: var(--accent); }

/* ===== AGE GATE ===== */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.age-gate-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 420px;
  text-align: center;
}
.age-gate-box h2 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
}
.age-gate-box p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.age-gate-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ===== WOOCOMMERCE TWEAKS ===== */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.woocommerce .button,
.woocommerce button.button {
  background: var(--accent) !important;
  color: #0d0d0d !important;
  border-radius: 50px !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
  }
  .main-navigation.active { display: block; }
  .main-navigation ul {
    flex-direction: column;
    gap: 1rem;
  }
  .hero { padding: 3.5rem 0 3rem; }
  .screening-form-wrap { padding: 1.75rem; }
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ===== DEPOSIT BOX ===== */
.deposit-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.5rem;
}
.deposit-label {
  font-weight: 600 !important;
  color: var(--accent) !important;
  margin-bottom: 0.6rem !important;
}
.deposit-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.55;
}
.deposit-text p { margin: 0; }

/* ===== FAQ ACCORDION ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}
.faq-question:hover {
  background: var(--bg-elevated);
}
.faq-icon {
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.35rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.35rem 1.25rem;
}
.faq-answer p { margin: 0; }

/* Gallery tweaks */
.gallery-grid .product-card .price {
  color: var(--accent);
  font-weight: 600;
}
