/* ============================================
   CSS Custom Properties (Variabili)
   ============================================ */
:root {
    /* Colori */
    --color-primary: #000000;
    --color-background: #ffffff;
    --color-border: #707070;
    
    /* Font */
    --font-bold: 'Univers LT 67 Condensed Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-regular: 'Univers LT 57 Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    
    /* Spacing */
    --spacing-xs: 10px;
    --spacing-sm: 15px;
    --spacing-md: 40px;
    --spacing-lg: 50px;
    --spacing-xl: 60px;
    
    /* Typography */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-lg: 24px;
    --text-xl: 32px;
    --letter-spacing-wide: 0.25em;
    --letter-spacing-wider: 0.3em;
}

/* ============================================
   Font Face
   ============================================ */
@font-face {
    font-family: 'Univers LT 67 Condensed Bold';
    src: url('Schriften/Schrift/Univers LT 67 Condensed Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Univers LT 57 Condensed';
    src: url('Schriften/Schrift/Univers LT 57 Condensed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-bold);
    background-color: var(--color-background);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    text-decoration: underline;
}

/* ============================================
   Layout - Container
   ============================================ */
.container {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    width: 100%;
    max-width: 900px;
    min-height: 600px;
    position: relative;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

/* ============================================
   Components - Navigation
   ============================================ */
.nav {
    position: absolute;
    top: var(--spacing-xs);
    right: var(--spacing-sm);
}

.nav-link {
    font-family: var(--font-regular);
    font-size: var(--text-sm);
    letter-spacing: var(--letter-spacing-wider);
    text-transform: lowercase;
    color: var(--color-primary);
}

/* ============================================
   Components - Contact Info
   ============================================ */
.contact-info {
    position: absolute;
    top: 130px;
    left: var(--spacing-xs);
    font-family: var(--font-regular);
    font-size: var(--text-xs);
    line-height: 1.6;
    color: var(--color-primary);
}

.contact-info p {
    margin-bottom: 2px;
}

.contact-info br {
    display: block;
    content: "";
    margin-top: 12px;
}

/* ============================================
   Components - Main Message
   ============================================ */
.main-message {
    position: absolute;
    top: 120px;
    right: var(--spacing-lg);
    width: 55%;
    text-align: left;
}

.main-message h1,
.main-message p {
    font-size: var(--text-xl);
    font-weight: 700;
    letter-spacing: var(--letter-spacing-wide);
    color: var(--color-primary);
}

.main-message h1 {
    line-height: 1.4;
    margin-bottom: var(--spacing-md);
}

.main-message p {
    line-height: 1.5;
}

/* ============================================
   Components - Logo
   ============================================ */
.logo {
    position: absolute;
    bottom: var(--spacing-xs);
    left: var(--spacing-sm);
}

.logo-img {
    width: 145px;
    height: 45px;
}

/* ============================================
   Responsive - Mobile (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    .container {
        min-height: auto;
        padding: var(--spacing-md) 30px 80px;
    }

    .nav {
        position: relative;
        top: 0;
        right: 0;
        text-align: right;
        margin-bottom: var(--spacing-md);
    }

    .contact-info {
        position: relative;
        top: 0;
        left: -10px;
        margin-top: -55px;
        margin-bottom: var(--spacing-lg);
    }

    .main-message {
        position: relative;
        top: 10px;
        right: 0;
        left: -10px;
        width: 100%;
        margin-bottom: var(--spacing-xl);
    }

    .main-message h1,
    .main-message p {
        font-size: var(--text-lg);
    }

    .logo {
        position: relative;
        bottom: 0;
        left: -10px;
        margin-top: 170px;
        margin-bottom: -70px;
    }
}
