/* ============================================
   BEAUTIFUL FEET MINISTRIES - MAIN STYLESHEET
   ============================================ */

/* CSS Variables for Brand Colors */
:root {
    --primary-blue: #0066b3;
    --accent-orange: #f77f00;
    --accent-red: #e63946;
    --dark-gray: #333;
    --light-gray: #f8f9fa;
    --white: #ffffff;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    background-color: transparent;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: var(--primary-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo img {
    height: 60px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 1.5rem 1.2rem;
    display: block;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.nav-links > li > a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Dropdown Menus */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    color: var(--dark-gray);
    padding: 0.9rem 1.5rem;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
    border-left-color: var(--accent-orange);
    padding-left: 2rem;
}

/* Dropdown Arrow Indicator */
.dropdown > a::after {
    content: '\25BC';
    font-size: 0.6rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
}

/* Donate Button in Nav */
.nav-donate {
    background-color: var(--accent-red);
    border-radius: 5px;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.nav-donate:hover {
    background-color: #d62828;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(230, 57, 70, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu {
    display: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu:hover {
    opacity: 0.7;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background-color: #1a1a1a;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    font-weight: 600;
}

.footer-column a {
    color: #aaa;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--accent-orange);
    padding-left: 0.5rem;
}

/* Footer Right Section */
.footer-right {
    text-align: left;
}

.footer-right p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 1.5rem;
}

.footer-cta {
    background-color: white;
    color: var(--dark-gray);
    padding: 0.8rem 2rem;
    border: 2px solid white;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.footer-cta:hover {
    background-color: transparent;
    color: white;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--accent-orange);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #444;
    text-align: center;
}

.footer-bottom p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.tagline {
    font-style: italic;
    color: #ccc;
    margin-top: 1rem;
    font-weight: 500;
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */

@media (max-width: 968px) {
    nav {
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--primary-blue);
        flex-direction: column;
        padding: 0;
        gap: 0;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        transition: right 0.4s ease;
        overflow-y: auto;
        z-index: 1001;
        padding-top: 80px;
    }

    .nav-links.active {
        right: 0;
    }

    /* Overlay when menu is open */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: 999;
    }

    body.menu-open::before {
        opacity: 1;
        visibility: visible;
    }

    body.menu-open {
        overflow: hidden;
    }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links > li > a {
        padding: 1rem 2rem;
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-content {
        max-height: 500px;
    }

    .dropdown-content a {
        color: white;
        padding: 0.8rem 2rem 0.8rem 3rem;
        font-size: 0.85rem;
    }

    .dropdown-content a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-left-color: var(--accent-orange);
    }

    .nav-donate {
        margin-left: 0;
        margin: 1rem 2rem;
        text-align: center;
    }

    .mobile-menu {
        display: block;
        z-index: 1002;
    }

    /* Close button in mobile menu */
    .nav-links .close-menu {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        font-size: 2rem;
        color: white;
        cursor: pointer;
        background: none;
        border: none;
        padding: 0.5rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.cta-button {
    background-color: var(--accent-red);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #d62828;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(230, 57, 70, 0.3);
}

.secondary-button {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.secondary-button:hover {
    background-color: white;
    color: var(--primary-blue);
}

.cta-button-orange {
    background-color: var(--accent-orange);
    color: white;
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button-orange:hover {
    background-color: #d56f00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(247, 127, 0, 0.3);
}

.mission-link {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.mission-link:hover {
    color: #d56f00;
    transform: translateX(5px);
}