@charset "UTF-8";
/* CSS Document */

@charset "utf-8";
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	/* Palette basée sur le site original (tons verts/naturels) */
	--primary: #978b85;
	--primary-dark: #80726a;
	--primary-light: #c8bfba;
	--secondary: #C71E6B;
	--accent: #efcedd;
	--dark: #352e2a;
	--light: #f4eeec;
	--white: #ffffff;
	--beige: #f9f6f0;
	--shadow: rgba(0, 0, 0, 0.1);
	--shadow-hover: rgba(0, 0, 0, 0.15);
}

.bg-white {
	background-color:var(--white);
}

body {
	font-family: 'Barlow Semi Condensed', sans-serif;
	color: var(--dark);
	background-color:var(--light);
	line-height: 1.6;
	font-size:16px;
}

/* Header & Navigation */
header {
	background: var(--primary);
	box-shadow: 0 2px 10px var(--shadow);
	position: relative;
	top: 0;
	z-index: 1000;
}

nav {
	max-width: 1400px;
	height:60px;
	margin: 0 auto;
	padding: 1rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	position:relative;
	display: flex;
	align-items: center;
	gap: 1rem;
	text-decoration: none;
}

.logo-image {
	position:absolute;
	height: 120px;
	width: auto;
	z-index: 5000;
	top:-25px; left:0px;
}

.logo-text {
	display: flex;
	flex-direction: column;
}

.logo-text .main {
	font-size: 1.4rem;
	font-weight: bold;
	color: var(--white);
	line-height: 1.2;
}

.logo-text .sub {
	font-size: 0.75rem;
	color: #666;
	font-weight: normal;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--white);
}
.nav-links {
	display: flex;
	gap: 2rem;
	list-style: none;
	align-items: center;
}

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

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

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

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

/* Hero Section */
.hero {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
	background-image:url('../images/bg-gateau-coco-pomme.png');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	color: var(--white);
	padding: 6rem 2rem;
	text-align: center;
	position: relative;
	overflow: hidden;
	height:calc(100vh / 2);
}

.hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 500px;
	height: 500px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
}

.hero-content {
	max-width: 800px;
	margin: 0 auto;
	padding:40px;
	position: relative;
	z-index: 1;
	background-color:rgba(0, 0, 0, 0.5);
	border-radius:20px;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 1rem;
	animation: fadeInUp 0.8s;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	opacity: 0.95;
	animation: fadeInUp 0.8s 0.2s backwards;
}

.hero-tags {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	animation: fadeInUp 0.8s 0.4s backwards;
}

.tag {
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	padding: 0.5rem 1rem;
	border-radius: 25px;
	font-size: 0.9rem;
}

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

/* Main Content */
.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 4rem 2rem;
}

.section-title {
	font-size: 2rem;
	margin-bottom: 1rem;
	color: var(--dark);
	position: relative;
	display: inline-block;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 60px;
	height: 4px;
	background: var(--secondary);
	border-radius: 2px;
}

.intro {
	background: var(--white);
	padding: 3rem;
	border-radius: 20px;
	box-shadow: 0 5px 20px var(--shadow);
	margin-bottom: 4rem;
	/*border-left: 5px solid var(--secondary);*/
}

.intro p {
	font-size: 1.1rem;
	line-height: 1.8;
	margin-bottom: 1rem;
}

.highlight {
	background: linear-gradient(120deg, var(--accent) 0%, var(--accent) 100%);
	background-repeat: no-repeat;
	background-size: 100% 40%;
	background-position: 0 80%;
	padding: 0 0.2rem;
}

/* Categories Grid */
.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	margin-bottom: 4rem;
}

.category-card {
	background: var(--white);
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 15px var(--shadow);
	transition: transform 0.3s, box-shadow 0.3s;
	cursor: pointer;
	/*border-top: 4px solid var(--secondary);*/
}
.category-card a {
	color:var(--primary-dark);
}
.category-card a:hover {
	color:var(--primary);
}

