/*
Theme Name:   Moodhera Child Theme
Theme URI:    https://moodheraevents.ch
Description:  Tema child personalizzato per Moodhera Events basato su Twenty Twenty-Five
Author:       Moodhera Team
Author URI:   https://moodheraevents.ch
Template:     twentytwentyfive
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  moodhera-child
*/

/* ==========================================================================
   Variabili CSS Custom
   ========================================================================== */

:root {
    --mh-primary: #2c3e50;
    --mh-secondary: #3498db;
    --mh-accent: #e74c3c;
    --mh-success: #27ae60;
    --mh-warning: #f39c12;
    --mh-text: #333333;
    --mh-text-light: #666666;
    --mh-bg: #ffffff;
    --mh-bg-light: #f8f9fa;
    --mh-border: #dee2e6;
    --mh-spacing: 2rem;
    --mh-radius: 8px;
    --mh-shadow: 0 2px 10px rgba(0,0,0,0.1);
    --mh-shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
}

/* ==========================================================================
   Layout e Container
   ========================================================================== */

.mh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--mh-spacing);
}

.mh-container-fluid {
    width: 100%;
    padding: 0 var(--mh-spacing);
}

.mh-section {
    padding: 4rem 0;
}

.mh-section-hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--mh-primary) 0%, var(--mh-secondary) 100%);
    color: white;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.mh-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--mh-primary);
}

.mh-title-hero {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.mh-subtitle {
    font-size: 1.2rem;
    color: var(--mh-text-light);
    margin-bottom: 2rem;
}

.mh-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--mh-primary);
}

.mh-section-subtitle {
    font-size: 1.2rem;
    color: var(--mh-text-light);
    text-align: center;
    margin-bottom: 3rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.mh-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--mh-secondary);
    color: white;
    text-decoration: none;
    border-radius: var(--mh-radius);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
}

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

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

.mh-btn-primary:hover {
    background-color: var(--mh-secondary);
}

.mh-btn-accent {
    background-color: var(--mh-accent);
}

.mh-btn-accent:hover {
    background-color: #c0392b;
}

.mh-btn-outline {
    background-color: transparent;
    border: 2px solid var(--mh-primary);
    color: var(--mh-primary);
}

.mh-btn-outline:hover {
    background-color: var(--mh-primary);
    color: white;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.mh-card {
    background: var(--mh-bg);
    border-radius: var(--mh-radius);
    padding: 2rem;
    box-shadow: var(--mh-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.mh-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--mh-shadow-hover);
}

.mh-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--mh-primary);
}

.mh-card-text {
    color: var(--mh-text);
    line-height: 1.6;
}

.mh-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--mh-radius);
    margin-bottom: 1rem;
}

/* ==========================================================================
   Grid System
   ========================================================================== */

.mh-grid {
    display: grid;
    gap: 2rem;
}

.mh-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.mh-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.mh-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ==========================================================================
   Event Specific Styles
   ========================================================================== */

.mh-event-card {
    position: relative;
    overflow: hidden;
}

.mh-event-card__image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--mh-radius);
    margin-bottom: 1rem;
}

.mh-event-card__date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--mh-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--mh-radius);
    font-weight: 600;
}

.mh-event-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--mh-primary);
}

.mh-event-card__location {
    color: var(--mh-text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mh-event-card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mh-accent);
    margin-bottom: 1rem;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.mh-form-group {
    margin-bottom: 1.5rem;
}

.mh-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--mh-text);
}

.mh-form-input,
.mh-form-textarea,
.mh-form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.mh-form-input:focus,
.mh-form-textarea:focus,
.mh-form-select:focus {
    outline: none;
    border-color: var(--mh-secondary);
}

.mh-form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --mh-spacing: 1rem;
    }
    
    .mh-title-hero {
        font-size: 2.5rem;
    }
    
    .mh-section-title {
        font-size: 2rem;
    }
    
    .mh-section {
        padding: 2rem 0;
    }
    
    .mh-section-hero {
        padding: 3rem 0;
    }
    
    .mh-grid {
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .mh-title-hero {
        font-size: 2rem;
    }
    
    .mh-section-title {
        font-size: 1.75rem;
    }
    
    .mh-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}
