/* Custom Fonts */
@font-face {
    font-family: 'Italian Plate Space';
    src: url('../assets/Italian Plate Space Playtype.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Italian Plate Space';
    src: url('../assets/Italian Plate Space Bold Playtype.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

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

:root {
    /* Brand Colors - matching the blue from design */
    --primary-blue: #2E5C8A;
    --brand-background: #3058a0;
    --text-color: #000000;
    --background-white: #FDF9F2;

    /* Typography */
    --font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --letter-spacing-tight: -0.02em;

    /* Spacing */
    --content-max-width: 1200px;
    --section-padding: 60px;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    font-weight: var(--font-weight-normal);
    color: var(--text-color);
    background-color: var(--background-white);
    letter-spacing: var(--letter-spacing-tight);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Section */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--section-padding) var(--section-padding) 40px;
    max-width: var(--content-max-width);
    width: 100%;
    margin: 0 auto;
}

.logo img {
    width: 80px;
    height: 80px;
    display: block;
}

.company-name {
    font-family: 'Italian Plate Space', sans-serif;
    font-size: 32px;
    font-weight: normal;
    letter-spacing: -0.03em;
    text-align: right;
    line-height: 1.2;
}

/* Main Content Section */
.content {
    padding: 0 var(--section-padding) 5px;
    max-width: var(--content-max-width);
    width: 100%;
    margin: 0 auto;
}

.description {
    font-size: 18px;
    line-height: 1.3;
    text-align: justify;
    max-width: 600px;
    margin-bottom: 25px;
    font-weight: var(--font-weight-normal);
}

.email-link {
    display: inline-block;
    font-size: 18px;
    color: var(--text-color);
    text-decoration: underline;
    font-weight: var(--font-weight-normal);
    margin-bottom: 20px;
    transition: opacity 0.2s ease;
}

.email-link:hover {
    opacity: 0.7;
}

.divider {
    width: 100%;
    height: 0;
    border-bottom: 2px dashed var(--text-color);
    margin-top: 20px;
    margin-bottom: 40px;
}

/* Brand Block */
.brand-block {
    width: 100%;
    min-height: 400px;
    background-color: var(--brand-background);
    flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 30px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .company-name {
        text-align: left;
        font-size: 28px;
    }

    .logo img {
        width: 60px;
        height: 60px;
    }

    .description {
        font-size: 16px;
        text-align: left;
    }

    .email-link {
        font-size: 16px;
    }

    .brand-block {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 20px;
    }

    .company-name {
        font-size: 24px;
    }

    .description {
        font-size: 15px;
    }

    .brand-block {
        min-height: 250px;
    }
}

/* Print Styles */
@media print {
    .brand-block {
        min-height: 200px;
        page-break-inside: avoid;
    }
}
