/*
Theme Name: VAYO
Theme URI: https://example.com/vayo
Author: VAYO
Description: A responsive luxury fragrance landing page theme for VAYO Oud and VAYO Storm. The "Get in Touch" button opens WhatsApp (editable under Appearance > Customize > VAYO Settings).
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vayo
*/

:root {
	--navy-900: #07111f;
	--navy-800: #0b1b33;
	--navy-700: #12294a;
	--gold: #c9a35f;
	--gold-light: #e2c288;
	--cream: #f4ebe0;
	--cream-dark: #eadcc9;
	--ink: #1c2533;
	--head: "Marcellus", "Cinzel", Georgia, "Times New Roman", serif;
	--body: "Jost", "Helvetica Neue", Arial, sans-serif;
	--header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--body); font-weight: 300; font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; text-transform: uppercase; margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: #fff; color: #000; padding: 10px 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 13px 26px; font: 400 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline:hover { background: var(--navy-800); color: var(--cream); border-color: var(--navy-800); }
.btn-lg { padding: 18px 40px; font-size: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy-900); color: #fff; transition: background .3s, box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1320px, 100% - 48px); height: var(--header-h); margin-inline: auto; }
.logo-text { font-family: var(--head); font-size: 32px; letter-spacing: .12em; text-decoration: none; color: #fff; }
.custom-logo { max-height: 48px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav .menu { display: flex; gap: 36px; }
.main-nav .menu a { display: inline-block; padding: 6px 0; font-size: 14px; text-decoration: none; letter-spacing: .03em; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.main-nav .menu a:hover, .main-nav .current-menu-item > a { color: var(--gold-light); border-color: var(--gold); }
.nav-cta { padding: 11px 20px; font-size: 12px; }
.header-tools { display: flex; gap: 6px; }
.icon-btn { background: none; border: 0; color: #fff; padding: 10px; cursor: pointer; line-height: 0; }
.icon-btn:hover { color: var(--gold-light); }
.menu-toggle { display: none; }
.header-search { background: var(--navy-800); padding: 16px 24px; }
.header-search[hidden] { display: none; }
.search-form { display: flex; gap: 8px; max-width: 520px; margin-inline: auto; }
.search-form input[type="search"] { flex: 1; padding: 11px 14px; border: 1px solid var(--gold); background: #fff; font: inherit; color: var(--ink); }

/* Hero */
.hero { background: radial-gradient(900px 500px at 15% 40%, rgba(201,163,95,.18), transparent 60%), linear-gradient(100deg, #1a1a1f 0%, var(--navy-800) 45%, #0a2a52 100%); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 0; min-height: 560px; }
.eyebrow { font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; }
.eyebrow.dark { color: var(--navy-800); }
.hero h1 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: .05em; margin-bottom: 24px; }
.lead { max-width: 380px; font-size: 16px; margin-bottom: 32px; }
.hero-copy { padding-block: 56px; }
.hero-art img { width: 100%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%); mask-image: linear-gradient(to right, transparent 0, #000 14%); }

/* Features */
.features { background: var(--navy-800); color: #fff; border-top: 1px solid rgba(201,163,95,.25); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.features-grid li { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 22px 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; border-left: 1px solid rgba(201,163,95,.3); }
.features-grid li:first-child { border-left: 0; }
.features-grid svg { width: 38px; height: 38px; flex: none; color: var(--gold); }

/* Sections */
.collection, .story, .world, .philosophy, .contact { padding-block: 72px; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: .05em; }
.rule { display: block; width: 32px; height: 1px; background: var(--ink); margin: 20px auto 0; }
.section-head.light { color: #fff; }

/* Collection */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-radius: 12px; overflow: hidden; min-height: 280px; }
.card-oud { background: linear-gradient(110deg, #ecd9b6, #f5ead6); }
.card-storm { background: linear-gradient(110deg, #0a3a66, var(--navy-900)); color: #fff; }
.card-img { height: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-oud .card-img img { -webkit-mask-image: linear-gradient(to right, #000 80%, transparent); mask-image: linear-gradient(to right, #000 80%, transparent); }
.card-storm .card-img img { -webkit-mask-image: linear-gradient(to right, #000 75%, transparent); mask-image: linear-gradient(to right, #000 75%, transparent); }
.card-body { padding: 28px 28px 28px 8px; font-size: 14px; line-height: 1.6; }
.card h3 { font-size: 30px; letter-spacing: .08em; margin-bottom: 14px; }
.tagline { font-family: var(--head); text-transform: uppercase; letter-spacing: .16em; font-size: 15px; margin-bottom: 12px; }
.card .btn { padding: 11px 18px; font-size: 11px; margin-top: 6px; }

/* Story */
.story { background: linear-gradient(100deg, #f4ead9, #efe0cb); padding-block: 0; overflow: hidden; }
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; max-width: 1400px; margin-inline: auto; }
.story-copy { padding: 64px 24px 64px max(24px, 6vw); }
.story-copy h2 { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: .05em; margin-bottom: 20px; }
.story-copy p { max-width: 420px; font-size: 15px; }
.story-img img { width: 100%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%); mask-image: linear-gradient(to right, transparent 0, #000 12%); }

/* Philosophy */
.philosophy { background: radial-gradient(800px 300px at 50% 0, rgba(201,163,95,.14), transparent 70%), var(--navy-800); color: #fff; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 900px; margin-inline: auto; }
.pillars li { text-align: center; padding: 8px 28px; border-left: 1px solid rgba(255,255,255,.2); }
.pillars li:first-child { border-left: 0; }
.pillars svg { width: 36px; height: 36px; color: var(--gold); margin: 0 auto 14px; }
.pillars h3 { font-size: 14px; letter-spacing: .3em; margin-bottom: 8px; font-family: var(--body); font-weight: 400; }
.pillars p { font-size: 14px; opacity: .85; margin: 0; }

/* World */
.world { padding-block: 40px; }
.world-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 32px; align-items: center; }
.world-copy h2 { font-size: 26px; letter-spacing: .12em; margin-bottom: 14px; }
.world-copy p { font-size: 14px; margin: 0; max-width: 280px; }
.world-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.world-items li { text-align: center; }
.world-items img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 6px; }
.world-items span { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }

/* Contact */
.contact { background: var(--navy-900); color: #fff; text-align: center; background-image: radial-gradient(600px 240px at 50% 100%, rgba(201,163,95,.2), transparent 70%); }
.contact h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: .06em; margin-bottom: 14px; }
.contact p { opacity: .85; margin-bottom: 28px; }

/* Footer & generic content */
.site-footer { background: #040b15; color: rgba(255,255,255,.75); padding: 32px 0; font-size: 13px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-inner .logo-text { font-size: 22px; }
.footer-nav .menu { display: flex; gap: 24px; }
.copyright { margin: 0; }
.content-area { padding-block: 64px; min-height: 50vh; }
.page-title { font-size: 34px; letter-spacing: .05em; margin-bottom: 24px; }
.entry-title { font-size: 24px; margin-bottom: 8px; }
.entry { margin-bottom: 40px; }
.entry-content > * { max-width: 760px; }

/* Tablet */
@media (max-width: 1024px) {
	.main-nav .menu { gap: 22px; }
	.cards { grid-template-columns: 1fr; }
	.features-grid { grid-template-columns: repeat(2, 1fr); }
	.features-grid li:nth-child(3) { border-left: 0; }
	.features-grid li:nth-child(n+3) { border-top: 1px solid rgba(201,163,95,.3); }
	.world-grid { grid-template-columns: 1fr; }
	.world-copy p { max-width: 520px; }
}

/* Mobile nav + layout */
@media (max-width: 860px) {
	.menu-toggle { display: inline-block; }
	.main-nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 24px 24px; background: var(--navy-900); border-top: 1px solid rgba(201,163,95,.25); display: none; }
	.main-nav.is-open { display: flex; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
	.nav-cta { justify-content: center; margin-top: 18px; }
	.header-tools { margin-left: auto; }
	.hero-grid, .story-grid { grid-template-columns: 1fr; }
	.hero-grid { min-height: 0; }
	.hero-copy { padding-block: 48px 8px; }
	.hero-art img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%); mask-image: linear-gradient(to bottom, transparent 0, #000 14%); }
	.story-copy { padding: 48px 24px 16px; }
	.story-img img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%); mask-image: linear-gradient(to bottom, transparent 0, #000 14%); }
	.collection, .philosophy, .contact { padding-block: 56px; }
}

@media (max-width: 640px) {
	.card { grid-template-columns: 1fr; }
	.card-img img { height: 240px; -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent) !important; mask-image: linear-gradient(to bottom, #000 78%, transparent) !important; }
	.card-body { padding: 8px 24px 28px; }
	.pillars { grid-template-columns: 1fr; gap: 28px; }
	.pillars li { border-left: 0; border-top: 1px solid rgba(255,255,255,.2); padding-top: 28px; }
	.pillars li:first-child { border-top: 0; padding-top: 0; }
	.world-items { grid-template-columns: repeat(2, 1fr); }
	.features-grid li { flex-direction: column; text-align: center; gap: 8px; font-size: 11px; }
	.footer-inner { flex-direction: column; text-align: center; }
	.lead { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
