/* Base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #222222;
    background-color: #f5f5f7;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #b3002d;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Layout helpers */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section {
    padding: 4rem 0;
}

.section-light {
    background-color: #ffffff;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 800px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Header & navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #2b0a12;
    color: #fdf3f5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.logo-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 2px solid #f0c04b;
    font-size: 14px;
}

.logo-text {
    font-size: 0.95rem;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

.main-nav a {
    color: #fdf3f5;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.main-nav a:hover {
    background-color: #fdf3f5;
    color: #2b0a12;
    text-decoration: none;
}

@media (max-width: 800px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Hero section */
.hero {
    background: radial-gradient(circle at top left, #7d0c25 0, #2b0a12 50%, #14060a 100%);
    color: #fdf3f5;
    padding: 4.5rem 0 4rem;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.hero-text h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #f8d985;
}

.hero-text p {
    max-width: 36rem;
}

.hero-buttons {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-panel {
    display: flex;
    justify-content: center;
}

.hero-emblem {
    background: rgba(0,0,0,0.25);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    max-width: 260px;
}

.keystone {
    width: 120px;
    height: 90px;
    margin: 0 auto 1rem;
    border-radius: 24px 24px 10px 10px;
    border: 1px solid #f0c04b;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5f071a, #c9183f);
}

.keystone-symbol {
    font-size: 3.2rem;
    color: #fdf3f5;
}

.hero-caption {
    font-size: 0.9rem;
    color: #fce6b0;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}

.btn-primary {
  background: #cc0000 !important;   /* deep red */
  color: #ffffff !important;
  border: none !important;
}

.btn-primary:hover {
  background: #a30000 !important;   /* darker red on hover */
}


.btn.secondary {
    background-color: transparent;
    border-color: #f0c04b;
    color: #f0c04b;
}

.btn.secondary:hover {
    background-color: rgba(240,192,75,0.1);
}

/* Headings */
.section h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #2b0a12;
}

.section h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #5a1120;
}

.section p {
    margin-bottom: 1rem;
    font-size: 0.98rem;
}

/* Cards */
.card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid #e5e5eb;
}

.section:not(.section-light) .card {
    background-color: #fdfdfd;
}

/* Lists */
.details-list {
    list-style: none;
    margin-top: 0.5rem;
}

.details-list li {
    margin-bottom: 0.4rem;
}

/* Officers */
.officer-grid {
    margin-top: 1.5rem;
}

.officer-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid #e5e5eb;
}

.officer-card h3 {
    margin-bottom: 0.3rem;
}

/* Events table */
.table-wrapper {
    margin-top: 1.5rem;
    overflow-x: auto;
}

.events-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.events-table th,
.events-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #eeeeee;
}

.events-table thead {
    background-color: #5a1120;
    color: #fdf3f5;
}

.events-table tbody tr:nth-child(every) {
    background-color: #ffffff;
}

.events-table tbody tr:nth-child(odd) {
    background-color: #faf7f8;
}

/* Contact form */
.contact-form {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid #e5e5eb;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #4b4b57;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    margin-bottom: 0.9rem;
    border-radius: 8px;
    border: 1px solid #d7d7e0;
    font-size: 0.95rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #b3002d;
    box-shadow: 0 0 0 2px rgba(179,0,45,0.15);
}

.form-note {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #666677;
}

/* Footer */
.site-footer {
    background-color: #1a060b;
    color: #f1dde1;
    padding: 1.5rem 0 2rem;
    margin-top: 2rem;
}

.footer-container {
    text-align: center;
    font-size: 0.85rem;
}

.footer-small {
    margin-top: 0.5rem;
    color: #d6bcc1;
}
