@font-face {
    font-family: 'Roca';
    src: url('assets/fonts/Roca-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roca';
    src: url('assets/fonts/Roca-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Roca';
    src: url('assets/fonts/Roca-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

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

body {
    font-family: 'Roca', Georgia, serif;
    background-color: #F5D5B8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(60px, 10vw, 120px) 20px 0;
    position: relative;
    padding-bottom: 0;
}

header {
    text-align: center;
    max-width: 900px;
    margin-bottom: 0;
    z-index: 2;
}

.logo {
    width: min(455px, 90vw);
    height: auto;
    margin-bottom: clamp(40px, 8vw, 80px);
}

h1.tagline,
.tagline {
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.25;
    color: #4a3f35;
    margin-bottom: clamp(40px, 8vw, 80px);
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: clamp(16px, 2vw, 20px) clamp(30px, 4vw, 50px);
    font-size: clamp(18px, 2vw, 22px);
    font-family: 'Roca', Georgia, serif;
    font-weight: 400;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.btn-primary {
    background-color: #1A3E52;
    color: white;
}

.btn-primary:hover {
    background-color: #0F2A3A;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #1A3E52;
    border: 2px solid #1A3E52;
}

.btn-secondary:hover {
    background-color: #1A3E52;
    color: white;
    transform: translateY(-2px);
}

.illustration {
    width: min(500px, 100vw);
    height: auto;
    margin-top: 0;
    align-self: flex-start;
    position: relative;
    left: 0;
    margin-left: max(-20px, -5vw);
}

.illustration img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

footer {
    background-color: #0a2e4d;
    padding: 60px 0;
    padding-top: clamp(80px, 12vw, 150px);
    margin-top: auto;
    margin-bottom: 0;
    width: 100%;
    overflow: hidden;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fce6cc;
    padding: 0 40px;
    width: 100%;
}

.footer-logo {
    width: 180px;
    height: auto;
    flex-shrink: 0;
    margin-right: auto;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: right;
    margin-left: auto;
}

.footer-item {
    display: flex;
    flex-direction: column;
}

.footer-label {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 2px;
    color: #fce6cc;
}

.footer-value {
    font-size: 18px;
    font-weight: 50;
    color: rgba(252, 230, 204, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

a.footer-value:hover {
    color: #fce6cc;
}

/* Dialog styles */
dialog {
    border: none;
    border-radius: 20px;
    padding: 0;
    max-width: 700px;
    width: 90%;
    background-color: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.dialog-content {
    padding: 50px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    background-color: #f0f0f0;
}

dialog h2 {
    font-size: 32px;
    color: #1A3E52;
    margin-bottom: 20px;
    font-weight: 700;
}

dialog h3 {
    font-size: 24px;
    color: #1A3E52;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

dialog p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

dialog ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

dialog li {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

dialog li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1A3E52;
    font-weight: bold;
}

dialog strong {
    color: #1A3E52;
    font-weight: 700;
}

/* Tablet and smaller screens */
@media (max-width: 1024px) {
    .footer-content {
        padding: 0 30px;
    }

    .footer-logo {
        margin-right: auto;
    }

    .footer-info {
        margin-left: auto;
    }
}

/* Mobile responsive design */
@media (max-width: 768px) {
    h1.tagline,
    .tagline {
        font-size: 29px;
    }

    .buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        min-width: auto;
    }

    .illustration {
        width: min(350px, 90vw);
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
        padding: 0 20px;
    }

    .footer-logo {
        width: 150px;
        margin: 0 auto;
    }

    .footer-info {
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }

    .dialog-content {
        padding: 30px 25px;
    }

    dialog {
        width: 95%;
        max-width: none;
    }

    dialog h2 {
        font-size: 26px;
    }

    dialog h3 {
        font-size: 22px;
    }

    dialog p,
    dialog li {
        font-size: 16px;
    }
}

    .footer-label,
    .footer-value {
        font-size: 16px;
    }

/* Small mobile screens */
@media (max-width: 480px) {
    .buttons {
        max-width: 280px;
        gap: 12px;
    }

    .illustration {
        width: min(280px, 85vw);
    }

    .footer-logo {
        width: 120px;
    }

    .footer-label,
    .footer-value {
        font-size: 14px;
    }

    .dialog-content {
        padding: 20px 15px;
    }

    dialog {
        width: 95%;
        margin: 10px;
    }

    dialog h2 {
        font-size: 22px;
    }

    dialog h3 {
        font-size: 18px;
    }

    dialog p,
    dialog li {
        font-size: 14px;
    }

    .close-btn {
        font-size: 28px;
        width: 35px;
        height: 35px;
    }
}

/* Very small mobile screens */
@media (max-width: 360px) {
    .buttons {
        max-width: 260px;
    }

    .illustration {
        width: min(220px, 80vw);
    }

    .footer-logo {
        width: 100px;
    }

    .footer-label,
    .footer-value {
        font-size: 12px;
    }
}