/* Public Gallery CSS - Clean minimal design inspired by Hauser & Wirth */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    background: #fff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Gallery Container */
.gallery-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #fff;
}

.gallery-content {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

/* Header */
.gallery-header {
    margin-bottom: 4rem;
}

.gallery-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: #000;
}

.gallery-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: #666;
    letter-spacing: 0.02em;
}

/* Main Content */
.gallery-main {
    margin-bottom: 4rem;
}

.exhibition-section {
    margin-bottom: 3rem;
    text-align: left;
}

.exhibition-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #000;
}

.exhibition-info h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #333;
}

.exhibition-info p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Artwork Grid */
.artwork-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.artwork-item {
    text-align: left;
}

.artwork-image {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
}

.artwork-info h4 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
    color: #000;
}

.artwork-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}

/* Access Section */
.access-section {
    margin: 4rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.access-form {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.access-form h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #000;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #000;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-checkbox {
    margin: 0;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
}

.access-button {
    width: 100%;
    padding: 0.75rem;
    background: #000;
    color: #fff;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: inherit;
}

.access-button:hover {
    background: #333;
}

/* Footer */
.gallery-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.contact-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}

/* Flash Messages */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0;
    font-size: 0.9rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-container {
        padding: 1rem;
    }
    
    .gallery-title {
        font-size: 2rem;
    }
    
    .artwork-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .exhibition-section {
        text-align: center;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.2rem;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.navbar-brand:hover {
    color: #333;
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.navbar-nav a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.navbar-nav a:hover {
    color: #666;
}

/* Reset any potential admin CSS interference - but allow our navbar */
.sidebar, .admin-sidebar, .main-sidebar, .content-wrapper, .wrapper,
.admin-header, .admin-nav {
    display: none !important;
}

/* Ensure clean layout */
main, .content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
