/* Wine at June - Main Stylesheet */
:root {
	--primary-dark: #1a1a1a;
	--secondary-dark: #2d2d2d;
	--soft-golden: #ff5d5d;
	--light-golden: #f4e4a6;
	--text-light: #ffffff;
	--text-muted: #cccccc;
	--accent-dark: #0f0f0f;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
	background: var(--soft-golden);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--light-golden);
}

body {
	font-family: "Arial", sans-serif;
	background-color: var(--primary-dark);
	color: var(--text-light);
	line-height: 1.6;
	overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--primary-dark);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	transition: opacity 0.5s ease;
}

.loading-spinner {
	width: 50px;
	height: 50px;
	border: 3px solid var(--secondary-dark);
	border-top: 3px solid var(--soft-golden);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Navbar */
.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(26, 26, 26, 0.95);
	backdrop-filter: blur(10px);
	padding: 1rem 0;
	z-index: 1000;
	transition: all 0.3s ease;
}

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

.navbar.scrolled {
	background: rgba(26, 26, 26, 0.98);
	box-shadow: 0 2px 20px rgba(212, 175, 55, 0.1);
}

.logo img {
	height: 40px;
	width: auto;
}

.nav-links {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.nav-links a {
	color: var(--text-light);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
	position: relative;
}

.nav-links a:hover {
	color: var(--soft-golden);
}

.nav-links a::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--soft-golden);
	transition: width 0.3s ease;
}

.nav-links a:hover::after {
	width: 100%;
}

.cart-icon {
	color: var(--soft-golden);
	font-size: 1.5rem;
	cursor: pointer;
	position: relative;
	transition: transform 0.3s ease;
}

.cart-icon:hover {
	transform: scale(1.1);
}

.cart-count {
	position: absolute;
	top: -8px;
	right: -8px;
	background: var(--soft-golden);
	color: var(--primary-dark);
	border-radius: 50%;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	font-weight: bold;
}

.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 4px;
}

.hamburger span {
	width: 25px;
	height: 3px;
	background: var(--soft-golden);
	transition: all 0.3s ease;
}

/* Hero Section */
.hero {
	height: 100vh;
	background: linear-gradient(
		135deg,
		var(--primary-dark) 0%,
		var(--secondary-dark) 100%
	);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("/assets/images/blog/wine-pairing.jpg") center/cover no-repeat;
	background-size: cover;
	filter: blur(2px);
	z-index: -2;
}

.hero::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(26, 26, 26, 0.6);
	z-index: -1;
}

.hero-content h1 {
	font-size: 4rem;
	margin-bottom: 1rem;
	background: linear-gradient(45deg, var(--soft-golden), var(--light-golden));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: fadeInUp 1s ease;
}

.hero-content p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	color: var(--text-muted);
	animation: fadeInUp 1s ease 0.2s both;
}

.btn {
	display: inline-block;
	padding: 12px 30px;
	background: var(--soft-golden);
	color: var(--primary-dark);
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	animation: fadeInUp 1s ease 0.4s both;
}

