/* 
   LibrosFluidez - Main Stylesheet
   Color Palette:
   - Main Background: #F3F4EF (soft ivory)
   - Accent: #FA7268 (salmon orange)
   - Contrast: #003049 (dark blue)
   - Text: #1C1C1E (rich black)
   - Buttons: #FFD166 (golden, smooth gradient)
*/

/* Base Reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #1c1c1e;
	background-color: #f3f4ef;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1rem;
	color: #003049;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.5rem;
}

p {
	margin-bottom: 1rem;
}

a {
	color: #003049;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #fa7268;
}

/* Buttons */
.btn-primary {
	display: inline-block;
	background: linear-gradient(to bottom right, #ffd166, #ffb347);
	color: #1c1c1e;
	padding: 12px 24px;
	border-radius: 30px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
	border: none;
	cursor: pointer;
}

.btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	color: #1c1c1e;
}

.btn-secondary {
	display: inline-block;
	background-color: transparent;
	color: #003049;
	padding: 10px 20px;
	border: 2px solid #003049;
	border-radius: 30px;
	font-weight: 600;
	text-transform: uppercase;
	transition:
		background-color 0.3s ease,
		color 0.3s ease;
	cursor: pointer;
}

.btn-secondary:hover {
	background-color: #003049;
	color: #f3f4ef;
}

.btn-accept {
	background-color: #003049;
	color: #f3f4ef;
	padding: 8px 16px;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.btn-accept:hover {
	background-color: #001f30;
}

/* Header & Navigation */
.main-header {
	background-color: #f3f4ef;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}

.main-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
}

.logo a {
	display: block;
}

.menu-toggle {
	display: none;
}

.menu-icon {
	display: none;
	cursor: pointer;
}

.menu-icon span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: #003049;
	margin: 5px 0;
	transition:
		transform 0.3s ease,
		opacity 0.3s ease;
}

.main-nav ul {
	display: flex;
	list-style: none;
}

.main-nav li {
	margin-left: 30px;
}

.main-nav a {
	font-weight: 600;
	position: relative;
}

.main-nav a:not(.btn-primary)::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: #fa7268;
	transition: width 0.3s ease;
}

.main-nav a:not(.btn-primary):hover::after {
	width: 100%;
}

/* Sections */
section {
	padding: 80px 0;
}

section:nth-child(even) {
	background-color: #fff;
}

.section-title {
	text-align: center;
	margin-bottom: 50px;
}

.section-title h2 {
	position: relative;
	display: inline-block;
}

.section-title h2::after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background-color: #fa7268;
}

/* Hero Section */
.hero {
	padding: 160px 0 80px;
	background: linear-gradient(135deg, #f3f4ef 0%, #e8e9e4 100%);
	position: relative;
	overflow: hidden;
}

.hero-content {
	max-width: 650px;
	margin: 0 auto;
	text-align: center;
}

.hero h1 {
	margin-bottom: 25px;
	font-size: 3rem;
	color: #003049;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 30px;
}

.hero-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
}

/* About Section */
.about-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
}

.about-image img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Books Section */
.books-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 50px;
}

.book-card {
	background-color: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.book-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.book-image {
	height: 250px;
	background-size: cover;
	background-position: center;
}

.book-content {
	padding: 20px;
}

.book-title {
	font-size: 1.2rem;
	margin-bottom: 10px;
}

.book-price {
	font-size: 1.3rem;
	font-weight: 700;
	color: #fa7268;
	margin: 15px 0;
}

/* Testimonials Section */
.testimonials-slider {
	margin-top: 50px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
}

.testimonial {
	background-color: #fff;
	border-radius: 10px;
	padding: 30px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	max-width: 350px;
	position: relative;
}

.testimonial::before {
	content: '"';
	font-size: 5rem;
	position: absolute;
	top: 10px;
	left: 15px;
	color: rgba(0, 48, 73, 0.1);
	font-family: Georgia, serif;
}

.testimonial-content {
	position: relative;
	z-index: 1;
	font-style: italic;
}

.testimonial-author {
	margin-top: 20px;
	display: flex;
	align-items: center;
}

.testimonial-name {
	font-weight: 600;
}

/* Why Us Section */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-top: 50px;
}

