/* style.css */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Montserrat:wght@300;400;700&display=swap');

body {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	background-color: #000000;
	color: #FFD700;
	line-height: 1.6;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

header {
	background-color: #1a1a1a;
	padding: 20px 20px;
	text-align: center;
	border-bottom: 1px solid #333333;
	position: relative;
	overflow: hidden;
}

header h1 {
	font-family: 'Cinzel Decorative', serif;
	font-size: 4.5em;
	margin-bottom: 10px;
	color: #FFD700;
	letter-spacing: 2px;
	text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
	line-height: 1;
}

header p {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.4em;
	margin-top: 0;
	color: #FFD700;
	font-weight: 300;
	letter-spacing: 1px;
}

/* Navigation Menu - MODERNIZED */
nav {
	background-color: #0d0d0d;
	padding: 15px 0;
	text-align: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

nav ul li {
	margin: 0 25px;
}

nav ul li a {
	color: #FFD700;
	text-decoration: none;
	font-weight: 500;
	padding: 8px 15px;
	transition: all 0.3s ease;
	border-bottom: 2px solid transparent;
	position: relative;
	font-size: 1.1em;
}

nav ul li a:hover {
	color: #FFFFFF;
	background-color: rgba(255, 215, 0, 0.1);
	border-radius: 4px;
	border-color: #FFD700;
	transform: translateY(-2px);
}

nav ul li a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #FFD700;
	transition: width 0.3s ease;
}

nav ul li a:hover::after {
	width: 100%;
}

/* Main Content Area */
main {
	flex: 1;
	padding: 20px;
	max-width: 1200px;
	width: 100%;
	margin: 30px auto;
	background-color: #0d0d0d;
	border-radius: 10px;
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
}

h2,
h3 {
	color: #FFD700;
	border-bottom: 1px solid #333333;
	padding-bottom: 8px;
	margin-top: 35px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
}

p {
	color: #FFD700;
	font-family: 'Montserrat', sans-serif;
	font-weight: 300;
}

/* --- NEW SECTIONS --- */
/* Hero Carousel Section */
.hero-carousel {
	margin-top: -30px;
	margin-bottom: 40px;
	width: 100%;
	overflow: hidden;
	border-radius: 10px;
}

.carousel-container {
	position: relative;
	width: 100%;
	height: 450px;
	background-color: #121212;
	overflow: hidden;
	border-radius: 10px;
}

.carousel-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	color: #FFF;
	z-index: 0;
}

.carousel-slide.active-slide {
	opacity: 1;
	z-index: 1;
}

.carousel-slide.inactive-slide {
	opacity: 0;
	z-index: 0;
}

.carousel-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(60%);
}

.carousel-caption {
	position: absolute;
	text-align: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.4);
	border-radius: 8px;
	max-width: 80%;
}

.carousel-caption h3 {
	font-family: 'Cinzel Decorative', serif;
	font-size: 2.8em;
	color: #FFD700;
	margin-bottom: 10px;
	text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
	border-bottom: none;
}

.carousel-caption h3 a {
	color: #FFD700;
	text-decoration: none;
}

.carousel-caption h3 a:hover {
	text-decoration: underline;
}

.carousel-caption p {
	font-size: 1.3em;
	color: #FFFFFF;
	font-weight: 300;
}

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.5);
	color: #FFD700;
	border: none;
	padding: 15px 10px;
	cursor: pointer;
	font-size: 2em;
	z-index: 100;
	border-radius: 5px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.carousel-btn:hover {
	background-color: rgba(0, 0, 0, 0.8);
	color: #FFFFFF;
}

.carousel-btn.prev {
	left: 10px;
}

.carousel-btn.next {
	right: 10px;
}

.carousel-dots {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100;
	display: flex;
	gap: 10px;
}

.dot {
	width: 12px;
	height: 12px;
	background-color: rgba(255, 215, 0, 0.4);
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
	background-color: #FFD700;
	transform: scale(1.2);
}

/* Welcome Section */
.welcome-section {
	padding: 30px;
	margin-bottom: 40px;
	background-color: #121212;
	border-radius: 8px;
	text-align: center;
}

.welcome-section h2 {
	font-family: 'Cinzel Decorative', serif;
	font-size: 2.8em;
	margin-bottom: 20px;
	border-bottom: none;
}

.welcome-section p {
	font-size: 1.1em;
	max-width: 900px;
	margin: 0 auto 15px auto;
}

/* Featured Items Section (reusing .item-grid and .item-card from collections.php) */
.featured-items-section {
	padding: 30px;
	margin-bottom: 40px;
	background-color: #121212;
	border-radius: 8px;
}

.featured-items-section h2 {
	font-family: 'Cinzel Decorative', serif;
	font-size: 2.8em;
	margin-bottom: 20px;
	text-align: center;
}

.view-all-link {
	text-align: center;
	margin-top: 30px;
}

.view-all-link a {
	display: inline-block;
	padding: 12px 25px;
	background-color: #FFD700;
	color: #000000;
	text-decoration: none;
	font-weight: bold;
	border-radius: 5px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.view-all-link a:hover {
	background-color: #e6c200;
	color: #1a1a1a;
}

/* Our Process Section */
.process-section {
	padding: 30px;
	background-color: #121212;
	border-radius: 8px;
}

.process-section h2 {
	font-family: 'Cinzel Decorative', serif;
	font-size: 2.8em;
	margin-bottom: 30px;
	text-align: center;
}

.process-steps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
}

.step {
	flex: 1;
	min-width: 250px;
	max-width: 350px;
	background-color: #0d0d0d;
	border: 1px solid #333333;
	border-radius: 8px;
	padding: 25px;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
}

