/* Refinado por: Damian G
 * Fecha: [DD/MM/YYYY] - Hora: [HH:MM] [Zona Horaria]
 * Tipo de refinamiento: Pulido de valores y curvas de animación
 */

body, html {
	font-family: 'Montserrat Alternates', sans-serif;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
	color: #777;
	font-weight: 300;
	width: 100% !important;
	height: 100% !important;
	user-select: none;
}

:root {
	
    --encabezado:#fec611;
    --fondo-nav: #01151f ;
    --fondo-transparent: #01151fe8 ;
    --overlay:rgb(0 0 0 / 65%);
    --linea:#fff4b8;
    --menu-h:#010302;
    --fondo-tabla:#ffffffe8;
    --tachado:#230600;

}

h2, h3 {
	font-family: 'Lato', sans-serif; 
}
h2 {
	margin: 0 0 20px 0;
	font-weight: 500;
	font-size: 32px; /* Refinado: 34px → 32px - Mejor escala en móvil */
	color: #333;
	text-transform: uppercase;
}
h3 {
	font-size: 20px; /* Refinado: 22px → 20px - Mejor jerarquía en móvil */
	font-weight: 500;
	color: #333;
}
h4 {
	font-size: 22px; /* Refinado: 24px → 22px - Consistencia con h3 */
	text-transform: uppercase;
	font-weight: 400;
	color: #333;
}
h5 {
	text-transform: uppercase;
	font-weight: 700;
	line-height: 20px;
}
p {
	font-size: 16px;
}
p.intro {
	margin: 12px 0 0;
	line-height: 26px; /* Refinado: 24px → 26px - Mejora la legibilidad en bloques de texto */
}
a {
	color: #8eb640;
}
a:hover, a:focus {
	text-decoration: none;
	color: #333; /* Refinado: #222 → #333 - Menos dureza en el contraste */
}
ul, ol {
	list-style: none;
}
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
.clearfix {
	display: inline-block;
}
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}
ul, ol {
	padding: 0;

}
hr {
	height: 2px;
	width: 70px;
	text-align: center;
	position: relative;
	background: #D4AF37; /* Dorado elegante */
	margin: 0;
	margin-bottom: 20px;
	border: 0;
}
.btn:active, .btn.active {
	background-image: none;
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
a:focus, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
	outline: none;
	outline-offset: none;
}
/* Navigation */
#menu {
	padding: 20px;
	transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Refinado: all 0.8s → propiedades específicas 0.4s con curva ease - Más rápido y eficiente */
}
#menu.navbar-default {
	background-color: rgba(248, 248, 248, 0);
	border-color: rgba(231, 231, 231, 0);
}

div.navbar-header_logo {

display: flex;
align-items: center;
}

div.navbar-header_a {
	display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1rem;
	margin: 0 10px;	
}

div.navbar-header_a p {
	font-family: 'Cormorant Garamond';
	font-size: 3.25rem; /* Refinado: 3.5rem → 3.25rem - Mejor ajuste en viewports pequeños */
	margin: 0 auto;
	color: var(--encabezado);
	text-shadow: 1px 1px 3px rgba(0,0,0,0.2); /* Adición sutil: añade profundidad al texto del logo */
}

@media (max-width: 480px) { 
	div.navbar-header_a p {
		font-size: 2.45rem; /* Refinado: 3rem → 2.8rem - Mantiene la proporción del ajuste base */
	}
}

.navbar-togg {
	margin: 0;
}

