:root {
	--primary-color: #db7765;
	--secondary-color: #ffd93d;
	--accent-color: #6bcf7f;
	--dark: #2d3436;
	--light: #ffffff;
	--gray: #636e72;
	--light-bg: #fffaf8;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Palatino Linotype', 'Palatino', 'Garamond', 'EB Garamond', 'Cormorant Garamond', 'TeX Gyre Pagella', 'Gyre Pagella', 'Book Antiqua', serif;
	color: var(--dark);
	line-height: 1.6;
	overflow-x: hidden;
}

h1, h2, h3 {
	font-family: 'Palatino Linotype', 'Palatino', 'Garamond', 'EB Garamond', 'Cormorant Garamond', 'TeX Gyre Pagella', 'Gyre Pagella', 'Book Antiqua', serif;
	/* font-family: 'Playfair Display', 'Palatino Linotype', 'Palatino', 'Garamond', 'EB Garamond', 'Cormorant Garamond', 'TeX Gyre Pagella', 'Gyre Pagella', 'Book Antiqua', serif; */
}

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

/* Main Header with Floating Logo */
.main-header {
	position: fixed;
	top: 20px;
	left: 20px;
	z-index: 1000;
}

.logo > img {
  width: auto;
	transition: max-width 0.2s ease;
	max-width: 75vw;
  max-height: 40vh;
	margin-bottom: 1rem;
}

.logo > img:hover {
	/* max-width: 8vw; */
}



/* Hero Section */
.hero {
	position: relative;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: url('../images/hero.jpeg') center center/cover no-repeat;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
	animation: float 20s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0px); }
	50% { transform: translateY(-20px); }
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
}

.hero-content {
	position: relative;
	z-index: 2;
	color: var(--light);
	padding: 0 0.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.hero h1 {
	font-size: clamp(3rem, 8vw, 6rem);
	margin-bottom: 1rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
	font-size: clamp(1.5rem, 4vw, 2.5rem);
	margin-bottom: 2rem;
	font-weight: 400;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	line-height: 1.4;
}

.cta-button {
	font-size: 1.15em;
	font-variant-caps: all-small-caps;
	display: inline-block;
	padding: 0.75rem 2.5rem;
	background: var(--primary-color);
	color: var(--light);
	text-decoration: none;
	border-radius: 50px;
	/* font-weight: 600; */
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
	margin-top: 2rem;
	color: var(--light);
	font-size: 2rem;
	animation: bounce 2s infinite;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
	40% { transform: translateY(-10px); }
	60% { transform: translateY(-5px); }
}

/* Fade in animations */
.fade-in {
	animation: fadeIn 1s ease-out;
}

.fade-in-delay {
	animation: fadeIn 1s ease-out 0.3s backwards;
}

.fade-in-delay-2 {
	animation: fadeIn 1s ease-out 0.6s backwards;
}

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

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

.section h2 {
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	text-align: center;
	margin-bottom: 1rem;
	color: var(--dark);
}

.section-subtitle {
	text-align: center;
	font-size: 1.2rem;
	color: var(--gray);
	margin-bottom: 3rem;
}

/* About Section */
.about {
	background: var(--light-bg);
}

.about-content {
	max-width: 900px;
	margin: 0 auto;
}

.about-text h3 {
	font-size: 1.5rem;
	margin: 2rem 0 1rem;
	color: var(--primary-color);
}

.about-text p {
	font-size: 1.1rem;
	color: var(--gray);
	margin-bottom: 1.5rem;
}

.section-nav-title {
	text-align: center;
	font-size: 1.8rem;
	margin-top: 3rem;
	margin-bottom: 0.75rem;
	color: var(--primary-color);
	font-weight: 400;
}

.section-navigation {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-button {
	display: inline-block;
	padding: 0.75rem 2rem;
	background: var(--primary-color);
	color: var(--light);
	text-decoration: none;
	border-radius: 50px;
	font-size: 1rem;
	font-weight: 500;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	font-variant-caps: all-small-caps;
}

.nav-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
	background: var(--primary-color);
	opacity: 0.9;
}

/* Products Section */
.products {
	background: var(--light);
}

.products-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1.3rem;
	margin-top: 3rem;
	justify-content: center;
}

.products-grid .product-card {
	flex: 0 0 calc(50% - 0.65rem);
	min-width: 300px;
}

@media (max-width: 1100px) {
	.products-grid .product-card {
		flex: 0 0 calc(50% - 0.4rem);
		min-width: 280px;
	}
}

@media (max-width: 700px) {
	.products-grid {
		flex-wrap: wrap;
		gap: 1.3rem;
		justify-content: center;
	}

	.products-grid .product-card {
		flex: 0 0 100%;
		max-width: 400px;
		min-width: 280px;
	}

	.products-grid .product-card:nth-child(1),
	.products-grid .product-card:nth-child(2),
	.products-grid .product-card:nth-child(3),
	.products-grid .product-card:nth-child(4),
	.products-grid .product-card:nth-child(5) {
		flex: 0 0 100%;
		max-width: 400px;
	}

	.jam-card {
		max-width: 400px;
		width: 100%;
	}
}

