/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%; /* Ensure the HTML and body take the full height of the viewport */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    /* overflow-y: scroll; Allow scrolling */
}

main {
    flex: 1; /* Push the footer to the bottom by taking up available space */
    padding: 1rem;
    z-index: 0;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--blurBackground);
    backdrop-filter: blur(20px); /* Blur for background */
 
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    border-bottom: 0.5px solid var(--border-color);
    width: 100%;
}

.navbar-logo img {
    height: 50px;
    max-width: 240px;
    padding-top: 10px;
}

.navbar-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-text);
    font-size: var(--font-body);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--brand-main);
    text-decoration: none;
}

.nav-link.active {
    color: var(--brand-main);
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: var(--font-body);
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--brand-gradient);
    color: var(--primary-text-white);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--brand-gradient);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Upcoming Sale Button */
.btn-sale {
    color: var(--primary-text-white) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: var(--font-body);
    font-weight: 600;
    color: var(--primary-text-white);
    background: var(--brand-gradient);
    border: none;
    border-radius: 20px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-sale:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* Sale Button Icon */
.btn-sale-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url("/images/sale-icon.svg") no-repeat center center;
    background-size: contain;
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001; /* Ensures it's above the menu */
    position: relative;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-text);
    border-radius: 2px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px; /* Adjust to appear below the navbar */
    right: 0.5rem;
    background: var(--blurBackground);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1.5rem 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--primary-text);
    font-size: 1.05rem;
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--footer-background-gray); /* Gray background */
    color: var(--footer-foreground-white); /* White text */
    padding: 2rem 3rem;
    border-top-left-radius: 5em;
    border-top-right-radius: 5em;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: start;
    gap: 1rem;
    flex-direction: column;
}

.footer-logo img {
    height: 50px;
}

.footer-logo h3 {
    font-size: var(--font-heading3);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-column h4 {
    font-size: var(--font-body);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column a {
    text-decoration: none;
    color: #fcfcfc; /* White links */
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--brand-main); /* Brand color on hover */
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    font-size: var(--font-small);
    display: flex;
    align-items: center;
}

#copyright {
    text-align: start;
    width: 450px;
}

#footer-hr-line {
    background-color: rgba(255, 255, 255, 0.168);
    height: 1px;
    width: 100%;
}

/* Banner Carousel */
.banner-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* margin-top: 0.5rem; */
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 7 / 3;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width: 100%; /* Ensure this remains correct */
}

.carousel-track img {
    flex: 0 0 100%; /* Forces each image to take exactly 100% of the container */
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps the images properly scaled */
    border-radius: 20px;
    border: 1px solid var(--brand-main);
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--blurBackground);
    color: var(--primary-text);
    backdrop-filter: blur(15px);
    border: none;
    padding: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    z-index: 10;
    border-radius: 30px;
}

.carousel-container:hover .carousel-btn {
    display: block;
}

.prev-btn {
    left: 1rem;
}

.next-btn {
    right: 1rem;
}

/* Why Choose Us */
.why-choose-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row;
}

.why-left {
    background: url("../images/card.webp") no-repeat center center/cover;
    border-radius: 20px;
    margin: 1rem 1rem 0rem 0rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.why-left {
    flex: 1;
}

.features-grid {
    flex: 2;
}

.why-left h2 {
    font-size: var(--font-heading2);
    text-align: left;
    width: 100%;
}

.why-left p {
    width: 100%;
}

.why-left {
    padding: 2rem;
}

.feature-card {
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Features Grid Layout */
.features-grid {
    display: grid;
    grid-template-areas:
        "comfort durability"
        "comfort wrinkle";
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
    margin: 1rem 0 0 0;
    max-width: 1200px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    font-size: 1rem;
}

.feature1 {
    grid-area: comfort;
}

.feature2 {
    grid-area: durability;
}

.feature3 {
    grid-area: wrinkle;
}

.icon {
    margin-bottom: 1rem;
    width: 60px;
}

/* Our Promise */
.our-promise {
    background: url("../images/our-promise-bg.jpg") no-repeat center
        center/cover;
    color: var(--primary-text-white);
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 1rem;
}

/* Weave & World Section */
.weave-world {
    text-align: center;
    padding: 50px 20px;
    border-radius: 10px;
    margin: 50px auto;
    max-width: 900px;
}

.weave-world h2 {
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: bold;
}

.weave-world-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    
}

.weave-box, .world-box {
    /* background: rgba(255, 255, 255, 0.049); */
    background: var(--brand-main);
    color: white;
    padding: 20px;
    border-radius: 20px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
    border: 1px solid var(--border-color);
    width: 45%;
    /* min-width: 300px; */
    transition: transform 0.3s ease-in-out;
}

.world-box {
    background: rgb(38, 41, 49);
}

.weave-box:hover, .world-box:hover {
    transform: scale(1.05);
}

.weave-box h3, .world-box h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    border-bottom: 3px solid white;
    display: inline-block;
    padding-bottom: 5px;
}

