/* montserrat-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/montserrat-v30-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/montserrat-v30-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/montserrat-v30-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

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

/* Text styles */
.text-h1 {
    font-size: 4rem;
    color: white;
}

.text-h2 {
    font-size: 2.3rem;
    color: darkblue;
}

.text-h3 {
    font-size: 1.5rem;
    color: rgba(0, 0, 0, 0.8);
}

.text-body1 {
    font-size: 1.2rem;
    color: white;
    margin-top: 1.2rem;
    line-height: 2rem;

}

.text-body2 {
    font-size: 1rem;
    margin-top: .8rem;
    line-height: 1.8rem;
    max-width: 1200px;
}

.subheading {
    font-size: 1rem;
    color: gray;
    margin-top: 1.5rem;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

@media (max-width: 1010px) {
    .text-h1 {
        font-size: 2.4rem;
    }
    .text-h2 {
        font-size: 2rem;
    }
    .text-body1 {
        font-size: 1rem;
        line-height: 1.8rem;
    }
    .text-body2 {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .text-h1 {
        font-size: 1.8rem;
    }
    .text-h2 {
        font-size: 1.5rem;
    }
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
header {
    background: #FFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    position: relative;
    width: 100%;
}

.logo img {
    width: 115px;
    height: auto;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: darkblue;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    font-size: 1.2rem;
    font-weight: 500;
    color: gray;
    text-decoration: none;
}

.nav-menu a:hover {
    color: darkblue;
    text-decoration: underline;
}

.nav-menu a[aria-current="page"] {
    color: darkblue;
    font-weight: bold;
}

.nav-menu .contact-btn {
    background: skyblue;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: white;
    transition: background 0.3s ease;
}

.nav-menu .contact-btn:hover {
    background: darkblue;
    color: white;
    text-decoration: none;
}

.nav-menu .contact-btn[aria-current="page"] {
    background: darkblue;
    font-weight: bold;
    text-decoration: none;
}

@media (max-width: 1010px) {
    .nav-menu a {
        font-size: 1rem;
    }

    .logo img {
        width: 90px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: row;
        align-items: center;
    }
    .hamburger {
        display: block;
    }
    .nav-menu {
        display: none;

    }
    .nav-menu.active {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 2rem 1.5rem;
        z-index: 20;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: white;
    }
    .nav-menu a {
        padding: 0;
    }
    .nav-menu .contact-btn {
        background: none;
        padding: 0;
        border-radius: 0;
        color: gray;
        transition: none;
    }

    .nav-menu .contact-btn:hover {
        background: none;
        color: darkblue;
        text-decoration: underline;
    }
}

/* Main content styles */
main {
    display: flex;
    flex-direction: column;
}

/* Footer styles */
footer {
    bottom: 0;
    width: 100%;
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem 1.5rem;
}


.responsive-padding {
    margin: 2rem 8rem;
}

@media (max-width: 1010px) {
    .responsive-padding {
        margin: 2rem 3rem;
    }
}

@media (max-width: 768px) {
    .responsive-padding {
        margin: 2rem 1.5rem;
    }
}

/* Hero section styles */
.hero {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    padding: 0 3rem;
    margin-bottom: 1.5rem;
}

.hero-overlay {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
    z-index: 2;
    padding: 4rem 0;
}

.hero-content p {
    max-width: 500px;
}

.hero picture,
.hero-image {
    align-self: flex-end; /* push the image to the bottom of the hero */
}

.hero-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    z-index: 0;
}

.hero-buttons {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.button {
    padding: 1rem 2rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: bold;
    color: white;
    transition: background 0.3s ease;
}

.primary-button {
    background: darkblue;
}

.primary-button:hover {
    background: skyblue;
}

.secondary-button {
    background: transparent;
    color: white;
    border: 3px solid darkblue;
}

.secondary-button:hover {
    background: skyblue;
    border: 3px solid skyblue;
}

@media (max-width: 1200px) {
    .hero-image {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: contain;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 0;
        margin-bottom: 0;
    }

    .hero-content {
        max-width: 100%;
        padding: 0;
    }

    .hero-image {
        max-height: 250px;
    }

    .button {
        padding: 0.75rem 1.5rem;
    }
}