/* General styles */
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

@font-face {
    font-family: "PPEditorialNewUltraLightItalic";
    src: url("Typefaces/PPEditorialOld-UltralightItalic.otf");
}

@font-face {
    font-family: "PPEditorialOldUltraBold";
    src: url("Typefaces/PPEditorialOld-Ultrabold.otf");
}

@font-face {
    font-family: "PPEditorialNewItalic";
    src: url("Typefaces/PPEditorialNew-Italic.otf");
}

@font-face {
    font-family: "PPEditorialNewRegular";
    src: url("Typefaces/PPEditorialNew-Regular.otf");
}

body {
    margin: 0;
    padding: 0;
    background-color: #DFDAC8;
}

/* Header Styles */
.header {
    background-color: #F9F8F3;
    color: #412A1A;
    padding: 10px 140px 10px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 110px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 50px;
}

.nav-links a {
    color: #412A1A;
    text-decoration: none;
    padding: 10px;
    font-family: "PPEditorialNewItalic";
}

.nav-links a:hover {
    color: #9C5738;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.line {
    width: 30px;
    height: 4px;
    background-color: #412A1A;
    margin: 5px;
}

/* Menu Styles */
.menu {
    background-color: #F9F8F3;
    color: #412A1A;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    padding-top: 90px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.menu ul {
    list-style-type: none;
    padding: 0;
}

.menu ul li {
    padding: 20px 0;
    margin: 60px auto;
    text-align: center;
}

.menu ul li a {
    color: #412A1A;
    text-decoration: none;
    font-size: 24px;
}

.menu.active {
    transform: translateX(0);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 54px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: #412A1A;
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .header {
        padding: 10px 20px;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 999;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 50%; 
        transform: translateY(-50%); 
        background-color: #F9F8F3;
        width: 100%;
        height: 100vh;
        left: 0;
        padding: 20px 0; 
        box-sizing: border-box;
        z-index: 998;
        overflow-y: auto;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        padding: 10px 0;
    }

    .hamburger-menu {
        display: flex;
        position: absolute;
        top: 25px;
        right: 60px;
    }
}

/* Page Styles */
.title {
    max-width: 73%;
    margin: 0 auto;
    padding: 20px 0;
}

.title h2 {
    font-family: "PPEditorialOldUltraBold";
    font-size: 48px;
    color: #412A1A;
    text-align: center;
}

.title p {
    font-family: "PPEditorialNewItalic";
    font-size: 18px;
    color: #412A1A;
    text-align: center;
    font-weight: lighter;
}

.content {
    width: 65%;
    margin: 0 auto;
    padding: 50px;
    background-color: #412A1A;
    -webkit-box-shadow: 5px 5px 9px 5px rgba(0,0,0,0.44);
    box-shadow: 5px 5px 9px 5px rgba(0,0,0,0.44);
    border-radius: 20px;
}

div.elem-group {
    margin: 20px 0;
}

div.elem-group.inlined {
    width: 49%;
    display: inline-block;
    float: left;
    margin-left: 1%;
}

label {
    display: block;
    font-family: "PPEditorialNewRegular";
    padding-bottom: 10px;
    font-size: 1.25em;
    color: #F0EADE;
}

input, select, textarea {
    border-radius: 2px;
    border: 2px solid #777;
    box-sizing: border-box;
    font-size: 14px;
    font-family: "Mulish";
    width: 100%;
    padding: 10px;
    font-style: italic;
    background-color: #DFDAC8;
}

div.elem-group.inlined input {
    width: 95%;
    display: inline-block;
}

textarea {
    height: 250px;
}

hr {
    border: 1px solid #F9F8F3;
}

.btn {
    text-align: center;
    padding-top: 30px;
}

button {
    display: inline-block;
    padding: 10px 120px;
    border: 2px solid #412A1A; 
    border-radius: 8px; 
    background-color: #F9F8F3; 
    color: #412A1A; 
    font-size: 16px; 
    cursor: pointer;
    font-family: "Helvetica";
    transition: background-color 0.3s, color 0.3s; 
    text-decoration: none;
}

button:hover {
    background-color: #4A4638; 
    color: #F9F8F3; 
}

.space {
    margin: 50px 0px;
}

@media only screen and (max-width: 768px) {
    .title {
        max-width: 100%;
        margin: 0 auto;
        padding: 10px;
    }

    .title h2 {
        font-family: "PPEditorialOldUltraBold";
        font-size: 48px;
        margin-top: 120px;
    }

    .title p {
        font-family: "PPEditorialNewItalic";
        font-size: 14px;
        color: #412A1A;
        text-align: center;
        font-weight: lighter;
    }

    .content {
        width: 90%;
        margin: 0 auto;
        padding: 30px 10px;
    }

    .elem-group {
        margin: 10px 0;
    }

    .elem-group.inlined {
        width: 100%;
        display: block;
        float: none;
        margin-left: 0;
    }

    input, select, textarea {
        font-size: 14px;
        padding: 8px;
    }

    hr {
        border: 1px solid #F9F8F3;
    }

    .btn {
        text-align: center;
        padding-top: 20px;
    }

    button {
        padding: 10px 70px; 
    }
}

/* Footer Styles */
footer {
    background-color: #1F1F1F;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.middle-section,
.bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-left: 300px;
}

.footer-links-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-right: 300px;
}

.footer-links-left a,
.footer-links-right a {
    color: #B0B2AD;
    font-family: "PPEditorialNewRegular";
    text-decoration: none;
    margin-bottom: 15px;
    text-align: center;
}

.footer-links-left a:hover,
.footer-links-right a:hover {
    color: #FFFFFF;
    text-decoration: none;
    margin-bottom: 15px;
    text-align: center;
}

.footer-logo img {
    display: block;
    margin: 0 auto;
    flex: 0 0 auto;
    width: 120px;
}

.social-media {
    text-align: center;
    flex-grow: 1; 
    display: flex;
    justify-content: center; 
}

.social-media img {
    width: 60px;
    margin: 40px 20px 0px;
}

.ig-icon:hover img {
    content: url("Images/icons-03.png"); 
}

.tt-icon:hover img {
    content: url("Images/icons-02.png"); 
}

.fb-icon:hover img {
    content: url("Images/icons-04.png"); 
}

.copyright {
    text-align: center;
    margin-top: 20px;
    flex-grow: 1; 
    display: flex;
    justify-content: center; 
    font-family: "Helvetica Light";
    color: #B0B2AD;
    font-size: 13px;
}

.social-media a {
    margin-right: 10px;
}

.back-to-topp {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
}

.bottom-section {
    align-items: center;
}

@media screen and (max-width: 768px) {
    .top-section .middle-section,
    .bottom-section {
        flex-direction: row;
        align-items: center;
    }

    .middle-section,
    .bottom-section {
        flex-direction: column;
        align-items: center;
    }

    .footer-links-left,
    .footer-links-right {
        flex-direction: column;
        justify-content: center;
        margin-left: 0;
        margin-right: 0;
    }

    .footer-links-left,
    .footer-links-right,
    .footer-logo {
        margin-bottom: 15px;
    }
}
