/* =====================================================
   MAZOR LEGAL - LUXURY FASHION INSPIRED DESIGN
   Inspired by Louis Vuitton & Tom Ford
   Color Palette: Black, White, Gold
   Ultra-Minimalist, High-End Typography
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Montserrat:wght@200;300;400;500;600;700&display=swap');

:root {
    /* Luxury Color Palette */
    --black: #000000;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --cream: #F8F6F3;
    --gold: #C9A961;
    --gold-light: #D4B76A;
    --gold-dark: #B89A50;
    --grey: #4A4A4A;
    --grey-light: #9E9E9E;
    --border: #E0E0E0;
    
    /* Typography - Fashion Editorial Style */
    --font-serif: 'Playfair Display', 'Times New Roman', serif;
    --font-sans: 'Montserrat', 'Helvetica Neue', sans-serif;
    
    /* Spacing - Generous, Editorial */
    --space-xs: 12px;
    --space-sm: 24px;
    --space-md: 40px;
    --space-lg: 64px;
    --space-xl: 96px;
    --space-xxl: 128px;
    
    /* Shadows - Subtle Luxury */
    --shadow-soft: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-medium: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-strong: 0 16px 48px rgba(0,0,0,0.16);
    
    /* Animation */
    --ease: cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* =====================================================
   RESET & BASE
   ===================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--white);
    color: var(--black);
    line-height: 1.8;
    direction: rtl;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* =====================================================
   TYPOGRAPHY - EDITORIAL STYLE
   ===================================================== */

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 1px;
    color: var(--black);
}

h1 {
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 300;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-md);
}

h3 {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--grey);
    margin-bottom: var(--space-md);
    font-weight: 300;
    letter-spacing: 0.3px;
}

a {
    color: var(--black);
    text-decoration: none;
    transition: all 0.4s var(--ease);
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* =====================================================
   HEADER - MINIMAL & ELEGANT
   ===================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.4s var(--ease);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    transition: all 0.4s var(--ease);
}

.logo:hover {
    opacity: 0.7;
}

.logo h1 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 3px;
    margin: 0;
    color: var(--black);
    text-transform: uppercase;
}

.logo p {
    font-size: 10px;
    color: var(--gold);
    margin: 0;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation */
nav ul {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

nav ul li a {
    font-size: 11px;
    font-weight: 400;
    color: var(--black);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s var(--ease);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.menu-toggle {
    display: none;
}

/* =====================================================
   HERO - DRAMATIC & SPACIOUS
   ===================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--space-xxl) + 100px) var(--space-md) var(--space-xxl);
    background: var(--white);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(56px, 9vw, 120px);
    font-weight: 300;
    color: var(--black);
    margin-bottom: var(--space-md);
    line-height: 1.1;
    letter-spacing: 4px;
}

.hero .tagline {
    font-size: clamp(14px, 2vw, 18px);
    color: var(--grey);
    font-weight: 300;
    margin-bottom: var(--space-xl);
    line-height: 1.8;
    letter-spacing: 1px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 48px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--black);
    background: transparent;
    color: var(--black);
    cursor: pointer;
    transition: all 0.5s var(--ease);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

/* =====================================================
   SECTIONS
   ===================================================== */

section {
    padding: var(--space-xxl) var(--space-md);
    max-width: 1600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: var(--space-sm);
    font-weight: 300;
}

.section-header p {
    font-size: 16px;
    color: var(--grey);
    line-height: 1.8;
    font-weight: 300;
}

/* Divider Line */
.section-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: var(--space-xl) auto;
}

/* =====================================================
   CARDS - LUXURY MINIMAL
   ===================================================== */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.card {
    background: var(--cream);
    padding: var(--space-lg);
    transition: all 0.6s var(--ease);
    border: 1px solid transparent;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.6s var(--ease);
}

.card:hover::before {
    width: 100%;
}

.card:hover {
    background: var(--white);
    border-color: var(--border);
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.card h3 {
    font-size: 24px;
    margin-bottom: var(--space-sm);
    font-weight: 400;
    letter-spacing: 1px;
}

.card p {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.9;
    font-weight: 300;
}

/* =====================================================
   FOOTER - MINIMAL BLACK
   ===================================================== */

footer {
    background: var(--black);
    color: var(--white);
    padding: var(--space-xl) var(--space-md) var(--space-md);
    margin-top: var(--space-xxl);
    border-top: 1px solid var(--gold);
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-section h3 {
    font-size: 12px;
    margin-bottom: var(--space-sm);
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-sans);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.8;
    font-weight: 300;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--space-xs);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 300;
    transition: all 0.3s var(--ease);
    border: none;
}

.footer-section ul li a:hover {
    color: var(--gold);
    border: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

.footer-bottom a {
    color: var(--gold);
    font-weight: 400;
    border: none;
}

.footer-bottom a:hover {
    color: var(--gold-light);
    border: none;
}

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

@media (max-width: 768px) {
    .header-container {
        padding: var(--space-sm);
    }
    
    nav {
        display: none;
    }
    
    nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: var(--space-md);
        border-bottom: 1px solid var(--border);
    }
    
    nav ul {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        color: var(--black);
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .logo p {
        font-size: 8px;
    }
    
    .hero {
        min-height: 80vh;
        padding: calc(var(--space-xl) + 80px) var(--space-sm) var(--space-xl);
    }
    
    section {
        padding: var(--space-xl) var(--space-sm);
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

@keyframes fadeInUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 1; transform: translateY(0);
}

.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s var(--ease);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.gold-text { color: var(--gold); }
.spacing-xl { margin-top: var(--space-xl); }

/* =====================================================
   ARTICLE PAGE STYLES
   ===================================================== */

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xxl) var(--space-md);
}

.article-hero-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: var(--space-lg);
}

.article-header-main {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.article-header-main h1 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: var(--space-sm);
}

.article-meta-main {
    font-size: 13px;
    color: var(--grey-light);
    letter-spacing: 1px;
}

.article-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--grey);
}

.article-body h2 {
    font-size: 32px;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    font-weight: 400;
}

.article-body h3 {
    font-size: 24px;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-weight: 400;
}

.article-body p {
    margin-bottom: var(--space-md);
}

.article-body ul, .article-body ol {
    margin: var(--space-md) 0;
    padding-right: var(--space-lg);
}

.article-body li {
    margin-bottom: var(--space-sm);
    line-height: 1.8;
}

.article-image-inline {
    margin: var(--space-lg) 0;
    text-align: center;
}

.article-image-inline img {
    width: 100%;
    max-width: 600px;
    max-height: 350px;
    object-fit: cover;
    border-radius: 4px;
}

.image-caption {
    font-size: 13px;
    color: var(--grey-light);
    margin-top: var(--space-sm);
    font-style: italic;
}

@media (max-width: 768px) {
    .article-container {
        padding: var(--space-xl) var(--space-sm);
    }
    
    .article-hero-image img {
        max-height: 250px;
    }
    
    .article-image-inline img {
        max-height: 200px;
    }
}
