/* Gallery Styles - Integrated with Main Wedding Theme */

/* Gallery-specific additions to main theme */

/* Gallery Actions in Header */
.gallery-actions {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.header-stats {
    text-align: center;
    margin: 15px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.selected-count {
    color: var(--accent-gold);
    font-weight: 600;
    margin-left: 15px;
}

/* Action Buttons */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent-gold), #b8941f);
    color: white;
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 
        0 4px 12px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover {
    background: linear-gradient(135deg, #b8941f, var(--accent-gold));
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(212, 175, 55, 0.3),
        0 4px 12px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.action-btn:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 
        0 4px 15px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.action-btn.secondary {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    color: var(--accent-gold);
    border: 2px solid rgba(212, 175, 55, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 
        0 4px 12px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.action-btn.secondary:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.1));
    border-color: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(212, 175, 55, 0.2),
        0 4px 12px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-icon {
    font-size: 1rem;
}

/* Gallery Content */
.gallery-container {
    margin: 30px 0;
}

/* Loading State */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    gap: 20px;
    padding: 40px;
    margin: 20px 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top: 3px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Modern Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 0;
}

/* Photo Items */
.photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    z-index: 10;
    border-color: var(--accent-gold);
}

.image-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--light-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.image-container.loaded {
    background: transparent;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: 0;
    border-radius: 15px;
}

.image-container.loaded img {
    opacity: 1;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.error-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--light-cream);
    color: var(--text-light);
    font-size: 0.8rem;
    text-align: center;
    padding: 20px;
    border-radius: 15px;
}

/* Selection Mode */
.selection-mode .photo-item {
    cursor: pointer;
}

.photo-selector {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--accent-gold);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-gold);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: var(--glass-shadow);
}

.selection-mode .photo-selector {
    display: flex;
}

.photo-selector.selected {
    background: var(--accent-gold);
    color: white;
    transform: scale(1.1);
}

.photo-selector.selected::after {
    content: '✓';
}

.photo-item.selected {
    border: 3px solid var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}

/* Empty State */
.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    margin: 30px 0;
}

.empty-content {
    text-align: center;
    max-width: 500px;
    padding: 50px 30px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    opacity: 0.6;
}

.empty-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.empty-content p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 1rem;
}

.upload-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background: var(--accent-gold);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow);
}

.upload-link:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

/* Selection Toolbar */
.selection-toolbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-gold);
    padding: 20px;
    z-index: 200;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

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

.toolbar-left,
.toolbar-right {
    display: flex;
    gap: 12px;
}

.toolbar-btn {
    padding: 12px 20px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    color: var(--accent-gold);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 
        0 4px 12px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.toolbar-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.toolbar-btn:hover::before {
    left: 100%;
}

.toolbar-btn:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.1));
    border-color: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(212, 175, 55, 0.2),
        0 4px 12px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.toolbar-btn.primary {
    background: linear-gradient(135deg, var(--accent-gold), #b8941f);
    color: white;
    border-color: var(--accent-gold);
    box-shadow: 
        0 4px 12px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.toolbar-btn.primary:hover {
    background: linear-gradient(135deg, #b8941f, var(--accent-gold));
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(212, 175, 55, 0.3),
        0 4px 12px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.toolbar-btn.secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.2);
}

.toolbar-btn.secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    color: var(--text-dark);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .action-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        border-radius: 18px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        padding: 0;
    }
    
    
    .photo-item {
        border-radius: 12px;
    }
    
    .empty-content {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .empty-content h3 {
        font-size: 1.5rem;
    }
    
    .loading-container {
        margin: 20px 10px;
        padding: 30px 20px;
    }
    
    .toolbar-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .toolbar-left,
    .toolbar-right {
        justify-content: center;
    }
    
    .header-stats {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
        padding: 0;
    }
    
    .photo-item {
        border-radius: 10px;
    }
    
    .action-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        border-radius: 16px;
    }
    
    .toolbar-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        border-radius: 18px;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 45px;
    height: 45px;
    background: var(--accent-gold);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow);
}

.lightbox-close:hover {
    background: #c9a961;
    transform: scale(1.1);
}

.lightbox-image-container {
    position: relative;
    max-width: 100%;
    max-height: 80vh;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow);
}

.lightbox-nav:hover {
    background: #c9a961;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

.lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-nav:disabled:hover {
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
}

.lightbox-info {
    margin-top: 30px;
    text-align: center;
    color: white;
}

.lightbox-date {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.lightbox-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.lightbox-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.lightbox-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.lightbox-action:hover::before {
    left: 100%;
}

.lightbox-action:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}



/* Footer */
.gallery-footer {
    border-top: 1px solid var(--border-light);
    padding: 30px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent-gold);
}

