/* Design Tokens & Theme Variables */
:root {
    --bg-color: #f8f3e8;
    --text-color: #000000;
    --highlight-color: #ff0000;
    --heading-font: 'Open Sans Condensed', 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --body-font: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    height: 100%;
}

body {
    min-height: 100%;
    width: 100%;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--body-font);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    width: 100%;
    max-width: 600px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    margin-bottom: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Logo Styling */
.logo-wrapper {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    /* Reserves space to prevent shift once loaded */
}

.logo {
    max-height: 124px;
    max-width: 600px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Fallback for when the logo image is missing or loading */
.logo:not([src]),
.logo[src=""] {
    position: relative;
    display: inline-block;
    width: 180px;
    height: 60px;
    border: 2px dashed rgba(0, 0, 0, 0.15);
    border-radius: 6px;
}

.logo:not([src])::after,
.logo[src=""]::after {
    content: "LOGO PLACEHOLDER\n(img/logo.png)";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.4);
    font-family: var(--heading-font);
    font-weight: 600;
    text-align: center;
    white-space: pre-line;
    line-height: 1.3;
}

/* Typography & Headings */
.main-title {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 2.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
    line-height: 1.2;
}

.intro-text {
    font-size: 1.15rem;
    color: #333333;
    max-width: 480px;
    margin-bottom: 48px;
}

/* Middle Contact Area */
.order-section {
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 36px 0;
    margin-bottom: 48px;
}

.sub-title {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-details {
    font-size: 1.1rem;
}

.divider {
    font-style: italic;
    color: #666666;
    margin: 12px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin: 0 15px;
    max-width: 40px;
}

/* Links & Highlights */
.highlight-link {
    color: var(--highlight-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
}

.highlight-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--highlight-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.highlight-link:hover {
    opacity: 0.85;
}

.highlight-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Footer Section */
.footer-text {
    font-size: 0.95rem;
    color: #555555;
    max-width: 450px;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for spacing on shorter viewports */
@media (max-height: 680px) {
    .logo-wrapper {
        margin-bottom: 24px;
    }

    .intro-text {
        margin-bottom: 32px;
    }

    .order-section {
        padding: 24px 0;
        margin-bottom: 32px;
    }
}

@media (max-height: 560px) {
    .logo-wrapper {
        margin-bottom: 16px;
    }

    .intro-text {
        margin-bottom: 20px;
    }

    .order-section {
        padding: 16px 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .logo {
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 300px;
    }

    .main-title {
        font-size: 2.2rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .sub-title {
        font-size: 1.3rem;
    }

    .contact-details {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .logo {
        max-width: 240px;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .intro-text,
    .contact-details,
    .footer-text {
        font-size: 0.9rem;
    }

    .sub-title {
        font-size: 1.15rem;
    }
}