/*
Theme Name: Meditazione Iniziatica
Theme URI: https://meditazioneiniziatica.it
Author: Meditazione Iniziatica Team
Author URI: https://meditazioneiniziatica.it
Description: Tema WordPress elegante e mistico dedicato alla meditazione iniziatica, completamente compatibile con Elementor Pro. Include supporto per strumenti meditativi avanzati, blog notizie, e un design spirituale raffinato.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meditazione-iniziatica
Tags: blog, meditation, spiritual, elementor, custom-colors, wide-blocks, block-styles, accessibility-ready

Meditazione Iniziatica è un tema progettato per comunità spirituali e centri di meditazione.
Compatibile con Elementor Pro per massima flessibilità di design.
*/

/* ===========================
   BASE RESET & GLOBALS
   =========================== */
:root {
    --mi-primary: #2d3e50;
    --mi-secondary: #7c8b7f;
    --mi-accent: #c9a96e;
    --mi-light: #f7f4ef;
    --mi-white: #ffffff;
    --mi-text: #3a3a3a;
    --mi-text-light: #6b6b6b;
    --mi-border: #e5e1d8;
    
    --mi-font-primary: 'Cinzel', serif;
    --mi-font-secondary: 'Lato', sans-serif;
    
    --mi-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --mi-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --mi-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: var(--mi-font-secondary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--mi-text);
    background-color: var(--mi-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--mi-font-primary);
    font-weight: 600;
    line-height: 1.3;
    color: var(--mi-primary);
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--mi-accent);
    text-decoration: none;
    transition: var(--mi-transition);
}

a:hover {
    color: var(--mi-primary);
}

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

/* ===========================
   BUTTONS
   =========================== */
.mi-btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--mi-font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--mi-accent);
    background: transparent;
    color: var(--mi-accent);
    cursor: pointer;
    transition: var(--mi-transition);
    text-align: center;
}

.mi-btn:hover {
    background: var(--mi-accent);
    color: var(--mi-white);
    transform: translateY(-2px);
    box-shadow: var(--mi-shadow-hover);
}

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

.mi-btn-primary:hover {
    background: var(--mi-primary);
    border-color: var(--mi-primary);
}

/* ===========================
   LAYOUT
   =========================== */
.mi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mi-section {
    padding: 80px 0;
}

/* ===========================
   HEADER
   =========================== */
.site-header {
    background: var(--mi-white);
    border-bottom: 1px solid var(--mi-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--mi-transition);
}

.site-header.scrolled {
    box-shadow: var(--mi-shadow);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: var(--mi-primary);
    color: var(--mi-light);
    padding: 60px 0 30px;
}

.site-footer a {
    color: var(--mi-light);
}

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

/* ===========================
   BLOG
   =========================== */
.blog-post {
    background: var(--mi-white);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
    transition: var(--mi-transition);
    box-shadow: var(--mi-shadow);
}

.blog-post:hover {
    transform: translateY(-4px);
    box-shadow: var(--mi-shadow-hover);
}

.blog-post-content {
    padding: 30px;
}

.blog-post-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.blog-post-meta {
    font-size: 0.9rem;
    color: var(--mi-text-light);
    margin-bottom: 15px;
}

/* ===========================
   UTILITIES
   =========================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .mi-section {
        padding: 50px 0;
    }
}

/* ===========================
   ELEMENTOR COMPATIBILITY
   =========================== */
.elementor-widget-container {
    max-width: 100%;
}

/* Ensure Elementor sections work with theme */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
}
