/**
 * Biscaia Restaurant - Custom Styles
 * Cores principais: Laranja (#FF5722), Preto (#1a1a1a)
 */

/* Header Styling */
.main-header.white-menu {
    background: linear-gradient(135deg, #FF5722 0%, #E64A19 100%) !important;
    box-shadow: 0 2px 15px rgba(255, 87, 34, 0.3);
}

.main-header .main-logo {
    padding-left: 25px;
}

.main-header .navigation > li > a {
    color: #ffffff !important;
}

.main-header .navigation > li > a:hover {
    color: #FFE0B2 !important;
}

.main-header .header-number {
    color: #ffffff !important;
}

.main-header .header-number a {
    color: #ffffff !important;
    font-weight: 700;
}

.main-header .theme-btn {
    background: #1a1a1a !important;
    color: #ffffff !important;
    border: 2px solid #1a1a1a !important;
    transition: all 0.3s ease;
}

.main-header .theme-btn:hover {
    background: transparent !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}

/* Mobile Menu */
.main-header .mobile-logo {
    background: transparent;
}

.main-header .navbar-toggler {
    color: #ffffff !important;
}

/* Hero Section - Multiple Buttons */
.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.theme-btn.style-three {
    background: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

.theme-btn.style-three:hover {
    background: #ffffff !important;
    color: #FF5722 !important;
}

/* Gallery Section */
.gallery-area {
    background: #f8f8f8;
}

.gallery-area .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: #000;
}

.gallery-area .gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 87, 34, 0.4);
}

.gallery-area .gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: all 0.5s ease;
}

.gallery-area .gallery-item:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Gallery Modal */
#galleryModal .modal-content {
    background: #1a1a1a;
    border: none;
    border-radius: 10px;
}

#galleryModal .modal-header {
    border-bottom: 1px solid #333;
    padding: 20px 30px;
}

#galleryModal .modal-title {
    color: #FF5722;
    font-weight: 700;
    font-size: 24px;
}

#galleryModal .close {
    color: #ffffff;
    opacity: 1;
    font-size: 32px;
    text-shadow: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

#galleryModal .close:hover {
    color: #FF5722;
    opacity: 1;
}

#galleryModal .modal-body {
    padding: 30px;
    background: #1a1a1a;
}

.gallery-modal-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.gallery-modal-container img {
    max-height: 70vh;
    width: auto;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.gallery-nav-btn {
    position: absolute;
    background: rgba(255, 87, 34, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    outline: none;
}

.gallery-nav-btn:hover,
.gallery-nav-btn:focus {
    background: #FF5722;
    transform: scale(1.1);
    outline: none;
}

.gallery-nav-btn.prev-btn {
    left: 20px;
}

.gallery-nav-btn.next-btn {
    right: 20px;
}

#imageCounter {
    background: #FF5722;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
}

/* Restaurante page - owner photo sizing */
.about-us-area-four .about-image-four.style-two img {
    max-width: 420px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Ementa page - about image sizing */
.about-us-area .about-restaurant-page img {
    max-width: 520px;
    max-height: 520px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Contact Section */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(255, 87, 34, 0.2);
}

.contact-info-item .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF5722 0%, #E64A19 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-info-item .content h5 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.contact-info-item .content p {
    margin: 0;
    color: #666;
    line-height: 1.8;
}

.contact-info-item .content a {
    color: #FF5722;
    transition: color 0.3s ease;
}

.contact-info-item .content a:hover {
    color: #E64A19;
}

.contact-form-area {
    background: #f8f8f8;
    padding: 40px;
    border-radius: 10px;
}

.contact-form-area h4 {
    margin-bottom: 30px;
    color: #1a1a1a;
}

/* Responsive */
@media (max-width: 991px) {
    .gallery-area .gallery-item img {
        height: 300px;
    }
    
    #galleryModal .modal-dialog {
        max-width: 95%;
        margin: 1rem auto;
    }
    
    #galleryModal .modal-body {
        padding: 20px 15px;
    }
    
    .gallery-modal-container img {
        max-height: 60vh;
    }
}

