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

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

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

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

.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.50rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.5px;
    font-family: 'Playfair Display', serif;
}

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

.nav-list .nav-link {
    font-weight: 500;
    color: #666666;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    font-size: 0.95rem;
    display: inline-block;
    letter-spacing: 0.3px;
    z-index: 1;
}

/* Stylish "Pill" background effect */
.nav-list .nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    border-radius: 30px;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.nav-list .nav-link:hover {
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.nav-list .nav-link:hover::after {
    transform: scale(1);
    opacity: 1;
}

.nav-list .nav-link.active {
    color: #000000;
    font-weight: 600;
}

.nav-list .nav-link.active::after {
    opacity: 1;
    transform: scale(1);
}

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

.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;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

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

/* Dropdown Menu */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 0.75rem;
    min-width: 220px;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    list-style: none;
    margin-top: 0.5rem;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #000000;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(0, 0, 0, 0.04);
    transform: translateX(4px);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1em;
    color: #666666;
    transition: color 0.2s ease;
}

.dropdown-item:hover i {
    color: #000000;
}

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

footer.footer {
    background: #fafafa;
    border-top: 1px solid #e0e0e0;
    padding: 3rem 0 1.5rem;
    font-family: 'Inter', sans-serif;
}

.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;
    font-size: 1.05rem;
}

.footer-description {
    color: #666666;
    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;
    color: #666666;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

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

.footer .footer-title {
    color: #000000;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

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

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

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

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

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

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

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

.footer-bottom i {
    color: #ff4757;
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

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

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    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.transparent-bottom {
    opacity: 0.2 !important;
    pointer-events: none;
}

.back-to-top.transparent-bottom:hover {
    opacity: 1 !important;
    pointer-events: auto;
}

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

/* ========================================
   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;
        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-list .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;
    }
}

/* ========================================
   Footer Signature Animation
   ======================================== */
.footer-signature {
    background: linear-gradient(45deg, #ff3366, #ff6b6b, #4834d4, #686de0);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    animation: signatureGradient 5s ease infinite;
    display: inline-block;
}

@keyframes signatureGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
