/* ==========================================================================
   Thomas Schuh Möbelschreinerei - Landing Page Styles
   ========================================================================== */

/* Color Variables */
:root {
    --color-primary-blue: #0A3A73;
    --color-dark-blue: #002855;
    --color-pink: #E6007E;
    --color-dark-pink: #B3005F;
    --color-black: #000000;
    --color-gray: #999999;
    --color-white: #FFFFFF;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.5;
    color: var(--color-black);
    background-color: var(--color-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

address {
    font-style: normal;
}

/* ==========================================================================
   Landing Page Layout
   ========================================================================== */

.landing {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    width: 100%;
}

/* ==========================================================================
   Content Section
   ========================================================================== */

.content {
    flex: 1;
    max-width: 500px;
}

/* Header */
.header {
    margin-bottom: 1.5rem;
}

.name {
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-black);
    margin-bottom: 0.5rem;
}

.title-bar {
    background-color: var(--color-primary-blue);
    display: inline-block;
    padding: 0.5rem 1.6rem 0.5rem 0.75rem;
    margin-left: -1rem;
    padding-left: 1rem;
}

.title {
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
}

/* Contact Information */
.contact {
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 700;
    line-height: 1.8;
}

.contact p {
    margin-bottom: 0.25rem;
}

.address {
    font-variant: small-caps;
    letter-spacing: 0.05em;
}

.address a {
    color: var(--color-black);
}

.address a:hover,
.address a:focus {
    color: var(--color-primary-blue);
}

.phone {
    font-variant: small-caps;
    letter-spacing: 0.05em;
}

.email a {
    color: var(--color-black);
    font-weight: 700;
}

.email a:hover,
.email a:focus {
    color: var(--color-primary-blue);
}

.phone a {
    color: var(--color-black);
}

.phone a:hover,
.phone a:focus {
    color: var(--color-primary-blue);
}

/* ==========================================================================
   Logo Section
   ========================================================================== */

.logo-container {
    flex-shrink: 0;
    margin-left: -110px;
}

.logo {
    width: 220px;
    height: auto;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet */
@media screen and (max-width: 768px) {
    body {
        padding: 1.5rem;
    }

    .landing {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .content {
        max-width: 100%;
    }

    .title-bar {
        margin-left: 0;
        padding: 0.4rem 1.5rem;
    }

    .logo-container {
        margin-left: 0;
    }

    .logo {
        width: 180px;
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    body {
        padding: 1rem;
    }

    .landing {
        gap: 1rem;
    }

    .header {
        margin-bottom: 1rem;
    }

    .name {
        font-size: 1.75rem;
    }

    .title {
        font-size: 1rem;
    }

    .title-bar {
        padding: 0.3rem 1rem;
    }

    .contact {
        font-size: 0.9rem;
    }

    .logo {
        width: 150px;
    }
}

/* Small Mobile */
@media screen and (max-width: 360px) {
    .name {
        font-size: 1.5rem;
    }

    .title {
        font-size: 0.875rem;
        letter-spacing: 0.1em;
    }

    .contact {
        font-size: 0.85rem;
    }

    .logo {
        width: 120px;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    body {
        background: none;
        padding: 0;
    }

    .landing {
        max-width: 100%;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: var(--color-gray);
    }
}
