/* CivicMark CSS */

:root {
    --amber: hsl( 36, 60%, 60%);
    --teal: #2098b2;
    --teal-dark: #1A8F88;
    --text: hsl(0 0% 32%);
    --bg: hsl(0, 0%, 96%);
    --header-bg: hsl(36, 96%, 96%);
    --charter-bg: hsl(36, 30%, 88%);
    --footer-bg: hsl(36, 36%, 90%);
    --gray-light: hsl(0,0%,88%);
    --gray: #666;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Header */
header {
    background: var(--header-bg);
    border-bottom: 2px solid var(--gray-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0;
}

.diamond {
    color: var(--amber);
    font-size: 1.5em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--teal);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.social-share a svg {
    transition: transform 0.2s;
}

.social-share a:hover svg {
    transform: scale(1.1);
}

/* Main Content */
h1 {
    margin-bottom: 1.5rem;
    color: var(--text);
}

h2 {
    margin: 2rem 0 1rem;
    color: var(--text);
}

h3 {
    margin: 1.5rem 0 0.5rem;
    color: var(--text);
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Charter Specific */
.charter {
    background: var(--charter-bg);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.charter-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.charter-list li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.promise {
    background: var(--bg);
    padding: 1.5rem;
    border-left: 4px solid var(--teal);
    margin: 2rem 0;
}

.promise h3 {
    margin-top: 0;
}

.promise p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Buttons */
.button {
    display: inline-block;
    background: var(--teal);
    color: white;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.button:hover {
    background: var(--teal-dark);
}

/* Downloads */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.download-item {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.download-item img{
    max-width: 100%;
}

.preview {
    font-size: 3rem;
    color: var(--amber);
    margin-bottom: 1rem;
}

.download-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.download-link {
    color: var(--teal);
    text-decoration: none;
}

.download-link:hover {
    text-decoration: underline;
}

pre {
    background: var(--gray-light);
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
}

/* Shop */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--teal);
    margin: 0.5rem 0;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
footer {
    background: var(--footer-bg);
    margin-top: 4rem;
    padding: 2rem 0;
    text-align: center;
}

.footer-container p {
    margin: 0.5rem 0;
    color: var(--gray);
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 2px solid var(--gray-light);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .download-grid,
    .shop-grid {
        grid-template-columns: 1fr;
    }
}