/*
Theme Name: Unique Perfume Basic
Theme URI: https://massa.kurdlabs.com
Author: Unique Perfume
Description: Luxury perfume theme inspired by Klonescents & Dior.
Version: 2.0.0
Text Domain: unique-perfume-basic
*/

/* ============================================
   LUXURY PERFUME THEME - Klonescents & Dior Inspired
   ============================================ */

:root {
    /* Luxury Color Palette - Light Mode (Default) */
    --bg: #faf9f7;
    --surface: #ffffff;
    --ink: #1a1a1a;
    --muted: #6b6b6b;
    --brand: #000000;
    --accent: #c9a962;
    --accent-hover: #b8984f;
    --line: #e8e6e3;
    --cream: #f5f3f0;
    --charcoal: #2c2c2c;
    
    /* Typography */
    --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --font-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    
    /* Spacing & Layout */
    --radius: 0px;
    --radius-soft: 4px;
    --container: 1400px;
    --container-narrow: 900px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.25s ease;
}

/* Dark Mode */
[data-theme="dark"] {
    --bg: #0a0a0a;
    --surface: #1a1a1a;
    --ink: #f5f3f0;
    --muted: #a0a0a0;
    --brand: #c9a962;
    --accent: #c9a962;
    --accent-hover: #d4b978;
    --line: #2c2c2c;
    --cream: #1f1f1f;
    --charcoal: #e8e6e3;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.4rem); }

p {
    margin-bottom: 1.5rem;
    color: var(--muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent);
}

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

/* ============================================
   HEADER - Luxury Navigation
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.brand a {
    color: var(--ink);
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 22px;
    position: relative;
}

.brand a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition-smooth);
}

.brand a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-fast);
}

.nav-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: var(--radius-soft);
    margin-left: 20px;
}

.dark-mode-toggle:hover {
    border-color: var(--accent);
    background: var(--cream);
}

.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 40px;
}

.primary-nav li a {
    color: var(--ink);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    padding: 8px 0;
}

.primary-nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition-smooth);
}

.primary-nav li.current-menu-item > a,
.primary-nav li a:hover {
    color: var(--accent);
}

.primary-nav li a:hover::after,
.primary-nav li.current-menu-item > a::after {
    width: 100%;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.site-main {
    max-width: var(--container);
    margin: 0 auto;
    padding: 60px 40px 100px;
    min-height: 60vh;
}

/* ============================================
   CONTENT CARDS - Luxury Style
   ============================================ */

.content-card {
    background: var(--surface);
    padding: 60px;
    margin-bottom: 40px;
    position: relative;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

.entry-title,
.page-title {
    margin: 0 0 30px;
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.15;
    text-align: center;
    position: relative;
    padding-bottom: 25px;
}

.entry-title::after,
.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--accent);
}

.entry-content,
.archive-description,
.search-results .page-content {
    color: var(--muted);
    line-height: 1.9;
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.entry-content p {
    margin: 0 0 1.8rem;
    font-size: 16px;
}

.entry-content h2,
.entry-content h3 {
    color: var(--ink);
    margin-top: 3rem;
}

/* ============================================
   POSTS GRID - Luxury Product Grid
   ============================================ */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.post-card {
    background: var(--surface);
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: none;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--line);
    pointer-events: none;
    z-index: 1;
    transition: var(--transition-smooth);
}

.post-card:hover::before {
    border-color: var(--accent);
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.post-card .card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--cream);
}

.post-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.post-card:hover .card-image img {
    transform: scale(1.05);
}

.post-card .card-content {
    padding: 30px;
    text-align: center;
}

.post-card h2 {
    margin: 0 0 15px;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.post-card h2 a {
    color: var(--ink);
}

.post-card h2 a:hover {
    color: var(--accent);
}

.meta {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.read-more {
    display: inline-block;
    color: var(--ink);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 400;
    padding: 12px 0;
    position: relative;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition-smooth);
    transform-origin: right;
}

.read-more:hover {
    color: var(--accent);
}

.read-more:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ============================================
   LUXURY BUTTONS
   ============================================ */

.btn,
button,
input[type="submit"] {
    display: inline-block;
    background: var(--ink);
    color: var(--surface);
    border: 1px solid var(--ink);
    padding: 16px 40px;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
    background: transparent;
    color: var(--ink);
}

.btn-outline {
    background: transparent;
    color: var(--ink);
}

.btn-outline:hover {
    background: var(--ink);
    color: var(--surface);
}

.btn-gold {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--surface);
}

.btn-gold:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

/* ============================================
   FOOTER - Luxury Style
   ============================================ */

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 30px;
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 24px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--surface);
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    list-style: none;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 30px;
    font-size: 12px;
    letter-spacing: 0.05em;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    margin: -60px -40px 60px;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 60px;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 30px;
    line-height: 1;
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 40px;
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .site-main {
        padding: 40px 30px 80px;
    }
    
    .content-card {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 20px;
        flex-wrap: wrap;
    }
    
    .brand a {
        font-size: 18px;
    }
    
    .nav-toggle {
        display: inline-block;
    }
    
    .primary-nav {
        display: none;
        width: 100%;
        padding-top: 20px;
    }
    
    .primary-nav.is-open {
        display: block;
    }
    
    .primary-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
        border-top: 1px solid var(--line);
        padding-top: 20px;
    }
    
    .primary-nav li {
        width: 100%;
        text-align: center;
    }
    
    .primary-nav li a {
        display: block;
        padding: 15px 0;
        font-size: 12px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .site-main {
        padding: 30px 20px 60px;
    }
    
    .content-card {
        padding: 30px 20px;
    }
    
    .hero-section {
        margin: -30px -20px 40px;
        min-height: 60vh;
    }
}

/* ============================================
   DARK MODE SPECIFIC OVERRIDES
   ============================================ */

[data-theme="dark"] .site-footer {
    background: #0f0f0f;
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .footer-brand {
    color: var(--accent);
}

[data-theme="dark"] .footer-nav a {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .footer-nav a:hover {
    color: var(--accent);
}

[data-theme="dark"] .dark-mode-toggle {
    border-color: var(--accent);
    background: rgba(201, 169, 98, 0.1);
}

[data-theme="dark"] .dark-mode-toggle:hover {
    background: rgba(201, 169, 98, 0.2);
}

[data-theme="dark"] .hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.15em; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

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