:root {
    --text-primary: #f8f8f8;
    --bg-primary: #000000;
    --accent: #333333;
    --cardinal-red: #B81D1D;
    --gold-light: rgba(255, 215, 0, 0.5);
    --border-width: 2px;
}

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

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    letter-spacing: 0.05em;
    overflow-x: hidden;
}

/* Header Styles */
header {
    padding: 3rem 0;
    text-align: center;
    position: relative;
}

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

.logo {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.tagline {
    color: var(--cardinal-red);
    font-size: clamp(1rem, 2vw, 1.2rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.main-nav a {
    color: inherit;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: var(--border-width) solid transparent;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    border-color: var(--text-primary);
}

.main-nav i {
    font-size: 1.2rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    position: absolute;
    right: 2rem;
    top: 2rem;
}

/* Section Styles */
section {
    min-height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-box {
    border: var(--border-width) solid var(--text-primary);
    padding: 2rem;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.section-box::before,
.section-box::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: var(--border-width) solid var(--text-primary);
}

.section-box::before {
    top: -15px;
    left: -15px;
    border-right: none;
    border-bottom: none;
}

.section-box::after {
    bottom: -15px;
    right: -15px;
    border-left: none;
    border-top: none;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 1rem;
}

h2 i {
    font-size: 1.5em;
}

p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.9;
}

/* Latin Word Effect */
#latin-word {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
    z-index: 1000;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        padding: 1rem 0;
        gap: 1rem;
    }

    .menu-toggle {
        display: block;
    }

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

    section {
        padding: 2rem;
    }

    .section-box {
        padding: 1.5rem;
    }
}