/* ========================================
   MINIMAL HEADER & FOOTER
   Black & White Clean Design
   ======================================== */

/* ========================================
   HEADER - Minimal Style
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff !important;
    backdrop-filter: none !important;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e0e0e0 !important;
    box-shadow: none !important;
}

.header.scrolled {
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.7;
}

.logo-img {
    width: 65px;
    height: 65px;
    transition: transform 0.3s ease;
    filter: none;
    object-fit: contain;
}

.logo-link:hover .logo-img {
    transform: scale(1.08);
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #000000 !important;
    letter-spacing: -0.5px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: #666666 !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: #000000 !important;
    background: #f5f5f5 !important;
}

.nav-link.active {
    color: #000000 !important;
    background: #f5f5f5 !important;
    font-weight: 600;
}

/* Remove the underline effect */
.nav-link::after {
    display: none !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    display: none !important; /* Hide theme toggle for minimal design */
}

.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.3rem;
    color: #000000 !important;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.nav-toggle:hover,
.nav-close:hover {
    color: #666666 !important;
}

/* ========================================
   FOOTER - Minimal Style
   ======================================== */

.footer {
    background: #fafafa !important;
    border-top: 1px solid #e0e0e0 !important;
    padding: 3rem 0 1.5rem !important;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 28px;
    height: 28px;
    filter: grayscale(0);
}

.footer-logo span {
    font-weight: 600;
    color: #000000 !important;
    font-size: 1.05rem;
}

.footer-description {
    color: #666666 !important;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    width: 38px;
    height: 38px;
    background: #ffffff !important;
    color: #666666 !important;
    border-radius: 4px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0 !important;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.social-link:hover {
    background: #000000 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    border-color: #000000 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer-title {
    color: #000000 !important;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #666666 !important;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #000000 !important;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    color: #666666 !important;
    font-size: 0.95rem;
}

.footer-contact i {
    color: #000000 !important;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid #e0e0e0 !important;
    padding-top: 1.5rem;
    text-align: center;
    color: #999999 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-bottom i {
    color: #000000 !important;
}

/* ========================================
   BACK TO TOP BUTTON - Minimal Style
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: #000000 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 4px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background: #333333 !important;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media screen and (max-width: 768px) {
    .nav {
        height: 60px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #ffffff !important;
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 1001;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 2rem;
    }
    
    .nav-toggle,
    .nav-close {
        display: block;
    }
    
    .nav-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.5rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-img {
        width: 30px;
        height: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        font-size: 0.85rem;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .nav {
        height: 55px;
    }

    .logo-text {
        font-size: 0.9rem;
    }

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