/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #FDFBF7;
    color: #3E2723;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- COLORS ---------- */
:root {
    --gold: #D4AF37;
    --gold-dark: #B8952E;
    --cream: #FDFBF7;
    --brown-dark: #3E2723;
    --brown-light: #6D4C41;
    --shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* ---------- BUTTONS ---------- */
.btn-primary {
    display: inline-block;
    background: linear-gradient(145deg, var(--gold), var(--gold-dark));
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    display: inline-block;
    border: 2px solid var(--gold);
    color: var(--gold-dark);
    padding: 12px 34px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    background: transparent;
}
.btn-secondary:hover {
    background: var(--gold);
    color: #fff;
}

.highlight { color: var(--gold-dark); }

/* ---------- GOOGLE BUTTON ---------- */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 50px;
    background: #fff;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}
.btn-google:hover {
    background: #f1f1f1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ---------- NAVIGATION ---------- */
.navbar {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brown-dark);
    letter-spacing: -1px;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}
.nav-menu a {
    font-weight: 500;
    color: #555;
    transition: 0.3s;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--gold-dark);
    border-bottom-color: var(--gold);
}
.nav-cta {
    background: var(--gold);
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 50px;
    border-bottom: none !important;
    font-weight: 600 !important;
}
.nav-cta:hover {
    background: var(--gold-dark) !important;
    color: #fff !important;
}
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.bar { width: 25px; height: 3px; background: #333; border-radius: 3px; }

/* ---------- HERO ---------- */
.hero {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #FDFBF7 60%, #f4efe6);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.hero-text .badge {
    background: #e8e0d5;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--brown-dark);
}
.hero-text h1 { font-size: 3rem; line-height: 1.2; margin: 20px 0; }
.hero-text p { font-size: 1.2rem; color: #555; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-image img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); }

/* ---------- FEATURES & TESTIMONIALS ---------- */
section { padding: 60px 0; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 40px; }

.feature-grid, .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.feature-card, .testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
}
.feature-card .icon { font-size: 3rem; }
.testimonial-card {
    text-align: left;
}
.testimonial-card .user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}
.testimonial-card .user img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }

/* ---------- ABOUT PAGE ---------- */
.page-header {
    background: #f4efe6;
    padding: 40px 0;
    text-align: center;
}
.page-header h1 { font-size: 2.8rem; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-grid img { width: 100%; border-radius: 16px; }
.value-list { list-style: none; margin-top: 20px; }
.value-list li { padding: 8px 0; }
.team-section { margin-top: 60px; text-align: center; }
.value-cards { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.v-card {
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    min-width: 150px;
}

/* ---------- MEMBERS PAGE ---------- */
.filter-bar {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    align-items: center;
}
.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    transition: 0.3s;
}
.filter-btn.active, .filter-btn:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.member-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.3s;
}
.member-card:hover { transform: translateY(-5px); }
.member-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--gold);
}
.member-card h4 { margin-bottom: 5px; }
.member-card p { color: #777; font-size: 0.9rem; }

/* ---------- SAFETY PAGE ---------- */
.safety-item {
    display: flex;
    gap: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    align-items: flex-start;
}
.safety-item .num {
    background: var(--gold);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.safety-banner {
    background: var(--brown-dark);
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 40px;
}
.safety-banner .btn-primary { background: #fff; color: var(--brown-dark); box-shadow: none; }

/* ---------- SIGNUP / LOGIN FORMS ---------- */
.signup-form form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}
.form-group input {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    transition: 0.3s;
}
.form-group input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* ---------- DASHBOARD ---------- */
.dashboard-card {
    max-width: 650px;
    margin: 0 auto;
    background: #fff;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

/* ---------- FOOTER ---------- */
footer {
    background: #3E2723;
    color: #ccc;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}
footer a { color: var(--gold); margin: 0 10px; }
footer a:hover { text-decoration: underline; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none;
    }
    .nav-menu.active { display: flex; }
    .hero-grid, .about-grid { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 2.2rem; }
    .safety-item { flex-direction: column; align-items: center; text-align: center; }
    #nav-login, #nav-join, #nav-dashboard, #nav-logout {
        width: 100%;
        text-align: center;
    }
}