* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Crimson Text",serif;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    flex-direction: column;
    margin: 0;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    z-index: 1000;
    transition: background 0.3s;
}

.header.scrolled {
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.pad{
    padding-top: 100px;
}
.padder {
    height: 100px;
    display: flex; /* Add this */
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #eaf1e1;
    padding: 0 20px; /* Add this */
}

@media (max-width: 768px) 
{
    .pad{
        padding-top: 75px;
    }
    .padder {
        height: 50px;
        display: flex; /* Add this */
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        background-color: #eaf1e1;
        padding: 0 20px; /* Add this */
    } 
}

.logo {
    height: 40px;
    display: flex;
    align-items: center;
}

.logo img {
    padding-top: 30px;
    height: 200px;
    min-width: 200px;
}

.nav-menu {
    display: none;
    gap: 2rem;
    list-style: none;
}

.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #1b4d3e;
    text-decoration: none;
    font-size: 1rem;
}

.dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    padding: 0.5rem;
    display: none;
    background: white;
}

.nav-item:hover .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: 0.5rem 0;
    color: #1b4d3e;
    text-decoration: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-number {
    background: #e8f3ef;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: #1b4d3e;
}
@media (max-width: 768px) {
    .contact-number {
        background: #e8f3ef;
        padding: 0.5rem 1rem;
        border-radius: 4px;
        color: #1b4d3e;
        visibility: hidden;
    }
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1b4d3e;
}

.side-panel {
    position: fixed;
    top: 0;
    width: 40%;
    right: -100%;
    height: 100vh;
    background: rgb(41, 109, 123);
    padding: 2rem;
    transition: 0.3s;
    z-index: 2000;
    text-decoration: none;
    color: #fff;
}


.side-panel li a, .nav-link {
    text-decoration: none;
    display: block;
    padding: 1rem;
    transition: background-color 0.3s;
}
@media (max-width: 768px) {
    .side-panel li a, .nav-link {
        color:white;
        text-decoration: none;
        display: block;
        padding: 1rem;
        transition: background-color 0.3s;
    }
}

.side-panel li a:hover, .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    width: 100%;
}
.side-panel.active {
    right: 0;
    background: rgba(0, 0, 0, 0.9);
}
.side-panel li, .nav-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.close-panel {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    opacity:0.8;
}
.close-panel:hover{
    opacity:1;
}

.carousel {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    overflow: hidden;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 6s ease-out;
}

.carousel-slide.active img {
    transform: scale(1.1);
}

.carousel-slide.next {
    z-index: 2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 1500;
}

.overlay.active {
    display: block;
}

.background-section {
    position: absolute;
    top: 0;
    left: 0;
    height: 80%;
    padding-top: 200px;
    padding-left: 0;
    width: 100%;
    z-index: -1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-column {
    padding-top: 100px;
    flex: 1;
    display: flex;
    align-items: center;
}

.image-column-third {
    padding-top: 0%;
    flex: 1;
    display: flex;
    align-items: center;
}

.feature-image {
    width: 100%;
    height: auto;
}

.section-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #FDF6F2;
}

.content-layout {
    background: url('Images/LandingPage/SecondSection.jpg') no-repeat left center, #FDF6F2;
    background-size: 100% auto;
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    padding: 1rem;
}

.content-third-layout {
    background: url('Images/LandingPage/ThirdSection.jpg') no-repeat left center, #FDF6F2;
    background-size: 100% 100%;
    background-position-x: 100%;
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    align-items: center;
    padding: 1rem;
    padding-left: 20%;
}

.text-column, .text-column-third {
    flex: 1;
    max-width: 100%;
    text-align: center;
    padding: 2rem 1rem;
}

.main-title {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    color: #1b4d3e;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 400;
}

.main-text {
    color: #1b4d3e;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.signature {
    font-family: 'Crimson Text', serif;
    font-style: italic;
    color: #1b4d3e;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.signature-title {
    font-family: 'Crimson Text', serif;
    color: #1b4d3e;
    font-size: 1rem;
    opacity: 0.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-bottom: 100px;
    min-height:100vh;
}

.SalesIntro {
    text-align: center;
    padding-top: 5%;
}

.nav {
    padding-top: 5%;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.nav a {
    text-decoration: none;
    color: darkslateblue;
}

.grid {
    display: grid;
    gap: 3rem;
    padding: 2rem;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;
    max-width: 1200px;
}
@media (max-width: 768px) {
    .grid {
        display: grid;
        gap: 3rem;
        padding: 2rem;
        grid-template-columns: repeat(1, 1fr);
        margin: 0 auto;
        max-width: 1200px;
    }
}
.product {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.product-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    background: white;
}

.product-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.product-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 2s ease;
}

.product-image:hover img {
    transform: translate(-50%, -50%) scale(1.1);
}

.product h3 {
    margin: 10px 0 5px;
}
.product a{
    margin: 10px 0 5px;
    font-style: italic;
    color: darkslateblue;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
}
.product-name{
    margin: 10px 0 5px;
    font-style: italic;
    color: darkslateblue;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    display: block;
}


.price {
    color: #666;
    text-decoration: none;
}
.addtocart{
    color: #666;
    font-size: small;
    padding: 6px;
    width: 100%;
    background-color: #fef1e6;
}

.sale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(220, 230, 220, 0.9);
    padding: 5px 10px;
    border-radius: 15px;
}

.new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(220, 220, 220, 0.9);
    padding: 5px 10px;
    border-radius: 15px;
}
.containerFooter {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer {
    background-color: #1b4d3e;
    color: white;
    padding: 2rem 2rem;
    text-align: center;
    bottom: 0;         /* Added this */
    width: 100%;       /* Added this */
}

.footer p {
    color: #fff;
}

.page-title {
    font-style: italic;
    color: #1b4d3e;
    font-weight: normal;
    display: inline-block;
    padding-left: 20%;
}

@media (min-width: 768px) {
    .header {
        height: 100px;
    }

    .nav-menu {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .side-panel {
        width: 400px;
        right: -400px;
    }

    .carousel-slide img {
        height: 100vh;
    }
}
@media (max-width: 768px) {
    .carousel {
        position: relative;
        height: 50vh;
        width: 100%;
        overflow: hidden;
    }    
}

@media (min-width: 1024px) {
    .content-layout,
    .content-third-layout {
        flex-direction: row;
        background-size: 60% 60%;
    }
    .text-column,
    .text-column-third {
        max-width: 600px;
    }
}
@media (max-width: 768px) {
    .backendButton{
        display: none;
    }
    .loginButton{
        display: none;
    }
}

.follow-us {
    text-align: center;
    font-family: system-ui, -apple-system, sans-serif;
    width:50%;
    margin-left: auto;
    margin-right: auto;
}

.follow-us h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-links {
    display: 2rem;
    width:60%;
}
@media (max-width: 768px){
    .social-links {
        display: 2rem;
    }
}
.social-link {
    color: #fff;
    transition: color 0.2s;
    padding:20px;
}

.social-link:hover {
    color: #3e1694;
}