/*
Theme Name: Hair Atelier LUMINA
Theme URI: https://lumina-hair.jp/
Author: Antigravity Team
Author URI: https://lumina-hair.jp/
Description: Hair Atelier LUMINA（ヘアアトリエ ルミナ）の洗練された高級・ナチュラルなトータルビューティーサロン向けWordPressカスタムテーマです。レスポンシブ、ダークモード、SEO、Schema構造化データに標準対応。
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: lumina-theme
Tags: modern, clean, minimal, luxury, responsive-layout, custom-menu, post-formats, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool.
*/

/* ==========================================================================
   0. CSS Variables & Theme Setup (Custom Properties)
   ========================================================================== */
:root {
  /* Font Family */
  --font-serif: "Cinzel", "Noto Serif JP", serif;
  --font-sans: "Inter", "Noto Sans JP", sans-serif;

  /* Color Palette - Light Mode (Default) */
  --bg-color: #FAF9F6;           /* オフホワイト */
  --bg-color-alt: #FFFFFF;       /* 純白（カード・要素背景） */
  --bg-footer: #F1EFEA;          /* やわらかな砂色（フッター背景） */
  --text-main: #222222;          /* チャコールブラック */
  --text-sub: #5A5A5A;           /* スレートグレー */
  --text-muted: #8E8A82;         /* ミュートされたグレージュ */
  --border-color: #E8E4DC;       /* サンドベージュ */
  --primary-gold: #C5A880;       /* 上品なブラッシュゴールド */
  --primary-gold-hover: #B4966F; /* ゴールドホバー時 */
  --accent-pink: #DCAE9E;        /* くすみピンク */
  --accent-pink-hover: #CDA090;  /* ピンクホバー時 */
  --glass-bg: rgba(250, 249, 246, 0.75);
  --glass-border: rgba(232, 228, 220, 0.4);
  --glass-shadow: rgba(0, 0, 0, 0.03);
  --selection-bg: rgba(197, 168, 128, 0.2);

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;

  /* Layout Spacing */
  --section-space-desktop: 120px;
  --section-space-mobile: 80px;
  --container-width: 1200px;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --bg-color: #121212;
  --bg-color-alt: #1E1E1E;
  --bg-footer: #0A0A0A;
  --text-main: #F5F5F5;
  --text-sub: #C0C0C0;
  --text-muted: #808080;
  --border-color: #2D2D2D;
  --primary-gold: #D4AF37;
  --primary-gold-hover: #E5C158;
  --accent-pink: #E2B2A2;
  --accent-pink-hover: #F2C2B2;
  --glass-bg: rgba(18, 18, 18, 0.8);
  --glass-border: rgba(45, 45, 45, 0.6);
  --glass-shadow: rgba(0, 0, 0, 0.4);
  --selection-bg: rgba(212, 175, 55, 0.25);
}

/* ==========================================================================
   1. Modern Reset CSS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.8;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

/* Typography Reset */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.1em;
  color: var(--text-main);
}

p {
  margin-bottom: 1.5rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Links & Buttons */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, textarea, select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

button {
  cursor: pointer;
}

/* Lists */
ul, ol {
  list-style: none;
}

/* Media Elements */
img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  fill: currentColor;
}

::selection {
  background-color: var(--selection-bg);
}

/* ==========================================================================
   2. Core Utility Classes & WP Core Elements
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.alignwide {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}

/* Screen reader text for accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* Clearfix for float layouts */
.clear::after {
  content: "";
  display: table;
  clear: both;
}