.weave-box ul, .world-box ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 20px;
}

.weave-box li, .world-box li {
    font-size: 1em;
    /* color: #555; */
    margin: 8px 0;
    display: flex;
    flex-direction: column;
    color: #ffffff9c;
    /* gap: 15px; */
}

.world-box li {
    flex-direction: row;
    color: rgba(255, 255, 255, 0.66);
}

.weave-box li strong, .world-box li strong {
    font-size: 1.2em;
    color: white;
    margin-right: 15px;
    /* width: 30px; */
}

.weave-message {
    font-style: italic;
    font-size: 1.2em;
    margin-top: 30px;
}


/* Explore Collection */
.explore-collection {
    background-color: var(--footer-background-gray);
    color: var(--primary-text-white);
    text-align: center;
    padding: 4rem 2rem;
}

.explore-collection h2 {
    margin-bottom: 1.5rem;
}

.feature2,
.feature3 {
    display: flex;
    flex-direction: row;
    padding: 2rem;
    align-items: center;
    justify-content: center;
}

.feature2 div,
.feature3 div {
    padding-left: 1rem;
}

.feature2 div p,
.feature3 div p,
.feature2 div h4,
.feature3 div h4 {
    text-align: left;
}

.feature2 img {
    margin-bottom: 0;
}

.feature3 img {
    margin-bottom: 0;
}

/* Our Promise Section */
.our-promise {
    position: relative;
    background: url("../images/promise-background.webp") no-repeat center
        center/cover;
    color: var(--primary-text-white);
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 20px;
}

.our-promise .promise-content {
    max-width: 700px;
    margin: 0 auto;
}

.our-promise h2 {
    font-size: var(--font-heading2);
    margin: 0;
    color: var(--primary-text-white);
}

.our-promise p {
    font-size: var(--font-body);
    color: white;
}

/* Explore Collection Section */
.explore-collection {
    position: relative;
    background: url("../images/city-skyline-background.webp") no-repeat center
        center/cover;
    color: var(--primary-text-white);
    text-align: center;
    padding: 5rem 2rem;
    border-radius: 20px;
    margin-top: 1rem;
}

.explore-collection h2 {
    font-size: var(--font-heading2);
    margin-bottom: 2rem;
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: var(--font-body);
    font-weight: 600;
    color: var(--primary-text-white);
    background: var(--brand-gradient);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.explore-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.explore-btn .btn-icon {
    font-size: 1.2rem;
}

/* Hero Section */
#logo-about {
    width: 8rem;
}



.about-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem;
    gap: 2rem;
}

.hero-container {
    display: flex;
    max-width: 1200px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6rem;
}

.about-brand-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

.hero-text {
    /* flex: 1 1 45%; */
    text-align: left;
    
}

.hero-text div h1 {
    font-size: 2.5rem;
    color: var(--brand-main);
    margin-bottom: 0;
}

.hero-text p {
    font-size: 1.07rem;
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.6;

}

.hero-image {
    flex: 1 1 45%;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    object-fit: cover;
}

.hero-img-overide img {
    max-width: 100% !important;
}

/* Content Blocks */
.about-content {
    padding: 2rem 1rem;
    text-align: center;
    line-height: 1.6;
}

