@import url("https://fonts.googleapis.com/css2?family=Lora:ital@0;1&family=Poppins:wght@400;500;600&display=swap");

/* :root {
    --primary-color: #f5f4f2;
    --text-dark: #57534e;
    --text-light: #78716c;
    --white: #ffffff;
    --max-width: 1200px;
    --header-font: "Lora", serif;
} */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.section__container {
    max-width: 1200px;
    margin: auto;
    padding: 5rem 1rem;
}

img {
    width: 100%;
    display: flex;
}

a {
    text-decoration: none;
}

body {
    font-family: "Poppins", sans-serif;
}

nav {
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
}

.nav__links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.link a {
    font-weight: 500;
    color: #78716c;
    transition: 0.3s;
}

.link a:hover {
    color: #57534e;
}

.nav__logo {
    text-align: center;
    cursor: pointer;
}

.nav__logo img {
    margin: auto;
    max-width: 120px;
}

.nav__logo h4 {
    font-size: 1.5rem;
    font-family: "Lora", serif;
    letter-spacing: 2px;
    color: #57534e;
}

.nav__logo p {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: #78716c;
}

.dropdown-menu2 {
    display: none;
    position: absolute;
    background-color: #f5f4f2;
    padding: 0.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    list-style: none;
    z-index: 10;
}

.link:hover .dropdown-menu2 {
    display: block;
}

.dropdown-menu2 li {
    padding: 0.5rem 1rem;
    color: #57534e;
    cursor: pointer;
}

.dropdown-menu2 li:hover {
    color: #ffffff;
}

.link {
    position: relative;
}

.header__container {
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header__content h2 {
    font-size: 3.5rem;
    font-weight: 600;
    font-family: "Lora", serif;
    color: white;
    line-height: 1.2;
}

.simple-image-container {
    text-align: center;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    font-family: "Ethereal", "Baskerville Old Face", "Baskerville", serif;
}

.simple-image-container img {
    width: 800px;
    height: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    align-self: center;
}

.simple-image-container .header-button-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.simple-image-container h2 {
    font-size: 30px;
    font-weight: 200;
    line-height: 30px;
    margin-right: 20px;
    margin-bottom: 100px;
}

.simple-image-container button {
    color: #78716c;
    border: 2px solid #57534e;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    background-color: transparent;
    cursor: pointer;
    transition: color 0.3s, border-color 0.3s, transform 0.3s;
    margin-bottom: 100px;
}

.simple-image-container button:hover {
    color: white;
    border-color: rgb(27, 25, 25);
    background-color: #57534e;
    transform: scale(1.05);
}

.simple-image-container button:focus {
    outline: none;
}

.popup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #fff;
    max-width: 800px;
    display: flex;
    flex-direction: row;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    width: 90%;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.popup-image img {
    width: 100%;
    height: 400px;
    width: 400px;
    object-fit: contain;
    padding-left: 10px;
    margin-top: 30px;
}

.popup-text {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.popup-text h2 {
    margin-top: 5px;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.border {
    color: #57534e;
    border: 1px solid #78716c;
    border-left: none;
    border-top: none;
    border-right: none;
}

.popup-text h3 {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
    color: #57534e;
}

.popup-text ul {
    color: #57534e;
    list-style: disc;
    margin-left: 20px;
    border: 1px solid #78716c;
    border-left: none;
    border-top: none;
    border-right: none;
}

.popup-text li {
    margin-bottom: 0.5rem;
}

.cta-btn {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #78716c;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
}

.cta-btn:hover {
    background-color: #57534e;
}

.guarantee {
    font-size: 0.9rem;
    color: gray;
    margin-top: 1rem;
    text-align: center;
}

.footer {
    margin-top: 2rem;
    position: relative;
    background-color: #f5f4f2;
}

.footer__container {
    text-align: center;
}

.footer__container img {
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: 150px;
}

.footer__container h4 {
    max-width: 600px;
    margin: auto;
    margin-bottom: 3rem;
    font-size: 3rem;
    font-weight: 400;
    font-family: "Lora", serif;
    color: #57534e;
}

.footer__container p {
    max-width: 1000px;
    margin: auto;
    margin-bottom: 2rem;
    color: #78716c;
}

.footer__container button {
    padding: 1rem 2rem;
    outline: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #78716c;
    background-color: #ffffff;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 30px;
}

.footer__container button:hover {
    color: white;
    background-color: #57534e;
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.footer__bar {
    padding: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: white;
    background-color: black;
}

/* Mobile-first base */
.container {
    width: 100%;
    padding: 0 15px;
}

/* Tablet */
@media (min-width: 768px) {
    .container {
        max-width: 750px;
        margin: 0 auto;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
    }
}

/* Images responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Hide desktop nav, show hamburger on mobile */
@media (max-width: 767px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }
}