/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a2e;
    --primary-light: #16213e;
    --primary-dark: #0f0f1a;
    --secondary-color: #e94560;
    --accent-color: #f39c12;
    --gold: #d4af37;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --danger: #dc3545;
    --success: #28a745;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.logo-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: var(--bg-light);
}

.nav-menu .admin-link {
    background: var(--primary-color);
    color: var(--white);
}

.nav-menu .admin-link:hover {
    background: var(--primary-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(233, 69, 96, 0.1) 0%, transparent 70%);
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-light:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
    border-color: var(--danger);
}

.btn-danger:hover {
    background: #c82333;
    border-color: #c82333;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.btn-sm {
    padding: 6px 15px;
    font-size: 0.9rem;
}

/* Sections */
.features,
.about-content,
.gallery-content,
.contact-content,
.admin-content {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', Georgia, serif;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* About Preview */
.about-preview {
    background: var(--bg-light);
    padding: 80px 0;
}

.about-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-preview-text h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.about-preview-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-preview-image {
    border-radius: 15px;
    overflow: hidden;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.placeholder-icon {
    font-size: 8rem;
    opacity: 0.3;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* About Page */
.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about-intro h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.about-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}

.about-card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: 'Playfair Display', Georgia, serif;
}

/* Timeline */
.timeline {
    margin: 5rem 0;
}

.timeline h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.timeline-items {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-items::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--secondary-color);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) .timeline-content {
    direction: ltr;
}

.timeline-year {
    text-align: right;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 0.5rem;
}

.timeline-item:nth-child(even) .timeline-year {
    text-align: left;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Values */
.values {
    margin-top: 5rem;
}

.values h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.value-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Gallery */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    min-height: 44px; /* betere touch target */
}

.filter-btn:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow);
}

