/* website/static/website/demos/zuri_hope/css/layout.css */

/* --- HEADER & NAVIGATION --- */
header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    width: 100%;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: var(--container-width);
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--primary-color);
    margin-left: 250px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.logo:active {
    transform: scale(0.98);
}

.highlight {
    color: var(--accent-color);
    margin-left: 8px;
}

/* --- NAVIGATION MENU --- */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #3b80ca !important;
    font-weight: 700;
}

/* Bouton spécial "Donate Now" */
.btn-donate-nav {
    background-color: var(--accent-color);
    color: #ffffff !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 2px solid #ffffff;
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
}

.btn-donate-nav:hover {
    background-color: transparent;
    color: #3b80ca !important;
    border: 2px solid #3b80ca;
}

/* --- FOOTER --- */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 1rem 1rem;
    position: relative;
    z-index: 10;
    margin-top: auto;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col a {
    color: #e0e0e0;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

/* LIEN WHATSAPP SPÉCIFIQUE */
.footer-whatsapp-link {
    color: #FF9F1C !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-whatsapp-link:hover {
    color: #ffffff !important;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* --- MOBILE & HAMBURGER --- */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Animation du Hamburger en croix (X) */
.hamburger.active .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger.active .line2 {
    opacity: 0;
}
.hamburger.active .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* --- FLOATING BUTTONS --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
    display: block;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background-color: #FF9F1C;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid #ffffff;
    font-weight: bold;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 1002;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-right: 2px;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
}

@media screen and (max-width: 768px) {
    .hamburger { display: flex; }
    .logo { margin-left: 20px; }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: 0;
        width: 75%;
        max-width: 280px;
        height: calc(100vh - var(--header-height));
        background-color: #1a1a1a;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 0 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.4);
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: all 0.3s ease-in-out;
        z-index: 9999;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
        text-align: left;
        margin-bottom: 1.5rem;
    }

    .nav-menu .nav-link {
        color: #ffffff;
        font-size: 1.1rem;
    }

    .nav-menu .nav-link:hover {
        color: var(--primary-color) !important;
    }

    .nav-menu .btn-donate-nav {
        color: #ffffff !important;
        border-color: #ffffff;
        background-color: var(--accent-color);
    }
	
	.footer-col ul { 
		padding-left: 1rem; 
	}
	
	.footer-container { 
		padding: 0 30px; 
	}
	
}


