/* Header Styles - Solid Header Above Content */
#header {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	background-color: #1a1a1a;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
}

#header-wrap {
	position: relative;
}

.header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 0;
	min-height: 80px;
}

/* Logo Styles */
#logo {
	flex: 0 0 auto;
}

#logo img {
	max-height: 50px;
	width: auto;
	transition: all 0.3s ease;
}

/* Primary Menu Styles */
.primary-menu {
	flex: 1;
	display: flex;
	justify-content: center;
}

.menu-container {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
}

.menu-container li {
	margin: 0 30px;
	position: relative;
}

.menu-container li a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: all 0.3s ease;
	position: relative;
	padding: 10px 0;
}

.menu-container li a span {
	position: relative;
	z-index: 2;
}

/* Hover Effect */
.menu-container li a:before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background: #c85e51;
	transition: all 0.3s ease;
	transform: translateX(-50%);
	box-shadow: 0 0 8px rgba(200, 94, 81, 0.6);
}

.menu-container li a:hover:before,
.menu-container li.current a:before {
	width: 100%;
}

.menu-container li a:hover,
.menu-container li.current a {
	color: #ffffff;
}

/* Header Misc (Social Icons) */
.header-misc {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 15px;
}

.header-email,
.header-instagram {
	color: rgba(255, 255, 255, 0.8);
	font-size: 18px;
	transition: all 0.3s ease;
	padding: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
}

.header-email:hover,
.header-instagram:hover {
	color: #c85e51;
	background: rgba(200, 94, 81, 0.2);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(200, 94, 81, 0.3);
}

/* Mobile Menu Trigger */
#primary-menu-trigger {
	display: none;
	cursor: pointer;
	padding: 10px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
}

.svg-trigger {
	width: 30px;
	height: 30px;
}

.svg-trigger .line {
	fill: none;
	stroke: rgba(255, 255, 255, 0.9);
	stroke-width: 6;
	transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
				stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.svg-trigger .line1 { stroke-dasharray: 60 207; stroke-width: 6; }
.svg-trigger .line2 { stroke-dasharray: 60 60; stroke-width: 6; }
.svg-trigger .line3 { stroke-dasharray: 60 207; stroke-width: 6; }

/* Slider positioned after header */
#slider {
	margin-top: 0;
	position: relative;
	z-index: 1;
}

/* Content section spacing */
#content {
	position: relative;
	z-index: 2;
}

/* Grid Styles */
.grid {
	position: relative;
	margin: 0 auto;
	max-width: 100%;
	list-style: none;
	text-align: center;
}

.grid .grid-item {
	display: inline-block;
	width: 300px;
	margin: 10px;
	padding: 0;
	text-align: left;
	position: relative;
	vertical-align: top;
}

.grid .img-wrap {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 8px;
}

.grid .img-wrap img {
	width: 100%;
	height: auto;
	display: block;
	transition: all 0.3s ease;
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
}

.grid .img-wrap:hover img {
	filter: grayscale(0%);
	-webkit-filter: grayscale(0%);
	transform: scale(1.05);
}

.grid .description {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0,0,0,0.9));
	color: #fff;
	padding: 30px 20px 20px;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.3s ease;
	border-radius: 0 0 8px 8px;
}

.grid .img-wrap:hover .description {
	opacity: 1;
	transform: translateY(0);
}

.grid .description h3 {
	margin: 0 0 10px;
	font-size: 18px;
	color: #fff;
}

.grid .description p {
	margin: 0 0 15px;
	font-size: 14px;
	color: #ccc;
}

.grid .description .details ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.grid .description .details li {
	display: inline-block;
	margin: 0 15px 5px 0;
	font-size: 12px;
	color: #999;
}

.grid .description .details i {
	margin-right: 5px;
	color: #c85e51;
}

/* Preview Styles */
.preview {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.95);
	z-index: 2000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.preview.show {
	opacity: 1;
	visibility: visible;
}

.preview .action-close {
	position: absolute;
	top: 30px;
	right: 30px;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: #fff;
	font-size: 30px;
	cursor: pointer;
	z-index: 2001;
	padding: 10px;
	border-radius: 50%;
	transition: all 0.3s ease;
}

.preview .action-close:hover {
	background: rgba(200, 94, 81, 0.3);
	transform: scale(1.1);
}

.preview .description-preview {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.9);
	color: #fff;
	padding: 30px;
	transform: translateY(100%);
	transition: all 0.3s ease;
}

.preview.show .description-preview {
	transform: translateY(0);
}

/* Grid Animation States */
.grid.grid-loaded .grid-item {
	opacity: 1;
}

.grid-item {
	opacity: 0;
	animation: fadeInUp 0.6s ease forwards;
}

