:root {
    --primary: #000046; /* Original Navy */
    --accent: #9a0c08;  /* Original Dark Red */
    --bg-light: #fdfdfd;
    --text-main: #333333;
    --text-muted: #666666;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;

    /* --- STICKY FOOTER FIX --- */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--primary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* --- HERO SECTION --- */
.hero {
    height: 60vh; /* Slightly reduced height for better balance */
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 70, 0.8), rgba(0, 0, 70, 0.6)),
                url('background_prague.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    color: white;
    animation: fadeIn 1.5s ease-out forwards;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* --- MAIN CONTENT --- */
main {
    max-width: 900px;
    width: 90%;
    margin: -50px auto 60px; /* Negative top margin overlaps hero */
    background: white;
    padding: 60px 80px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;

    /* Pushes footer down if content is short */
    flex: 1 0 auto;
}

.greeting {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 30px;
}

main p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

main a {
    color: var(--accent);
    font-weight: 600;
    border-bottom: 1px solid transparent;
}

main a:hover {
    border-bottom-color: var(--accent);
}

/* --- FOUNDER CARDS (SIGNATURES) --- */
.signatures {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;

    /* Grid Layout for Cards */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    text-align: center;
}

.signature-item {
    padding: 25px 15px;
    background: #f8f9fa;
    border: 1px solid #eef0f2;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.signature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

.signature-item h4 {
    font-family: 'Inter', sans-serif; /* Changed to the normal body font */
    color: var(--primary);
    font-size: 1.15rem; /* Slightly adjusted size for the normal font */
    margin-bottom: 8px;
    font-weight: 700;
}

.signature-role {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    display: block;
}

/* --- FOOTER --- */
footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
    width: 100%;
    margin-top: auto; /* Ensures it sits at bottom */
    flex-shrink: 0;
}

footer a { color: #fff; text-decoration: underline; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    nav { flex-direction: column; padding: 15px; }
    .nav-links { margin-top: 15px; gap: 15px; flex-wrap: wrap; justify-content: center; }
    .hero h1 { font-size: 2.5rem; }
    main { margin: 0 20px 40px; padding: 40px 25px; }
    .signatures { grid-template-columns: 1fr; } /* Stack cards on mobile */
}