/* style.css - Estilos customizados para Tailwind CSS */

/* Calendário Mobile */
.calendar-mobile {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    /*padding: 1rem;*/
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
}

.calendar-header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-title-mobile {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    flex: 1;
    text-align: center;
}

.nav-btn-mobile {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.nav-btn-mobile:hover:not(:disabled) {
    background: #0056b3;
    transform: scale(1.05);
}

.nav-btn-mobile:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.calendar-weekdays-mobile {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 0.5rem;
}

.calendar-weekdays-mobile div {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    padding: 0.5rem 0;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 4px;
}

.calendar-grid-mobile {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day-mobile {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    min-height: 36px;
    padding: 2px;
}

.calendar-day-mobile.available {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.calendar-day-mobile.available:hover {
    background: #a7f3d0;
    border-color: #6ee7b7;
    transform: scale(1.05);
}

.calendar-day-mobile.reserved {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #dc2626;
    cursor: not-allowed;
}

.calendar-day-mobile.past {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
}

.calendar-day-mobile.unavailable {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
}

.calendar-day-mobile.today {
    border: 2px solid #007bff !important;
    font-weight: bold;
}

.calendar-day-mobile.other-month {
    background: #fafafa;
    color: #d1d5db;
    cursor: default;
}

.day-number-mobile {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f2937;
    line-height: 1;
}

.status-mobile {
    font-size: 0.6rem;
    font-weight: 400;
    color: #6b7280;
    margin-top: 1px;
    line-height: 1;
    opacity: 0.8;
}

/* Desktop - Ajustes para telas maiores */
@media (min-width: 768px) {
    .calendar-mobile {
        max-width: 400px;
        padding: 1.5rem;
    }

    .calendar-title-mobile {
        font-size: 1.3rem;
    }

    .nav-btn-mobile {
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }

    .calendar-day-mobile {
        min-height: 44px;
        padding: 4px;
    }

    .day-number-mobile {
        font-size: 1rem;
    }

    .status-mobile {
        font-size: 0.7rem;
        margin-top: 2px;
    }
}

/* Animações */
.calendar-legend {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.calendar-legend div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 0.6s ease-out;
}

/* Mobile menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu.active ~ .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.mobile-menu-close:hover {
    background: #f3f4f6;
}

.mobile-menu-link {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.mobile-menu-link:hover {
    background: #f8fafc !important;
    color: #007bff !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll to Top Button */
#scrollToTopBtn {
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

#scrollToTopBtn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

#scrollToTopBtn i {
    font-size: 1.2rem;
}