* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Quattrocento Sans", sans-serif;
    font-weight: 400;
    line-height: 1.25;
    font-style: normal;
}

html,
body {
    overflow-x: hidden;
}

.closeMenu {
    display: none;
}

::-moz-selection {
    /* Code for Firefox */
    background: #D4AF37;
}

::selection {
    background: #D4AF37;
}

:root {
    overscroll-behavior: none;
}

.newsletter-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    /* Controls spacing between title and lines */
}

.line {
    flex-grow: 1;
    height: 1px;
    background-color: #7a5344;
    border: none;
}

.site-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

body {
    margin-right: auto;
    margin-left: auto;

    /* Paper background */
    background: #3C201A;
    position: relative;
    min-height: 100vh;
    color: #E2C9A5;
}

body::before {
    content: "";
    position: fixed;
    /* stays in place while scrolling */
    inset: 0;
    background: url('Images/paperTexture.jpg') repeat;
    opacity: 0.8;
    /* adjust texture visibility */
    mix-blend-mode: multiply;
    pointer-events: none;
    /* lets you click through */
    z-index: -1;
    /* stays behind all content */
}

/* Menu bar */

.logo {
    color: #E2C9A5;
    text-decoration: none;
    white-space: nowrap;
}

.logo h1 {
    font-family: "Cinzel Decorative", serif;
    font-weight: 400;
    font-size: clamp(28px, 6vw, 48px);
}

.logo span {
    color: #D4AF37;
    font-family: "Cinzel Decorative", serif;
    font-weight: 400;
    font-size: clamp(28px, 6vw, 48px);
}

nav {
    display: flex;
    padding: 45px 35px 0px 35px;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: inline-block;
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    font-size: 36px;
    color: #E2C9A5;
}

nav ul li a:hover {
    color: #C5847C;
}

/* Home */

.heroSection {
    min-height: 100vh;
}

.container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 85vh;
}

.container img {
    max-width: 450px;
    filter: drop-shadow(-13px 13px 42px rgba(42, 0, 0, 0.24));
}

.description {
    max-width: 560px;
}

.description p {
    border: 2px solid #AB7751;
    /* main border */
    outline: 2px solid #AB7751;
    /* outer border */
    outline-offset: 3px;
    /* space between borders */
    padding: 20px;
    border-radius: 0;
    text-align: center;
    font-size: 30px;
}

.buttons {
    margin-top: 30px;
    display: flex;
    justify-content: space-around;
}

.btn {
    padding: 10px 50px;
    border: 2px solid #AB7751;
    /* main border */
    outline: 2px solid #AB7751;
    /* outer border */
    outline-offset: 3px;
    /* space between */
    text-decoration: none;
    color: #E2C9A5;
    font-size: 30px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #AB7751;
    color: #3C201A;
    border-color: #AB7751;
}

/* Originals */

.originalsSection {
    padding: 0px 75px;
    margin-bottom: 120px;
}

.titleRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 40px;
    margin-bottom: 35px;
    border-bottom: 1px solid #7a5b3e;
    padding-bottom: 15px;
}

.btn_more {
    padding: 10px 50px;
    border: 2px solid #AB7751;
    /* main border */
    /* outer border */
    outline-offset: 3px;
    /* space between */
    text-decoration: none;
    color: #E2C9A5;
    font-size: 30px;
    transition: all 0.3s ease;
}

.btn_more:hover {
    background-color: #AB7751;
    color: #3C201A;
    border-color: #AB7751;
}