.grid-item:nth-child(1) { animation-delay: 0.1s; }
.grid-item:nth-child(2) { animation-delay: 0.2s; }
.grid-item:nth-child(3) { animation-delay: 0.3s; }
.grid-item:nth-child(4) { animation-delay: 0.4s; }
.grid-item:nth-child(5) { animation-delay: 0.5s; }
.grid-item:nth-child(6) { animation-delay: 0.6s; }
.grid-item:nth-child(7) { animation-delay: 0.7s; }
.grid-item:nth-child(8) { animation-delay: 0.8s; }
.grid-item:nth-child(9) { animation-delay: 0.9s; }
.grid-item:nth-child(10) { animation-delay: 1.0s; }

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Album Grid Styles */
.album-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin: 60px 0;
}

.album-card {
	position: relative;
	border-radius: 15px;
	overflow: hidden;
	background: #2a2a2a;
	transition: all 0.4s ease;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.album-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.album-card.featured {
	grid-column: span 2;
}

.album-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.album-image {
	position: relative;
	height: 280px;
	overflow: hidden;
}

.album-card.featured .album-image {
	height: 350px;
}

.album-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: all 0.4s ease;
	filter: grayscale(20%) brightness(0.8);
}

.album-card:hover .album-image img {
	transform: scale(1.05);
	filter: grayscale(0%) brightness(1);
}

.album-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		45deg,
		rgba(0, 0, 0, 0.3) 0%,
		rgba(0, 0, 0, 0.1) 50%,
		rgba(200, 94, 81, 0.3) 100%
	);
	display: flex;
	align-items: flex-end;
	padding: 30px;
	transition: all 0.4s ease;
}

.album-card:hover .album-overlay {
	background: linear-gradient(
		45deg,
		rgba(0, 0, 0, 0.7) 0%,
		rgba(0, 0, 0, 0.3) 50%,
		rgba(200, 94, 81, 0.6) 100%
	);
}

.album-content {
	color: white;
	width: 100%;
	transform: translateY(20px);
	transition: all 0.4s ease;
}

.album-card:hover .album-content {
	transform: translateY(0);
}

.album-icon {
	width: 50px;
	height: 50px;
	background: rgba(200, 94, 81, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 15px;
	transition: all 0.3s ease;
}

.album-icon i {
	font-size: 20px;
	color: white;
}

.album-card:hover .album-icon {
	background: rgba(200, 94, 81, 1);
	transform: scale(1.1);
}

.album-content h4 {
	margin: 0 0 8px 0;
	font-size: 24px;
	font-weight: 600;
	color: white;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.album-content p {
	margin: 0 0 12px 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.4;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.album-count {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 500;
}

.featured-badge {
	position: absolute;
	top: -30px;
	right: 20px;
	background: #c85e51;
	color: white;
	padding: 5px 15px;
	border-radius: 15px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
	box-shadow: 0 4px 15px rgba(200, 94, 81, 0.4);
}

/* Responsive Design */
@media (max-width: 991px) {
	#primary-menu-trigger {
		display: block;
	}
	
	.primary-menu {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: #1a1a1a;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		transform: translateY(-100%);
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease;
		z-index: 1000;
	}
	
	.primary-menu.show {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}
	
	.menu-container {
		flex-direction: column;
		padding: 20px 0;
	}
	
	.menu-container li {
		margin: 10px 0;
		width: 100%;
		text-align: center;
	}
	
	.menu-container li a {
		display: block;
		padding: 15px 20px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
	
	.header-misc {
		gap: 10px;
	}

	.grid .grid-item {
		width: 45%;
		margin: 2.5%;
	}

	.album-grid {
		grid-template-columns: 1fr;
		gap: 20px;
		margin: 40px 0;
	}
	
	.album-card.featured {
		grid-column: span 1;
	}
	
	.album-image,
	.album-card.featured .album-image {
		height: 250px;
	}
	
	.album-overlay {
		padding: 20px;
	}
	
	.album-content h4 {
		font-size: 20px;
	}
}

@media (max-width: 768px) {
	.header-row {
		padding: 15px 0;
	}
	
	#logo img {
		max-height: 40px;
	}
	
	.header-misc a {
		padding: 8px;
		font-size: 16px;
	}

	.grid .grid-item {
		width: 90%;
		margin: 5%;
	}

	.album-grid {
		gap: 15px;
	}
	
	.album-image {
		height: 200px;
	}
	
	.album-overlay {
		padding: 15px;
	}
	
	.album-icon {
		width: 40px;
		height: 40px;
	}
	
	.album-icon i {
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.album-grid {
		gap: 15px;
	}
	
	.album-image {
		height: 200px;
	}
	
	.album-overlay {
		padding: 15px;
	}
	
	.album-icon {
		width: 40px;
		height: 40px;
	}
	
	.album-icon i {
		font-size: 16px;
	}
}