:root {
    --primary-blue: #0066b3;
    --dark-blue: #003d6b;
    --accent-gold: #d4a017;
    --light-gray: #f5f7fa;
    --medium-gray: #e1e8ed;
    --dark-gray: #2c3e50;
    --text-dark: #1a1a1a;
    --white: #ffffff;
    --success: #28a745;
    --danger: #dc3545;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--white);
}

main {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
header {
    background: var(--white);
    border-bottom: 3px solid var(--primary-blue);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    pointer-events: auto;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10000;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--dark-gray);
    font-weight: 400;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

nav a {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s;
}

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

nav a:hover::after {
    width: 100%;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 0.8rem;
    position: relative;
    z-index: 10001;
}

.btn-login, .btn-register {
    padding: 0.5rem 1.2rem;
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 0.9rem;
    pointer-events: auto;
    position: relative;
    z-index: 10001;
}

.btn-login *,
.btn-register * {
    pointer-events: none;
}

.btn-login .lang-content,
.btn-register .lang-content {
    display: none;
}

.btn-login .lang-content.active,
.btn-register .lang-content.active {
    display: inline;
}

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

.btn-login:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-register:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    position: relative;
    z-index: 10001;
}

.lang-btn {
    padding: 0.4rem 0.8rem;
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 0.85rem;
    pointer-events: auto;
    position: relative;
    z-index: 10001;
}

.lang-btn * {
    pointer-events: none;
}

.lang-btn.active {
    background: var(--primary-blue);
    color: var(--white);
}

/* Disclaimer */
.disclaimer {
    background: #fffbea;
    border-left: 4px solid var(--accent-gold);
    padding: 0.8rem 1.2rem;
    font-size: 0.85rem;
    color: var(--dark-gray);
    margin: 1rem 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-family: 'Merriweather', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--text-dark);
    border: none;
}

.btn-primary:hover {
    background: #c79410;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 160, 23, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.full-width {
    width: 100%;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--dark-gray);
    font-weight: 600;
}

/* Project Cards */
.projects-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.project-card {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-blue);
}

.project-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1.5rem;
}

.project-header h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.project-category {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 600;
}

.project-body {
    padding: 1.5rem;
}

.project-body p {
    color: var(--dark-gray);
}

.view-all-projects {
    text-align: center;
    margin-top: 2rem;
}

/* Events Preview */
.events-preview {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.event-card-simple {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
    transition: all 0.3s;
}

.event-card-simple:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.event-date-badge {
    text-align: center;
    background: var(--light-gray);
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    padding: 0.8rem;
}

.event-day {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-blue);
    line-height: 1;
}

.event-month {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-info h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.event-info p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-wrapper {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
}

.contact-form {
    padding: 3rem;
}

.contact-form h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 2rem;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--medium-gray);
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem 2rem;
}

.contact-info h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item p {
    opacity: 0.95;
    line-height: 1.6;
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-about h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-about p {
    opacity: 0.9;
    line-height: 1.6;
}

.footer-section h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.85;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    font-family: 'Merriweather', serif;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.close {
    color: var(--dark-gray);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--primary-blue);
}

.modal-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.modal-footer a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* Club Cards */
.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.club-card {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s;
    cursor: pointer;
}

.club-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-blue);
}

.club-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.club-card h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.club-type {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.club-description {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.club-stats {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--medium-gray);
    font-size: 0.85rem;
}

.club-stat strong {
    color: var(--primary-blue);
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Application Status Badge */
.status-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

/* Language content visibility */
.lang-content {
    display: none;
    pointer-events: none;
}

.lang-content.active {
    display: inline;
    pointer-events: none;
}

.lang-inline {
    display: none;
    pointer-events: none;
}

.lang-inline.active {
    display: inline;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 968px) {
    nav ul {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .nav-right {
        flex-direction: column;
        gap: 1rem;
    }

    .projects-preview {
        grid-template-columns: 1fr;
    }

    .event-card-simple {
        grid-template-columns: 1fr;
    }
}