.originalsItems {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.originalItem img {
    max-width: 350px;
    width: 100%;
    /* outer border */
    transition: transform 0.5s ease;
    border: 2px solid #AB7751;
    /* main border */
    outline: 2px solid #AB7751;
    /* outer border */
    outline-offset: 3px;
    padding: 5px;
}

.originalItem:hover img {
    transform: scale(1.05);
}

/* Blog */

.blogItems {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.blogItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.blogItem:hover {
    transform: translateY(-5px);
}

.blogItem a {
    text-decoration: none;
}

.blogItem img {
    max-width: 350px;
    width: 100%;
    outline: 2px solid #AB7751;
    /* outer border */
    outline-offset: 2px;
    transition: transform 0.5s ease;
}

.blogItem:hover img {
    transform: scale(1.05);
}

.blogInfo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
    flex: 1;
    padding: 17px 0;
    font-size: 26px;
    width: 100%;
    box-sizing: border-box;
}

.blogInfo h3 {
    margin: 0;
    font-size: 1rem;
    color: #e2c9a5;
}

.date {
    text-align: right;
    font-size: 14px;
    color: #a37b5b;
    text-decoration: none; /* removes underline */
}

/* Responsive adjustments */
@media (max-width: 1000px) {

    .blogItem img {
        max-width: 300px;
    }
}

@media (max-width: 700px) {
    .blogItem img {
        max-width: 100%;
    }

    .blogInfo {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Newsletter */
.newsletterSection h2 {
    font-size: 44px;
    text-align: center;
    margin-bottom: 10px;
    color: #e2c9a5;
    position: relative;
}


.newsletter-title::before {
    left: 0;
}

.newsletter-title::after {
    right: 0;
}


.newsletterSection p {
    font-size: 30px;
    text-align: center;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.newsletter-form-row-top {
    display: flex;
    align-items: center;
    gap: 20px;
}

.newsletter-form-row-bottom {
    display: flex;
    align-items: center;
    gap: 20px;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
    background: transparent;
    border: 2px solid #AB7751;
    color: #E2C9A5;
    padding: 5px 12px;
    font-size: 30px;
    width: 330px;
    font-family: inherit;
    text-align: left;
    outline: none;
    transition: 0.3s;
}

.newsletter-form input[type="email"] {
    width: 450px;
}

.newsletter-form input::placeholder {
    color: #E2C9A5;
    opacity: 0.5;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    -webkit-text-fill-color: #E2C9A5;
}

.newsletter-form input[type="text"]:focus,
.newsletter-form input[type="email"]:focus {
    border-color: #D4AF37;
}

.newsletter-form button {
    background: transparent;
    border: 2px solid #AB7751;
    color: #E6CBA8;
    padding: 5px 43px;
    font-size: 28px;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
}

.newsletter-form button:hover {
    background-color: #AB7751;
    color: #3C201A;
}


/* Footer */

footer {
    border-top: 1px solid #7a5b3e;
    padding: 0px 0px 35px 0px;
    margin-top: 50px;
}

footer .footerBar {
    display: flex;
    padding: 18px 0 0 0;
    justify-content: center;
}

footer ul {
    list-style-type: none;
}

footer ul li {
    display: inline-block;
    margin: 0 20px;
}

footer ul li a {
    text-decoration: none;
    font-size: clamp(18px, 2.5vw, 22px);
    color: #E2C9A5;
}

footer ul li a:hover {
    color: #C5847C;
}

footer p {
    text-align: center;
    margin-top: 10px;
    font-size: clamp(20px, 2.5vw, 26px);
    color: #E2C9A5;
}

@media screen and (max-width: 1200px) {
    nav {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 45px 35px 0px 35px;
        justify-content: space-between;
        align-items: center;
    }

    .container {
        padding: 50px;
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    /* === Hamburger Icon === */
    .hamburger {
        display: none;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background-color: #7a5344;
        display: block;
        transition: all 0.3s ease;
    }
}

@media screen and (max-width: 1000px) {
    .originalsItems {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .blogItems {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .titleRow {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .titleRow h2 {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 45px 35px 0px 35px;
        background-color: transparent;
        position: relative;
        z-index: 10;
    }

    .menuBar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #3C201A;
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        z-index: 9999;
        padding: 0 20px;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .closeMenu {
        display: block;
        position: absolute;
        top: 40px;
        right: 55px;
        font-size: 68px;
        background: none;
        border: none;
        color: #E2C9A5;
        cursor: pointer;
        z-index: 10000;
        transition: color 0.3s ease;
    }

    .closeMenu:hover {
        color: #D4AF37;
    }

    .menuBar ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .menuBar li {
        margin: 20px 0;
    }

    .menuBar li a {
        font-size: 36px;
        color: #E2C9A5;
        text-decoration: none;
    }

    .menuBar li a:hover {
        color: #C5847C;
    }


    .menuBar.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .menuBar:not(.active) {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .newsletter-form-row-top {
        flex-direction: column;
    }

    .newsletter-form-row-bottom {
        flex-direction: column;
    }

    .newsletter-title {
        padding: 0px 15px;
    }

    .newsletterContainer p {
        padding: 0px 15px;
    }

    .newsletter-form input[type="email"] {
        width: 330px;
    }

    .container {
        padding: 20px;
    }

    .container img {
        max-width: 100%;
        height: auto;
    }
}