/* General Styles */
body, html {
    font-family: 'Raleway', sans-serif;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    color: #555;
    font-weight: 300;
    width: 100% !important;
    height: 100% !important;
    background-color: #fdf5e6;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Evita el desbordamiento horizontal */
}

/* Typography */
h2 {
    margin: 0 0 20px 0;
    font-weight: 500;
    font-size: 34px;
    color: #333;
    text-transform: uppercase;
    text-align: center; /* Centra los títulos */
}
h3 {
    font-size: 22px;
    font-weight: 500;
    color: #333;
}
h4 {
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 400;
    color: #d9534f;
}
h5 {
    text-transform: uppercase;
    font-weight: 700;
    line-height: 20px;
}
p {
    font-size: 16px;
    text-align: center; /* Centra el texto */
}
p.intro {
    margin: 12px 0 0;
    line-height: 24px;
}
a {
    color: #d9534f;
}
a:hover, a:focus {
    text-decoration: none;
    color: #c9302c;
}

/* List Styles */
ul, ol {
    list-style: none;
    padding: 0;
    webkit-padding: 0;
    moz-padding: 0;
}

/* Utility Classes */
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
.clearfix {
    display: block;
}
hr {
    height: 2px;
    width: 70px;
    background: #d9534f;
    margin: 0 auto 40px;
    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: all 0.8s;
}
#menu.navbar-default {
    background-color: #3a3a3a;
    border-color: rgba(231, 231, 231, 0.8);
}
#menu a.navbar-brand {
    font-family: 'Dancing Script', cursive;
    font-size: 36px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
}
#menu.navbar-default .navbar-nav > li > a {
    text-transform: uppercase;
    color: #fff;
    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: #d9534f;
}
.on {
    background-color: #262626 !important;
    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: #d9534f !important;
    background-color: transparent;
}
.navbar-toggle {
    border-radius: 0;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #d9534f;
    border-color: #d9534f;
}
.navbar-default .navbar-toggle:hover>.icon-bar {
    background-color: #FFF;
}

/* Ensure the Navbar is responsive */
.navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-brand {
    display: flex;
    align-items: center;
}
.navbar-collapse {
    flex-grow: 1;
    justify-content: flex-end;
}
.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* Section Titles */
.section-title {
    margin-bottom: 70px;
}
.section-title .overlay {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.7);
}
.section-title p {
    font-size: 22px;
    color: rgba(255,255,255,0.8);
}
.section-title hr {
    margin: 0 auto;
    margin-bottom: 40px;
}

/* Button Styles */
.btn-custom {
    text-transform: uppercase;
    color: #fff;
    background-color: #d9534f;
    border: 0;
    padding: 14px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 0;
    margin-top: 20px;
    transition: all 0.5s;
}
.btn-custom:hover, .btn-custom:focus, .btn-custom.focus, .btn-custom:active, .btn-custom.active {
    color: #fff;
    background-color: #c9302c;
}

/* Header Section */
.intro {
    display: table;
    width: 100%;
    padding: 0;
    background: url('../img/intro-bg.jpg') no-repeat center center;
    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.4);
}
.intro h1 {
    font-family: 'Dancing Script', cursive;
    color: #fff;
    font-size: 10em;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
}
.intro span {
    color: #d9534f;
    font-weight: 600;
}
.intro p {
    color: #fff;
    font-size: 32px;
    font-weight: 300;
    margin-top: 10px;
    margin-bottom: 40px;
}
header .intro-text {
    padding-top: 250px;
    padding-bottom: 200px;
    text-align: center;
}

/* About Section */
#about {
    padding: 120px 0;
}
#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.5);
}
#about p {
    line-height: 24px;
    margin: 15px 0 30px;
}

/* Menu Section */
#restaurant-menu {
    padding: 0 0 60px 0;
}
#restaurant-menu .section-title {
    background: #444 url('../img/menu-bg.jpg') center center no-repeat fixed;
    background-size: cover;
}
#restaurant-menu .section-title h2 {
    color: #fff;
}
#restaurant-menu img {
    width: 300px;
    box-shadow: 15px 0 #d9534f;
}
#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: -26px;
}

/* Portfolio Section */
#portfolio {
    padding: 0 0 120px 0;
}
#portfolio .section-title {
    background: #444 url('../img/gallery-bg.jpg') 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: #999;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 24px;
    background: #eee;
    border: 0;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
ol.type li a.active {
    color: #fff;
    background-color: #d9534f;
}
ol.type li a:hover {
    color: #fff;
    background-color: #d9534f;
}
.isotope-item {
    z-index: 2
}
.isotope-hidden.isotope-item {
    z-index: 1
}
.isotope, .isotope .isotope-item {
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    transition-duration: 0.8s;
}
.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;
}
.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.6);
    padding: 30% 0 0 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: all 0.5s;
}
.hover-bg .hover-text>h4 {
    opacity: 0;
    color: #fff;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    transition: all 0.3s;
    font-size: 17px;
    letter-spacing: 0.5px;
    font-weight: 500;
}
.hover-bg:hover .hover-text>h4 {
    opacity: 1;
    -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/team-bg.jpg') center top no-repeat fixed;
    background-size: cover;
}
#team .overlay {
    padding: 120px 0 80px 0;
    background: rgba(0, 0, 0, 0.6);
}
#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 {
    display: inline-block;
    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.2);
}
#team .thumbnail .caption {
    padding-top: 10px;
}
#team .thumbnail .caption p {
    color: rgba(255,255,255,0.7);
    padding: 0 10px;
    font-size: 15px;
}

