/*
Theme Name: Maayaa
Theme URI: https://maayaa.com
Description: Luxury editorial platform for Culture, Fashion, Travel, Food, Literature & Sports - Where Culture Weaves Its Magic
Author: Maayaa Team
Author URI: https://maayaa.com
Version: 1.0.0
Requires at least: 5.7
Requires PHP: 7.2
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: maayaa
Tags: blog, news, magazine, editorial, luxury, culture, fashion, community, two-columns, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

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

/* ========================================
   CSS VARIABLES - MAAYAA DESIGN SYSTEM
   ======================================== */

:root {
    /* Base Colors - Apple White System */
    --maayaa-white: #FBFBFD;
    --maayaa-off-white: #F5F5F7;
    --maayaa-pure-white: #FFFFFF;
    --maayaa-charcoal: #1D1D1F;
    --maayaa-gray: #86868B;
    --maayaa-light-gray: #F5F5F7;
    
    /* Pillar Colors - Bright Pastels */
    --maayaa-culture: #C5A3FF;
    --maayaa-culture-light: #E6D9FF;
    --maayaa-fashion: #FFD0EC;
    --maayaa-fashion-light: #FFE8F5;
    --maayaa-travel: #BFFCC6;
    --maayaa-travel-light: #E0FFE5;
    --maayaa-food: #FFCCB6;
    --maayaa-food-light: #FFE5D9;
    --maayaa-literature: #A5D8FF;
    --maayaa-literature-light: #D6EEFF;
    --maayaa-sports: #FFABAB;
    --maayaa-sports-light: #FFD6D6;
    
    /* Typography */
    --maayaa-font-display: 'Playfair Display', serif;
    --maayaa-font-body: 'Montserrat', sans-serif;
    --maayaa-font-editorial: 'Lora', Georgia, serif;
    
    /* Spacing */
    --maayaa-max-width: 1400px;
    --maayaa-section-padding: 8rem;
}

/* ========================================
   GLOBAL RESETS
   ======================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--maayaa-font-editorial);
    background: var(--maayaa-white);
    color: var(--maayaa-charcoal);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--maayaa-font-display);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.5rem, 2.5vw, 2rem); }

p {
    font-family: var(--maayaa-font-body);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

/* ========================================
   LAYOUT
   ======================================== */

.maayaa-container {
    max-width: var(--maayaa-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.maayaa-section {
    padding: var(--maayaa-section-padding) 0;
}

/* ========================================
   HEADER
   ======================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(251, 251, 253, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 0.5px solid rgba(29, 29, 31, 0.08);
}

.site-header .maayaa-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.site-branding {
    font-family: var(--maayaa-font-display);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.site-branding a {
    color: var(--maayaa-charcoal);
    text-decoration: none;
}

.site-branding a:hover {
    opacity: 0.7;
}

.main-navigation {
    display: block;
}

.main-navigation ul,
.main-navigation ul.menu {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    font-family: var(--maayaa-font-body);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--maayaa-charcoal);
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding: 0.5rem 0;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--maayaa-charcoal);
    transition: width 0.4s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--maayaa-charcoal);
}

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

.maayaa-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1D1D1F 0%, #2C2C2E 50%, #3A3A3C 100%);
    color: var(--maayaa-pure-white);
    padding: 8rem 2rem;
    position: relative;
    margin-top: 90px;
}

.maayaa-hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 1.4s ease;
}

.maayaa-hero-subtitle {
    font-family: var(--maayaa-font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    opacity: 0.85;
}

.maayaa-hero-title {
    font-family: var(--maayaa-font-display);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 2.5rem;
    letter-spacing: -0.01em;
    color: var(--maayaa-pure-white);
}

.maayaa-hero-description {
    font-family: var(--maayaa-font-body);
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.9;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   PILLAR CARDS
   ======================================== */

.maayaa-pillars-section {
    padding: 10rem 4rem;
    background: var(--maayaa-white);
}

.maayaa-section-title {
    text-align: center;
    font-family: var(--maayaa-font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 6rem;
    text-transform: uppercase;
}

.maayaa-pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: var(--maayaa-max-width);
    margin: 0 auto;
}

.maayaa-pillar-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.maayaa-pillar-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.maayaa-pillar-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.75) 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.maayaa-pillar-card:hover::before {
    opacity: 0.6;
}

.maayaa-pillar-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.maayaa-pillar-card:hover img {
    transform: scale(1.08);
}

.maayaa-pillar-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    color: var(--maayaa-pure-white);
    z-index: 2;
}