.btn:hover {
	background: var(--light-golden);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Sections */
.section {
	padding: 80px 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.section h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 3rem;
	color: var(--soft-golden);
}

/* Cards */
.cards-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.card {
	background: var(--secondary-dark);
	border-radius: 10px;
	padding: 2rem;
	text-align: center;
	transition: all 0.3s ease;
	border: 1px solid transparent;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.card:hover {
	transform: translateY(-5px);
	border-color: var(--soft-golden);
	box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.card i {
	font-size: 3rem;
	color: var(--soft-golden);
	margin-bottom: 1rem;
}

.card h3 {
	margin-bottom: 1rem;
	color: var(--text-light);
}

.card p {
	color: var(--text-muted);
	margin-bottom: 1.5rem;
	flex: 1;
}

/* Product Cards */
.product-card {
	background: var(--secondary-dark);
	border-radius: 10px;
	overflow: hidden;
	transition: all 0.3s ease;
	border: 1px solid transparent;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.product-card:hover {
	transform: translateY(-5px);
	border-color: var(--soft-golden);
	box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.product-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.product-card-content {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.product-card h3 {
	margin-bottom: 0.5rem;
	color: var(--text-light);
}

.product-card .price {
	color: var(--soft-golden);
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 1rem;
}

.product-card p {
	color: var(--text-muted);
	margin-bottom: 1rem;
	font-size: 0.9rem;
	flex: 1;
}

.product-card .btn {
	width: 100%;
	margin-top: auto;
}

/* Footer */
.footer {
	background: var(--accent-dark);
	padding: 3rem 2rem 1rem;
	text-align: center;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-section h3 {
	color: var(--soft-golden);
	margin-bottom: 1rem;
}

.footer-section ul {
	list-style: none;
}

.footer-section ul li {
	margin-bottom: 0.5rem;
}

.footer-section ul li a {
	color: var(--text-muted);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-section ul li a:hover {
	color: var(--soft-golden);
}

.footer-bottom {
	border-top: 1px solid var(--secondary-dark);
	padding-top: 1rem;
	color: var(--text-muted);
}

/* Cookie Popup */
.cookie-popup {
	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	background: var(--secondary-dark);
	padding: 1.5rem;
	border-radius: 10px;
	border: 1px solid var(--soft-golden);
	z-index: 1001;
	display: none;
	animation: slideUp 0.5s ease;
}

.cookie-popup.show {
	display: block;
}

.cookie-popup p {
	margin-bottom: 1rem;
	color: var(--text-light);
}

.cookie-buttons {
	display: flex;
	gap: 1rem;
	justify-content: flex-end;
}

.cookie-buttons button {
	padding: 8px 16px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-weight: bold;
	transition: all 0.3s ease;
}

.cookie-accept {
	background: var(--soft-golden);
	color: var(--primary-dark);
}

.cookie-decline {
	background: transparent;
	color: var(--text-muted);
	border: 1px solid var(--text-muted);
}

/* Go to Top Button */
.go-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: var(--soft-golden);
	color: var(--primary-dark);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	transition: all 0.3s ease;
	z-index: 1000;
}

.go-to-top:hover {
	background: var(--light-golden);
	transform: translateY(-2px);
}

.go-to-top.show {
	display: flex;
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideUp {
	from {
		transform: translateY(100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.navbar {
		padding: 1rem;
	}

	.navbar-container {
		padding: 0 1rem;
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-direction: row;
	}

	.nav-right {
		display: flex;
		align-items: center;
		gap: 1rem;
		flex-direction: row;
	}

	.nav-links {
		position: fixed;
		top: 70px;
		left: -100%;
		width: 100%;
		height: calc(100vh - 70px);
		background: var(--primary-dark);
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		padding-top: 2rem;
		transition: left 0.3s ease;
	}

	.nav-links.active {
		left: 0;
	}

	.hamburger {
		display: flex;
	}

	.hamburger.active span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}

	.hamburger.active span:nth-child(2) {
		opacity: 0;
	}

	.hamburger.active span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -6px);
	}

	.hero-content h1 {
		font-size: 2.5rem;
	}

	.section {
		padding: 60px 1rem;
	}

	.cards-container {
		grid-template-columns: 1fr;
	}

	.cookie-popup {
		left: 10px;
		right: 10px;
	}

	.cookie-buttons {
		flex-direction: column;
	}
}

/* Utility Classes */
.text-center {
	text-align: center;
}
.mb-1 {
	margin-bottom: 1rem;
}
.mb-2 {
	margin-bottom: 2rem;
}
.mt-1 {
	margin-top: 1rem;
}
.mt-2 {
	margin-top: 2rem;
}
.hidden {
	display: none;
}
.show {
	display: block;
}

/* Form Styles */
.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--text-light);
	font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
	width: 100%;
	padding: 12px;
	background: var(--secondary-dark);
	border: 1px solid var(--text-muted);
	border-radius: 5px;
	color: var(--text-light);
	font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	outline: none;
	border-color: var(--soft-golden);
	box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Notification */
.notification {
	position: fixed;
	top: 100px;
	right: 20px;
	background: var(--soft-golden);
	color: var(--primary-dark);
	padding: 1rem 1.5rem;
	border-radius: 5px;
	font-weight: bold;
	z-index: 1002;
	transform: translateX(100%);
	transition: transform 0.3s ease;
}

.notification.show {
	transform: translateX(0);
}

/* Modal */
.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 1003;
}

.modal.show {
	display: flex;
}

.modal-content {
	background: var(--secondary-dark);
	padding: 2rem;
	border-radius: 10px;
	max-width: 500px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	position: relative;
}

.modal-close {
	position: absolute;
	top: 10px;
	right: 15px;
	background: none;
	border: none;
	color: var(--text-muted);
	font-size: 1.5rem;
	cursor: pointer;
}

.modal-close:hover {
	color: var(--soft-golden);
}
