/* =========================================
   Root Variables
========================================= */
:root {
    --primary: #09B00F;
    --bg-overlay: rgba(255, 255, 255, 0.92);
    --text-dark: #333;
    --text-light: #666;
}

/* =========================================
   Global Reset & Base Styles
========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: url("/static/images/happy_lady.png") no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =========================================
   Layout Containers
========================================= */
.container {
    max-width: 960px;
    width: 100%;
    margin: 100px auto 60px; /* top margin adjusted for navbar */
    padding: 30px;
    background: var(--bg-overlay);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* =========================================
   Navbar
========================================= */
/* === Navbar === */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #09B00F;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex; /* 👈 This makes it horizontal */
    gap: 1.5rem;    /* spacing between links */
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links li a:hover {
    color: #09B00F;
}


/* =========================================
   Hero Section
========================================= */
.hero-title {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-light);
}

.buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.btn {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #07950c;
}

/* =========================================
   Info / Content Sections
========================================= */
.info-section {
    text-align: left;
    margin-top: 40px;
}

.info-section h2 {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 10px;
}

.info-section p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Scoped list styling to content sections only */
.privacy-container ul,
.info-section ul {
    list-style: none;
    padding-left: 0;
}

.privacy-container ul li,
.info-section ul li {
    background: #f5f5f5;
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.privacy-container ul li::before,
.info-section ul li::before {
    content: "✔";
    color: var(--primary);
    font-weight: bold;
    margin-top: 2px;
}

/* =========================================
   Privacy & Terms Container
========================================= */
.privacy-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
}

.privacy-container h1 {
    color: var(--primary);
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.effective-date {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

section {
    margin-bottom: 30px;
}

section h2 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
    border-left: 4px solid var(--primary);
    padding-left: 10px;
}

section p {
    font-size: 1rem;
    margin-bottom: 10px;
}

/* =========================================
   Account Deletion Form
========================================= */
.form-container {
    max-width: 500px;
    margin: 60px auto;
    padding: 30px 25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    color: #333;
}

.form-container h1 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.form-description {
    text-align: center;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.5;
}

.deletion-form .form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.deletion-form label {
    font-weight: 600;
    margin-bottom: 5px;
}

.deletion-form input,
.deletion-form textarea {
    padding: 10px;
    font-size: 0.95rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
}

.deletion-form input:focus,
.deletion-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(9, 176, 15, 0.15);
}

.required {
    color: red;
}

.primary-btn {
    display: block;
    width: 100%;
    background-color: var(--primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.primary-btn:hover {
    background-color: #07980C;
}

/* =========================================
   Footer
========================================= */
footer {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    padding: 15px 10px;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    margin: 0 8px;
    font-size: 13px;
}

.footer-links a:hover {
    text-decoration: underline;
}
