/* :root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-gray: #f5f6fa;
    --border-color: #ddd;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
} */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-gray);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 1200px;
    max-width: 95%;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 13px;
    }
}

.gallery-section {
    padding: 2rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.gallery-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-card h3 {
    padding: 1rem;
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.gallery-meta {
    padding: 0 1rem 1rem;
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.sidebar-widget {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
    color: #333;
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f5f6fa;
    border-radius: 4px;
    color: #333;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: #3498db;
    color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a, .pagination span {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    background: white;
    color: var(--text-color);
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--secondary-color);
    color: white;
}

.pagination .active {
    background: var(--primary-color);
    color: white;
}

.gallery-detail {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.gallery-header {
    margin-bottom: 2rem;
}

.gallery-header h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.gallery-description {
    color: #666;
    line-height: 1.6;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-title h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .sidebar-widget {
        padding: 1rem;
    }
    
    .gallery-card img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 2rem 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .gallery-card img {
        height: 160px;
    }
}

.page-header {
    background-color: #1a5276;
    color: white;
    padding: 40px 0;
    margin-bottom: 30px;
}

.page-title h1 {
    color: white;
    font-size: 32px;
    margin-bottom: 10px;
}

.page-title p {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs {
    background-color: #f5f5f5;
    padding: 10px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.breadcrumbs ul li a {
    color: #666;
}

.breadcrumbs ul li {
    color: #333;
}

.all-galleries {
    color: #333;
}

.all-galleries h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.alert {
    background-color: #f8f9fa;
    color: #333;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-info {
    background-color: #e3f2fd;
    color: #0d47a1;
    border: 1px solid #bbdefb;
} 