/* Global page styles */
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f4d8a9;
    /* custom background */
    color: #f4d8a9;
}

/* Wrapper to center content and control width */
.page-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 3rem;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 3rem 1rem 2rem;
    border-radius: 16px;
    background: radial-gradient(circle at top left, #c13816, #320000);
    color: #ffffff;
}

.hero h1 {
    margin-bottom: 0.5rem;
    font-size: 2.4rem;
    letter-spacing: 0.04em;
}

.hero-subtitle {
    max-width: 600px;
    margin: 0.5rem auto 1.5rem;
    font-size: 1rem;
}

/* Simple button style */
.btn-primary {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    background-color: #d8d8d8;
    color: #c13816;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-primary:hover {
    background-color: #520000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    background-color: #f4d8a9;
    color: #c13816;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-secondary:hover {
    background-color: #520000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transform: translateY(-1px);
}
.btn-third {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    background-color: #f4d8a9;
    color: #3e80a6;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-third:hover {
    background-color: #003d60;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transform: translateY(-1px);
}

/* Content sections */
.content-section {
    margin-top: 2.5rem;
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
    background-color: rgba(8, 14, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.content-section h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
    color: #f9fafb;
}

.content-section p {
    line-height: 1.6;
    font-size: 0.98rem;
}

/* Lists */
.reason-list,
.phase-list {
    padding-left: 1.2rem;
}

.reason-list li,
.phase-list li {
    margin-bottom: 0.5rem;
}

.reason-list ul,
.phase-list ol {
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
}

.reason-list ul li,
.phase-list ol li {
    font-size: 0.95rem;
}

/* Video embed */
.video-wrapper {
    position: relative;
    margin-top: 1rem;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.gallery-item {
    background-color: #141e2a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
}

.caption {
    padding: 0.75rem 0.85rem;
    font-size: 0.9rem;
    color: #e5e7eb;
}

/* Footer */
.site-footer {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.9rem;
    color: #9ca3af;
}

.back-to-top {
    color: #c13816;
    text-decoration: none;
    font-weight: 500;
}

.back-to-top:hover {
    text-decoration: underline;
}

.footer-note {
    margin-top: 0.35rem;
}

/* Simple navigation back to home */
.simple-nav {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    background-color: rgba(8, 14, 20, 0.6);
    position: sticky;
    top: 0;
    z-index: 999;
}

.back-home-link {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background-color: #c13816;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.back-home-link:hover {
    background-color: #520000;
    transform: translateY(-2px);
}