/* Specific styles for restauration page */
:root {
    --restauration-color: #8b4513; /* Primary brown color for restauration section */
}

/* Ensure all styles are scoped to the restauration content */
.restauration-content .banner img {
    width: 100%;
    display: block;
}

.restauration-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.restauration-layout .main-content {
    flex: 1;
    min-width: 280px;
}

.restauration-layout .sidebar {
    width: 250px;
}

.restauration-section {
    background-color: transparent;
    border-left: 3px solid var(--restauration-color);
    padding-left: 15px;
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease-out forwards;
}

.restauration-section .section-header {
    margin-bottom: 15px;
}

.restauration-section .section-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    color: var(--restauration-color);
}

.restauration-section .section-content {
    padding: 0;
}

.restauration-section .section-content p {
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 15px;
}

.restauration-section .service-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.restauration-section .service-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 15px;
}

.restauration-section .service-list li:before {
    content: "-";
    position: absolute;
    left: 0;
    color: var(--restauration-color);
}

.restauration-section .menu-card {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.restauration-section .menu-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--restauration-color);
}

.restauration-section .menu-link {
    display: inline-flex;
    align-items: center;
    color: var(--restauration-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.restauration-section .menu-link i {
    margin-right: 8px;
}

.restauration-section .menu-link:hover {
    color: #6b3410;
    text-decoration: underline;
}

.restauration-layout .contact-card {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.restauration-layout .contact-card h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--restauration-color);
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.restauration-layout .contact-info h3 {
    margin-top: 0;
    font-size: 16px;
    font-weight: 500;
}

.restauration-layout .contact-info p {
    margin: 5px 0;
    line-height: 1.5;
}

.restauration-layout .phone {
    font-size: 16px;
    font-weight: 500;
}

.restauration-layout .email a {
    color: var(--restauration-color);
    text-decoration: none;
}

.restauration-layout .email a:hover {
    text-decoration: underline;
}

.restauration-layout .logo-section {
    text-align: center;
}

/* Gallery styles */
.restauration-content .gallery-section {
    margin-top: 30px;
}

.restauration-content .gallery-section h2 {
    color: var(--restauration-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.restauration-content .photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.restauration-content .gallery-item {
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.restauration-content .gallery-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.restauration-content .gallery-image:hover {
    transform: scale(1.05);
}

/* Image Modal Styles - these are global but with unique class names */
.restauration-image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.restauration-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
}

.restauration-image-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: white;
    padding: 10px 0;
    height: 50px;
}

.restauration-close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.restauration-close-modal:hover,
.restauration-close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Animation for sections */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-5px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .restauration-layout {
        flex-direction: column-reverse;
    }
    
    .restauration-layout .sidebar {
        width: 100%;
    }
    
    .restauration-layout .contact-card {
        margin-bottom: 20px;
    }
    
    .restauration-section .section-header h2 {
        font-size: 18px;
    }
    
    .restauration-section .section-content p,
    .restauration-section .service-list li {
        font-size: 14px;
    }
    
    .restauration-modal-content {
        max-width: 95%;
    }
    
    .restauration-close-modal {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .restauration-content .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .restauration-content .gallery-image {
        height: 120px;
    }
}
/* Secondary Navigation - Restauration specific styling */
.restauration-secondary-nav {
    background-color: var(--primary-orange);
}

.restauration-secondary-nav .secondary-menu-toggle {
    background-color: var(--primary-orange);
    font-size: 13px;
    padding: 10px 15px;
}

.restauration-secondary-nav .secondary-nav-list {
    background-color: var(--primary-orange);
}

.restauration-secondary-nav .secondary-nav-list a {
    font-size: 13px;
    padding: 8px;
}

.restauration-secondary-nav .secondary-nav-list a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.restauration-secondary-nav .secondary-nav-list a.active {
    background-color: rgba(0, 0, 0, 0.2);
}

.restauration-secondary-nav .submenu {
    background-color: rgba(213, 98, 43, 0.95);
}

/* Mobile-specific styles for restauration secondary nav */
@media screen and (max-width: 768px) {
    .restauration-secondary-nav .secondary-menu-toggle {
        background-color: var(--primary-orange);
        color: white;
    }
    
    .restauration-secondary-nav .secondary-nav-list {
        background-color: var(--primary-orange);
    }
    
    .restauration-secondary-nav .secondary-nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .restauration-secondary-nav .submenu {
        background-color: rgba(213, 98, 43, 0.95);
    }
    
    .restauration-secondary-nav .submenu-open .submenu {
        background-color: rgba(193, 88, 33, 0.95);
    }
}