/* Nav bar */

.navbar-brand img {
    width: 6.5em; /* Increased by 30% for smaller screens */
}

.navbar-nav {
    align-items: center;
}

.navbar .navbar-nav .nav-link {
    color: #fff;
    font-size: 1.2em; /* Increased by 20% */
    font-family: "Futura", sans-serif; /* Changed to Futura */
    font-weight: 300;
    font-style: normal;
    text-transform: uppercase;
    padding: 0.5em 1em;
}

.navbar .navbar-nav .nav-link:hover {
    color: #efebe0;
}

@media screen and (min-width: 768px) {
    .navbar-brand img {
        width: 10em; /* Increased by 30% for larger screens */
    }

    .navbar-brand {
        margin-right: 0;
        padding: 0 1em;
    }
}

/* Floating Button - Base Styles */

.floating-bth {
    font-family: "Futura", sans-serif !important;
    background-color: #efebe0;
    color: rgb(13, 19, 33);
    text-decoration: none;
    border-radius: 50px;
    position: absolute;
    bottom: 10px; /* Reduced from 20px to bring button closer to the bottom */
    text-align: center;
    box-sizing: border-box; /* Ensures padding is included in width calculations */
    padding: 5px 15px; /* Default padding for better clickability */
    font-size: 18px; /* Default font size */
    left: 50%;
    transform: translateX(-50%);
    max-width: 80%; /* Set a max width for mobile */
    z-index: 10; /* Ensure buttons are above other content */
}

/* Hover effect for floating button */

.floating-bth:hover {
    background-color: rgb(13, 19, 33);
    color: #efebe0;
    border: 1px solid #efebe0;
}

/* Desktop Floating Button Styles */

@media screen and (min-width: 768px) {
    .floating-bth {
        padding: 10px 30px; /* Desktop-specific padding */
        font-size: 24px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        max-width: 300px; /* Set a specific max width for desktop */
    }

    /* Centering floating buttons on desktop */
    .btn-bt-rt,
    .btn-bt-lt {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 30px; /* Desktop-specific padding */
        font-size: 24px;
        text-align: center;
    }
}

/* Mobile Floating Button Styles */

@media screen and (max-width: 768px) {
    .btn-bt-rt,
    .btn-bt-lt {
        padding: 5px 15px; /* Mobile-specific padding */
        font-size: 18px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
}

/* Body */

body {
    font-family: "ITC Benguiat Std", serif;
    font-size: 26px;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Nav-bar-top */

.nav-bar-top {
    background-color: rgb(0, 0, 0);
}

/* Tag line */

.tag-line {
    background-color: #000000;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.tag-line h1 {
    font-weight: 400;
    font-family: "Futura", sans-serif; /* Changed to Futura */
    font-size: 2rem;
}

/* About Box */

.about-box {
    padding: 50px 0px;
    background-color: #efebe0;
    color: #000;
}

.about-title {
    font-size: 32px;
    font-weight: 500;
    font-family: "Futura", sans-serif;
}

.about-stitle {
    padding: 20px 0 50px 0;
    font-weight: 900;
    font-size: clamp(2em, 5vw, 4.2em); /* Fluid Typography */
    font-family: 'ITC Benguiat Std', serif;
}

.about-text {
    font-family: 'Cormorant Garamond', serif;
}

.about-le-col {
    padding-right: 80px;
}

/* Responsive Adjustments for About Section */
@media screen and (max-width: 992px) {
    .about-le-col {
        padding-right: 40px; /* Reduced padding for tablets */
    }
}

@media screen and (max-width: 768px) {
    .about-le-col {
        padding-right: 15px; /* Further reduced padding for large phones */
    }
}

@media screen and (max-width: 576px) {
    .about-le-col {
        padding-right: 10px; /* Minimal padding for small phones */
    }
    .about-stitle {
        font-size: clamp(1.5em, 5vw, 4.2em); /* Fluid Typography */        
    }
       
}

/* Nuestra Text */

.nuestra-text {
    font-family: "Futura", sans-serif !important;
    font-size: 42.5px;
    font-weight: lighter;
}

.text-on-img {
    position: relative; /* Ensure parent is relative for absolute positioning */
    /* Removed padding-bottom to reduce space between button and div bottom */
}

/* Adjusted padding-bottom to prevent overlapping, but keeping minimal */
.text-on-img.position-relative {
    padding-bottom: 0px; /* Reduced from 30px */
}

.text-mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Contact Info */

.contact-box .contact-info {
    font-family: "Cormorant Garamond", serif !important;
}

.default-pattern {
    background-color: rgb(13, 19, 33);
    color: #fff;
    text-align: center;
}

/* Info Text */

.contact-box p {
    font-family: "Futura", sans-serif !important;
}

.contact-box {
    display: flex;
    flex-direction: row; /* Ensure row direction by default */
    justify-content: center;
    align-items: center;
    background-color: rgb(0, 0, 0);
    color: #fff;
    text-align: center;
    padding: 20px; /* Optional padding for spacing */
}

@media screen and (max-width: 768px) {
    .contact-box {
        flex-direction: column; /* Stack vertically on mobile */
    }
}

.contact-box .form-group {
    display: flex;
    justify-content: center;
    flex-direction: column; /* Stack form fields and button vertically */
    width: 100%; /* Full width inside contact-box */
    max-width: 500px; /* Optional: set max width for form */
}

.contact-box .form-group .btn {
    align-self: center; /* Center the button */
    max-width: 300px; /* Limit button width */
    width: 100%; /* Make button align with input fields */
    margin-top: 10px; /* Add space above the button */
    text-align: center;
}

#reservation-form .form-group {
    margin-bottom: 1rem;
}

#reservation-form button {
    font-size: 20px;
    padding: 5px 15px; /* Original padding */
}

