/* Footer Styles */
footer {
    text-align: center;
    padding: 1.5rem 1rem;
    background-color: var(--footer-bg);
    color: var(--text-color);
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.footer-content p {
    font-size: clamp(0.85rem, 2vw, 1rem);
    margin: 0;
    color: var(--text-color);
}

.footer-email {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-email:hover {
    color: var(--button-hover);
}

.footer-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    margin-left: 1rem;
}

.footer-logo:hover {
    opacity: 1;
}

/* Social Media Styles */
.social-media {
    margin-top: 1rem;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.social-icons p {
    margin: 0;
    font-size: 1rem;
}

.social-icons a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: var(--button-hover);
}

/* Responsive Styles */
@media (min-width: 600px) {
    .footer-content {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .social-media {
        margin-top: 0;
        margin-left: 2rem;
    }

    .footer-logo {
        margin-bottom: 0;
        margin-right: 0;
        margin-left: 2rem;
    }
}

@media (max-width: 600px) {
    .theme-switch {
        bottom: 80px;
    }
    
    .social-icons {
        padding-bottom: 20px;
    }
}

/* Theme menu (shared) */
.theme-menu {
    position: fixed;
    bottom: 80px; /* sits above the floating button */
    right: 20px;
    z-index: 200;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 6px;
    min-width: 180px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    display: none;
}

.theme-menu.open { display: block; }

.theme-menu button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    color: var(--text-color);
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.theme-menu button:hover {
    background: var(--button-hover);
}

.theme-menu button svg {
    width: 18px;
    height: 18px;
    fill: var(--text-color);
}

.theme-menu button i {
    margin-left: auto;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.theme-menu button.active i {
    opacity: 1;
}