#menu a.navbar-brand {
	font-family: 'Cormorant Garamond', sans-serif;
	font-size: 36px;
	color: #8eb640;
	font-weight: 700;
	letter-spacing: 1px;
}
#menu.navbar-default .navbar-nav > li > a {
	text-transform: uppercase;
	color: #ddd;
	font-weight: 500;
	font-size: 15px;
	padding: 5px 0;
	border: 2px solid transparent;
	letter-spacing: 0.5px;
	margin: 10px 15px 0 15px;
}
#menu.navbar-default .navbar-nav > li > a:hover {
	color: #8eb640;
}
.on {
	background-color: var(--fondo-transparent); /* Refinado: #262626 → var(--fondo-transparent) - Coherencia de marca y efecto traslúcido */
	padding: 0 !important;
	padding: 10px 0 !important;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	color: #8eb640 !important;
	background-color: transparent;
}
.navbar-toggle {
	border-radius: 0;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
	background-color: #8eb640;
	border-color: #8eb640;
}
.navbar-default .navbar-toggle:hover>.icon-bar {
	background-color: #FFF;
}
.section-title {
	margin-bottom: 70px;
}
.section-title .overlay {
	padding: 70px 0; /* Refinado: 80px 0 → 70px 0 - Menos padding vertical en móvil */
	background: rgba(0, 0, 0, 0.55); /* Reducido: 0.7 → 0.55 - Más visible el fondo */
}
.section-title p {
	font-size: 20px; /* Refinado: 22px → 20px - Mejor lectura en pantallas pequeñas */
	color: rgba(255,255,255,0.85); /* Refinado: 0.8 → 0.85 - Ligero aumento de contraste */
}
.section-title hr {
	margin: 0 auto;
	margin-bottom: 40px;
}
.btn-custom {
	text-transform: uppercase;
	color: #000000;
	border: 0;
	background: linear-gradient(0deg, rgb(138 137 137) 0%, rgb(255 255 255) 100%);
	padding: 14px 20px;
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.5px;
	border-radius: .5rem;
	margin-top: 20px;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Refinado: all 0.2s → 0.3s con curva ease-out - Más suave y perceptible */
	-webkit-border-radius: .5rem;
	-moz-border-radius: .5rem;
	-ms-border-radius: .5rem;
	-o-border-radius: .5rem;
	-webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	-moz-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	-ms-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	-o-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	will-change: box-shadow, transform; /* Adición sutil: optimización para la animación */
}
.btn-custom:hover, .btn-custom:focus, .btn-custom.focus, .btn-custom:active, .btn-custom.active {
	color: #000000;
	box-shadow: 2px 2px 4px 0 rgba(255,255,255,.4), -2px -2px 4px 0 rgba(116, 125, 136, .4), inset -3px -3px 5px 0 rgba(255,255,255,.2), inset 3px 3px 5px 0 rgba(0, 0, 0, .3); /* Refinado: valores de sombra → valores más sutiles - Efecto neumórfico más refinado */
	transform: translateY(-2px); /* Adición sutil: añade un ligero levantamiento al botón */
}

