/* Hero Section - Consistent with other pages */
.hero-section {
	background: #F4E4BC;
	color: var(--text);
	padding: 4rem 2rem;
	border-radius: 15px;
	margin-bottom: 3rem;
	box-shadow: 0 10px 30px rgba(27, 73, 101, 0.25);
	border: 2px solid var(--border);
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.hero-title {
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--primary);
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
	font-size: 1.2rem;
	color: var(--text-secondary);
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.6;
}

/* Gallery Grid - Same width as hero, 4 photos side by side */
.public-gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.gallery-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 10px;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}

.gallery-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(0,0,0,.08);
}

.gallery-image-wrap {
	position: relative;
	aspect-ratio: 4/3;
	background: var(--background);
	overflow: hidden;
}

.gallery-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gallery-card-info {
	padding: .75rem .9rem 1rem;
}

.gallery-card-title {
	margin: 0 0 .35rem 0;
	font-size: 1rem;
	font-weight: 600;
	color: var(--text);
}

.gallery-card-desc {
	margin: 0;
	font-size: .95rem;
	line-height: 1.35;
	color: var(--muted);
}

/* Lightbox */
.gallery-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,.85);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	padding: 2rem;
}

.gallery-lightbox.show { display: flex; }

.lightbox-content {
	position: relative;
	max-width: min(1200px, 90vw);
	max-height: 80vh;
	background: var(--background);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

#lightboxImage {
	display: block;
	max-width: 100%;
	max-height: 70vh;
	width: 100%;
	height: auto;
	background: #000;
}

.lightbox-caption {
	padding: .8rem 1rem 1rem;
	background: var(--background);
}

.lightbox-caption h4 {
	margin: 0 0 .25rem 0;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--text);
}

.lightbox-caption p {
	margin: 0;
	font-size: .95rem;
	color: var(--muted);
}

.lightbox-close {
	position: fixed;
	top: 12px;
	right: 16px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: none;
	background: rgba(255,255,255,.15);
	color: #fff;
	font-size: 28px;
	cursor: pointer;
	z-index: 10001;
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	background: rgba(0,0,0,.4);
	color: #fff;
	width: 44px;
	height: 60px;
	cursor: pointer;
}

.lightbox-nav.prev { left: 8px; }
.lightbox-nav.next { right: 8px; }

/* Responsive Hero Styles - Match other pages exactly */
@media (max-width: 992px) {
    .hero-section {
        padding: var(--spacing-xl) 2rem;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    /* Gallery responsive - 3 columns on tablet */
    .public-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: var(--spacing-lg) 1.5rem;
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-md);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-lg);
    }
    
    /* Gallery responsive - 2 columns on mobile */
    .public-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: var(--spacing-md) 1rem;
    }
    
    .hero-title {
        font-size: var(--font-size-xl);
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-md);
    }
    
    /* Gallery responsive - 1 column on small mobile */
    .public-gallery-grid {
        grid-template-columns: 1fr;
    }
}