.step h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.5em;
	color: #FFD700;
	margin-bottom: 15px;
	border-bottom: none;
}

.step p {
	font-size: 1.05em;
	color: #FFD700;
}

/* Item Listing Page Specifics & Featured Items Section */
.item-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 30px;
}

.item-card {
	background-color: #121212;
	border: 1px solid #333333;
	border-radius: 10px;
	overflow: hidden;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.item-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.9);
}

.item-card img {
	width: 100%;
	height: 260px;
	object-fit: cover;
	display: block;
	border-radius: 10px;
}

.item-card h3 {
	margin: 18px 0 12px;
	font-size: 1.6em;
	color: #FFD700;
	border-bottom: none;
	font-family: 'Cinzel Decorative', serif;
}

.item-card p {
	font-size: 1.05em;
	color: #FFD700;
	margin-bottom: 18px;
	padding: 0 15px;
	flex-grow: 1;
}

a.view-details-btn {
	padding: 12px 18px !important;
}

.item-card a {
	margin-top: auto;
	display: block;
	padding: 1px 1px;
	background-color: #FFD700;
	color: #000000;
	text-decoration: none;
	font-weight: bold;
	border-radius: 0 0 10px 10px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.item-card a:hover {
	background-color: #e6c200;
	color: #1a1a1a;
}

.main-image {
	width: 100%;
	max-height: 550px;
	object-fit: contain;
	border: 2px solid #333333;
	border-radius: 10px;
	margin-bottom: 20px;
}

.thumbnail-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
	gap: 12px;
}

.thumbnail-grid img {
	width: 100%;
	height: 90px;
	object-fit: cover;
	border: 2px solid #555555;
	border-radius: 6px;
	cursor: pointer;
	transition: border-color 0.3s ease, transform 0.3s ease;
}

.thumbnail-grid img:hover,
.thumbnail-grid img.active {
	border-color: #FFD700;
	transform: scale(1.08);
}

.item-detail-info {
	flex: 1.5;
	min-width: 350px;
}

.item-detail-info h2 {
	font-size: 3em;
	margin-bottom: 15px;
	border-bottom: none;
	font-family: 'Cinzel Decorative', serif;
}

.item-detail-info p {
	font-size: 1.15em;
	margin-bottom: 15px;
}

.item-detail-info .price {
	font-size: 2.2em;
	font-weight: bold;
	color: #FFD700;
	margin-top: 25px;
	margin-bottom: 20px;
}

.contact-message {
	font-style: italic;
	font-size: 1em;
	color: #FFD700;
	margin-top: 25px;
	padding: 15px;
	background-color: #121212;
	border-left: 5px solid #FFD700;
	border-radius: 6px;
}

.contact-message a {
	color: #FFD700;
	text-decoration: none;
	font-weight: bold;
	transition: color 0.3s ease;
}

.contact-message a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}

/* Contact Page Specifics */
.contact-info {
	text-align: center;
	margin-top: 60px;
}

.contact-info p {
	font-size: 1.3em;
	margin-bottom: 20px;
}

.contact-info a {
	color: #FFD700;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.2em;
	transition: color 0.3s ease;
}

.contact-info a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}

/* Footer Section */
footer {
	background-color: #1a1a1a;
	color: #FFD700;
	text-align: center;
	padding: 20px 0;
	margin-top: 50px;
	border-top: 1px solid #333333;
	font-size: 0.9em;
}

table {
	width: 100%;
	border-collapse: collapse;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

.table-link a {
	text-align: center;
	text-decoration: underline;
	display: inline-block;
	padding: 8px 12px;
	color: #FFD700;
	/* text-decoration: none; */
	font-weight: bold;
}
.table-link a:hover {
	color: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 992px) {
	.carousel-container {
		height: 400px;
	}

	.carousel-caption h3 {
		font-size: 2.2em;
	}

	.carousel-caption p {
		font-size: 1.1em;
	}

	.process-steps {
		flex-direction: column;
		align-items: center;
	}

	.step {
		max-width: 80%;
	}
}

@media (max-width: 768px) {
	header h1 {
		font-size: 3em;
	}

	header p {
		font-size: 1.1em;
	}

	nav ul {
		flex-direction: column;
	}

	nav ul li {
		margin: 8px 0;
	}

	nav ul li a {
		padding: 10px 0;
		border-bottom: none;
	}

	nav ul li a::after {
		display: none;
	}

	main {
		padding: 20px;
		margin: 20px auto;
	}

	.carousel-container {
		height: 350px;
	}

	.carousel-caption h3 {
		font-size: 1.8em;
	}

	.carousel-caption p {
		font-size: 1em;
	}

	.item-grid {
		grid-template-columns: 1fr;
	}

	.item-detail-images {
		min-width: 100%;
	}

	.item-detail-info {
		min-width: 100%;
	}

	.item-detail-info h2 {
		font-size: 2.2em;
	}
}

@media (max-width: 480px) {
	header h1 {
		font-size: 2.5em;
		letter-spacing: 1px;
	}

	header p {
		font-size: 1em;
	}

	main {
		padding: 15px;
		margin: 15px auto;
		border-radius: 8px;
	}

	.carousel-container {
		height: 250px;
	}

	.carousel-caption h3 {
		font-size: 1.5em;
	}

	.carousel-caption p {
		font-size: 0.9em;
	}

	.item-card h3 {
		font-size: 1.4em;
	}

	.item-detail-info h2 {
		font-size: 2em;
	}

	.item-detail-info .price {
		font-size: 1.8em;
	}

	.thumbnail-grid {
		grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
	}

	.thumbnail-grid img {
		height: 70px;
	}
}