/* TheHarmonFam.com Unified Style Sheet */
/* Mobile-First Responsive Design */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-color: #333;
    --light-bg: #ffffff;
    --white: #ffffff;
    --border-color: #ddd;
    --header-height: 60px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-bg);
}

/* Header */
header {
    min-height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    min-height: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    line-height: 1.2;
    font-size: 1.5rem;
}

/* Navigation */
nav {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

nav ul li {
    position: relative;
    z-index: 999;
    margin: 0;
    }

nav ul li a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

nav ul li a:hover {
    background: var(--primary-color);
    color: var(--white);
}
n/* Active menu item */
nav ul li a.active {
    background: var(--primary-color);
    color: var(--white);
    border-bottom: 3px solid #764ba2;
}

.menu-toggle {
    display: none;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.content-section {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

/* Cards/Grid Layout */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1rem;
}

.btn:hover {
    background: var(--secondary-color);
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 1rem;
    font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: var(--white);
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

table tr:hover {
    background: var(--light-bg);
}

/* Footer */
footer {
    background: #333;
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        padding: 15px;
        background: #f0f4ff;
        border: 2px solid #667eea;
        border-radius: 8px;
        margin: 10px;
        width: calc(100% - 20px);
        max-width: 100%;
        box-sizing: border-box;
        z-index: 1001;
        position: relative;
        text-align: center;
        font-weight: bold;
        display: block;
        font-size: 18px;
        color: #667eea;
        cursor: pointer;
    }
    
    .menu-toggle:active {
        background: #667eea;
        color: white;
    }
    
    
    nav {
        background: white;
        padding: 0;
        position: relative;
        z-index: 999;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
    }
    
    header h1 {
    line-height: 1.2;
        font-size: 1.2rem;
    }
    
    header .btn,
    header .btn-secondary {
        padding: 6px 12px;
        font-size: 0.85rem;
        margin: 2px;
        width: auto;
    }
    header .container {
    
        padding: 0.5rem;
    }
    
    header .container > div {
        display: flex;
        align-items: center;
        gap: 5px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    header span {
        font-size: 0.85rem;
        margin-right: 5px !important;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        padding: 1rem;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    table th,
    table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    header .container {
    min-height: 50px;
        flex-direction: column;
    }
    
    table {
        font-size: 0.8rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Bingo-specific styling */
body.bingo-page {
    background-color: #003399 !important;
    background: #003399 !important;
}

body.bingo-page main,
body.bingo-page .app-content {
    background-color: #003399 !important;
}

/* Contact View Styles */
.titlebar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    font-size: 24px;
    font-weight: bold;
    margin: -20px -20px 20px -20px;
}

.section-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.col-3 {
    flex: 0 0 calc(25% - 12px);
    min-width: 200px;
}

.col-6 {
    flex: 0 0 calc(50% - 8px);
    min-width: 250px;
}

.nowrap {
    white-space: nowrap;
}