.filter-count {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.filter-btn.active .filter-count {
    background: rgba(255,255,255,0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 1rem;
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.gallery-date {
    color: var(--white);
    font-size: 0.9rem;
}

.no-results {
    text-align: center;
    padding: 4rem;
    background: var(--bg-light);
    border-radius: 15px;
}

.empty-gallery {
    text-align: center;
    padding: 4rem;
    background: var(--bg-light);
    border-radius: 15px;
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(255,255,255,0.1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.1rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form-section h2,
.contact-info-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-info-item a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-info-item a:hover {
    color: var(--primary-color);
}

.contact-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.contact-cta h3 {
    margin-bottom: 1rem;
}

.map-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.map-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.map-placeholder {
    max-width: 800px;
    margin: 2rem auto 0;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder-content {
    text-align: center;
    color: var(--white);
}

.map-icon {
    font-size: 5rem;
    opacity: 0.5;
}

/* Admin */
.admin-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--danger));
}

.admin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
}

.admin-title h1 {
    font-size: 32px;
    margin-bottom: 5px;
}

.admin-title p {
    font-size: 14px;
    opacity: 0.9;
}

.admin-user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.admin-link {
    color: white;
    text-decoration: none;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 5px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.admin-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.admin-link.logout {
    background: rgba(220, 53, 69, 0.7);
    border-color: rgba(220, 53, 69, 1);
}

.admin-link.logout:hover {
    background: rgba(220, 53, 69, 1);
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--bg-light);
    overflow-x: auto;
    padding-bottom: 0;
}

.admin-tab {
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    transition: var(--transition);
    white-space: nowrap;
}

.admin-tab:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.admin-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: var(--bg-light);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Content Editor */
.content-editor,
.services-editor,
.hero-image-manager {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.editor-section {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.editor-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.content-input,
.content-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.content-input:focus,
.content-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.content-textarea {
    resize: vertical;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Hero Image Manager */
.current-hero {
    margin-bottom: 2rem;
}

.hero-preview {
    max-width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin: 1rem 0;
    box-shadow: var(--shadow);
}

.hero-image-info {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.no-hero {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
    text-align: center;
    color: var(--text-light);
}

.hero-upload {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

/* Services Editor */
.service-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-icon-preview {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 10px;
}

.service-header h4 {
    color: var(--primary-color);
    margin: 0;
}

.admin-categories-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.admin-categories-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.category-manager {
    max-width: 800px;
}

.category-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.category-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
}

.category-delete-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.category-delete-btn:hover {
    background: var(--danger);
}

.no-categories {
    color: var(--text-light);
    font-style: italic;
}

.admin-upload-section {
    margin-bottom: 4rem;
}

.upload-options {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.upload-label {
    font-weight: 600;
    color: var(--primary-color);
}

.category-select,
.image-category-select {
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.category-select:focus,
.image-category-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.image-category-select {
    width: 100%;
    margin-bottom: 0.5rem;
}

.upload-area {
    border: 3px dashed #ccc;
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    background: var(--bg-light);
    transition: var(--transition);
    cursor: pointer;
}

.upload-area.drag-over {
    border-color: var(--primary-color);
    background: #e8f5e9;
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.upload-placeholder h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.upload-progress {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.progress-bar {
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0;
    transition: width 0.3s ease;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.admin-gallery-item {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.admin-image-wrapper {
    position: relative;
    aspect-ratio: 1;
}

.admin-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-image-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
}

.image-category-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.9);
    border-radius: 5px;
    cursor: pointer;
}

.checkbox-label input {
    display: none;
}

.checkmark {
    display: none;
    font-size: 1.2rem;
    color: var(--success);
}

.checkbox-label input:checked + .checkmark {
    display: block;
}

.admin-image-info {
    padding: 1rem;
}

.image-filename {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

.modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-buttons .btn {
    flex: 1;
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1500;
    max-width: 400px;
}

.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid var(--success);
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid var(--danger);
}

.close-alert {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
    margin-left: 1rem;
}

.close-alert:hover {
    opacity: 1;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* Responsive */

/* Large tablets and small desktops */
@media (max-width: 968px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: var(--shadow);
        display: none;
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem;
        border-radius: 0;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: var(--bg-light);
    }
    
    .nav-menu .admin-link {
        margin: 0.5rem 1rem;
        border-radius: 5px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-preview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-preview-image {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }

    .features,
    .about-content,
    .gallery-content,
    .contact-content,
    .admin-content {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .timeline-items::before {
        left: 20px;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 60px;
    }
    
    .timeline-item:nth-child(even) {
        direction: ltr;
    }
    
    .timeline-year {
        text-align: left !important;
        position: absolute;
        left: 0;
        font-size: 1.5rem;
    }
    
    .about-intro h2,
    .about-preview-text h2,
    .timeline h2,
    .values h2,
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .cta p {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 1rem;
    }
    
    .map-placeholder {
        height: 300px;
    }
    
    .gallery-filters {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar .container {
        padding: 0.75rem 15px;
    }
    
    .logo-text {
        font-size: 0.9rem;
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .hero {
        height: auto;
        min-height: 450px;
        padding: 60px 0;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 14px 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-card {
        padding: 1.5rem;
    }
    
    .about-card-icon {
        font-size: 2.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .value-item {
        padding: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item {
        aspect-ratio: 1;
    }
    
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(transparent 50%, rgba(0,0,0,0.8));
        padding: 0.75rem;
    }
    
    .gallery-category,
    .gallery-date {
        font-size: 0.8rem;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 80%;
    }
    
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
    
    .lightbox-caption {
        bottom: 10px;
        font-size: 0.9rem;
        padding: 0 15px;
        text-align: center;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .contact-icon {
        font-size: 1.5rem;
    }
    
    .contact-cta {
        padding: 1.5rem;
    }
    
    .map-placeholder {
        height: 250px;
        margin: 1.5rem auto 0;
    }
    
    .map-icon {
        font-size: 3rem;
    }
    
    footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .cta {
        padding: 50px 0;
    }
    
    .cta h2 {
        font-size: 1.5rem;
    }
    
    .about-preview {
        padding: 50px 0;
    }
    
    .image-placeholder {
        aspect-ratio: 16/9;
    }
    
    .placeholder-icon {
        font-size: 5rem;
    }
    
    .alert {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .navbar .container {
        padding: 0.5rem 12px;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
    
    .logo-text {
        font-size: 0.8rem;
        max-width: 140px;
    }
    
    .nav-toggle span {
        width: 22px;
        height: 2px;
    }
    
    .hero {
        min-height: 400px;
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .features,
    .about-content,
    .gallery-content,
    .contact-content {
        padding: 40px 0;
    }
    
    .page-header {
        padding: 30px 0;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
    
    .feature-card,
    .about-card {
        padding: 1.25rem;
    }
    
    .feature-card h3,
    .about-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p,
    .about-card p {
        font-size: 0.9rem;
    }
    
    .about-intro h2 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .timeline-item {
        padding-left: 45px;
    }
    
    .timeline-year {
        font-size: 1.2rem;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-content h3 {
        font-size: 1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    .gallery-filters {
        padding: 0.75rem;
        gap: 0.5rem;
        justify-content: flex-start;
    }
    
    .filter-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
        min-height: 40px;
    }
    
    .filter-count {
        font-size: 0.8rem;
        padding: 1px 6px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .empty-gallery,
    .no-results {
        padding: 2rem 1rem;
    }
    
    .empty-icon {
        font-size: 3rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .contact-info-item {
        gap: 0.75rem;
    }
    
    .contact-icon {
        font-size: 1.25rem;
    }
    
    .contact-info-item h4 {
        font-size: 0.95rem;
    }
    
    .contact-info-item p,
    .contact-info-item a {
        font-size: 0.9rem;
    }
    
    .map-section {
        padding: 50px 0;
    }
    
    .map-section h2 {
        font-size: 1.5rem;
    }
    
    .map-placeholder {
        height: 200px;
    }
    
    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section p {
        font-size: 0.85rem;
    }
    
    .cta h2 {
        font-size: 1.3rem;
    }
    
    .cta p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    /* Flash messages mobile */
    .flash-messages {
        position: fixed;
        top: 70px;
        left: 12px;
        right: 12px;
        max-width: none;
    }
    
    .alert {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .close-alert {
        font-size: 1.2rem;
        margin-left: auto;
        padding: 0;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .logo-text {
        display: none;
    }
    
    .nav-brand a {
        gap: 0;
    }
    
    .hero h1 {
        font-size: 1.3rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .gallery-overlay {
        opacity: 1;
    }
    
    .gallery-item:hover {
        transform: none;
    }
    
    .feature-card:hover,
    .about-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .filter-btn:hover {
        transform: none;
    }
}

/* Landscape mode on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 30px 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .hero-buttons .btn {
        width: auto;
    }
}

/* ===========================================
   BEHEERPANEEL STIJLEN (Admin Panel)
   =========================================== */

/* Meldingen (Notifications) */
.melding {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 400px;
}

.melding.zichtbaar {
    transform: translateY(0);
    opacity: 1;
}

.melding-success { background: linear-gradient(135deg, #28a745, #1e7e34); }
.melding-error { background: linear-gradient(135deg, #dc3545, #bd2130); }
.melding-info { background: linear-gradient(135deg, #17a2b8, #117a8b); }

.melding-icon { font-size: 1.4rem; }
.melding-tekst { line-height: 1.4; }

/* Admin Header */
.admin-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0;
}

.admin-header .container {
    padding: 0 20px;
}

.admin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-title h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.admin-title p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.admin-user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.user-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.admin-btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.admin-btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.admin-btn-danger {
    background: rgba(220, 53, 69, 0.8);
    color: white;
}

.admin-btn-danger:hover {
    background: #dc3545;
}

/* Admin Main */
.admin-main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
    background: #f5f7f9;
}

/* Admin Navigation */
.admin-nav {
    display: flex;
    gap: 8px;
    background: white;
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: 80px;
}

.admin-nav-btn:hover {
    background: var(--bg-light);
}

.admin-nav-btn.active {
    background: var(--primary-color);
    color: white;
}

.nav-icon {
    font-size: 1.5rem;
}

.nav-label {
    font-size: 0.75rem;
    font-weight: 600;
}

/* Tab Content */
.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Admin Cards */
.admin-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eef1f5;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.card-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.card-header h2 + p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0;
}

.card-header > p {
    font-size: 0.9rem;
    color: var(--text-light);
    flex-basis: 100%;
    margin-top: -0.5rem;
}

.card-body {
    padding: 2rem;
}

/* Form Elements */
.form-row {
    display: grid;
    gap: 1.5rem;
}

.form-row.two-columns {
    grid-template-columns: repeat(2, 1fr);
}

.form-row.three-columns {
    grid-template-columns: repeat(3, 1fr);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group.inline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-group.small {
    max-width: 120px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fafbfc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(45, 80, 22, 0.08);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.6;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 1rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.radio-option:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(45, 80, 22, 0.05);
}

.radio-option input {
    width: auto;
}

.radio-label {
    font-weight: 500;
}

/* Color Input */
.color-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.color-input-wrapper input[type="color"] {
    width: 50px;
    height: 40px;
    padding: 4px;
    border-radius: 8px;
    cursor: pointer;
}

.color-preview {
    font-size: 0.85rem;
    color: var(--text-light);
    font-family: monospace;
}

/* Image Upload Section */
.image-upload-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.image-upload-section > label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
}

.current-image-preview {
    margin-bottom: 1rem;
    text-align: center;
}

.current-image-preview img {
    max-width: 100%;
    max-height: 250px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.current-image-preview.small img {
    max-height: 150px;
}

.current-image-preview.tiny {
    display: inline-block;
    margin-right: 1rem;
}

.current-image-preview.tiny img,
.current-image-preview.tiny .no-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

.no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    color: var(--text-light);
}

.no-image span {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.image-path {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 8px;
    word-break: break-all;
}

.btn-upload {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-upload:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-upload.small {
    padding: 8px 14px;
    font-size: 0.8rem;
}

/* Services Editor */
.services-editor {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-edit-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.service-edit-item:hover {
    border-color: #e9ecef;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.service-preview-icon {
    font-size: 2rem;
}

.service-number {
    font-weight: 600;
    color: var(--text-light);
}

.service-fields {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 1rem;
    align-items: start;
}

/* Admin Actions */
.admin-actions {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-radius: 16px;
    margin-top: 1rem;
    text-align: right;
}

.btn-save {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.25);
}

.btn-save:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.35);
}

.btn-save:disabled,
.btn-save.laden {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Category Management */
.category-input-row {
    display: flex;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.category-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
}

.category-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-add:hover:not(:disabled) {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.category-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.category-remove:hover {
    background: #c82333;
    transform: scale(1.1);
}

.empty-message {
    color: var(--text-light);
    font-style: italic;
    padding: 1rem 0;
}

/* Upload Zone */
.upload-controls {
    margin-bottom: 1.5rem;
}

.upload-controls .form-group.inline label {
    font-weight: 600;
    margin-bottom: 0;
}

.category-select {
    padding: 10px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    min-width: 200px;
}

.upload-zone {
    border: 3px dashed #d1d5db;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fafbfc;
}

.upload-zone:hover {
    border-color: var(--primary-color);
    background: rgba(45, 80, 22, 0.02);
}

.upload-zone.dragover {
    border-color: var(--primary-color);
    background: rgba(45, 80, 22, 0.05);
    transform: scale(1.01);
}

.upload-placeholder {
    pointer-events: none;
}

.upload-placeholder .upload-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.upload-placeholder h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.upload-placeholder p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.upload-hint {
    font-size: 0.8rem !important;
    opacity: 0.7;
}

.btn-select-files {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.2s ease;
}

.btn-select-files:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Upload Progress */
.upload-progress {
    background: #f0f4f8;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.progress-info {
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-dark);
}

.progress-track {
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 5px;
    transition: width 0.3s ease;
    width: 0;
}

/* Photo Grid */
.card-header .header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-header .header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.card-header .header-left .photo-count {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.photo-count {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.btn-delete-selected {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-delete-selected:hover {
    background: #c82333;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.photo-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.photo-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.photo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-card:hover .photo-image img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 12px;
}

.photo-card:hover .photo-overlay {
    opacity: 1;
}

.photo-checkbox {
    cursor: pointer;
}

.photo-checkbox input {
    display: none;
}

.checkbox-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    color: transparent;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.2s ease;
}

.photo-checkbox input:checked + .checkbox-mark {
    background: var(--success);
    color: white;
}

.photo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(45, 80, 22, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.photo-details {
    padding: 1rem;
}

.photo-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photo-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.photo-category-select {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    transition: border-color 0.2s ease;
}

.photo-category-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-delete-photo {
    width: 100%;
    padding: 8px;
    background: #fee2e2;
    color: #dc3545;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-delete-photo:hover {
    background: #dc3545;
    color: white;
}

/* Empty Gallery */
.empty-gallery {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.empty-gallery .empty-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.empty-gallery h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.zichtbaar {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: white;
    border-radius: 20px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(-20px) scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.zichtbaar .modal-box {
    transform: translateY(0) scale(1);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eef1f5;
}

.modal-header h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.modal-body {
    padding: 1.5rem 2rem;
}

.modal-body p {
    color: var(--text-light);
    line-height: 1.6;
}

.modal-footer {
    padding: 1rem 2rem 1.5rem;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-modal {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-cancel {
    background: #e9ecef;
    color: var(--text-dark);
}

.btn-cancel:hover {
    background: #d1d5db;
}

.btn-confirm {
    background: #dc3545;
    color: white;
}

.btn-confirm:hover:not(:disabled) {
    background: #c82333;
}

.btn-confirm:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Admin */
@media (max-width: 1024px) {
    .form-row.two-columns,
    .form-row.three-columns {
        grid-template-columns: 1fr;
    }
    
    .service-fields {
        grid-template-columns: 1fr;
    }
    
    .service-fields .form-group.small {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .admin-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .admin-title {
        margin-bottom: 1rem;
    }
    
    .admin-nav {
        padding: 6px;
        gap: 4px;
    }
    
    .admin-nav-btn {
        padding: 10px 14px;
        min-width: 60px;
    }
    
    .nav-icon {
        font-size: 1.2rem;
    }
    
    .nav-label {
        font-size: 0.65rem;
    }
    
    .card-header,
    .card-body {
        padding: 1.25rem;
    }
    
    .admin-actions {
        padding: 1.25rem;
        text-align: center;
    }
    
    .btn-save {
        width: 100%;
        justify-content: center;
    }
    
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
    
    .category-input-row {
        flex-direction: column;
    }
    
    .btn-add {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .admin-main {
        padding: 1rem 0;
    }
    
    .admin-nav-btn {
        padding: 8px 10px;
        min-width: 50px;
    }
    
    .nav-label {
        display: none;
    }
    
    .upload-zone {
        padding: 2rem 1rem;
    }
    
    .upload-placeholder h3 {
        font-size: 1rem;
    }
}