/* Call Reservation Section */
#call-reservation {
    padding: 90px 0;
    color: #fff;
    background: rgb(240,173,78);
    background: -moz-linear-gradient(top, rgba(240,173,78,1) 50%, rgba(238,162,54,1) 100%);
    background: -webkit-linear-gradient(top, rgba(240,173,78,1) 50%, rgba(238,162,54,1) 100%);
    background: linear-gradient(to bottom, rgba(240,173,78,1) 50%, rgba(238,162,54,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f0ad4e', endColorstr='#eea236', GradientType=0);
}
#call-reservation .overlay {
    padding: 80px 0;
    background: #f0ad4e;
}
#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: 100px 0 60px 0;
    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: #262626;
    padding: 50px 0 0 0;
}
#footer h3 {
    color: #f0ad4e;
    font-weight: 400;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
#footer .copyrights {
    padding: 20px 0;
    margin-top: 50px;
    background: rgb(240,173,78);
    background: -moz-linear-gradient(top, rgba(240,173,78,1) 0%, rgba(238,162,54,1) 50%);
    background: -webkit-linear-gradient(top, rgba(240,173,78,1) 0%, rgba(238,162,54,1) 50%);
    background: linear-gradient(to bottom, rgba(240,173,78,1) 0%, rgba(238,162,54,1) 50%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f0ad4e', endColorstr='#eea236', GradientType=0);
}
#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: all 0.3s;
}
#footer .social i.fa:hover {
    color: #eee;
}
#footer p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
}
#footer a {
    color: #f6f6f6;
}
#footer a:hover {
    color: #333;
}

/* Gallery Styles */
.gallery-img {
    width: 100%;
    height: 400px; /* Ajusta la altura según sea necesario */
    object-fit: cover; /* Asegura que la imagen cubra el área del contenedor */
    border-radius: 10px; /* Añade bordes redondeados a las imágenes */
}

.img-wrap {
    padding: 10px; /* Añade margen interno para separar las imágenes */
    margin: 10px; /* Añade margen externo para separar las imágenes en el carrusel */
    height: 400px; /* Asegura que el contenedor de la imagen tenga la misma altura */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .img-wrap {
        width: 100%; /* Ajusta el ancho del contenedor al 100% en dispositivos móviles */
    }
    .gallery-img {
        height: auto; /* Ajusta la altura automáticamente para mantener la proporción */
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .img-wrap {
        width: calc(50% - 20px); /* Ajusta el ancho del contenedor al 50% menos el margen */
    }
}

@media (min-width: 992px) {
    .img-wrap {
        width: calc(33.333% - 20px); /* Ajusta el ancho del contenedor al 33.333% menos el margen */
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px; /* Asegura que el contenido no sea demasiado ancho */
    margin: 0 auto;
    padding: 0 15px;
}

/* Flexbox alignment for the navbar */
.navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-brand {
    display: flex;
    align-items: center;
}
.navbar-collapse {
    flex-grow: 1;
    justify-content: flex-end;
}
.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* General Styles */
body, html {
    font-family: 'Raleway', sans-serif;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    color: #555;
    font-weight: 300;
    width: 100% !important;
    height: 100% !important;
    background-color: #fdf5e6;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Evita el desbordamiento horizontal */
}

/* Intro Section Styles */
#header .intro {
    display: table;
    width: 100%;
    padding: 0;
    background: url('../img/intro-bg.jpg') no-repeat center center;
    background-color: #e5e5e5;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
#header .overlay {
    background: rgba(0,0,0,0.4);
}
#header .intro-text {
    padding-top: 150px;
    padding-bottom: 150px;
    text-align: center;
}
#header h1 {
    font-family: 'Dancing Script', cursive;
    color: #fff;
    font-size: 4em;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
}
#header p {
    color: #fff;
    font-size: 1.5em;
    font-weight: 300;
    margin-top: 10px;
    margin-bottom: 40px;
}
#header .btn-custom {
    text-transform: uppercase;
    color: #fff;
    background-color: #d9534f;
    border: 0;
    padding: 14px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 0;
    margin-top: 20px;
    transition: all 0.5s;
}
#header .btn-custom:hover, #header .btn-custom:focus, #header .btn-custom.focus, #header .btn-custom:active, #header .btn-custom.active {
    color: #fff;
    background-color: #c9302c;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    #header .intro {
        width: 100%; /* Reduce el ancho al 90% en dispositivos móviles */
        margin: 0 auto; /* Centra el contenedor */
    }
    #header .intro-text {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    #header h1 {
        font-size: 2.5em; /* Reduce el tamaño de la fuente en dispositivos móviles */
    }
    #header p {
        font-size: 1.2em; /* Reduce el tamaño de la fuente en dispositivos móviles */
    }
}