@media (max-width: 768px) {
    .hero-btns {
        flex-direction: column;
    }
    
    .hero-btns .theme-btn {
        width: 100%;
        text-align: center;
    }
    
    .gallery-area .gallery-item img {
        height: 280px;
    }
    
    .gallery-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .gallery-nav-btn.prev-btn {
        left: 10px;
    }
    
    .gallery-nav-btn.next-btn {
        right: 10px;
    }
    
    #galleryModal .modal-title {
        font-size: 18px;
    }
    
    #galleryModal .modal-header {
        padding: 15px 20px;
    }
    
    #galleryModal .modal-body {
        padding: 15px 10px;
    }
    
    #galleryModal .close {
        font-size: 28px;
    }
    
    .gallery-modal-container {
        min-height: 250px;
    }
    
    .gallery-modal-container img {
        max-height: 55vh;
    }
    
    #imageCounter {
        font-size: 14px;
        padding: 6px 16px;
    }
}

@media (max-width: 576px) {
    .gallery-area .gallery-item img {
        height: 250px;
    }
    
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .gallery-nav-btn.prev-btn {
        left: 5px;
    }
    
    .gallery-nav-btn.next-btn {
        right: 5px;
    }
    
    #galleryModal .modal-dialog {
        max-width: 98%;
        margin: 0.5rem auto;
    }
    
    #galleryModal .modal-title {
        font-size: 16px;
    }
    
    #galleryModal .modal-header {
        padding: 12px 15px;
    }
    
    #galleryModal .modal-body {
        padding: 10px 5px;
    }
    
    #galleryModal .close {
        font-size: 24px;
    }
    
    .gallery-modal-container {
        min-height: 200px;
    }
    
    .gallery-modal-container img {
        max-height: 50vh;
        border-radius: 5px;
    }
    
    #imageCounter {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* Search Button */
.nav-search button {
    color: #ffffff !important;
}

.nav-search {
    margin-right: 15px;
}

/* Sidebar Appointment */
.menu-sidebar .inner-box {
    background: #FF5722;
}

.menu-sidebar .title h4 {
    color: #ffffff;
}

/* Logo Adjustments */
.main-header .logo img {
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.main-header .logo img:hover {
    transform: scale(1.05);
}

/* Sticky Header */
.main-header.fixed-header {
    background: #FF5722 !important;
}

/* Hero Section Customization */
.hero-section {
    position: relative;
}

.hero-section h1 {
    color: #FF5722;
    font-weight: 800;
}

/* Button Theme Override */
.theme-btn.style-two {
    background: #FF5722 !important;
    border-color: #FF5722 !important;
}

.theme-btn.style-two:hover {
    background: #E64A19 !important;
    border-color: #E64A19 !important;
}

/* Social Media Links in Sidebar */
.menu-sidebar .social-style-one a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.menu-sidebar .social-style-one a:hover {
    background: #ffffff;
    color: #FF5722;
}

/* Footer Adjustments */
.main-footer {
    background: #1a1a1a;
}

/* Accent Color Throughout */
a {
    color: #FF5722;
}

a:hover {
    color: #E64A19;
}

/* Form Elements */
input:focus, textarea:focus, select:focus {
    border-color: #FF5722 !important;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .main-header.white-menu {
        background: #FF5722 !important;
    }
    
    .main-header .navigation {
        background: #FF5722;
    }
}

@media (max-width: 991px) {
    .hero-area-three {
        padding-top: 120px;
    }

    .hero-area-three .hero-content-three h1 {
        font-size: 48px;
    }

    .gallery-area .gallery-item img {
        height: 280px;
    }
}

@media (max-width: 767px) {
    .hero-area-three .hero-content-three h1 {
        font-size: 38px;
    }

    .hero-btns {
        gap: 10px;
    }

    .gallery-area .gallery-item img {
        height: 220px;
    }

    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .gallery-nav-btn.prev-btn {
        left: 10px;
    }

    .gallery-nav-btn.next-btn {
        right: 10px;
    }

    .gallery-modal-container img {
        max-height: 60vh;
    }
}

@media (max-width: 575px) {
    .hero-area-three {
        padding-top: 100px;
    }

    .hero-area-three .hero-content-three h1 {
        font-size: 32px;
    }

    .gallery-area .gallery-item img {
        height: 200px;
    }
}
