/* Plaza Creatif - Modern Dark & Yellow Theme */
:root {
	--primary-yellow: #ffc855;
	--dark-bg: #0a0a0a;
	--dark-secondary: #1a1a1a;
	--dark-tertiary: #2a2a2a;
	--text-light: #ffffff;
	--text-gray: #cccccc;
	--accent-yellow: #ffa500;
	--shadow-dark: rgba(255, 215, 0, 0.1);
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	background-color: var(--dark-bg);
	color: var(--text-light);
	line-height: 1.6;
	overflow-x: hidden;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
	background: var(--accent-yellow);
}

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

.loading-spinner {
	width: 60px;
	height: 60px;
	border: 3px solid var(--dark-tertiary);
	border-top: 3px solid var(--primary-yellow);
	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(10, 10, 10, 0.95);
	backdrop-filter: blur(10px);
	z-index: 1000;
	padding: 1rem 0;
	transition: var(--transition);
}

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

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

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

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

.nav-menu a:hover {
	color: var(--primary-yellow);
}

.nav-menu a::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary-yellow);
	transition: var(--transition);
}

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

.cart-icon {
	color: var(--text-light);
	font-size: 1.5rem;
	cursor: pointer;
	transition: var(--transition);
	position: relative;
}

.cart-icon:hover {
	color: var(--primary-yellow);
}

.cart-count {
	position: absolute;
	top: -8px;
	right: -8px;
	background: var(--primary-yellow);
	color: var(--dark-bg);
	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(--text-light);
	transition: var(--transition);
}

.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);
}

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

@media (max-width: 768px) {
	.nav-menu {
		display: none;
	}

	.hamburger {
		display: flex;
	}
}

/* Main Content */
.main-content {
	padding-top: 80px;
	min-height: 100vh;
}

/* Hero Section */
.hero {
	height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	top: -10%;
	left: -10%;
	right: -10%;
	bottom: -10%;
	background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(26, 26, 26, 0.8)),
		url("/assets/images/blog/art-cuisine-moderne-francaise.jpg") center/cover;
	animation: heroZoom 20s ease-in-out infinite;
	z-index: 0;
}

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

@keyframes heroZoom {
	0%,
	100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
}

.hero-content {
	max-width: 800px;
	z-index: 2;
	animation: fadeInUp 1s ease;
	position: relative;
}

.hero h1 {
	font-size: 4rem;
	font-weight: 700;
	margin-bottom: 1rem;
	background: linear-gradient(
		45deg,
		var(--primary-yellow),
		var(--accent-yellow)
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero p {
	font-size: 1.2rem;
	color: var(--text-gray);
	margin-bottom: 2rem;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 1rem 2rem;
	background: var(--primary-yellow);
	color: var(--dark-bg);
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	transition: var(--transition);
	border: none;
	cursor: pointer;
	font-size: 1rem;
}

.btn:hover {
	background: var(--accent-yellow);
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-outline {
	background: transparent;
	color: var(--primary-yellow);
	border: 2px solid var(--primary-yellow);
}

.btn-outline:hover {
	background: var(--primary-yellow);
	color: var(--dark-bg);
}

/* Sections */
.section {
	padding: 5rem 0;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

.section-title {
	text-align: center;
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 3rem;
	color: var(--primary-yellow);
}

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

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

.card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px var(--shadow-dark);
	border-color: var(--primary-yellow);
}

.card-icon {
	font-size: 3rem;
	color: var(--primary-yellow);
	margin-bottom: 1rem;
}

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

.card p {
	color: var(--text-gray);
	margin-bottom: 2rem;
	flex-grow: 1;
}

.card .btn {
	margin-top: auto;
	align-self: center;
}

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

.product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px var(--shadow-dark);
}

.product-image {
	height: 200px;
	background: var(--dark-tertiary);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-gray);
}

.product-info {
	padding: 1.5rem;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.product-name {
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: var(--text-light);
}

.product-description {
	color: var(--text-gray);
	font-size: 0.9rem;
	margin-bottom: 1rem;
	flex-grow: 1;
}

.product-price {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--primary-yellow);
	margin-bottom: 1rem;
}

/* Footer */
.footer {
	background: var(--dark-secondary);
	padding: 3rem 0 1rem;
	border-top: 1px solid var(--dark-tertiary);
}

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

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

.footer-section a {
	color: var(--text-gray);
	text-decoration: none;
	display: block;
	margin-bottom: 0.5rem;
	transition: var(--transition);
}

.footer-section a:hover {
	color: var(--primary-yellow);
}

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid var(--dark-tertiary);
	color: var(--text-gray);
}

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

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

