/* CSS Variables */
:root {
    --color-primary: #2c5f2d;
    --color-primary-dark: #1a3a1b;
    --color-primary-light: rgba(44, 95, 45, 0.05);
    --color-text: #333;
    --color-text-light: #666;
    --color-white: #ffffff;

    --font-size-base: 1rem;
    --font-size-description: 0.77rem;
    --font-size-contact: 0.88rem;
    --font-size-footer: 0.9rem;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--color-white);
    color: var(--color-text);
    display: flex;
    flex-direction: column;
}

/* Main container - takes up available space */
.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Content wrapper */
.content {
    text-align: center;
    width: 100%;
    max-width: 1200px;
}

/* Logo styling */
.logo {
    max-width: 90%;
    width: 600px;
    height: auto;
    display: block;
    margin: 0 auto 0.5rem;
}

/* Description text styling */
.description {
    max-width: 500px;
    margin: 0 auto 2rem;
    font-size: var(--font-size-description);
    line-height: 1.6;
    color: var(--color-text);
    text-align: justify;
}

/* Contact section styling */
.contact {
    font-size: var(--font-size-contact);
    color: var(--color-text);
    margin-top: 2rem;
}

/* Email link styling */
.email-link {
    display: inline;
    color: var(--color-primary);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.email-link:hover,
.email-link:focus {
    color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    background-color: var(--color-primary-light);
    outline: none;
}

.email-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.email-link:active {
    transform: scale(0.98);
}

/* Footer styling */
.footer {
    padding: 2rem;
    text-align: center;
    color: var(--color-text-light);
    font-size: var(--font-size-footer);
}

/* Tablet screens */
@media screen and (max-width: 768px) {
    :root {
        --font-size-description: 0.7rem;
        --font-size-contact: 0.8rem;
        --font-size-footer: 0.85rem;
    }

    .logo {
        width: 500px;
        margin-bottom: 0.5rem;
    }

    .description {
        max-width: 450px;
    }

    .footer {
        padding: 1.5rem;
    }
}

/* Mobile screens */
@media screen and (max-width: 480px) {
    :root {
        --font-size-description: 0.665rem;
        --font-size-contact: 0.76rem;
        --font-size-footer: 0.8rem;
    }

    .container {
        padding: 1.5rem;
    }

    .logo {
        width: 100%;
        max-width: 350px;
        margin-bottom: 0.5rem;
    }

    .description {
        max-width: 100%;
        padding: 0 1rem;
        text-align: left;
    }

    .email-link {
        overflow-wrap: break-word;
    }

    .footer {
        padding: 1.5rem 1rem;
    }
}

/* Small mobile screens */
@media screen and (max-width: 360px) {
    :root {
        --font-size-description: 0.63rem;
        --font-size-contact: 0.72rem;
    }

    .logo {
        max-width: 280px;
    }
}