.content-block {
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-block h2 {
    color: var(--brand-main);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.content-block p {
    font-size: 1rem;
}

.cta-link {
    display: inline-block;
    margin-top: 4rem;
    /* color: var(--brand-main); */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 1rem 2rem;
    border-radius: 20px;
    transition: background 0.3s ease;
    background: var(--brand-gradient);
    background-clip: text;
    -webkit-background-clip: text; /* Clip gradient to text */
    -webkit-text-fill-color: transparent; /* Make the text transparent */
    display: inline-block;
}

.cta-link:hover {
    text-decoration: none;
    background: var(--brand-gradient);
    color: white;
    background-clip: none;
    -webkit-background-clip: none; /* Clip gradient to text */
    -webkit-text-fill-color: white; /* Make the text transparent */
    display: inline-block;
}
/* 
.flower-background {
    background-image: url('/images/flower-background-texture.svg'), url('/images/flower-background-texture.svg');
    background-repeat: no-repeat;
    
    background-position: -7rem 20%, calc(100% + 7rem) 80%;
    background-size: 15rem; 
    background-attachment: scroll;
} */

/* PRODUCTS */


.products-section {
    padding: 40px;
    text-align: center;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.product-card {
    /* background: #fff; */
    background-color: var(--background-tertiary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    /* padding: 20px; */
    padding-bottom: 20px;
    text-align: center;
    transition: transform 0.2s ease-in-out;
}

.product-card img {
    width: 100%;
    /* border-radius: 19px; */
    border-top-left-radius: 19px;
    border-top-right-radius: 19px;
    object-fit: cover;
    overflow: hidden;
}

.product-card h3 {
    font-size: 1em;
    margin: 5px 15px;
    text-align: left;
}

.price {
    font-size: 1.2em;
    text-align: left;
    margin: 5px 15px;
    /* color: #000; */
}

.original-price {
    text-decoration: line-through;
    color: #888;
    font-size: 0.9em;
    margin-left: 5px;
}

.status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 0.85em;
    margin-top: 10px;
    font-weight:500;
}

/* Status Color Variants */
.in-stock {
    background: #4CAF501A;
    color: #4CAF50;
}

.limited {
    background: #ff98001A;
    color: #ff9800;
}

.selling-fast, .selling-quickly {
    background: #f443361A;
    color: #f44336;
}

.popular {
    background: #673ab71A;
    color: #673ab7;
}

.almost-gone {
    background: #ff57221A;
    color: #ff5722;
}

.new {
    background: #03a9f41A;
    color: #03a9f4;
}

.out-of-stock {
    background: #9e9e9e1A;
    color: #9e9e9e;
}

/* Hover Effect */
.product-card:hover {
    transform: scale(1.05);
}


/* Responsive Design */
@media (max-width: 900px) {
    main {
        padding: 0.5rem !important;
    }
    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .footer-logo {
        align-items: center;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-bottom {
        flex-direction: column-reverse;
    }

    #copyright {
        text-align: center;
        margin-top: 20px;
    }

    .carousel-container {
        aspect-ratio: 7 / 3; /* Maintains aspect ratio on smaller screens */
    }

    .features-grid {
        /* margin: 0; */
        /* max-width: auto; */
        width: 100%;
        margin-top: 0.5rem;
        gap: 0.5rem;
    }
     
    .why-left {
        margin: 0.5rem 0.5rem 0rem 0rem;
    }

    .our-promise,
    .explore-collection {
        padding: 2rem 1rem;
        margin-top: 0.5rem;
    }

    .our-promise h2,
    .explore-collection h2 {
        font-size: var(--font-heading3);
    }

    .hero-container {
        flex-direction: column;
    }

    .hero-text,
    .hero-image {
        flex: 1 1 100%;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h3 {
        font-size: 1rem;
    }

    .hero-container {
        gap: 2rem;
    }

    .weave-world-container {
        flex-direction: column;
    }
    .weave-box, .world-box {
        width: 100%;
    }

    .products-section {
        padding: 20px;
    }
}

@media (max-width: 565px) {
    .features-grid {
        margin: 0;
        margin-top: 0.5rem;
    }

    .why-left {
        margin: 0.5rem 0rem 0rem 0rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-text p,
    .content-block p {
        font-size: 0.9rem;
    }

    .content-block h2 {
        font-size: 1.5rem;
    }
}