.maayaa-pillar-name {
    font-family: var(--maayaa-font-display);
    font-size: 2.25rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.maayaa-pillar-subs {
    font-family: var(--maayaa-font-body);
    font-size: 0.875rem;
    font-weight: 300;
    opacity: 0.95;
    letter-spacing: 0.08em;
}

/* Pillar Color Gradients */
.maayaa-pillar-card[data-pillar="culture"] .maayaa-pillar-content {
    background: linear-gradient(to top, var(--maayaa-culture) 0%, transparent 100%);
}

.maayaa-pillar-card[data-pillar="fashion"] .maayaa-pillar-content {
    background: linear-gradient(to top, var(--maayaa-fashion) 0%, transparent 100%);
}

.maayaa-pillar-card[data-pillar="travel"] .maayaa-pillar-content {
    background: linear-gradient(to top, var(--maayaa-travel) 0%, transparent 100%);
}

.maayaa-pillar-card[data-pillar="food"] .maayaa-pillar-content {
    background: linear-gradient(to top, var(--maayaa-food) 0%, transparent 100%);
}

.maayaa-pillar-card[data-pillar="literature"] .maayaa-pillar-content {
    background: linear-gradient(to top, var(--maayaa-literature) 0%, transparent 100%);
}

.maayaa-pillar-card[data-pillar="sports"] .maayaa-pillar-content {
    background: linear-gradient(to top, var(--maayaa-sports) 0%, transparent 100%);
}

/* ========================================
   STORY CARDS
   ======================================== */

.maayaa-stories-section {
    padding: 8rem 4rem;
    background: var(--maayaa-pure-white);
}

.maayaa-stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 5rem;
    max-width: var(--maayaa-max-width);
    margin: 5rem auto 0;
}

.maayaa-story-card {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.maayaa-story-card:hover {
    transform: translateY(-8px);
}

.maayaa-story-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    margin-bottom: 2rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.maayaa-story-card:hover .maayaa-story-image {
    transform: scale(1.02);
}

.maayaa-story-category {
    font-family: var(--maayaa-font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    opacity: 0.6;
}

.maayaa-story-title {
    font-family: var(--maayaa-font-display);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
}

.maayaa-story-excerpt {
    font-family: var(--maayaa-font-body);
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.7;
    line-height: 1.85;
}

/* ========================================
   SINGLE POST
   ======================================== */

.maayaa-single-post {
    max-width: 900px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.maayaa-single-title {
    font-family: var(--maayaa-font-display);
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.maayaa-post-meta {
    font-family: var(--maayaa-font-body);
    font-size: 0.875rem;
    opacity: 0.6;
    margin-bottom: 3rem;
}

.maayaa-post-content {
    font-family: var(--maayaa-font-editorial);
    font-size: 1.125rem;
    line-height: 1.85;
}

.maayaa-post-content p {
    margin-bottom: 1.5rem;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    background: #1A1A1C;
    color: #A8A8A8;
    padding: 6rem 4rem 3rem;
}

.footer-content {
    max-width: var(--maayaa-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h4 {
    font-family: var(--maayaa-font-display);
    color: var(--maayaa-pure-white);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-family: var(--maayaa-font-body);
    line-height: 1.8;
    font-size: 0.9rem;
    font-weight: 300;
    color: #A8A8A8;
}

.footer-column h5 {
    font-family: var(--maayaa-font-body);
    color: var(--maayaa-pure-white);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.footer-column a {
    font-family: var(--maayaa-font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: #A8A8A8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--maayaa-pure-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2C2C2E;
    font-family: var(--maayaa-font-body);
    font-size: 0.8rem;
    font-weight: 300;
    max-width: var(--maayaa-max-width);
    margin: 0 auto;
}

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

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

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

@media (max-width: 1024px) {
    .maayaa-pillar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .maayaa-stories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .maayaa-pillars-section,
    .maayaa-stories-section {
        padding: 4rem 2rem;
    }
    
    .maayaa-pillar-grid {
        grid-template-columns: 1fr;
    }
    
    .maayaa-hero {
        padding: 4rem 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .maayaa-single-title {
        font-size: 2.5rem;
    }
}

/* ========================================
   WORDPRESS SPECIFIC
   ======================================== */

.alignleft {
    float: left;
    margin: 0 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.sticky {
    /* Sticky post styling */
}

.bypostauthor {
    /* Author comment styling */
}

.screen-reader-text {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* ========================================
   CRITICAL FIXES - ADD TO BOTTOM OF STYLE.CSS
   ======================================== */

/* Force proper header layout */
.site-header .maayaa-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Force horizontal menu */
.main-navigation ul,
#primary-menu {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-navigation li {
    display: inline-block !important;
}

/* Force footer grid */
.footer-content {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
}

/* Ensure body has proper background */
body {
    background: #FBFBFD !important;
}

/* Fix any stacking issues */
.site-header {
    z-index: 999 !important;
}

/* Remove any theme conflicts */
#page {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
    
    .menu-toggle {
        display: block !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
    }
}