.product-card {
	background: var(--light);
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	max-width: 350px;
}

.product-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
	position: relative;
	height: 250px;
	background: linear-gradient(135deg, #ffd93d 0%, #ff6b6b 100%);
	display: flex;
	/* align-items: center; */
	justify-content: center;
	overflow: hidden;
}

.product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-badge {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: var(--accent-color);
	color: var(--light);
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-size: 0.9rem;
	font-weight: 600;
}

.product-info {
	padding: 2rem;
}

.product-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	gap: 1rem;
}

.product-info h3 {
	font-size: 1.8rem;
	margin: 0;
	color: var(--dark);
	flex: 1;
}

.product-size {
	font-size: 1.1rem;
	color: var(--primary-color);
	font-weight: 600;
	margin: 0;
	white-space: nowrap;
	text-align: right;
}

.product-info p {
	color: var(--gray);
}

.product-footer {
	color: #8b5a2b;
	font-size: 0.9rem;
	margin-top: 0.5rem;
}

.products-notes-container {
	display: flex;
	gap: 1rem;
	margin: 2rem 0;
	justify-content: center;
}

.products-note {
	background: rgba(76, 175, 80, 0.08);
	border: 1px solid rgba(76, 175, 80, 0.3);
	border-radius: 8px;
	padding: 1rem;
	text-align: center;
	flex: 1;
	max-width: 400px;
}

.products-note p {
	color: #4caf50;
	font-size: 0.95rem;
	margin: 0;
}

.products-note-category-ii {
	background: rgba(139, 90, 43, 0.05);
	border: 1px solid rgba(139, 90, 43, 0.2);
	border-radius: 8px;
	padding: 1rem;
	text-align: center;
	flex: 1;
	max-width: 400px;
}

.products-note-category-ii p {
	color: #8b5a2b;
	font-size: 0.95rem;
	margin: 0;
}

.products-note-madrid {
	background: rgba(199, 3, 24, 0.1);
	border: 1px solid rgba(199, 3, 24, 0.3);
	border-radius: 8px;
	padding: 1rem;
	text-align: center;
	flex: 1;
	max-width: 400px;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.3s ease;
}

.products-note-madrid:hover {
	background: rgba(199, 3, 24, 0.2);
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(199, 3, 24, 0.3);
}

.products-note-madrid:active {
	transform: translateY(-1px);
	box-shadow: 0 3px 10px rgba(199, 3, 24, 0.2);
}

.products-note-madrid p {
	color: #c70318;
	font-size: 0.95rem;
	margin: 0;
}

/* Interactive Buttons - JavaScript enabled */
.products-explanation {
	text-align: center;
	color: var(--gray);
	font-size: 0.9rem;
	margin: 1rem 0;
	animation: fadeIn 0.5s ease-in;
}

.interactive-btn {
	cursor: pointer;
	transition: all 0.3s ease;
	user-select: none;
}

.interactive-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.interactive-btn.active {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	font-weight: 600;
	color: white !important;
}

.products-note.interactive-btn.active {
	background: rgba(76, 175, 80, 0.8) !important;
	border-color: rgba(76, 175, 80, 0.8) !important;
}

.products-note.interactive-btn.active p {
	color: white !important;
}

.products-note-category-ii.interactive-btn.active {
	background: rgba(139, 90, 43, 0.8) !important;
	border-color: rgba(139, 90, 43, 0.8) !important;
}

.products-note-category-ii.interactive-btn.active p {
	color: white !important;
}

.products-note-madrid.interactive-btn.active {
	background: rgba(199, 3, 24, 0.8) !important;
	border-color: rgba(199, 3, 24, 0.8) !important;
}

.products-note-madrid.interactive-btn.active p {
	color: white !important;
}

.interactive-btn:focus-visible {
	outline: 3px solid var(--primary-color);
	outline-offset: 2px;
}

/* Price boxes that have been updated */
.price-updated-category-extra,
.price-updated-category-ii,
.price-updated-madrid {
	border-radius: 8px;
	padding: 0.8rem;
	margin: 0.8rem 0;
	text-align: center;
	transition: all 0.3s ease;
}

.price-updated-madrid {
	background: rgba(199, 3, 24, 0.1);
	border: 1px solid rgba(199, 3, 24, 0.3);
	box-shadow: 0 4px 12px rgba(199, 3, 24, 0.3);
}

@media (max-width: 1100px) {
	.products-notes-container {
		flex-direction: column;
		align-items: center;
	}

	.products-note,
	.products-note-category-ii,
	.products-note-madrid {
		max-width: 400px;
		width: 100%;
	}
}

