/*
Theme Name: Budhasa
Theme URI: https://budhasa.com
Author: Budhasa
Author URI: https://budhasa.com
Description: Complete rebuild - Professional WordPress theme for Budhasa. Buddha Dharma Sangha - Yoga, life support, and spiritual guidance services. Built for full-width hero sections and perfect centering.
Version: 6.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: budhasa
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, full-width-template
*/

@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@300;400;600&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Color Palette - Earth Tones + Lapis Lazuli */
    --earth-dark: #4A3728;
    --earth-medium: #8B6F47;
    --earth-light: #C9A97E;
    --sand: #E8DCC4;
    --lapis: #2B5F9E;
    --lapis-light: #4A7EBF;
    --lapis-pale: #D4E3F1;
    --white: #FDFBF7;
    --text-dark: #2C2416;
    --text-medium: #5A4A3A;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Typography */
    --font-display: 'Crimson Pro', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Remove all default WordPress margins and paddings */
.site {
    margin: 0;
    padding: 0;
}

.site-main {
    margin: 0;
    padding: 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(74, 55, 40, 0.1);
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(90deg, var(--earth-dark) 0%, var(--lapis) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: var(--space-md);
    list-style: none;
    margin: 0;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--lapis);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--lapis);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.hidden-gem {
    opacity: 0.6;
    font-style: italic;
}

.nav-links a.hidden-gem:hover {
    opacity: 1;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--earth-dark);
}

/* Hero Section - FULL WIDTH */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sand) 0%, var(--lapis-pale) 100%);
    position: relative;
    overflow: hidden;
    padding: var(--space-xl) var(--space-md);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(43, 95, 158, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 111, 71, 0.1) 0%, transparent 50%);
    animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

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

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 600;
    margin-bottom: var(--space-md);
    background: linear-gradient(90deg, var(--earth-dark) 0%, var(--lapis) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
    line-height: 1.2;
}

/* Fallback for browsers without gradient text support */
@supports not (-webkit-background-clip: text) {
    .hero h1,
    .logo {
        color: var(--earth-dark);
    }
}

.hero .subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-medium);
    margin-bottom: var(--space-sm);
    font-weight: 300;
}

.hero .tagline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--earth-medium);
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.hero .btn-container {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-md);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--lapis-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 95, 158, 0.3);
}

.btn-secondary {
    background: transparent;
    border-color: var(--lapis);
    color: var(--lapis);
}

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

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Sections */
section {
    padding: var(--space-xl) var(--space-md);
}

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

.container-fluid {
    max-width: 100%;
    padding: 0 var(--space-lg);
}

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

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--earth-dark);
    margin-bottom: var(--space-sm);
}

.section-header .subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    font-weight: 300;
}

/* Three Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.pillar-card {
    background: white;
    padding: var(--space-lg);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.pillar-card .icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.pillar-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--earth-dark);
    margin-bottom: var(--space-sm);
}

.pillar-card p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.pillar-card .card-link {
    color: var(--lapis);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pillar-card .card-link:hover {
    color: var(--lapis-light);
}

/* Mystery Card (Bridgebuilder) */
.mystery-card {
    border: 2px solid var(--lapis-pale);
    position: relative;
    overflow: hidden;
}

.mystery-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(43, 95, 158, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: breatheSlow 12s ease-in-out infinite;
}

@keyframes breatheSlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2) rotate(180deg); opacity: 0.6; }
}

/* About Preview Section */
.about-preview {
    background: linear-gradient(135deg, var(--sand) 0%, var(--lapis-pale) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--earth-dark);
    margin-bottom: var(--space-md);
}

.about-text .subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    font-weight: 300;
    margin-bottom: var(--space-md);
}

.about-text p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--earth-light) 0%, var(--lapis-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-style: italic;
    text-align: center;
    padding: var(--space-md);
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: var(--white);
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--earth-dark);
    margin-bottom: var(--space-sm);
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: var(--space-lg);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: var(--space-md);
}

.blog-meta {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
    color: var(--text-medium);
}

.blog-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--earth-dark);
    margin-bottom: var(--space-sm);
}

.blog-content p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.read-more {
    color: var(--lapis);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.blog-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

/* Footer */
footer {
    background: var(--earth-dark);
    color: var(--sand);
    padding: var(--space-xl) var(--space-md) var(--space-md);
}

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

.footer-section h3 {
    font-family: var(--font-display);
    color: var(--sand);
    margin-bottom: var(--space-md);
}

.footer-section p,
.footer-section a {
    color: var(--sand);
    opacity: 0.8;
    text-decoration: none;
    line-height: 2;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--lapis-light);
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(232, 220, 196, 0.2);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-md);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: var(--space-lg) var(--space-md);
    }
}
