* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.5;
    background-color: #feb6b6;
    background-image: url("images/pattern.png");
    background-repeat: repeat;
    background-size: 300px, cover;
    animation: subtleScroll 60s linear infinite;
}

@keyframes subtleScroll {
    from { background-position: 0 0, 0 0; }
    to { background-position: 1000px 1000px, 0 0; }
}


section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: #d62828;
    color: #fff;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-weight: bold;
    text-decoration: none;
}
.floating-cta:hover {
    background-color: #9e1f1f;
}

.navbar-brand img {
    height: 100px;
    width: auto;
    transition: all 0.3s ease-in-out;
    margin-bottom: -10px;
}

.custom-navbar {
    background-color: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease-in-out;
    z-index: 9999;
}

.navbar-nav .nav-link {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 1rem;
    color: #c0392b !important;
    position: relative;
    padding: 8px 12px;
    margin: 0 6px;
    transition: color 0.3s ease;
    text-decoration: none !important;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 2px;
    background-color: #c0392b;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}


.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #e74c3c !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand span {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #c0392b;
    font-weight: bold;
}

.navbar-toggler {
    border: none;
    outline: none;
    padding: 6px 10px;
    transition: transform 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    transform: scale(1.1);
}

.navbar-toggler-icon {
    background-image: none;
    width: 24px;
    height: 24px;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon div {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #c0392b;
    transition: all 0.3s ease;
    left: 0;
}

.navbar-toggler-icon div {
    top: 10px;
}

.navbar-toggler-icon::before {
    top: 0;
}

.navbar-toggler-icon::after {
    bottom: 0;
}

.navbar-toggler-icon {
    display: inline-block;
}
.navbar-toggler-icon div {
    display: block;
}



.hero-carousel {
    position: relative;
}

.hero-carousel .carousel-item {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-height: 100vh;
    position: relative;
    background-color: #000;
    overflow: hidden;
}


.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    opacity: 1;
}

@media (max-width: 767.98px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .hero-carousel .carousel-item {
        aspect-ratio: 16 / 12;
    }
}


@media (max-width: 768px) {
    .carousel-caption {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 80px;
        width: auto;
        margin-top: 0;
        margin-bottom: 0;
    }
}



.about-us-section {
    background: linear-gradient(135deg, #f5f5f0 70%, #e8d9b5 100%);
    padding: 40px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.section-header {
    position: relative;
    margin-bottom: 30px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #c0392b;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #c0392b, #f39c12);
    margin: 10px auto;
    border-radius: 2px;
}

.polaroid-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.polaroid {
    background-color: white;
    padding: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: rotate(-2deg);
    flex: 1;
    max-width: 400px;
    min-width: 250px;
    transition: transform 0.3s ease;
}

.polaroid-right {
    transform: rotate(2deg);
}

.polaroid:hover {
    transform: rotate(0deg);
}

.polaroid img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 2px solid #ddd;
    border-radius: 4px;
}

.text-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.text-container p {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}


.about-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/natural-paper.png');
    opacity: 0.1;
    z-index: 0;
}

.about-us-section > * {
    position: relative;
    z-index: 1;
}