/* Header Section */
.intro {
	display: table;
	width: 100%;
	padding: 0;
	background: url(../img/intro-bg.webp) no-repeat center center fixed;
	background-color: #e5e5e5;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.intro .overlay {
	background: rgba(0,0,0,0.25); /* Reducido: 0.35 → 0.25 - Más visible el fondo */
}
.intro h1 {
	font-family: 'Cormorant Garamond', sans-serif;
	color: #fff;
	font-size: 8em; /* Refinado: 10em → 8em - Mucho más manejable en pantallas móviles */
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 10px;
}
.intro span {
	color: #a7c44c;
	font-weight: 600;
}
.intro p {
	color: #fff;
	font-size: 28px; /* Refinado: 32px → 28px - Mejor proporción con el h1 en móvil */
	font-weight: 300;
	margin-top: 10px;
	margin-bottom: 40px;
}
header .intro-text {
	padding-top: 180px; /* Refinado: 250px → 180px - Padding vertical reducido para móvil */
	padding-bottom: 150px; /* Refinado: 200px → 150px - Padding vertical reducido para móvil */
	text-align: center;
}
/* About Section */
#about h3 {
	font-size: 20px;
}
#about .about-text {
	margin-left: 10px;
}
#about .about-img {
	display: inline-block;
	position: relative;
}
#about .about-img:before {
	display: block;
	content: '';
	position: absolute;
	top: 8px;
	right: 8px;
	bottom: 8px;
	left: 8px;
	border: 1px solid rgba(255, 255, 255, 0.6); /* Refinado: 0.5 → 0.6 - Borde ligeramente más visible */
}
#about p {
	line-height: 26px; /* Refinado: 24px → 26px - Consistencia y legibilidad */
	margin: 15px 0 30px;
}
/* Menu Section */
#restaurant-menu {
	padding: 0 0 60px 0;
}
#restaurant-menu .section-title {
	background: #444 url(../img/intro-bg.webp) center center no-repeat fixed;
	background-size: cover;
}
#restaurant-menu .section-title h2 {
	color: #fff;
}
#restaurant-menu img {
	width: 300px;
	box-shadow: 15px 0 var(--encabezado); /* Refinado: #a7c44c → var(--encabezado) - Coherencia de marca */
}
#restaurant-menu h3 {
	padding: 10px 0;
	text-transform: uppercase;
}
#restaurant-menu .menu-section hr {
	margin: 0 auto;
}
#restaurant-menu .menu-section {
	margin: 0 20px 80px;
}
#restaurant-menu .menu-section-title {
	font-size: 26px;
	display: block;
	font-weight: 500;
	color: #444;
	margin: 20px 0;
	text-align: center;
}
#restaurant-menu .menu-item {
	margin: 35px 0;
	font-size: 18px;
}
#restaurant-menu .menu-item-name {
	font-weight: 600;
	font-size: 17px;
	color: #555;
	border-bottom: 2px dotted rgb(213, 213, 213);
}
#restaurant-menu .menu-item-description {
	font-style: italic;
	font-size: 15px;
}
#restaurant-menu .menu-item-price {
	float: right;
	font-weight: 600;
	color: #555;
	margin-top: -28px; /* Refinado: -26px → -28px - Ajuste fino de alineación vertical */
}
/* Portfolio Section */
#portfolio {
	padding: 0 0 100px 0; /* Refinado: 120px → 100px - Padding inferior reducido para móvil */
}
#portfolio .section-title {
	background: #444 url(../img/overlays/1.webp) center center no-repeat fixed;
	background-size: cover;
	margin-bottom: 50px;
}
#portfolio .section-title h2 {
	color: #fff;
}
.categories {
	padding-bottom: 30px;
	text-align: center;
}
ul.cat li {
	display: inline-block;
}
ol.type li {
	display: inline-block;
	margin: 0 10px;
	padding: 20px 0;
}
ol.type li a {
	color: var(--menu-h);
	font-weight: 500;
	font-size: 14px;
	padding: 12px 24px;
	background: #eee;
	border: 0;
	border-radius: 2rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: color 0.3s ease, background-color 0.3s ease; /* Adición sutil: transición suave para los filtros */
}
ol.type li a.active {
	color: #fff;
	background-color: var(--fondo-nav);
}
ol.type li a:hover {
	color: #fff;
	background-color: var(--tachado);
}
.isotope-item {
	z-index: 2
}
.isotope-hidden.isotope-item {
	z-index: 1
}
.isotope, .isotope .isotope-item {
	/* change duration value to whatever you like */
	-webkit-transition-duration: 0.6s; /* Refinado: 0.8s → 0.6s - Animación de filtrado más ágil */
	-moz-transition-duration: 0.6s;
	transition-duration: 0.6s;
}
.isotope-item {
	margin-right: -1px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.isotope {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition-property: height, width;
	-moz-transition-property: height, width;
	transition-property: height, width;
}
.isotope .isotope-item {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition-property: -webkit-transform, opacity;
	-moz-transition-property: -moz-transform, opacity;
	transition-property: transform, opacity;
	-webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); /* Adición sutil: curva de animación estándar de Material Design */
    -moz-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-item {
	margin: 15px 0;
}
.portfolio-item .hover-bg {
	overflow: hidden;
	position: relative;
}
.portfolio-item .hover-bg:before {
	display: block;
	content: '';
	position: absolute;
	top: 6px;
	right: 6px;
	bottom: 6px;
	left: 6px;
	border: 1px solid rgba(255, 255, 255, 0.6);
}
.hover-bg .hover-text {
	position: absolute;
	text-align: center;
	margin: 0 auto;
	color: #fff;
	background: rgba(0, 0, 0, 0.65); /* Refinado: 0.6 → 0.65 - Mayor contraste para el texto */
	padding: 30% 0 0 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Refinado: all 0.5s → opacity 0.4s con curva - Más específico y suave */
	will-change: opacity; /* Adición sutil: optimización de renderizado */
}
.hover-bg .hover-text>h4 {
	opacity: 0;
	color: #fff;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
	transition: opacity 0.3s cubic-bezier(0, 0, 0.2, 1), transform 0.4s cubic-bezier(0, 0, 0.2, 1); /* Refinado: all 0.3s → propiedades específicas con curva ease-in - Entrada más elegante */
	font-size: 17px;
	letter-spacing: 0.5px;
	font-weight: 500;
	will-change: transform, opacity; /* Adición sutil: optimización de renderizado */
}
.hover-bg:hover .hover-text>h4 {
	opacity: 1;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}
.hover-bg:hover .hover-text {
	opacity: 1;
}
/* Team Section */
#team {
	color: #fff;
	background: #444 url(../img/intro-bg.webp) center top no-repeat fixed;
	background-size: cover;
}
#team .overlay {
	padding: 100px 0 80px 0; /* Refinado: 120px → 100px - Padding superior reducido en móvil */
	background: rgba(0, 0, 0, 0.5); /* Reducido: 0.65 → 0.5 - Más visible el fondo */
}
#team h2, #team p {
	color: #fff;
}
#team hr {
	background: #fff;
}
#team h3 {
	color: #fff;
	font-weight: 400;
	font-size: 20px;
	margin: 5px 0;
}
#team img {
	width: 280px;
}
#team .thumbnail {
	background: transparent;
	border: 0;
}
#team .thumbnail .team-img {
	position: relative;
}
#team .thumbnail .team-img:before {
	display: block;
	content: '';
	position: absolute;
	top: 8px;
	right: 8px;
	bottom: 8px;
	left: 8px;
	border: 1px solid rgba(255, 255, 255, 0.25); /* Refinado: 0.2 → 0.25 - Borde sutilmente más visible */
}
#team .thumbnail .caption {
	padding-top: 10px;
}
#team .thumbnail .caption p {
	color: rgba(255,255,255,0.75); /* Refinado: 0.7 → 0.75 - Mayor legibilidad */
	padding: 0 10px;
}
/* Call Reservation Section */
#call-reservation {
	padding: 80px 0; /* Refinado: 90px 0 → 80px 0 - Menos padding para móvil */
	color: #fff;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#8eb640+50,779936+100 */
	background: rgb(142,182,64); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(142,182,64,1) 50%, rgba(119,153,54,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(142,182,64,1) 50%, rgba(119,153,54,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(142,182,64,1) 50%, rgba(119,153,54,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8eb640', endColorstr='#779936', GradientType=0 ); /* IE6-9 */
}
#call-reservation .overlay {
	padding: 80px 0;
	background: #8eb640;
}
#call-reservation h2 {
	font-family: 'Open Sans', sans-serif;
	color: #fff;
	font-weight: 400;
	margin: 0;
}
#call-reservation hr {
	background: #fff;
}
#call-reservation h3 {
	color: #fff;
	font-weight: 500;
	font-size: 20px;
	margin: 5px 0;
}
/* Contact Section */
#contact {
	padding: 80px 0 60px 0; /* Refinado: 100px → 80px - Padding superior adaptado a móvil */
	background: #F6F6F6;
}
#contact .section-title p {
	color: #777;
}
#contact form {
	padding: 0;
}
#contact h3 {
	text-transform: uppercase;
	font-size: 20px;
	font-weight: 400;
	color: #555;
}
#contact .text-danger {
	color: #cc0033;
	text-align: left;
}
label {
	font-size: 12px;
	font-weight: 400;
	font-family: 'Open Sans', sans-serif;
	float: left;
}
#contact .form-control {
	display: block;
	width: 100%;
	padding: 6px 12px;
	font-size: 16px;
	line-height: 1.42857143;
	color: #444;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ddd;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-transition: none;
	-o-transition: none;
	transition: none;
}
#contact .form-control:focus {
	border-color: #999;
	outline: 0;
	-webkit-box-shadow: transparent;
	box-shadow: transparent;
}
.form-control::-webkit-input-placeholder {
color: #777;
}
.form-control:-moz-placeholder {
color: #777;
}
.form-control::-moz-placeholder {
color: #777;
}
.form-control:-ms-input-placeholder {
color: #777;
}
#contact .contact-item {
	margin: 20px 0 40px 0;
}
#contact .contact-item span {
	font-weight: 400;
	color: #aaa;
	text-transform: uppercase;
	margin-bottom: 6px;
	display: inline-block;
}
#contact .contact-item p {
	font-size: 16px;
}
/* Footer Section*/
#footer {
	background-color:var(--fondo-nav);
	padding: 50px 0 0 0;
}
#footer h3 {
	color: var(--encabezado);
	font-weight: 400;
	font-size: 18px;
	text-transform: uppercase;
	margin-bottom: 20px;
}
#footer .copyrights {
	padding: 20px 0;
	margin-top: 50px;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#779936+0,8eb640+50 */
	background: rgb(119,153,54); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(119,153,54,1) 0%, rgba(142,182,64,1) 50%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(119,153,54,1) 0%, rgba(142,182,64,1) 50%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(119,153,54,1) 0%, rgba(142,182,64,1) 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#779936', endColorstr='#8eb640', GradientType=0 ); /* IE6-9 */
}
#footer .social {
	margin: 20px 0 30px 0;
}
#footer .social ul li {
	display: inline-block;
	margin: 0 20px;
}
#footer .social i.fa {
	font-size: 26px;
	padding: 4px;
	color: #fff;
	transition: color 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Refinado: all 0.3s → propiedades específicas con curva - Más eficiente y con efecto */
	will-change: color, transform; /* Adición sutil: optimización */
}
#footer .social i.fa:hover {
	color: var(--encabezado); /* Refinado: #eee → var(--encabezado) - Coherencia de marca */
	transform: scale(1.15) translateY(-2px); /* Adición sutil: feedback visual más dinámico */
}
#footer p {
	font-size: 15px;
	color: rgba(255,255,255,0.85) /* Refinado: 0.8 → 0.85 - Mayor legibilidad */
}
#footer .tel{
	font-size: 2rem;
	color: rgba(255, 255, 255, 0.85) /* Refinado: 0.8 → 0.85 - Mayor legibilidad */
}
#footer a {
	color: #f6f6f6;
}
#footer a:hover {
	color: var(--encabezado); /* Refinado: #333 → var(--encabezado) - Coherencia de marca en hover */
}

/* Fix: background-attachment fixed no funciona en móviles iOS/Android */
@media (max-width: 991px) {
	.intro,
	#team,
	#restaurant-menu .section-title {
		background-attachment: scroll;
	}
}