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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #333;
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.nav-brand svg {
    width: 24px;
    height: 24px;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

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

/* Buttons */
.btn {
    padding: 0.5rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #000;
    color: white;
}

.btn-primary:hover {
    background: #333;
}

.btn-secondary {
    background: #666;
    color: white;
}

.btn-secondary:hover {
    background: #888;
}

.btn-danger {
    background: #dc2626;
    color: white;
}

.btn-danger:hover {
    background: #b91c1c;
}

.btn-block {
    width: 100%;
    padding: 0.75rem;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.btn-icon svg {
    width: 20px;
    height: 20px;
    stroke: #333;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.hero-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    padding: 2rem;
    z-index: 1;
}

.hero-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.hero-nav:hover {
    background: rgba(255,255,255,0.4);
}

.hero-nav svg {
    width: 24px;
    height: 24px;
}

.hero-prev {
    left: 2rem;
}

.hero-next {
    right: 2rem;
}

.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

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

/* Section Title */
.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 4px;
    margin-bottom: 3rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    
    /* Default: center positioning for horizontal images */
    object-position: center;
}

/* Detect vertical images and position to top */
.gallery-item img[data-orientation="vertical"] {
    object-position: top center;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.gallery-item:hover .gallery-overlay {
    background: rgba(0,0,0,0.6);
}

.gallery-info {
    text-align: center;
    color: white;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-info {
    opacity: 1;
}

.gallery-info h3 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    font-size: 0.9rem;
}

/* Hero Images Manager */
.hero-images-list {
    display: grid;
    gap: 1rem;
}

.hero-image-item {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 1rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 4px;
    align-items: center;
    cursor: move;
    transition: all 0.3s;
}

.hero-image-item:hover {
    background: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero-image-item.dragging {
    opacity: 0.5;
}

.hero-image-thumb {
    width: 150px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.hero-image-info h4 {
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.hero-image-info p {
    color: #666;
    font-size: 0.9rem;
}

.hero-image-actions {
    display: flex;
    gap: 0.5rem;
}

/* Post Detail */
.post-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.post-description {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 3rem;
}

.post-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1rem;
}

.post-image {
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
}

.post-image:hover img {
    transform: scale(1.05);
}

/* About Page */
.page-title {
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 4px;
    margin-bottom: 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    stroke: #666;
    flex-shrink: 0;
}

.contact-item h3 {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #666;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
}

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

textarea.form-input {
    resize: vertical;
}

/* Upload Box */
.upload-box {
    border: 2px dashed #ddd;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
}

.upload-box:hover {
    background: #f9f9f9;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #666;
}

.image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.preview-item {
    position: relative;
}

.preview-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #dc2626;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.preview-item:hover .remove-image {
    opacity: 1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-large {
    max-width: 800px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 300;
}

.close-modal {
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 1.5rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.alert-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* Footer */
.footer {
    background: #f9f9f9;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    color: #666;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-muted {
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .hero-content p {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .hero-prev {
        left: 1rem;
    }
    
    .hero-next {
        right: 1rem;
    }
    
    .hero-nav {
        width: 40px;
        height: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .post-images {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .hero-image-item {
        grid-template-columns: 100px 1fr;
        gap: 0.75rem;
    }
    
    .hero-image-thumb {
        width: 100px;
        height: 60px;
    }
    
    .hero-image-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}

/* ============================================
   ADDITIONAL STYLES FOR UPGRADED FEATURES
   Add these styles to the end of your existing style.css file
   ============================================ */

/* Category Filter */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.category-btn {
    padding: 0.5rem 1.5rem;
    background: white;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.category-btn:hover {
    border-color: #999;
    background: #f9f9f9;
}

.category-btn.active {
    background: #000;
    color: white;
    border-color: #000;
}

/* Category Tags */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.category-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0,0,0,0.1);
    font-size: 0.85rem;
    border-radius: 12px;
}

/* Post Meta */
.post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.95rem;
}

.post-author, .post-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Categories Checkboxes */
.categories-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s;
}

.checkbox-label:hover {
    background: #f9f9f9;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Admin Container */
.admin-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: calc(100vh - 70px);
    margin-top: 70px;
}

/* Admin Sidebar */
.admin-sidebar {
    background: #f9f9f9;
    border-right: 1px solid #e0e0e0;
    padding: 2rem 0;
}

.admin-sidebar h2 {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    font-size: 1.5rem;
}

.admin-nav {
    display: flex;
    flex-direction: column;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.admin-nav-link svg {
    width: 20px;
    height: 20px;
}

.admin-nav-link:hover {
    background: white;
    border-left-color: #ddd;
}

.admin-nav-link.active {
    background: white;
    border-left-color: #000;
    font-weight: 500;
}

/* Admin Main */
.admin-main {
    padding: 2rem;
    overflow-y: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.admin-header h1 {
    font-size: 2rem;
    font-weight: 300;
}

.admin-header .btn {
    display: flex;
    align-items: center;
}

/* Admin Sections */
.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

/* Admin List Items */
.admin-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-post-item,
.admin-category-item,
.admin-user-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    align-items: center;
    transition: all 0.3s;
}

.admin-post-item:hover,
.admin-category-item:hover,
.admin-user-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.admin-post-thumb {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.admin-post-info h3,
.admin-user-info h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.admin-post-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

.admin-post-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #999;
}

.admin-post-actions {
    display: flex;
    gap: 0.5rem;
}

.admin-category-item,
.admin-user-item {
    grid-template-columns: 1fr auto;
}

/* Page Cards */
.pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.page-card {
    padding: 2rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.page-card:hover {
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.page-card svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    stroke: #666;
}

.page-card h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.page-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Page Content Styling */
.page-content {
    line-height: 1.8;
}

.page-content .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.page-content .about-image img {
    width: 100%;
    border-radius: 4px;
}

.page-content .about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.page-content .contact-info h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.page-content .contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.page-content .contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.page-content .contact-item h3 {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.page-content .contact-item p {
    color: #666;
}

/* Responsive Admin */
@media (max-width: 768px) {
    .admin-container {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .admin-nav {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .admin-nav-link {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }
    
    .admin-post-item {
        grid-template-columns: 1fr;
    }
    
    .admin-post-thumb {
        width: 100%;
        height: 200px;
    }
    
    .admin-post-actions {
        justify-content: flex-end;
    }
    
    .page-content .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FULLSCREEN IMAGE CAROUSEL STYLES
   Add these styles to the end of your existing style.css file
   ============================================ */

/* Image hover effect on post page */
.post-image {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: white;
    gap: 0.5rem;
}

.post-image:hover .image-overlay {
    opacity: 1;
}

.image-overlay svg {
    width: 48px;
    height: 48px;
}

.image-overlay span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Fullscreen Carousel */
.fullscreen-carousel {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.fullscreen-carousel.active {
    display: flex;
}

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

.carousel-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.carousel-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    z-index: 10000;
    border-radius: 50%;
}

.carousel-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.carousel-close svg {
    width: 24px;
    height: 24px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    z-index: 10000;
    border-radius: 50%;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.carousel-nav svg {
    width: 28px;
    height: 28px;
}

.carousel-prev {
    left: 2rem;
}

.carousel-next {
    right: 2rem;
}

.carousel-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    user-select: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .carousel-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .carousel-close svg {
        width: 20px;
        height: 20px;
    }
    
    .carousel-nav {
        width: 50px;
        height: 50px;
    }
    
    .carousel-nav svg {
        width: 24px;
        height: 24px;
    }
    
    .carousel-prev {
        left: 1rem;
    }
    
    .carousel-next {
        right: 1rem;
    }
    
    .carousel-counter {
        bottom: 1rem;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .carousel-content {
        max-width: 95vw;
        max-height: 85vh;
    }
}

/* ============================================
   RICH TEXT EDITOR STYLES
   Add these styles to the end of your existing style.css file
   ============================================ */

/* Extra large modal for editor */
.modal-xlarge {
    max-width: 1200px;
}

/* Editor toolbar */
.editor-toolbar {
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    gap: 0.5rem;
}

/* Quill editor container */
#page-editor {
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Quill toolbar customization */
.ql-toolbar.ql-snow {
    border: 1px solid #ddd;
    border-bottom: none;
    background: #fafafa;
    border-radius: 4px 4px 0 0;
}

.ql-container.ql-snow {
    border: 1px solid #ddd;
    border-radius: 0 0 4px 4px;
    font-family: inherit;
    font-size: 1rem;
}

/* Editor content styling */
.ql-editor {
    min-height: 400px;
    font-size: 1rem;
    line-height: 1.6;
}

.ql-editor h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.ql-editor h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 0.75rem;
}

.ql-editor h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.ql-editor p {
    margin-bottom: 1rem;
}

.ql-editor img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1rem 0;
}

.ql-editor blockquote {
    border-left: 4px solid #ddd;
    padding-left: 1rem;
    margin: 1rem 0;
    color: #666;
}

.ql-editor ul,
.ql-editor ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.ql-editor li {
    margin-bottom: 0.5rem;
}

.ql-editor a {
    color: #0066cc;
    text-decoration: underline;
}

.ql-editor code {
    background: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: monospace;
}

.ql-editor pre {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1rem 0;
}

/* Insert image button styling */
.editor-toolbar .btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Page content display styling (for About/Contact pages) */
.page-content h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.page-content h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 0.75rem;
}

.page-content h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.page-content h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.page-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.page-content blockquote {
    border-left: 4px solid #ddd;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: #666;
    font-style: italic;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content a {
    color: #0066cc;
    text-decoration: underline;
}

.page-content a:hover {
    color: #0052a3;
}

.page-content code {
    background: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9em;
}

.page-content pre {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.page-content pre code {
    background: none;
    padding: 0;
}

.page-content strong {
    font-weight: 600;
}

.page-content em {
    font-style: italic;
}

.page-content u {
    text-decoration: underline;
}

.page-content s {
    text-decoration: line-through;
}

/* Responsive editor */
@media (max-width: 768px) {
    .modal-xlarge {
        max-width: 95vw;
    }
    
    .ql-editor {
        min-height: 300px;
    }
    
    .editor-toolbar {
        flex-wrap: wrap;
    }
    
    .page-content h1 {
        font-size: 2rem;
    }
    
    .page-content h2 {
        font-size: 1.5rem;
    }
    
    .page-content h3 {
        font-size: 1.25rem;
    }
}

/* ============================================
   CONTACT PAGE GOOGLE MAPS STYLES
   Add these styles to the end of your existing style.css file
   ============================================ */

/* Contact map section */
.contact-map {
    margin-top: 3rem;
    grid-column: 1 / -1;
}

.contact-map h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

#google-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Contact item links */
.page-content .contact-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.page-content .contact-item a:hover {
    color: #0066cc;
    text-decoration: underline;
}

/* Responsive map */
@media (max-width: 768px) {
    #google-map {
        height: 300px;
    }
    
    .contact-map {
        margin-top: 2rem;
    }
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #000;
}

/* Search Bar */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 2rem auto;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: #000;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
}

.search-btn:hover {
    background: #333;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination-btn {
    padding: 0.75rem 1.25rem;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.pagination-btn:hover {
    background: #f9f9f9;
    border-color: #000;
}

.pagination-btn.active {
    background: #000;
    color: white;
    border-color: #000;
}

/* Dashboard Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-icon {
    font-size: 3rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 300;
    color: #000;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dashboard Charts */
.dashboard-charts {
    margin: 3rem 0;
}

.chart-container {
    background: white;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.chart-container h3 {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Activity Log */
.recent-activity {
    background: white;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.recent-activity h3 {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    font-size: 1.5rem;
}

.activity-content {
    flex: 1;
}

.activity-content p {
    margin: 0.25rem 0 0 0;
    font-size: 0.85rem;
}

/* Bulk Actions */
.bulk-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 4px;
    align-items: center;
}

.bulk-actions-btn {
    display: none;
}

.bulk-actions.active .bulk-actions-btn {
    display: inline-flex;
}

.checkbox-column {
    width: 40px;
}

.admin-post-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Image Caption Editor */
.caption-editor {
    position: relative;
    margin-top: 0.5rem;
}

.caption-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

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

/* Lazy Loading Placeholder */
img[data-src] {
    filter: blur(5px);
    transition: filter 0.3s;
}

img[data-src].loaded {
    filter: blur(0);
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .search-container {
        padding: 0 1rem;
    }
}