.feature {
	text-align: center;
	padding: 30px 20px;
	border-radius: 10px;
	background-color: #fff;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease;
}

.feature:hover {
	transform: translateY(-5px);
}

.feature-icon {
	width: 70px;
	height: 70px;
	margin: 0 auto 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgba(250, 114, 104, 0.1);
	border-radius: 50%;
}

.feature-icon svg {
	width: 35px;
	height: 35px;
	fill: #fa7268;
}

/* Order Form Section */
.order-section {
	background-color: #f3f4ef;
	position: relative;
}

.order-form-container {
	max-width: 600px;
	margin: 0 auto;
	padding: 40px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
}

.form-control {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 16px;
	transition: border-color 0.3s ease;
}

.form-control:focus {
	border-color: #003049;
	outline: none;
}

.checkbox-group {
	display: flex;
	align-items: flex-start;
	margin-bottom: 15px;
}

.checkbox-group input {
	margin-top: 5px;
	margin-right: 10px;
}

/* FAQ Section */
.faq-container {
	max-width: 800px;
	margin: 50px auto 0;
}

.faq-item {
	margin-bottom: 20px;
	border-bottom: 1px solid #ddd;
	padding-bottom: 20px;
}

.faq-question {
	font-weight: 600;
	font-size: 1.1rem;
	margin-bottom: 10px;
	color: #003049;
}

/* Footer */
.main-footer {
	background-color: #003049;
	color: #f3f4ef;
	padding: 60px 0 30px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-info p {
	margin-top: 20px;
	color: rgba(243, 244, 239, 0.8);
}

.footer-logo svg text {
	fill: #f3f4ef;
}

.footer-contact h3,
.footer-legal h3 {
	color: #ffd166;
	margin-bottom: 20px;
}

.footer-contact ul,
.footer-legal ul {
	list-style: none;
}

.footer-contact li,
.footer-legal li {
	margin-bottom: 10px;
}

.footer-contact a,
.footer-legal a {
	color: rgba(243, 244, 239, 0.8);
	transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-legal a:hover {
	color: #fa7268;
}

.copyright {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(243, 244, 239, 0.1);
	font-size: 0.9rem;
	color: rgba(243, 244, 239, 0.6);
}

/* Cookie Banner */
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #003049;
	color: #f3f4ef;
	z-index: 9999;
}

.cookie-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.cookie-buttons {
	margin-left: 20px;
}

/* Thank You Page */
.thank-you {
	min-height: 80vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 100px 20px;
}

.thank-you-icon {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background-color: rgba(250, 114, 104, 0.1);
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 30px;
}

.thank-you-icon svg {
	width: 50px;
	height: 50px;
	fill: #fa7268;
}

.thank-you h1 {
	margin-bottom: 20px;
}

.thank-you-action {
	margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 768px) {
	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.7rem;
	}

	.main-header .container {
		padding: 10px 20px;
	}

	.menu-icon {
		display: block;
	}

	.menu-toggle:checked ~ .menu-icon span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 6px);
	}

	.menu-toggle:checked ~ .menu-icon span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle:checked ~ .menu-icon span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -8px);
	}

	.main-nav {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: #f3f4ef;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
		padding: 0;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}

	.menu-toggle:checked ~ .main-nav {
		max-height: 300px;
	}

	.main-nav ul {
		flex-direction: column;
		padding: 20px;
	}

	.main-nav li {
		margin: 0 0 15px 0;
	}

	.hero {
		padding: 130px 0 60px;
	}

	.hero-content {
		text-align: center;
	}

	.hero h1 {
		font-size: 2.2rem;
	}

	.hero-buttons {
		flex-direction: column;
		gap: 15px;
	}

	.about-grid,
	.books-grid,
	.features-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.cookie-content {
		flex-direction: column;
		align-items: flex-start;
	}

	.cookie-buttons {
		margin-left: 0;
		margin-top: 15px;
	}
}
