
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #e74c3c;
    margin: 15px auto;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.btn-secondary:hover {
    background-color: #e74c3c;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#home {
    height: 100vh;
    background-image: url('images/plateau.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

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

.logo {
    width: 300px;           
    height: 200px;          
    border-radius: 10px;
    object-fit: contain;
    border: 3px solid white;
    z-index: 2;
    margin-bottom: 20px;
}

.hero-content {
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: white;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.navbar ul li a:hover, .navbar ul li a.active {
    background-color: rgba(231, 76, 60, 0.8);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: white;
    transition: all 0.3s ease;
}

.menu-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    margin: 0 10px 10px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    color: #666;
}

.category-btn:hover, .category-btn.active {
    background-color: #e74c3c;
    color: white;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 350px)); 
    gap: 30px;
    justify-content: center; 
}

.menu-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item-info {
    padding: 20px;
}

.menu-item-info h3 {
    margin-bottom: 10px;
    color: #333;
}

.description {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.price {
    font-weight: bold;
    color: #000000;
    font-size: 1.2rem;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 50px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 2;
    min-width: 300px;
    padding: 20px;
}

.about-text h3 {
    margin-bottom: 15px;
    color: #333;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
}

.gallery h3 {
    text-align: center;
    margin-bottom: 20px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.location-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.weekly-schedule, .map-container {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.weekly-schedule h3, .map-container h3 {
    margin-bottom: 20px;
    text-align: center;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 10px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.day {
    font-weight: bold;
    color: #e74c3c;
}

.place {
    flex: 2;
    text-align: center;
}

.time {
    color: #666;
}

.map-container iframe {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.events-service {
    text-align: center;
    padding: 30px;
    background-color: #f5f5f5;
    border-radius: 10px;
}

.events-service h3 {
    margin-bottom: 15px;
}

.events-service p {
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #e74c3c;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
}

.social-media {
    display: flex;
    margin-top: 30px;
}

.social-media a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e74c3c;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.social-media a:hover {
    transform: translateY(-5px);
    background-color: #c0392b;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

.testimonial-info {
    display: flex;
    align-items: center;
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-name {
    font-weight: bold;
    margin-right: 15px;
}

.testimonial-stars {
    color: #f1c40f;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #e74c3c;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.testimonial-btn:hover {
    color: #c0392b;
    transform: scale(1.2);
}

.leave-review {
    text-align: center;
    margin-top: 40px;
}

.leave-review h3 {
    margin-bottom: 20px;
}

.rating-select {
    display: flex;
    font-size: 1.5rem;
    color: #ddd;
    margin-bottom: 10px;
}

.rating-select i {
    margin-right: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rating-select i:hover, .rating-select i.active {
    color: #f1c40f;
}

footer {
    background-color: #222;
    color: white;
    padding-top: 50px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px; 
    padding: 50px 20px; 
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #e74c3c;
}

.footer-contact .social-media{
    color: #f0f0f0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: #e74c3c;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #444;
    margin-top: 30px;
}

.footer-bottom a {
    color: #e74c3c;
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    transition: all 0.3s ease;
}

#backToTop:hover {
    background-color: #c0392b;
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar ul {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 80px 0 30px;
        transition: all 0.4s ease;
    }

    .navbar ul.active {
        top: 0;
    }

    .navbar ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1001;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .about-content, .location-container, .contact-container {
        flex-direction: column;
    }

    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .menu-categories {
        flex-direction: column;
        align-items: center;
    }

    .category-btn {
        margin-bottom: 10px;
    }

    .testimonial {
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links h4::after, .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

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

.service-choice {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 30px;
    border-radius: 10px;
    width: 250px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-service:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-service i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #e74c3c;
}

.btn-service span {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.btn-service p {
    font-size: 0.9rem;
    color: #666;
}

.btn-service.traiteur {
    border-bottom: 5px solid #e74c3c;
}

.btn-service.pizza {
    border-bottom: 5px solid #27ae60;
}

.service-section {
    position: relative;
    padding-top: 100px;
}

.service-header {
    text-align: center;
    margin-bottom: 50px;
}

.service-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 20px;
    display: inline-block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    background-color: rgba(231, 76, 60, 0.1);
}

#pizza .service-icon {
    color: #27ae60;
    background-color: rgba(39, 174, 96, 0.1);
}

#traiteur {
    background-color: #f9f9f9;
}

#pizza {
    background-color: #fff;
}

.service-presentation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 50px;
    gap: 30px;
}

.service-image {
    flex: 1;
    min-width: 300px;
}

.service-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-info {
    flex: 1;
    min-width: 300px;
}

.service-info h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.8rem;
}

.service-info p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.traiteur-menu, .pizza-menu {
    margin-top: 50px;
}

.traiteur-menu h3, .pizza-menu h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.traiteur-categories .category-btn.active {
    background-color: #e74c3c;
}

.pizza-categories .category-btn.active {
    background-color: #27ae60;
}

#pizza .btn-primary {
    background-color: #27ae60;
}

#pizza .btn-primary:hover {
    background-color: #219653;
}

#pizza .btn-secondary {
    color: #27ae60;
    border-color: #27ae60;
}

#pizza .btn-secondary:hover {
    background-color: #27ae60;
}