@media (max-width: 768px) {
    .polaroid {
        flex: 100%;
        max-width: 100%;
        margin: 10px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .text-container p {
        font-size: 1rem;
    }
}


.menu-section {
    background: linear-gradient(135deg, #fff5e6 70%, #f7e1b5 100%);
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.menu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/papyrus.png');
    opacity: 0.1;
    z-index: 0;
}

.menu-section > * {
    position: relative;
    z-index: 1;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #c0392b;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #c0392b, #f39c12);
    margin: 10px auto;
    border-radius: 2px;
}


.nav-tabs {
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.nav-tabs .nav-link {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #555;
    padding: 12px 20px;
    border: none;
    border-radius: 8px 8px 0 0;
    background: #f5f5f0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-tabs .nav-link i {
    font-size: 1.2rem;
}

.nav-tabs .nav-link:hover {
    background: #e8d9b5;
    color: #c0392b;
}

.nav-tabs .nav-link.active {
    background: #c0392b;
    color: white;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}


.tab-content {
    background: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.menu-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 10px;
    border-bottom: 1px dashed #ddd;
}

.menu-image {
    cursor: pointer;
}

.menu-thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #ddd;
    transition: transform 0.3s ease;
}

.menu-thumbnail:hover {
    transform: scale(1.05);
}

.menu-text p {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

.menu-text strong {
    color: #c0392b;
}


.custom-image-viewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2147483647;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.custom-image-viewer.active {
    display: flex;
}

.image-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.custom-image-viewer img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease;
}

.custom-image-viewer .close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 2rem;
    color: white;
    background: #c0392b;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 2147483648;
}

.custom-image-viewer .close-btn:hover {
    background: #e74c3c;
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


.menu-image {
    cursor: pointer;
}

.menu-thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #ddd;
    transition: transform 0.3s ease;
}

.menu-thumbnail:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .custom-image-viewer img {
        max-width: 95%;
        max-height: 80%;
    }

    .custom-image-viewer .close-btn {
        font-size: 1.5rem;
        width: 30px;
        height: 30px;
        line-height: 30px;
        top: -10px;
        right: -10px;
    }
}

@media (max-width: 768px) {
    .menu-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 15px;
    }

    .menu-thumbnail {
        width: 80px;
        height: 80px;
        margin: 0;
    }

    .menu-text p {
        font-size: 0.9rem;
    }

    .nav-tabs .nav-link {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    #cantinaTabs .nav-link {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .custom-image-viewer img {
        max-width: 95%;
        max-height: 80%;
    }

    .custom-image-viewer .close-btn {
        font-size: 1.5rem;
        width: 30px;
        height: 30px;
        line-height: 30px;
        top: -10px;
        right: -10px;
    }
}

.cantina-section {
    background: linear-gradient(135deg, #fff5e6 70%, #f7e1b5 100%);
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.cantina-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/papyrus.png');
    opacity: 0.1;
    z-index: 0;
}

.cantina-section > * {
    position: relative;
    z-index: 1;
}

#cantinaTabs.nav-tabs {
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

#cantinaTabs .nav-link {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #555;
    padding: 12px 20px;
    border: none;
    border-radius: 8px 8px 0 0;
    background: #f5f5f0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

#cantinaTabs .nav-link i {
    font-size: 1.2rem;
}

#cantinaTabs .nav-link:hover {
    background: #e8d9b5;
    color: #c0392b;
}

#cantinaTabs .nav-link.active {
    background: #c0392b;
    color: white;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}


.age-restriction-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.age-restriction-modal.active {
    display: flex;
}

.modal-content {
    background: #fff5e6;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    position: relative;
}

.modal-icon {
    font-size: 3rem;
    color: #c0392b;
    margin-bottom: 15px;
}

.modal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #c0392b;
    margin-bottom: 10px;
}

.modal-content p {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
}

