        :root {
            --primary-color: #4a3428; /* Coffee brown */
            --secondary-color: #8b5a2b; /* Lighter brown */
            --accent-color: #d4a76a; /* Gold accent */
            --text-light: #f5f5f5;
            --text-dark: #333333;
            --bg-light: #f9f5f0;
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: var(--bg-light);
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Contact Method Selector */
        .contact-method-selector {
            display: flex;
            margin-bottom: 10px;
            border-radius: 4px;
            overflow: hidden;
            background-color: #f5f5f5;
            border: 1px solid #ddd;
        }
        
        .contact-method-btn {
            flex: 1;
            padding: 10px 12px;
            border: none;
            background: none;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            color: #666;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            font-family: 'Roboto', sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .contact-method-btn.active {
            background-color: var(--primary-color);
            color: white;
            font-weight: 500;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .contact-method-btn:not(.active):hover {
            background-color: #f0f0f0;
            color: var(--primary-color);
        }
        
        .contact-method-btn:not(.active):hover {
            background-color: #e9e9e9;
        }
        
        .contact-field {
            transition: all 0.3s ease;
            position: relative;
            margin-top: 8px;
        }
        
        .contact-field input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            color: #333;
            background-color: #fff;
            transition: all 0.3s ease;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        }
        
        .contact-field input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(74, 52, 40, 0.2);
            outline: none;
        }
        
        .contact-field small {
            display: block;
            margin-top: 6px;
            color: #666;
            font-size: 12px;
            line-height: 1.4;
        }
        
        /* Style for the mobile input specifically */
        #mobile {
            letter-spacing: 0.5px;
        }
        
        /* Style for the email input specifically */
        #email {
            padding-left: 40px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: 15px center;
            background-size: 16px;
        }
        
        /* Style for the mobile input with icon */
        #mobile {
            padding-left: 40px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: 15px center;
            background-size: 16px;
        }
        
        /* Header */
        header {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 15px 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
        }
        
        .logo img {
            height: 50px;
            margin-right: 15px;
        }
        
        .logo-text {
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        .main-nav ul {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }
        
        .main-nav li {
            margin-left: 30px;
        }
        
        .main-nav a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            padding: 5px 0;
            position: relative;
            transition: var(--transition);
        }
        
        .main-nav a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--accent-color);
            bottom: 0;
            left: 0;
            transition: var(--transition);
        }
        
        .main-nav a:hover:after,
        .main-nav a.active:after {
            width: 100%;
        }
        
        .main-nav a:hover,
        .main-nav a.active {
            color: var(--accent-color);
        }
        
        /* Main Content */
        main {
            margin-top: 100px;
            padding: 40px 0;
            min-height: calc(100vh - 200px);
        }
        
        .page-title {
            text-align: center;
            margin-bottom: 40px;
            font-family: 'Playfair Display', serif;
            color: var(--primary-color);
            position: relative;
            padding-bottom: 15px;
        }
        
        .page-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--accent-color);
        }
        
        /* Filter Buttons */
        .filter-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }
        
        .filter-btn {
            padding: 8px 20px;
            border: 2px solid var(--primary-color);
            background: transparent;
            color: var(--primary-color);
            border-radius: 30px;
            cursor: pointer;
            font-weight: 500;
            transition: var(--transition);
        }
        
        .filter-btn:hover, 
        .filter-btn.active {
            background: var(--primary-color);
            color: white;
        }
        
        /* Events Grid */
        .events-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }
        
        .event-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
        }
        
        .event-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }
        
        .event-image-container {
            position: relative;
            width: 100%;
            height: 200px;
            overflow: hidden;
        }
        
        .event-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .event-card:hover .event-image {
            transform: scale(1.05);
        }
        
        .event-details {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .event-title {
            font-family: 'Playfair Display', serif;
            font-size: 1.4rem;
            margin-bottom: 10px;
            color: var(--primary-color);
        }
        
        .event-meta {
            margin-bottom: 15px;
            color: #666;
            font-size: 0.95rem;
        }
        
        .event-date {
            display: flex;
            align-items: center;
            margin-bottom: 5px;
        }
        
        .event-date i {
            margin-right: 8px;
            color: var(--accent-color);
        }
        
        .event-artists {
            display: flex;
            align-items: center;
            margin-bottom: 5px;
        }
        
        .event-artists i {
            margin-right: 8px;
            color: var(--accent-color);
        }
        
        .event-description {
            margin: 10px 0 15px;
            color: #555;
            line-height: 1.5;
            flex-grow: 1;
        }
        
        .event-stats {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #eee;
            font-size: 0.9rem;
            color: #666;
        }
        
        .stat {
            display: flex;
            align-items: center;
        }
        
        .stat i {
            margin-right: 5px;
            color: var(--accent-color);
        }
        
        .status-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            padding: 5px 12px;
            border-radius: 15px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            z-index: 2;
        }
        
        .status-badge.current {
            background-color: #4caf50;
            color: white;
        }
        
        .status-badge.upcoming {
            background-color: #ff9800;
            color: white;
        }
        
        .status-badge.past {
            background-color: #9e9e9e;
            color: white;
        }
        
        /* Loading State */
        .loading-container {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 300px;
            grid-column: 1 / -1;
        }
        
        .loading-spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #f3f3f3;
            border-top: 4px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 1rem;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .events-grid {
                grid-template-columns: 1fr;
            }
            
            .main-nav ul {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
                font-size: 1.5rem;
                cursor: pointer;
            }
            
            .header-content {
                padding: 0 15px;
            }
            
            .filter-buttons {
                flex-direction: column;
                align-items: stretch;
            }
            
            .filter-btn {
                width: 100%;
                margin-bottom: 10px;
            }
        }
        
        /* Footer */
        footer {
            background-color: var(--primary-color);
            color: white;
            padding: 30px 0;
            text-align: center;
            margin-top: 60px;
        }
        
        .footer-content {
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .footer-links {
            margin: 20px 0;
        }
        
        .footer-links a {
            color: white;
            margin: 0 15px;
            text-decoration: none;
            transition: var(--transition);
        }
        
        .footer-links a:hover {
            color: var(--accent-color);
        }
        
        .footer-bottom {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
        }


    /* Main Layout */
    .main-container {
        display: flex;
        gap: 30px;
    }

    .events-section {
        flex: 2;
    }

    .login-section {
        flex: 1;
        position: sticky;
        top: 120px;
        height: fit-content;
        background: white;
        padding: 25px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .login-section h2 {
        color: var(--primary-color);
        margin-bottom: 20px;
        font-family: 'Playfair Display', serif;
        text-align: center;
        font-size: 1.8rem;
    }

    .selected-exhibition {
        background: #f9f5f0;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 20px;
        text-align: center;
        border: 1px solid #eee;
    }

    .selected-exhibition p {
        margin: 0;
        font-weight: 500;
        color: var(--primary-color);
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: #555;
    }

    .form-control {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1rem;
        transition: var(--transition);
    }

    .form-control:focus {
        border-color: var(--accent-color);
        outline: none;
        box-shadow: 0 0 0 3px rgba(212, 167, 106, 0.2);
    }

    .btn-submit {
        width: 100%;
        padding: 14px;
        background-color: var(--primary-color);
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-submit:hover {
        background-color: var(--secondary-color);
    }

    .btn-submit:disabled {
        background-color: #cccccc;
        cursor: not-allowed;
    }

    .terms-text {
        text-align: center;
        margin-top: 20px;
        color: #666;
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .terms-text a {
        color: var(--primary-color);
        text-decoration: none;
        transition: var(--transition);
    }

    .terms-text a:hover {
        text-decoration: underline;
    }

    @media (max-width: 992px) {
        .main-container {
            flex-direction: column;
        }

        .login-section {
            position: static;
            margin-top: 40px;
        }
    }


    
/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}

.footer-column p, 
.footer-column a {
    color: #ddd;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