/* Mobile-First Responsive Design */
@media (max-width: 768px) {
    /* Mobile Header */
    .gallery-header {
        padding: var(--spacing-sm) var(--spacing-md);
        position: sticky;
        top: 0;
        z-index: 100;
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-light);
    }
    
    .header-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .gallery-title {
        font-size: 1.25rem;
        font-weight: 600;
        margin: 0;
    }
    
    .header-actions {
        display: flex;
        gap: var(--spacing-xs);
        flex-shrink: 0;
    }
    
    .action-btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.8rem;
        min-height: 36px;
        border-radius: 18px;
    }
    
    .header-stats {
        margin-top: var(--spacing-xs);
        font-size: 0.8rem;
    }
    
    /* Mobile Main Content */
    .gallery-main {
        padding: var(--spacing-sm);
        min-height: calc(100vh - 120px);
    }
    
    /* Mobile Grid - Optimized for thumb scrolling */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2px;
        padding: 0;
        margin: 0;
    }
    
    
    .photo-item {
        aspect-ratio: 1;
        border-radius: 4px;
        overflow: hidden;
        background: var(--surface);
    }
    
    .photo-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Mobile Selection Toolbar */
    .selection-toolbar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-light);
        padding: var(--spacing-sm) var(--spacing-md);
        z-index: 200;
    }
    
    .toolbar-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .toolbar-left,
    .toolbar-right {
        display: flex;
        gap: var(--spacing-xs);
    }
    
    .toolbar-btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.8rem;
        min-height: 36px;
        border-radius: 18px;
    }
    

    
    .lightbox-info {
        background: rgba(0, 0, 0, 0.8);
        padding: 20px;
        color: white;
        text-align: center;
    }
    
    .lightbox-date {
        font-size: 0.9rem;
        opacity: 0.8;
        margin-bottom: 10px;
    }
    
    .lightbox-actions {
        display: flex;
        justify-content: center;
        gap: 10px;
    }
    
    .lightbox-action {
        padding: 10px 20px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 18px;
        color: white;
        font-size: 0.9rem;
    }
    
    /* Mobile Footer */
    .gallery-footer {
        padding: 20px;
        margin-top: 30px;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-link {
        display: inline-block;
        padding: 10px 30px;
        background: var(--accent-gold);
        color: white;
        text-decoration: none;
        border-radius: 20px;
        font-weight: 500;
        transition: all 0.2s ease;
    }
    
    .footer-link:hover {
        background: #b8941f;
        color: white;
    }
    

}

@media (max-width: 480px) {
    /* Extra small mobile devices */
    .gallery-header {
        padding: 8px 10px;
    }
    
    .gallery-title {
        font-size: 1.1rem;
    }
    
    .action-btn {
        padding: 8px;
        font-size: 0.75rem;
        min-height: 32px;
        border-radius: 16px;
    }
    
    .gallery-main {
        padding: 8px;
    }
    
    /* 2-column grid for very small screens */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
        padding: 0;
    }
    
    
    .photo-item {
        border-radius: 2px;
    }
    
    .selection-toolbar {
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .toolbar-btn {
        padding: var(--spacing-xs);
        font-size: 0.75rem;
        min-height: 32px;
        border-radius: 16px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-info {
        padding: var(--spacing-sm);
    }
    
    .lightbox-action {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.8rem;
        border-radius: 16px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .photo-item:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }
    
    .photo-item:hover img {
        transform: none;
    }
    
    .action-btn:hover,
    .upload-link:hover,
    .toolbar-btn:hover,
    .lightbox-action:hover {
        transform: none;
    }
    
    /* Ensure touch events work properly */
    .photo-item {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Fix for iOS Safari */
    .gallery-grid {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Ensure buttons are touch-friendly */
    button, .action-btn, .toolbar-btn {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Mobile Lightbox for very small screens */
    .lightbox {
        padding: 0;
        background: rgba(0, 0, 0, 0.98);
    }
    
    .lightbox-content {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        display: flex;
        flex-direction: column;
    }
    
    .lightbox-image-container {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    
    .lightbox-image-container img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 0;
    }
    
    .lightbox-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.8);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-close {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.8);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .photo-item {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Indicators */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --border: #000000;
        --text-secondary: #000000;
        --surface: #ffffff;
    }
}

/* Navigation Section */
.navigation-section {
    border-radius: 20px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-dark);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-1px);
}