html,
body {
    height: 100%;
    margin: 0;
}

main {
    flex: 1;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    /* background-color: #0A0F1E; */
    background-color: #000000;
    color: #f7f3ec;
    line-height: 1.7;
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    /* background-color: #0A0F1E; */
    background-color: #000000;
    text-align: center;
    padding: 2rem 1rem 1rem;
    position: relative;
}

header img {
    max-width: 140px;
    height: auto;
}

header h1 {
    margin: 1rem 0 0.25rem;
    font-size: 1.75rem;
    color: #f7f3ec;
}

header .copyright {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #c6a664;
    font-size: 0.9rem;
}

header p {
    color: #c6a664;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

header p:last-of-type {
    color: #c6a664;
    font-style: italic;
    margin-top: 0.2rem;
}

section {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1.25rem;
}

h2,
h3 {
    color: #f4e6d7;
    margin-top: 2rem;
}

ul {
    list-style: none;
    padding-left: 1.2rem;
}

ul li::before {
    content: '•';
    color: #c6a664;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

a {
    color: #c6a664;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    background-color: #000000;
    color: #888;
}

.separator {
    border: none;
    border-top: 1px solid #c6a664;
    margin: 3rem 0;
}

.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #f4e6d7;
    padding: 0;
}

.collapsible-content {
    overflow: hidden;
    height: 0;
    transition: height 0.4s ease;
    line-height: 2;
}

.collapsible-content.open {
    /* height will be set dynamically via JS */
}

.toggle-icon {
    color: #c6a664;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.toggle-icon.rotate {
    transform: rotate(180deg);
    /* ▼ becomes ▲ */
}

.logo-flash-wrapper {
    position: relative;
    display: inline-block;
    z-index: 0;
    overflow: hidden;
}

.logo-flash-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    z-index: 1;
}

.logo-flash-wrapper::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0) 60%);
    animation: flash-diagonal 3s linear infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes flash-diagonal {
    0% {
        transform: translate(-100%, -100%) rotate(45deg);
    }

    100% {
        transform: translate(100%, 100%) rotate(45deg);
    }
}

.collapsible-header:hover {
    text-shadow: 0 0 8px #c6a664, 0 0 16px #c6a664;
    transition: text-shadow 0.3s ease;
}





.cta-section {
    background-color: #000000;
    padding: 3rem 1rem;
    text-align: center;
    color: #f4e6d7;
}

.cta-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 2px solid #c6a664;
    color: #c6a664;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #c6a664;
    color: #000000;
}

.self-quote {
    border-left: 3px solid #c6a664;
    margin: 2rem auto;
    padding: 1rem 1.5rem;
    font-style: italic;
    background-color: #000000;
    color: #f4e6d7;
    max-width: 800px;
}

.self-quote span {
    display: block;
    margin-top: 1rem;
    color: #c6a664;
    font-weight: bold;
}