.testimonial-service {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .service-choice {
        flex-direction: column;
        align-items: center;
    }

    .btn-service {
        width: 80%;
        max-width: 300px;
        margin-bottom: 20px;
    }

    .service-presentation {
        flex-direction: column;
    }

    .service-image, .service-info {
        width: 100%;
    }
}

.accordion-menu {
    width: 100%;
    margin-bottom: 20px;
}

.accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    background-color: #f8f8f8;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: #f0f0f0;
}

.accordion-header h4 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.accordion-icon {
    font-size: 24px;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 450px;
    overflow-y: auto;
    padding: 20px;
}

.accordion-content::-webkit-scrollbar {
    width: 8px;
}

.accordion-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.accordion-content::-webkit-scrollbar-thumb {
    background: #e74c3c;
    border-radius: 10px;
}

.accordion-content::-webkit-scrollbar-thumb:hover {
    background: #c0392b;
}

.accordion-item.active .accordion-content {
    max-height: 2000px; 
}

.pizza-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.pizza-list-item {
    margin-bottom: 12px;
    padding: 12px 15px;
    background-color: #fff;
    border-left: 3px solid #e74c3c;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pizza-list-item:hover {
    transform: translateX(3px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}

.pizza-name-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.pizza-list-item h4 {
    color: #333;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.pizza-list-item .description {
    color: #666;
    font-size: 14px;
    margin: 0;
    font-style: italic;
}

.pizza-list-item .price {
    font-weight: bold;
    color: #e74c3c;
    margin: 0;
    font-size: 15px;
}

.pizza-list::-webkit-scrollbar {
    width: 6px;
}

.pizza-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.pizza-list::-webkit-scrollbar-thumb {
    background: #e74c3c;
    border-radius: 10px;
}

.pizza-list::-webkit-scrollbar-thumb:hover {
    background: #c0392b;
}

@media (max-width: 768px) {
    .pizza-list-item {
        padding: 10px;
    }

    .pizza-list-item h4 {
        font-size: 15px;
    }

    .pizza-list-item .description {
        font-size: 13px;
    }
}

.status-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 10;
}

.status-open {
    background-color: #2ecc71; 
    animation: pulse 2s infinite;
}

.status-closed {
    background-color: #e74c3c; 
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

.status-tooltip {
    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 280px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000; 
    text-align: center;
}

.status-tooltip.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.status-tooltip:before {
    display: none;
}

.tooltip-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.tooltip-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.status-tooltip p {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
}

.status-tooltip .call-button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    text-align: center;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.2s ease;
    margin-top: 5px;
}

.btn-service {
    position: relative;
    overflow: visible;
}

@media (max-width: 768px) {
    .status-tooltip {
        width: 150px;
        padding: 10px;
        font-size: 13px;
    }

    .status-tooltip .call-button {
        padding: 6px 10px;
        font-size: 13px;
    }
}

.pizza-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.pizza-modal-content {
    position: relative;
    background-color: #fff;
    margin: 15% auto;
    padding: 25px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: modalFadeIn 0.3s ease-out;
}

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

.pizza-modal h3 {
    margin-top: 0;
    color: #2ecc71;
    font-size: 22px;
}

.pizza-modal p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #555;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-btn {
    display: block;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.call-btn {
    background-color: #2ecc71;
    color: white;
}

.call-btn:hover {
    background-color: #27ae60;
}

.info-btn {
    background-color: #3498db;
    color: white;
}

.info-btn:hover {
    background-color: #2980b9;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: #555;
}

.modal-btn i {
    margin-right: 8px;
}

@media (min-width: 768px) {
    .modal-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .modal-btn {
        min-width: 200px;
    }
}

.exceptional-closure {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    overflow: auto;
}

.exceptional-closure-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 25px;
    width: 90%;
    max-width: 550px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
    animation: popupFadeIn 0.4s ease-out;
}

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

.popup-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #e74c3c;
}

.popup-header i {
    font-size: 24px;
    margin-right: 10px;
}

.popup-header h3 {
    margin: 0;
    font-size: 22px;
}

.exceptional-closure-content p {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
}

.popup-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}

.close-popup:hover {
    color: #555;
}

#close-popup-btn {
    padding: 10px 25px;
    font-size: 16px;
}

@media (min-width: 768px) {
    .exceptional-closure-content {
        padding: 30px;
    }
}

.admin-access {
    position: fixed;
    top: 15px;
    left: 15px; 
    z-index: 9999;
}

.admin-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.admin-btn:hover {
    background-color: #3498db;
    color: white;
    transform: rotate(30deg);
}

.admin-btn i {
    font-size: 18px;
}