.category-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px var(--shadow-hover);
}

.category-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 4rem;
	overflow: hidden;
}
.category-image img {
	width: 100%;
	height: auto;
}

.category-content {
	padding: 1.5rem;
}

.category-content h3 {
	color: var(--primary-dark);
	margin-bottom: 0.5rem;
	font-size: 1.3rem;
}

.category-content p {
	color: #666;
	font-size: 0.95rem;
}

/* Recipes list */
.list-title {
	background-color: var(--white);
}
.recipes-list {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
	border-radius: 20px;
	padding: 3rem;
	color: var(--white);
	margin-bottom: 4rem;
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 3rem;
	align-items: center;
	box-shadow: 0 10px 30px var(--shadow);
}
.recipes-list:hover {
	background: linear-gradient(135deg, var(--secondary) 0%, #d4915f 100%);
}

.recipes-list-content h2 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.recipes-list-content p {
	font-size: 1.1rem;
	margin-bottom: 2rem;
	opacity: 0.95;
}
.recipes-list-image {
	width: 100%;
	height: 300px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	border-radius: 15px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 6rem;
	border: 3px solid rgba(255, 255, 255, 0.3);
	overflow: hidden;
}
.recipes-list-image img {
	width:100%;
	height:auto;
}

/* Featured Recipe */
.featured {
	background: linear-gradient(135deg, var(--secondary) 0%, #d4915f 100%);
	border-radius: 20px;
	padding: 3rem;
	color: var(--white);
	margin-bottom: 4rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
	box-shadow: 0 10px 30px var(--shadow);
}

.featured-content h2 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.featured-content p {
	font-size: 1.1rem;
	margin-bottom: 2rem;
	opacity: 0.95;
}

.btn {
	display: inline-block;
	background: var(--white);
	color: var(--secondary);
	padding: 1rem 2rem;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 600;
	transition: transform 0.3s, box-shadow 0.3s;
	border: none;
	cursor: pointer;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.featured-image {
	width: 100%;
	height: 300px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 6rem;
	border: 3px solid rgba(255, 255, 255, 0.3);
	overflow: hidden;
}
.featured-image img {
	width:100%;
	height:auto;
}
/* Themes Section */
.themes {
	margin-bottom: 4rem;
}

.themes-list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.theme-chip {
	background: var(--white);
	padding: 1rem 1.5rem;
	border-radius: 50px;
	box-shadow: 0 2px 10px var(--shadow);
	transition: all 0.3s;
	cursor: pointer;
	text-decoration: none;
	color: var(--dark);
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border: 2px solid transparent;
}

.theme-chip:hover {
	background: var(--primary);
	color: var(--white);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px var(--shadow-hover);
	border-color: var(--primary-dark);
}

/* Footer */
footer {
	background: var(--dark);
	color: var(--white);
	padding: 3rem 2rem 1rem;
}

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

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

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

.footer-section a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color 0.3s;
	display: block;
	margin-bottom: 0.5rem;
}

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

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
	.menu-toggle {
		display: block;
	}

	.nav-links {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--white);
		flex-direction: column;
		padding: 1rem;
		box-shadow: 0 5px 10px var(--shadow);
		display: none;
	}

	.nav-links.active {
		display: flex;
	}

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

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

	.featured {
		grid-template-columns: 1fr;
		padding: 2rem;
	}

	.featured-image {
		height: 200px;
	}
	.recipes-list {
		grid-template-columns: 1fr;
		padding: 2rem;
	}

	.recipes-list-image {
		height: 200px;
	}

	.categories-grid {
		grid-template-columns: 1fr;
	}

	.intro {
		padding: 2rem;
	}

	.logo-image {
		height: 45px;
	}

	.logo-text .main {
		font-size: 1.1rem;
	}

	.logo-text .sub {
		font-size: 0.65rem;
	}
}
