/* ========================================
   GLOBAL STYLES - Used Across All Pages
   Dr. Hope Nhlapo Website
   ======================================== */

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Scroll offset for anchor links (to account for fixed header) */
#ServiceHomeopath,
#ServiceBioPuncture,
#ServiceAccessBars {
    scroll-margin-top: 120px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.logo img {
    width: 90%;
    height: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-link {
    background: linear-gradient(135deg, #ff69b4, #dda0dd);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

.mobile-menu-toggle {
    display: none;
    background: linear-gradient(135deg, #ff69b4, #dda0dd);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: #fffdfd;
    padding: 40px 0 20px;
    border-top: 2px solid #ff69b4;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.footer-logo img {
    width: 100%;
    height: 100%;
}

.footer-info {
    text-align: center;
    flex: 1;
    min-width: 300px;
}

.footer-info h3 {
    color: #ff69b4;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.footer-info p {
    color: #ff69b4;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 2px 0;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
}

.social-icon img {
    width: 45px;
    height: 45px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover img {
    transform: scale(1.15) translateY(-3px);
    filter: brightness(1.1) drop-shadow(0 5px 10px rgba(233, 30, 99, 0.3));
}

.social-icon:active img {
    transform: scale(0.95);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   MOBILE RESPONSIVE (All Pages)
   ======================================== */

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .logo {
        width: 100px;
        height: 100px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-logo {
        width: 100px;
        height: 100px;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Tablet Breakpoint */
@media (min-width: 769px) and (max-width: 1024px) {
    .logo {
        width: 130px;
        height: 130px;
    }

    .nav-link {
        padding: 10px 16px;
        font-size: 13px;
    }
}