.modal-content .btn-danger {
    background: #c0392b;
    border: none;
    padding: 10px 20px;
    font-family: 'Lora', serif;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.modal-content .btn-danger:hover {
    background: #e74c3c;
}

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


@media (max-width: 768px) {
    .modal-content {
        max-width: 90%;
        padding: 20px;
    }

    .modal-icon {
        font-size: 2.5rem;
    }

    .modal-content h3 {
        font-size: 1.5rem;
    }

    .modal-content p {
        font-size: 0.9rem;
    }
}


.gallery-section {
    background: linear-gradient(135deg, #fff5e6 70%, #f7e1b5 100%);
    padding: 60px 20px;
    border-radius: 12px;
    position: relative;
    max-width: 100%;
    overflow: hidden;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    padding: 20px 0;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.reviews-section {
    background: linear-gradient(135deg, #fff5e6 70%, #f7e1b5 100%);
    padding: 60px 20px;
    border-radius: 12px;
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.review-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.review-text {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
}

.review-author {
    font-weight: bold;
    color: #c0392b;
    font-size: 1rem;
}


@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #c0392b;
    border-radius: 50%;
    padding: 10px;
}

@media (max-width: 768px) {
    .review-text {
        font-size: 1rem;
    }

    .review-card {
        padding: 20px;
    }
}

.review-stars {
    color: #f39c12;
    margin-bottom: 15px;
    animation: starsFade 0.8s ease-in-out both;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.review-stars i {
    font-size: 1.3rem;
    opacity: 0;
    transform: translateY(10px);
    animation: starBounce 0.6s forwards;
}

.review-stars i:nth-child(1) { animation-delay: 0.1s; }
.review-stars i:nth-child(2) { animation-delay: 0.2s; }
.review-stars i:nth-child(3) { animation-delay: 0.3s; }
.review-stars i:nth-child(4) { animation-delay: 0.4s; }
.review-stars i:nth-child(5) { animation-delay: 0.5s; }

@keyframes starBounce {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-section {
    background: linear-gradient(135deg, #fff5e6 70%, #f7e1b5 100%);
    border-radius: 12px;
    padding: 60px 20px;
}

.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.contact-card {
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    animation: fadeInUp 0.6s ease-in-out;
}


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

@media (max-width: 768px) {
    .map-container {
        min-height: 300px;
    }

    .contact-card h4 {
        font-size: 1.2rem;
    }

    .contact-card p {
        font-size: 1rem;
    }

    .location-section {
        padding: 40px 10px;
    }
}

.contact-section {
    background: linear-gradient(135deg, #fff5e6 70%, #f7e1b5 100%);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-section::before {
    content: '';
    background-image: url("images/exclusive-paper.png");
    opacity: 0.05;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: floatBackground 30s linear infinite;
}

@keyframes floatBackground {
    from { background-position: 0 0; }
    to { background-position: 100% 100%; }
}

.contact-section > * {
    position: relative;
    z-index: 2;
}

.contact-form-wrapper {
    max-width: 600px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper .input-group-text {
    border: 1px solid #ced4da;
    border-radius: 0.375rem 0 0 0.375rem;
}

.contact-form-wrapper .form-control {
    border-left: none;
    font-family: 'Lora', serif;
}

.contact-form-wrapper .form-control:focus {
    box-shadow: none;
    border-color: #c0392b;
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 20px;
    }

    .contact-section {
        padding: 40px 10px;
    }
}

.contact-card h5 {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    color: red;
}


.content-block {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    padding: 60px 30px;
    margin: 40px auto;
    max-width: 1200px;
    position: relative;
    /*z-index: 2;*/
}

@media (max-width: 768px) {
    .content-block {
        padding: 40px 20px;
        margin: 30px 10px;
        border-radius: 12px;
    }
}


body.modal-open #pageContent {
    filter: blur(6px);
    transition: filter 0.3s ease-in-out;
}


.floating-order-online {
    bottom: 70px;
    background-color: #28a745;
}

.floating-order-online:hover {
    background-color: #218838;
}



.special-promo-modal {
    background: linear-gradient(135deg, #fffefc 70%, #ffe0e0 100%);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
}

.special-promo-modal p {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #333;
}

@media (max-width: 768px) {
    .modal-dialog {
        margin: 1rem;
    }
    .special-promo-modal p {
        font-size: 1rem;
    }
}


.promo-ticker {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, #c0392b, #e74c3c);
    padding: 10px;
    z-index: 99999;
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.5s ease-in-out;
}

body {
    padding-top: 50px;
}

.promo-message {
    animation: fadeInOut 8s infinite;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-10px); }
    10% { opacity: 1; transform: translateY(0); }
    40% { opacity: 1; }
    60% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 0; }
}
