/* --- CSS Variables --- */
:root {
    --bg-color: #ffffff;
    --text-color: #222222; /* A modern, slightly softer black */
    --accent-color: #cc0000;
    --accent-color-darker: #a30000; /* For hover state */
}

/* --- General Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* --- Layout --- */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    padding: 2rem;
    width: 100%;
}

main {
    /* This makes the main content area grow to fill available space */
    flex-grow: 1; 
    
    /* Center the content container */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.content-container {
    text-align: center;
}

footer {
    padding: 2rem;
    width: 100%;
    text-align: center;
}

/* --- Elements --- */
.logo {
    object-fit: contain; /* Ensures logo is never distorted */
}

.logo-header {
    height: 100px; /* Set a specific height for the header logo */
}

.logo-footer {
    height: 80px; /* A slightly smaller logo for the footer */
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #555;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover,
.cta-button:focus {
    background-color: var(--accent-color-darker);
    transform: translateY(-3px); /* Subtle lift effect */
    outline: none;
}

/* --- Footer Social Icons --- */
.social-icons a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover,
.social-icons a:focus {
    color: var(--accent-color);
    outline: none;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
    }

    header, footer {
        padding: 1.5rem;
    }

    .social-icons a {
        margin: 0 0.75rem;
    }
}
