/* ============================================
   JORETA Master Stylesheet v3.1 (Full Suite)
   Includes: Core, Auth, and Landing Page Styles
   ============================================ */

/* 1. VARIABLES & RESET */
:root {
    --primary-color: #0056b3;
    --primary-light: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.15);
    --radius: 8px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f4f6f9;
    margin: 0;
    padding: 0;
    color: var(--dark-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 2. LAYOUT & UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }

/* 3. NAVBAR */
.navbar {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.nav-menu a:hover, .nav-menu a.active { color: var(--primary-light); }

.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* 4. HERO SECTION (The "Wow" Factor) */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: var(--radius);
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.hero-subtitle { font-size: 1.2rem; opacity: 0.9; margin-bottom: 2rem; }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-stat {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    padding: 1.5rem;
    border-radius: var(--radius);
    min-width: 200px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-stat i { font-size: 2rem; margin-bottom: 10px; color: var(--warning-color); }
.hero-stat h3 { margin: 0; font-size: 2rem; font-weight: 700; }
.hero-stat p { margin: 0; font-size: 0.9rem; opacity: 0.8; }

/* 5. SECTIONS (Events, Gallery, About) */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--warning-color);
    margin: 10px auto 0;
}

/* 6. CARDS & GRID */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 3rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border-top: 4px solid var(--primary-color);
}

.info-card:hover { transform: translateY(-5px); }

/* 7. AUTH FORMS (Login/Register) */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.auth-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}

.wide-card { max-width: 800px; }
.auth-header { text-align: center; margin-bottom: 2rem; }

/* 8. FORMS & BUTTONS */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-group input, .form-group select {
    width: 100%; padding: 10px; border: 1px solid var(--border-color); border-radius: 5px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary { background: var(--primary-color); color: white; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); }

.btn-secondary { background: white; color: var(--primary-color); }
.btn-secondary:hover { background: #f0f0f0; }

.btn-block { width: 100%; border-radius: 5px; }

.alert { padding: 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.alert-danger { background: #f8d7da; color: #721c24; }
.alert-success { background: #d4edda; color: #155724; }

/* 9. FOOTER */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: auto;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}
.footer-bottom { text-align: center; margin-top: 3rem; border-top: 1px solid #555; padding-top: 1.5rem; font-size: 0.9rem; color: #aaa; }

/* Responsive */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-menu-btn { display: block; }
    .form-row { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
}