#reservation-form input[type=text],
#reservation-form input[type=email],
#reservation-form input[type=tel],
#reservation-form textarea {
    color: rgb(13, 19, 33);
    font-weight: 600;
    font-size: 20px;
}

/* Swiper Slider Styles */

#ambiance-showcase {
    padding-top: 20px;
    background-color: #efebe0;
}

.swiper-container {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
}

.ak-card.ak-style-1 {
    position: relative;
    overflow: hidden;
    display: block;
    transition: all 0.5s ease;
}

.ak-card.ak-style-1 .ak-card-img img {
    width: 100%;
}

.ak-card.ak-style-1 .card-info {
    position: absolute;
    margin: 0px 30px 37px 30px;
    left: 5%;
    bottom: -60px;
    opacity: 0;
    background-color: #040D10;
    transition: all 0.3s ease-in-out;
}

.ak-card.ak-style-1 .card-info .card-text {
    padding: 45px 50px 45px 30px;
}

.ak-card.ak-style-1 .card-info .card-text .card-title {
    color: #FFD28D;
}

.ak-card.ak-style-1 .card-info .card-text .card-subtitle {
    color: #fff;
}

.ak-card.ak-style-1:hover > .card-info {
    bottom: 0px;
    opacity: 1;
}

/* Swiper Navigation Buttons */

.swiper-button-next.ak-swiper-button-next-2,
.swiper-button-prev.ak-swiper-button-prev-2 {
    color: #fff;
}

/* Swiper Pagination */

.swiper-pagination.ak-pagination-2.ak-style1 .swiper-pagination-bullet {
    background-color: #fff;
    opacity: 0.7;
}

.swiper-pagination.ak-pagination-2.ak-style1 .swiper-pagination-bullet-active {
    background-color: #FFD28D;
    opacity: 1;
}

/* Additional Responsive Adjustments */

@media screen and (max-width: 772px) {
    .ak-card.ak-style-1 .card-info {
        left: -30%;
        margin: 0px 100px 37px 37px;
    }

    .ak-card.ak-style-1 .card-info .card-text {
        padding: 38px 20px 38px 19px;
    }

    .ak-card.ak-style-1 .card-info .card-text .card-title {
        font-size: 14px;
    }

    /* Styling for the card-subtitle in mobile view */
    .ak-card.ak-style-1 .card-info .card-text .card-subtitle {
        font-family: "Futura", sans-serif; /* Replaced with desired font */
        font-size: 12px; /* Adjust font size for mobile */
        font-weight: normal; /* Optional: Adjust weight */
        color: #333; /* Optional: Adjust text color */
        line-height: 1.5; /* Optional: Improve readability */
    }
}

/* Split Image Container */

.split-image-container {
    display: flex;
    flex-wrap: wrap; /* Allows images to stack on smaller screens */
    justify-content: center;
    align-items: center;
}

.split-image {
    width: 50%; /* Each image takes up half the container's width */
    height: auto;
}

@media screen and (max-width: 768px) {
    .split-image {
        width: 100%; /* Stack images vertically on smaller screens */
    }
}

/* "NUESTRA SELECCIÓN DE PLATOS ESTÁ..." Section */

.text-on-img .nuestra-text {
    padding-top: 40px; /* Increased top padding */
    padding-bottom: 40px; /* Increased bottom padding */
    font-size: clamp(1.2em, 6vw, 2em); /* Responsive font size to fit within 2 lines */
    line-height: 1.2; /* Adjust line height for better readability */
    max-width: 90%; /* Ensure text doesn't exceed container width */
    margin: 0 auto; /* Center the text */
}

/* Swiper Slider Adjustments */

@media screen and (max-width: 576px) {
    .swiper-container.ak-slider-2 {
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .ak-card.ak-style-1 .card-text.style-1 {
        padding: 20px 15px; /* Reduced padding to fit content */
    }

    /* Swiper Breakpoints for Mobile */
    /* Swiper settings are handled via JavaScript */
}