@media (max-width: 768px) {
	.products-notes-container {
		flex-direction: column;
		align-items: center;
	}

	.products-note,
	.products-note-category-ii,
	.products-note-madrid {
		max-width: 400px;
		width: 100%;
	}
}

.price-box {
	background: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 0.8rem;
	margin: 0.8rem 0;
	text-align: center;
}

.product-price {
	font-size: 1.3rem;
	color: var(--primary-color);
	font-weight: 600;
	margin: 0 !important;
	padding: 0 !important;
}

.price-variations {
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin: 0.8rem 0 1rem !important;
}

.price-extra {
	flex: 1;
	background: rgba(107, 207, 127, 0.1);
	border: 1px solid #6bcf7f;
	border-radius: 6px;
	padding: 0.5rem;
	font-size: 0.85rem;
	color: #6bcf7f;
	font-weight: 600;
	margin: 0 !important;
	text-align: center;
}

.price-ii {
	flex: 1;
	background: rgba(139, 90, 43, 0.1);
	border: 1px solid #8b5a2b;
	border-radius: 6px;
	padding: 0.5rem;
	font-size: 0.85rem;
	color: #8b5a2b;
	font-weight: 600;
	margin: 0 !important;
	text-align: center;
}

/* Jam Section */
.products-divider {
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
	margin: 3rem 0;
}

.jam-container {
	display: flex;
	justify-content: center;
	margin-top: 3rem;
}

.jam-card {
	background: var(--light);
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	max-width: 400px;
	display: flex;
	flex-direction: column;
}

.jam-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.jam-image {
	position: relative;
	height: 200px;
	background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.jam-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jam-info {
	padding: 1rem;
}

.jam-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	gap: 1rem;
}

.jam-info h3 {
	font-size: 1.8rem;
	margin: 0;
	color: var(--dark);
	flex: 1;
}

.jam-size {
	font-size: 1.1rem;
	color: var(--primary-color);
	font-weight: 600;
	margin: 0;
	white-space: nowrap;
	text-align: right;
}

.jam-deposit-box {
	background: rgba(76, 175, 80, 0.08);
	border: 1px solid rgba(76, 175, 80, 0.3);
	border-radius: 8px;
	padding: 0.8rem;
	margin: 1rem 0;
}

.jam-deposit-box p {
	color: #4caf50;
	font-size: 0.9rem;
	margin: 0;
}

.jam-price {
	font-size: 1.6rem;
	color: var(--primary-color);
	font-weight: 700;
	margin: 0.5rem 0;
}

.jam-deposit {
	font-size: 0.95rem;
	color: var(--accent-color);
	font-weight: 600;
	margin-bottom: 1rem;
}

.jam-info p {
	color: var(--gray);
	line-height: 1.6;
}

/* Location Section */
.location {
	background: var(--light-bg);
}

.location-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 3rem;
	margin-top: 3rem;
	align-items: start;
}

.info-item {
	display: flex;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.info-item .icon {
	font-size: 2.5rem;
}

.info-item h3 {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
	color: var(--primary-color);
}

.info-item p {
	color: var(--gray);
	line-height: 1.8;
}

.map-placeholder {
	background: #e0e0e0;
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 300px;
}

.map-content {
	text-align: center;
	color: var(--gray);
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.map-content iframe {
	width: 100%;
	height: 100%;
	min-height: 300px;
	border: 0;
}

@media (max-width: 768px) {
	.map-content iframe {
		height: 50vh;
	}
}

.map-content p:first-child {
	font-size: 4rem;
	margin-bottom: 1rem;
}

.map-content p {
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
}

.map-content small {
	font-size: 0.9rem;
}

/* Contact Section */
.contact {
	background: var(--light);
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 3rem;
}

.contact-card {
	text-align: center;
	padding: 2rem;
	background: var(--light-bg);
	border-radius: 15px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-decoration: none;
	color: inherit;
	display: block;
}

.contact-card * {
	text-decoration: none;
}

.contact-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
	font-size: 3rem;
	display: block;
	margin-bottom: 1rem;
}

.contact-icon-svg {
	width: 3rem;
	height: 3rem;
	display: block;
	margin-bottom: 1rem;
}

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

.contact-card p {
	color: var(--gray);
	margin-bottom: 0.5rem;
	text-decoration: none;
}

.contact-card:hover h3 {
	color: var(--primary-color);
}

.contact-card:hover p {
	color: var(--dark);
}

.contact-card-instagram .contact-icon-svg {
	margin: 0 auto 1rem auto;
}

/* Responsive */
@media (max-width: 768px) {
	.hero h1 {
		font-size: 3rem;
	}

	.subtitle {
		font-size: 1.2rem;
	}

	.section {
		padding: 3rem 0;
	}

	.products-grid,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.location-content {
		grid-template-columns: 1fr;
	}
}