@media (max-width: 768px) {
    .admin-btn {
        width: 35px;
        height: 35px;
    }

    .admin-btn i {
        font-size: 16px;
    }
}

body {
    overflow-x: hidden; 
    font-size: 16px; 
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem); 
    line-height: 1.2;
    margin-bottom: 1rem;
}

.tagline {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
}

.service-choice {
    gap: clamp(15px, 3vw, 30px); 
}

.btn-service {
    width: clamp(220px, 40vw, 250px); 
    padding: clamp(20px, 4vw, 30px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 15px; 
}

.btn-service i {
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-padding {
    padding: clamp(50px, 8vw, 80px) 0;
}

.container {
    padding: 0 clamp(15px, 4vw, 20px);
}

.menu-item {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item img.reduced-height {
    height: 150px; 
}

.status-tooltip {
    width: clamp(250px, 80vw, 320px);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.status-tooltip p {
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.5;
}

.status-tooltip .call-button {
    padding: clamp(8px, 2vw, 12px) clamp(15px, 4vw, 25px);
    border-radius: 30px;
    font-size: clamp(14px, 3.5vw, 16px);
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
}

.accordion-header {
    padding: clamp(12px, 3vw, 18px) clamp(15px, 4vw, 25px);
}

.accordion-content {
    max-height: clamp(300px, 70vh, 450px);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: clamp(10px, 2.5vw, 15px);
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
    outline: none;
}

.footer-content {
    gap: clamp(20px, 5vw, 40px);
}

@media (max-width: 768px) {

    .btn-service {
        width: 85%;
        max-width: 280px;
        margin-bottom: 15px;
    }

    .schedule-item {
        flex-direction: column;
        text-align: center;
        padding: 15px 10px;
    }

    .schedule-item .day {
        margin-bottom: 5px;
    }

    .schedule-item .place {
        margin-bottom: 5px;
    }

    .testimonial {
        padding: 20px 15px;
        margin: 10px;
    }

    .contact-form {
        padding: 15px;
    }

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

    .gallery-img {
        height: 150px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1300px; 
    }

    .service-presentation {
        gap: 50px;
    }

    .menu-items {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .testimonials-slider {
        max-width: 900px;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
}

.btn-primary, 
.btn-secondary, 
.btn-service, 
.menu-item, 
.gallery-img,
.social-media a,
.category-btn {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

:focus {
    outline: 3px solid rgba(231, 76, 60, 0.5);
    outline-offset: 2px;
}

.btn-primary, 
.btn-secondary,
.call-button {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover, 
.btn-secondary:hover,
.call-button:hover {
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15);
}

.status-indicator {
    width: 12px;
    height: 12px;
    top: 10px;
    right: 10px;
}

.admin-access {
    top: 20px;
    left: 20px;
}

.admin-btn {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {

    #home {
        height: auto; 
        min-height: 100vh; 
        padding: 80px 0; 
    }

    .logo {
        margin-top: 60px; 
        width: 200px; 
        height: 133px; 
    }

    .hero-content {
        padding: 0 15px;
        margin-top: 20px;
    }
}

.pointing-hand {
    position: absolute;
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none; 
    z-index: 1001;
    opacity: 0;
    filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.3));
    transition: opacity 0.5s ease;
}

@keyframes clickHand {
    0% { transform: scale(1); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

@keyframes pulseHand {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.8; }
    100% { opacity: 0; }
}

.btn + .btn {
    margin-left: 10px;
}

.details-btn {
    background-color: transparent;
    color: black;
    border: 2px solid black;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    margin: 10px auto 0;
    transition: all 0.3s ease;
    font-weight: 500;
    display: block; 
    width: fit-content; 
    text-align: center; 
}

.details-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    max-width: 80%;
    max-height: 80vh;
    overflow-y: auto;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.popup-content {
    position: relative;
}

.close-popup {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 24px;
    cursor: pointer;
    color: #777;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-popup:hover {
    color: #333;
    background-color: #f0f0f0;
}

.description-list li {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s forwards;
    animation-delay: calc(0.1s * var(--item-index, 0));
}

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

.popup-section-title {
    font-weight: 600;
    color: #333;
    margin: 15px 0 8px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.05rem;
}

.popup-content .popup-section-title:first-of-type {
    margin-top: 5px;
}

.scroll-btn {
    position: fixed;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    opacity: 0.7;
    transition: opacity 0.3s, background-color 0.3s;
}

.scroll-btn:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.8);
}

.scroll-up {
    top: 80px; 
}

.scroll-down {
    bottom: 20px; 
}

.scroll-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    max-width: 80%;
    max-height: 70vh; 
    overflow-y: auto; 
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.popup.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.popup::-webkit-scrollbar {
    width: 8px;
}

.popup::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.popup::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.popup::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.popup-content {
    padding-bottom: 10px;
}

.double-location {
    display: flex;
    align-items: flex-start;
}

.multi-schedule {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.location-time {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.double-location .day {
    margin-right: 15px;
}

