html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f3f3;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.carousel-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    position: relative;
    width: 100%;
    height: 600px;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    display: flex;
    opacity: 1;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.carousel-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.carousel-content h1 {
    font-family: 'TNR Regular';
    font-size: 8rem;
    letter-spacing: -0.8vh;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
    text-rendering: optimizeLegibility !important;
}

.carousel-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    font-family: 'Recoleta Regular', serif;
    font-weight: 300;
    line-height: 1.6;
}

.carousel-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    padding: 12px 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    border-radius: 4px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-icon {
    display: block;
    line-height: 1;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: white;
    width: 16px;
    height: 16px;
    margin: -2px 0;
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Home Page Styles */

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background-color: #be884a;
    color: white;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.featured-menu {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.category-title {
    font-family: "Recoleta Medium";
    text-align: left;
    font-size: 2rem;
    color: #2c3e50;
    margin: 3rem 0 0.5rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}

.category-caption {
    font-family: "Inter", sans-serif;
    text-align: left;
    font-size: 1rem;
    color: #6b7280;
    margin: 0 0 2rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
    line-height: 1.5;
    font-weight: 400;
}

.menu-gallery {
    padding: 4rem 30px;
    background: #f3f3f3;
    width: 100%;
    box-sizing: border-box;
}

.menu-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    background: #f3f3f3;
    overflow: hidden;
    box-shadow: none;
    transition: none;
    position: relative;
    width: 296px;
    height: 350px;
    margin: 0 auto;
}

.gallery-item.unavailable {
    opacity: 0.6;
}

.gallery-item.unavailable .gallery-content h4,
.gallery-item.unavailable .gallery-content p,
.gallery-item.unavailable .price {
    color: #999;
}

.unavailable-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 74, 38, 0.65) 0%, rgba(160, 92, 47, 0.55) 100%);
    backdrop-filter: blur(3px);
    z-index: 2;
    pointer-events: none;
    transition: all 0.3s ease;
}

