/* styles.css - Shared styles for That Great Dance website */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navbar-bg: #333;
    --navbar-text: #ffffff;
    --dropdown-bg: #444;
    --hover-bg: #555;
    --script-font: "Brush Script MT", "Lucida Handwriting", "Apple Chancery", cursive;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ====================== NAVIGATION ====================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background-color: var(--navbar-bg);
    color: var(--navbar-text);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    font-family: var(--script-font);
}

.logo {
    font-size: 2rem;
    font-weight: bold;
}

.menu-icon {
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
}

.menu-icon:hover {
    background-color: var(--hover-bg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: fixed;
    top: 70px;
    right: 20px;
    background-color: var(--dropdown-bg);
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
    min-width: 200px;
    z-index: 1001;
}

.dropdown-menu.show {
    display: flex;
}

.dropdown-menu a {
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid var(--hover-bg);
    font-size: 1rem;
    line-height: 1.4;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: var(--hover-bg);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

/* ====================== FOOTER ====================== */
footer.nonprofit-header {
    font-size: 10pt;
    text-align: center;
    padding: 12px 0;
    letter-spacing: 1px;
    opacity: 0.85;
    margin-top: 80px;
    color: #ffffff;           /* Default white for dark pages */
}

/* Light pages get dark footer text */
body.light footer.nonprofit-header {
    color: #000000;
}
