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

body {
    font-family: "Montserrat", sans-serif;
    color: white;
}

:root {
    --info-height: 260px; /* reserved space so .info is visible without scrolling */
}

body {
    background: black;
}

/* HERO */

.hero {
    /* reduce hero so the info section fits in the viewport */
    height: calc(100vh - var(--info-height));
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.65)),
        url("../images/coffee.jpg") center/cover no-repeat;
    position: relative;
    overflow: hidden; /* crop background if necessary */
}

/* NAVBAR */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 60px;
}

.logo {
    display: block;
}

.logo-img {
    width: 140px;
    height: auto;
    display: block;
}

.call-btn {
    text-decoration: none;
    color: black;
    background: white;
    padding: 8px 18px;
    font-size: 22px;
    transition: 0.3s;
}

.call-btn:hover {
    background: #ddd;
}

.click-link {
    text-decoration: none;
    color: white;
    background: transparent;
    padding: 4px 8px;
    font-size: 22px;
    transition: 0.3s;
}

.click-link:hover {
    background: #333;
}

/* HERO CONTENT */

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero-content h1 {
    font-size: 102px;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 30px;
}

.hero-content button {
    padding: 12px 28px;
    border: none;
    background: white;
    color: black;
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s;
}

.hero-content button:hover {
    background: #ddd;
}

/* INFO SECTION */

.info {
    background: black;
    padding: 20px 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.info-box h3 {
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 22px;
}

.info-box p {
    margin: 5px 0;
    opacity: 0.8;
    font-size: 20px;
}

.info-box p a {
    /* Make links in footer more obvious */
    text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .hero-content h1 {
        font-size: 67px;
    }

    .info {
        flex-direction: column;
        gap: 40px;
    }

    nav {
        padding: 20px 30px;
    }

}

/* Smaller adjustments for narrow mobile devices */
@media (max-width: 480px) {

    .hero-content h1 {
        display: none; /* hide the paragraph on very small screens */
    }

    .hero-content p {
        display: none; /* hide the paragraph on very small screens */
    }

    .hero-content button {
        display: none; /* hide the paragraph on very small screens */
    }

}
