:root {
	--bs-primary-rgb: rgb(240, 100, 40);
}

body {
	font-feature-settings: "kern" 1;
	text-rendering: optimizeLegibility;
}

.text-primary {
	color: var(--bs-primary-rgb) !important;
}

.hero-section {
	position: relative;
	width: 100%;
	min-height: 700px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-bottom: 3rem;
}

.hero-carousel {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.hero-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.hero-slide.active {
	opacity: 1;
}

.hero-content {
	position: relative;
	z-index: 1;
	padding: 4rem 1rem;
	color: #fff;
}

.hero-content h1,
.hero-content p {
	color: #fff;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content .lead {
	color: rgba(255, 255, 255, 0.95);
}

.hero-logo {
	max-width: 180px;
	height: auto;
	filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.3));
}

@media (max-width: 576px) {
	.hero-logo {
		max-width: 140px;
	}
}

.navbar-custom {
	margin-top: 30px;
	position: sticky;
	top: 0;
	z-index: 1030;
	transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar-custom.scrolled {
	background-color: rgba(248, 249, 250, 0.65) !important;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

.navbar-brand {
	letter-spacing: 0.2px;
	padding: 0.5rem 0;
	display: flex;
	align-items: center;
}

.navbar-logo {
	height: 55px;
	width: auto;
	max-width: 250px;
}

.btn-menu {
	background: linear-gradient(180deg, #3f4351 0%, #2e323d 100%);
	border: 2px solid #232630;
	color: #fff;
	padding: .9rem 1.6rem;
	border-radius: .75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	text-transform: uppercase;
	letter-spacing: .5px;
	box-shadow: inset 0 0 0 2px rgba(255,255,255,.07), 0 6px 18px rgba(0,0,0,.25);
	min-width: 240px;
	transition: background .25s ease, border-color .25s ease;
}

.btn-menu:hover,
.btn-menu:focus {
	color: #fff;
	background: linear-gradient(180deg, #454b5c 0%, #2e323d 100%);
	border-color: #2b2f3a;
}

.btn-menu .btn-text {
	display: inline-block;
	transition: transform .3s ease;
}

.btn-menu:hover .btn-text {
	transform: translateX(-12px);
}

.btn-menu .btn-icon {
	opacity: 0;
	width: 0;
	height: 22px;
	margin-left: 0;
	transform: translateX(-8px);
	transition: opacity .3s ease, width .3s ease, margin-left .3s ease, transform .3s ease;
	filter: brightness(0) invert(1);
}

.btn-menu:hover .btn-icon {
	opacity: 1;
	width: 22px;
	margin-left: 8px;
	transform: translateX(0);
}

#about, #contact {
	scroll-margin-top: 80px;
}

.feature-icons .icon-box {
	width: 160px;
	height: 160px;
	position: relative;
	display: grid;
	place-items: center;
}

.feature-icons .icon-box img {
	filter: grayscale(100%) saturate(0);
	opacity: 0.85;
	transition: filter .3s ease, opacity .3s ease, transform .3s ease;
}

.feature-icons .icon-box:hover img {
	filter: none;
	opacity: 1;
	transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
	.btn-menu .btn-icon,
	.feature-icons .icon-box img {
		transition: none !important;
	}
}

.card-item {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-radius: 12px;
	overflow: hidden;
}

.card-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.card-item .card-img-top {
	transition: transform 0.3s ease;
}

.card-item:hover .card-img-top {
	transform: scale(1.05);
}

.card-item .card-body {
	padding: 1.5rem;
}

.card-item .card-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #2c3e50;
	min-height: 3rem;
}

.card-item img.alergeno-icon {
	width: 30px;
	height: 30px;
	object-fit: contain;
	border-radius: 4px;
	background: rgba(240, 100, 40, 0.1);
	padding: 4px;
	transition: transform 0.2s ease;
}

.card-item img.alergeno-icon:hover {
	transform: scale(1.15);
}

h2.text-primary {
	font-weight: 700;
	letter-spacing: -0.5px;
}

.btn-pedir {
	font-weight: 600;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-size: 0.9rem;
	border: none;
	box-shadow: 0 2px 8px rgba(240, 100, 40, 0.3);
}

.btn-pedir:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(240, 100, 40, 0.4);
}

.btn-pedir:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(240, 100, 40, 0.3);
}

.collapse-icon {
	transition: transform 0.3s ease;
	flex-shrink: 0;
}

button[aria-expanded="true"] .collapse-icon {
	transform: rotate(180deg);
}

button[aria-expanded="false"] .collapse-icon {
	transform: rotate(0deg);
}

.section-image-container {
	height: 400px;
}

.object-fit-cover {
	object-fit: cover;
}

.bg-gradient-overlay {
	background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
}

.badge-primary-custom {
	background-color: rgb(240, 100, 40);
	color: white;
}

.valoracion-estrellas {
	font-size: 1.2rem;
	line-height: 1;
}

.valoracion-estrellas .estrella {
	color: #ddd;
	font-size: 1.2rem;
	margin-right: 2px;
}

.valoracion-estrellas .estrella-llena {
	color: #ffc107;
}

.valoracion-estrellas .estrella-media {
	background: linear-gradient(90deg, #ffc107 50%, #ddd 50%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.valoracion-estrellas-interactiva {
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
}

.valoracion-estrellas-interactiva .estrella-interactiva {
	color: #ddd;
	margin-right: 5px;
	transition: color 0.2s;
	cursor: pointer;
}

.valoracion-estrellas-interactiva .estrella-interactiva:hover,
.valoracion-estrellas-interactiva .estrella-interactiva.activa {
	color: #ffc107;
}

.iframe-maps {
	border: 0;
}

.quantity-display {
	min-width: 30px;
	text-align: center;
}

.text-end-min-width {
	min-width: 100px;
}

.sticky-top-custom {
	top: 20px;
}

.footer-elegante {
	background: #1a1a1a !important;
	color: white;
}

.footer-logo {
	max-height: 80px;
}

.footer-sponsor-logo {
	max-height: 60px;
	filter: brightness(0) invert(1);
	opacity: 0.8;
}

.footer-elegante .hover-white:hover {
	color: white !important;
	transition: color 0.3s ease;
}

.footer-elegante .social-icon {
	transition: transform 0.3s ease, opacity 0.3s ease;
	opacity: 0.8;
}

.footer-elegante .social-icon:hover {
	transform: translateY(-3px);
	opacity: 1;
}

.footer-elegante img[alt*="Patrocinador"] {
	transition: opacity 0.3s ease;
}

.footer-elegante img[alt*="Patrocinador"]:hover {
	opacity: 1 !important;
}

.card-img-fixed-height {
	height: 200px;
	object-fit: cover;
}

/* Estilos para página de contacto */
.card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 1rem 3rem rgba(0,0,0,0.175) !important;
}

.form-control-lg {
	border-radius: 0.5rem;
	border: 2px solid #e9ecef;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control-lg:focus {
	border-color: var(--bs-primary);
	box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

.btn-lg {
	border-radius: 0.5rem;
	font-weight: 600;
	transition: transform 0.2s ease;
}

.btn-lg:hover {
	transform: translateY(-2px);
}

.btn-lg svg {
	transition: transform 0.3s ease;
}

.btn-lg:hover svg {
	transform: translateX(3px);
}

/* Estilos para página de login */
.login-container {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 20px;
}

.login-card {
	max-width: 400px;
	width: 100%;
	margin: 0 auto;
}