.unavailable-badge {
    background: linear-gradient(135deg, #fef3e2 0%, #fce9d1 100%);
    color: #8b4a26;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 8px 24px rgba(139, 74, 38, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.gallery-item:hover {
    cursor: pointer;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-content h4 {
    text-decoration: underline;
}

.gallery-image {
    width: 100%;
    max-width: 296.2px;
    height: 250px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    box-sizing: border-box;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ddd;
    color: #666;
    font-size: 14px;
}

.gallery-content {
    padding: 1rem;
    text-align: left;
}

.gallery-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.price {
    color: #8B4513;
    font-weight: bold;
    font-size: 0.9rem;
}

.size {
    font-size: 0.9rem;
}

.view-more {
    text-align: center;
}

@media (max-width: 640px) {
    .carousel-content {
        padding: 2.5rem 1rem;
    }
    
    .carousel-slide {
        height: 350px;
        margin-top: 90px
    }
    
    .carousel-content h1 {
        font-size: 3.5rem;
        letter-spacing: -0.15rem;
        margin-bottom: 1rem;
    }
    
    .carousel-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        max-width: 95%;
        line-height: 1.5;
    }
    
    .carousel-control {
        padding: 10px 12px;
        font-size: 18px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .carousel-indicators {
        bottom: 15px;
        gap: 6px;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
    
    .carousel-indicator.active {
        width: 14px;
        height: 14px;
        margin: -2px 0;
    }
    
    .btn {
        padding: 0.65rem 1.3rem;
        font-size: 15px;
        min-height: 44px;
        border-radius: 6px;
    }
    
    .menu-gallery {
        padding: 2.5rem 16px;
    }
    
    .menu-gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-item {
        width: 100%;
        height: auto;
    }
    
    .gallery-image {
        height: 140px;
        max-width: 100%;
    }
    
    .gallery-content {
        padding: 0.9rem;
    }
    
    .gallery-content h4 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .gallery-content p {
        font-size: 0.9rem;
    }
    
    .price {
        font-size: 0.9rem;
    }
    
    .category-title {
        font-size: 1.6rem;
        margin: 2rem 0 0.75rem 0;
        padding: 0 16px;
    }
    
    .category-caption {
        font-size: 0.9rem;
        margin: 0 0 1.5rem 0;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .carousel-content {
        padding: 2rem 1rem;
    }
    
    .carousel-slide {
        height: 300px;
    }
    
    .carousel-content h1 {
        font-size: 2.8rem;
        letter-spacing: -0.1rem;
        margin-bottom: 0.8rem;
    }
    
    .carousel-content p {
        font-size: 0.9rem;
        margin-bottom: 1.3rem;
        max-width: 100%;
        line-height: 1.4;
    }
    
    .carousel-actions {
        gap: 0.75rem;
        width: 100%;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 14px;
        min-height: 44px;
        width: 100%;
        border-radius: 5px;
    }
    
    .carousel-control {
        padding: 8px 10px;
        font-size: 16px;
    }
    
    .carousel-indicators {
        bottom: 12px;
        gap: 5px;
    }
    
    .carousel-indicator {
        width: 9px;
        height: 9px;
    }
    
    .carousel-indicator.active {
        width: 12px;
        height: 12px;
        margin: -1.5px 0;
    }
    
    .menu-gallery {
        padding: 2rem 12px;
    }
    
    .menu-gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .gallery-item {
        width: 100%;
        height: auto;
        margin: 0;
    }
    
    .gallery-image {
        height: 120px;
        max-width: 100%;
    }
    
    .gallery-content {
        padding: 0.8rem;
    }
    
    .gallery-content h4 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .gallery-content p {
        font-size: 0.85rem;
    }
    
    .price {
        font-size: 0.85rem;
    }
    
    .size {
        font-size: 0.8rem;
    }
    
    .category-title {
        font-size: 1.5rem;
        margin: 1.8rem 0 0.6rem 0;
        padding: 0 12px;
    }
    
    .category-caption {
        font-size: 0.85rem;
        margin: 0 0 1.2rem 0;
        padding: 0 12px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem 1rem 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section h4 {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .footer-brand p,
    .footer-links a,
    .footer-contact li {
        font-size: 0.8rem;
    }

    .footer-bottom {
        padding: 1rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .carousel-content h1 {
        font-size: 2.5rem;
        letter-spacing: -0.05rem;
    }
    
    .carousel-content p {
        font-size: 0.85rem;
    }
    
    .carousel-slide {
        height: 280px;
    }
    
    .btn {
        padding: 0.55rem 0.9rem;
        font-size: 13px;
    }
    
    .menu-gallery-container {
        gap: 0.5rem;
    }
    
    .gallery-image {
        height: 100px;
    }
    
    .gallery-content {
        padding: 0.7rem;
    }
    
    .gallery-content h4 {
        font-size: 0.85rem;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
    
    .category-caption {
        font-size: 0.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.5rem 0.75rem 1rem;
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .footer-section h4 {
        font-size: 0.85rem;
    }

    .footer-contact li {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom p {
        font-size: 0.7rem;
    }
}

.footer {
    background: #f8f9fa;
    color: #2c3e50;
    margin-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin: 0 0 1rem;
    color: #8B4513;
}

.footer-section h4 {
    font-size: 1rem;
    margin: 0 0 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #8B4513;
}

.footer-contact li {
    color: #666;
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-contact i {
    color: #8B4513;
    margin-top: 0.15rem;
    min-width: 16px;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #e9ecef;
    border-radius: 50%;
    color: #2c3e50;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
    background: #8B4513;
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #e9ecef;
    text-align: center;
    padding: 1.25rem 2rem;
    background: #fff;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.footer-bottom a {
    color: #8B4513;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #6d3710;
    text-decoration: underline;
}
