/* Footer Styles */
footer {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--white);
    padding: 40px 0 30px;
    margin-top: 60px;
}

@media (max-width: 768px) {
    footer {
        padding: 30px 0 20px;
        margin-top: 40px;
    }
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .footer-logo {
        margin-bottom: 15px;
    }
}

.footer-logo .logo-text {
    color: white;
    font-size: 1.8rem;
}

@media (max-width: 768px) {
    .footer-logo .logo-text {
        font-size: 1.5rem;
    }
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 30px;
    text-align: center;
    max-width: 500px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .footer-tagline {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 480px) {
    .footer-links {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    width: 100%;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-light);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0 5px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    border-top: 3px solid var(--primary);
}

.mobile-bottom-nav .nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    padding: 8px 5px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    max-width: 80px;
    cursor: pointer;
}

.mobile-nav-item i {
    font-size: 1.4rem;
    margin-bottom: 5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255, 255, 255, 0.7);
}

.mobile-nav-item .nav-label {
    font-weight: 600;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.mobile-nav-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-item:hover i {
    transform: scale(1.1);
    color: white;
}

.mobile-nav-item:hover .nav-label {
    color: white;
}

@media (max-width: 480px) {
    .mobile-nav-item {
        padding: 8px 3px;
    }

    .mobile-nav-item i {
        font-size: 1.3rem;
    }

    .mobile-nav-item .nav-label {
        font-size: 0.65rem;
    }
}

/* Mobile Create Notice Button (replaces floating WhatsApp) */
.mobile-create-notice-float {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 6px 25px rgba(255, 0, 0, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    animation: floatCreate 3s ease-in-out infinite;
}

@keyframes floatCreate {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        box-shadow: 0 6px 25px rgba(255, 0, 0, 0.4);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
        box-shadow: 0 12px 30px rgba(255, 0, 0, 0.6);
    }
}

.mobile-create-notice-float:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 10px 35px rgba(255, 0, 0, 0.6);
    animation: none;
}

@media (max-width: 480px) {
    .mobile-create-notice-float {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        bottom: 70px;
        right: 15px;
    }
}

/* Hide desktop footer on mobile */
@media (max-width: 992px) {
    .mobile-bottom-nav {
        display: flex;
    }

    .mobile-create-notice-float {
        display: flex;
    }

    footer {
        display: none !important;
    }
}

/* Mobile Pages Bottom Sheet (Drawer) */
.mobile-pages-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1001;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-pages-sheet {
    position: fixed;
    bottom: 85px; /* Above the bottom nav */
    left: 20px;
    right: 20px;
    background: white;
    border-radius: 20px;
    z-index: 1002;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 15px;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0,0,0,0.05);
}

.mobile-pages-sheet.active {
    transform: translateY(0);
    opacity: 1;
}

@media (min-width: 480px) {
    .mobile-pages-sheet {
        left: auto;
        right: 20px;
        width: 300px;
    }
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.sheet-header h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.close-sheet-btn {
    background: #f5f5f5;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.sheet-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sheet-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
    background: #fafafa;
    border-radius: 12px;
    text-decoration: none;
    color: var(--secondary);
    transition: all 0.2s ease;
    border: 1px solid #f0f0f0;
    text-align: center;
}

.sheet-item:active {
    transform: scale(0.96);
    background: #f0f0f0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.item-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--secondary);
    letter-spacing: -0.2px;
}