.cookie-buttons {
	display: flex;
	gap: 1rem;
	margin-top: 1rem;
}

.cookie-buttons .btn {
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
}

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

.go-top:hover {
	background: var(--accent-yellow);
	transform: translateY(-2px);
}

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

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

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

/* 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: 1rem;
	background: var(--dark-tertiary);
	border: 1px solid var(--dark-tertiary);
	border-radius: 8px;
	color: var(--text-light);
	font-size: 1rem;
	transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	outline: none;
	border-color: var(--primary-yellow);
	box-shadow: 0 0 0 3px rgba(255, 200, 85, 0.1);
}

/* Notification */
.notification {
	position: fixed;
	top: 100px;
	right: 2rem;
	background: var(--primary-yellow);
	color: var(--dark-bg);
	padding: 1rem 1.5rem;
	border-radius: 8px;
	font-weight: 600;
	z-index: 1002;
	transform: translateX(400px);
	transition: var(--transition);
}

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

.notification.error {
	background: #ff4444;
	color: white;
}

/* Cart Styles */
.cart-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--dark-tertiary);
}

.cart-item:last-child {
	border-bottom: none;
}

.cart-item-info h3 {
	color: var(--text-light);
	margin-bottom: 0.5rem;
}

.cart-item-info p {
	color: var(--text-gray);
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}

.cart-item-price {
	color: var(--primary-yellow);
	font-weight: 600;
	font-size: 1.1rem;
}

.cart-item-controls {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.cart-item-controls button {
	width: 35px;
	height: 35px;
	border: none;
	background: var(--dark-tertiary);
	color: var(--text-light);
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
}

.cart-item-controls button:hover {
	background: var(--primary-yellow);
	color: var(--dark-bg);
}

.cart-item-controls .remove-btn:hover {
	background: #ff4444;
	color: white;
}

.quantity {
	font-weight: 600;
	color: var(--text-light);
	min-width: 30px;
	text-align: center;
}

.summary-item {
	display: flex;
	justify-content: space-between;
	margin-bottom: 1rem;
	color: var(--text-gray);
}

.summary-total {
	border-top: 1px solid var(--dark-tertiary);
	padding-top: 1rem;
	margin-top: 1rem;
	font-size: 1.2rem;
	color: var(--text-light);
	text-align: center;
}

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

.checkout-content {
	background: var(--dark-secondary);
	border-radius: 15px;
	padding: 2rem;
	max-width: 600px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	border: 1px solid var(--primary-yellow);
}

.checkout-content h2 {
	color: var(--primary-yellow);
	text-align: center;
	margin-bottom: 2rem;
}

.checkout-summary {
	background: var(--dark-tertiary);
	border-radius: 10px;
	padding: 1.5rem;
	margin: 2rem 0;
}

.checkout-summary h3 {
	color: var(--primary-yellow);
	margin-bottom: 1rem;
}

.checkout-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin-top: 2rem;
}

.checkout-content.success {
	text-align: center;
}

.order-details {
	background: var(--dark-tertiary);
	border-radius: 10px;
	padding: 1.5rem;
	margin: 2rem 0;
	text-align: left;
}

.order-details h3 {
	color: var(--primary-yellow);
	margin-bottom: 1rem;
}

.order-details p {
	margin-bottom: 0.5rem;
	color: var(--text-gray);
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.nav-menu {
		position: fixed;
		top: 80px;
		left: -100%;
		width: 100%;
		height: calc(100vh - 80px);
		background: rgba(10, 10, 10, 0.98);
		backdrop-filter: blur(10px);
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		padding-top: 2rem;
		transition: var(--transition);
		z-index: 999;
		display: flex;
	}

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

	.nav-menu li {
		margin: 1rem 0;
	}

	.nav-menu a {
		font-size: 1.2rem;
		padding: 1rem;
	}

	.hamburger {
		display: flex;
		z-index: 1001;
	}

	.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);
	}

	.nav-container {
		padding: 0 1rem;
	}

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

	.hero p {
		font-size: 1rem;
	}

	.section-title {
		font-size: 2rem;
	}

	.cards-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.container {
		padding: 0 1rem;
	}

	.cookie-popup {
		left: 1rem;
		right: 1rem;
	}

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

	.footer-content {
		grid-template-columns: 1fr;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.hero h1 {
		font-size: 2rem;
	}

	.section {
		padding: 3rem 0;
	}

	.card {
		padding: 1.5rem;
	}

	.cart-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.cart-item-controls {
		align-self: flex-end;
	}

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