/* ---------- Base Variables & Global Styles ---------- */
:root {
    --primary-color: #bd724a;
    --secondary-color: #6c584c;
    --text-color: #2e1f15;
    --bg-color: #f4e4d4;
    --accent-bg: #745644;
  }


  * {
    box-sizing: border-box;
    margin: 0;
    Padding: 0;
    font-family: 'Host Grotesk', Courier, monospace;
}
/* ---------- Base Variables & Global Styles ---------- */

.navbar {
    background-color: var(--accent-bg);
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 5px 4px 0 rgba(0,0,0,.2);
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    padding: 0 10px 0 0;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.navbar__title {
    display: none;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    height: 100%;
    align-items: center;
    width: 200px; /* Set a width to allow text wrapping */
    line-height: 1.2; 
    z-index: 1001;
}


#navbar__logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    text-decoration: none;
    height: 80px;
    width: 170px; /* Adjusted to accommodate 110x110 logo */
    padding: 0;
    margin-left: 0;
    transition: all 0.4s ease;

}

#navbar__logo img {
    width: 110px; /* Set to exactly 110px */
    height: 110px; /* Set to exactly 110px */
    object-fit: contain;
    margin: 0;
    padding: 0;
}

#navbar__logo:hover {
    transform: scale(1.05);
}

.fa-gem {
    margin-right: 0.5rem;
}

.navbar__item {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* change color*/
.navbar__links {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    font-weight: 600;
}

.navbar__links::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar__links:hover::after,
.navbar__links.active::after {
    width: 100%;
}

.navbar__links:hover {
    color: var(--text-color);
    font-weight: 700;
}

.navbar__links.active {
    font-weight: 700;
    color: var(--text-color);
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

/* Mobile menu improvements */
.navbar__toggle {
    display: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar__toggle .bar {
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: all 0.3s ease;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
    height: 100%;
}

@media screen and (max-width: 1330px) {
    #navbar__logo {
        width: auto;
        margin-left: 20px;
    }

    #navbar__logo img {
        width: 80px;
        height: auto;
    }
}

@media screen and (max-width: 630px) {
    .navbar__title {
        display: flex;
        position: absolute;
        left: 120px; /* Position to the right of the logo */
        top: 50%;
        transform: translateY(-50%);
    }

    
}

@media screen and (max-width: 768px) {
    .navbar__container {
        padding: 0 20px;
        position: relative;
    }

    .navbar__toggle {
        display: block;
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        z-index: 1000;
    }

    .navbar__toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: #fff;
        transition: all 0.3s ease;
    }

    .navbar__toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .navbar__toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .navbar__toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .navbar__menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px 0;
        flex-direction: column;
        text-align: center;
        min-height: calc(100vh - 80px);
        z-index: 998;
    }

    .navbar__menu.active {
        display: flex;
    }

    .navbar__item {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar__links {
        width: 100%;
        padding: 1rem;
        color: #fff;
    }

    .navbar__links:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    #navbar__logo {
        width: auto;
        margin-left: 20px;
    }

    #navbar__logo img {
        width: 80px;
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    #navbar__logo img {
        width: 70px;
        height: auto;
    }
    
    .navbar__container {
        padding: 0 15px;
    }
}

.footer {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 20px;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: auto;
    bottom: 0;
    left: 0;
    right: 0;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-bg);  /* footer color */
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 50px;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .footer-content {
        justify-content: center;
        padding: 30px 20px;
    }
    
    .newsletter {
        max-width: 100%;
        padding: 30px 20px;
    }
}

@media screen and (max-width: 480px) {
    .footer-content {
        padding: 20px 15px;
    }
    
    .newsletter {
        padding: 20px 15px;
    }
    
    .newsletter-title {
        font-size: 1.8rem;
    }
}
  
/* Newsletter Section */
.newsletter {
    text-align: center;
    background-color: var(--accent-bg); /* Matches footer background */
    padding: 40px 20px;
    border-radius: 20px; /* Rounded corners for the section */
    max-width: 600px;
    margin: 0 auto; /* Center the section */
}

.newsletter-label {
    font-size: 1rem;
    color: var(--bg-color); /* Light beige color for label */
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.8;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--bg-color); /* Matches beige text color */
    margin-bottom: 20px;
}

.email-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centers children horizontally */
    max-width: 600px;
    margin: 0 auto; /* Centers the container itself */
    padding: 1rem; /* Outer padding around the elements */
    border-radius: 40px;
    background-color: var(--bg-color);
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .email-input input {
    flex: 1;
    border: 1px solid var(--secondary-color);
    border-radius: 15px;
    padding: 12px;
    font-size: 1rem;
    color: var(--text-color);
    outline: none;
    text-align: center; /* Centers both placeholder and input text */
  }
  
  .email-input button {
    margin-left: 2rem; /* Spacing between inpt and button */
    background-color: var(--text-color);
    color: var(--bg-color);
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 1rem;
    display: block; /* Ensures the button behaves like a block element */
    text-align: center; /* Centers the text inside the button */
  }
  
  .email-input button:hover {
    background-color: var(--primary-color);
  }
  
#mc_embed_signup #mce-success-response {
    background-color:var(--primary-color); /* orange success message background */
    color: var(--bg-color); /* White text for success message */
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

#mc_embed_signup #mce-error-response {
    background-color: #ff6b6b; /* Red error message background */
    color: var(--bg-color); /* White text for error message */
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}
