/*
Theme Name: OIHANA
Theme URI: https://oihanalasa.com
Author: OIHANA
Description: Thème WordPress sur-mesure pour OIHANA — accessoires de mode faits main (bijoux, sacs à main, ceintures). Phase 1 : site vitrine (Book/Portfolio, sans vente en ligne). Conçu pour accueillir WooCommerce en Phase 2 sans refonte.
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oihana
Requires at least: 6.4
Requires PHP: 8.0
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --oihana-ink: #1a1a18;
  --oihana-paper: #faf8f4;
  --oihana-muted: #7a766f;
  --oihana-gold: #a9895a;
  --oihana-line: #e4e0d8;
  --oihana-band: #efece5;

  --oihana-font-display: "Lora", Georgia, "Times New Roman", serif;
  --oihana-font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ==========================================================================
   Reset (minimal)
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

body {
  font-family: var(--oihana-font-body);
  color: var(--oihana-ink);
  background: var(--oihana-paper);
  -webkit-font-smoothing: antialiased;
}

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ==========================================================================
   Site nav (used in header.php)
   ========================================================================== */
.oihana-nav {
  position: absolute;
  top: 34px; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 5;
}
.oihana-nav .custom-logo-link img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .95;
}
.oihana-nav.is-static .custom-logo-link img { filter: none; opacity: 1; }
.oihana-nav.is-static { position: relative; top: 0; padding: 28px 48px; }
.oihana-nav.is-static ul li a { color: var(--oihana-ink); }

.oihana-nav ul { display: flex; gap: 34px; }
.oihana-nav ul li a {
  font-size: 11px;
  letter-spacing: 2.5px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 300;
  opacity: .92;
}
.oihana-nav ul li a:hover { opacity: 1; border-bottom: 1px solid currentColor; }

/* ==========================================================================
   Hero (front-page.php)
   ========================================================================== */
.oihana-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.oihana-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,.12) 30%, rgba(0,0,0,.15) 70%, rgba(0,0,0,.55) 100%);
}
.oihana-hero-content { position: relative; z-index: 2; text-align: center; color: #fff; }
.oihana-eyebrow {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  font-weight: 300; opacity: .9; margin-bottom: 22px;
}
.oihana-wordmark {
  font-family: var(--oihana-font-display);
  font-weight: 500; font-size: 84px; letter-spacing: 2px; line-height: 1; margin: 0;
}
.oihana-hero-logo { margin: 0; line-height: 0; }
.oihana-hero-logo img {
  height: 96px;
  width: auto;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}
.oihana-rule { width: 46px; height: 1px; background: currentColor; opacity: .8; margin: 26px auto; }
.oihana-baseline { font-size: 13px; letter-spacing: 4px; text-transform: uppercase; font-weight: 300; margin: 0; }
.oihana-scroll-cue {
  position: absolute; bottom: 34px; left: 0; right: 0; text-align: center;
  color: #fff; font-size: 10px; letter-spacing: 3px; z-index: 2; opacity: .85;
}

/* ==========================================================================
   Intro
   ========================================================================== */
.oihana-intro { max-width: 640px; margin: 0 auto; padding: 140px 32px; text-align: center; }
.oihana-intro p {
  font-family: var(--oihana-font-display); font-style: italic;
  font-size: 26px; line-height: 1.55; color: #2c2a26; margin: 0;
}
.oihana-intro a {
  display: inline-block; margin-top: 30px;
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--oihana-gold); border-bottom: 1px solid var(--oihana-gold); padding-bottom: 4px;
}

/* ==========================================================================
   Editorial duo
   ========================================================================== */
.oihana-editorial-duo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2px; background: var(--oihana-paper); }
.oihana-editorial-duo img { width: 100%; height: 78vh; object-fit: cover; }

/* ==========================================================================
   Categories
   ========================================================================== */
.oihana-categories { padding: 130px 48px 40px; text-align: center; }
.oihana-section-heading { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--oihana-muted); margin-bottom: 50px; }
.oihana-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1200px; margin: 0 auto; }
.oihana-cat-tile { position: relative; overflow: hidden; display: block; }
.oihana-cat-tile img { width: 100%; height: 460px; object-fit: cover; transition: transform .6s ease; }
.oihana-cat-tile:hover img { transform: scale(1.04); }
.oihana-cat-tile .oihana-cat-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%); }
.oihana-cat-tile .oihana-cat-label { position: absolute; bottom: 26px; left: 0; right: 0; color: #fff; font-family: var(--oihana-font-display); font-size: 19px; letter-spacing: 1px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.oihana-cta-band { margin: 130px 0 0; padding: 90px 32px; text-align: center; background: var(--oihana-band); }
.oihana-cta-band .oihana-eyebrow { color: var(--oihana-muted); }
.oihana-cta-band h2 { font-family: var(--oihana-font-display); font-weight: 500; font-size: 32px; margin: 14px 0 30px; }
.oihana-btn { display: inline-block; padding: 15px 38px; border: 1px solid var(--oihana-ink); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; }
.oihana-btn:hover { background: var(--oihana-ink); color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.oihana-footer { padding: 60px 48px 40px; text-align: center; }
.oihana-footer-nav { display: flex; justify-content: center; gap: 26px; margin-bottom: 26px; flex-wrap: wrap; }
.oihana-footer-nav li a { font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--oihana-muted); font-weight: 300; }
.oihana-legal { font-size: 10px; letter-spacing: 1px; color: #b3ada2; margin-top: 8px; }
.oihana-legal a { border-bottom: 1px solid transparent; }
.oihana-legal a:hover { border-color: currentColor; }
.oihana-copyright { font-size: 10.5px; letter-spacing: 1.5px; color: var(--oihana-muted); }

/* ==========================================================================
   Generic page (page.php) — Book, À propos, Shop, Contact, etc. use this
   until their dedicated templates are built out
   ========================================================================== */
.oihana-page-header { padding: 160px 32px 60px; text-align: center; }
.oihana-page-header h1 { font-family: var(--oihana-font-display); font-weight: 500; font-size: 44px; margin: 0; }
.oihana-page-content { max-width: 720px; margin: 0 auto; padding: 0 32px 140px; font-size: 15px; line-height: 1.8; }
.oihana-page-content p { margin: 0 0 1.4em; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 820px) {
  .oihana-wordmark { font-size: 52px; }
  .oihana-hero-logo img { height: 58px; }
  .oihana-nav .custom-logo-link img { height: 34px; }
  .oihana-nav { padding: 0 22px; top: 22px; }
  .oihana-nav.is-static { padding: 22px 22px; }
  .oihana-nav ul { gap: 16px; }
  .oihana-nav ul li a { font-size: 9.5px; letter-spacing: 1.5px; }
  .oihana-editorial-duo { grid-template-columns: 1fr; }
  .oihana-editorial-duo img { height: 52vh; }
  .oihana-cat-grid { grid-template-columns: 1fr; }
  .oihana-cat-tile img { height: 340px; }
  .oihana-intro p { font-size: 20px; }
  .oihana-categories, .oihana-nav { padding-left: 22px; padding-right: 22px; }
}
