:root {
    --green: #0F6546;
    --text-gray: #666;
    --border-gray: #ddd;
}

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

body {
    font-family: "Poppins", sans-serif;
    background: white;
}

/* navbar*/
.navbar-wrapper {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--green);
    text-decoration: none;
    white-space: nowrap;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navbar-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
    position: relative;
}

.navbar-menu a:hover {
    color: var(--green);
    transform: translateY(-2px);
}

.navbar-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--green);
    transition: width 0.3s ease;
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

.search-container {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.search-box {
    width: 100%;
    height: 44px;
    border: 1px solid var(--border-gray);
    border-radius: 22px;
    padding: 0 20px 0 45px;
    font-size: 14px;
    color: var(--text-gray);
    outline: none;
    transition: border-color 0.3s;
}

.search-box:focus {
    border-color: var(--green);
}

.search-box::placeholder {
    color: #999;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
    pointer-events: none;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.navbar-actions a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-actions a:hover {
    color: var(--green);
}

.navbar-actions a i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.navbar-actions a:hover i {
    transform: scale(1.2);
}

.badge-count {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    background: var(--green);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s;
}

.badge-count.show {
    opacity: 1;
    transform: scale(1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle i {
    font-size: 24px;
    color: var(--green);
}

.mobile-dropdown {
    display: none;
    animation: dropdownSlide 0.3s ease forwards;
}

@media (max-width: 1024px) {
    .navbar {
        padding: 18px 40px;
        gap: 24px;
    }

    .navbar-menu {
        gap: 24px;
    }

    .navbar-menu a {
        font-size: 14px;
    }

    .search-container {
        max-width: 280px;
    }

    .navbar-actions span {
        display: none;
    }

    .navbar-actions {
        gap: 20px;
    }
}

@media (max-width: 850px) {
    .navbar {
        padding: 18px 30px;
        gap: 20px;
    }

    .search-container {
        display: none;
    }

    .navbar-actions {
        gap: 16px;
    }

    .navbar-actions .search-link {
        display: flex !important;
    }

    .navbar-actions span {
        display: inline;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px 20px;
        flex-wrap: wrap;
    }

    .navbar-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
        order: -1;
        margin-right: auto;
    }

    .navbar-brand {
        order: 0;
        margin: 0 auto 0 10px;
    }

    .search-container {
        display: none;
    }

    .navbar-actions {
        order: 1;
        gap: 12px;
    }

    .navbar-actions span {
        display: none;
    }

    .navbar-actions i {
        font-size: 22px;
    }

    .navbar-actions .search-link {
        display: none !important;
    }

    .mobile-dropdown {
        display: none;
        width: 100%;
        order: 2;
        padding-top: 16px;
        border-top: 1px solid #eee;
        margin-top: 16px;
    }

    .mobile-dropdown.show {
        display: block;
        animation: dropdownSlide 0.3s ease forwards;
    }

    .mobile-dropdown ul {
        list-style: none;
    }

    .mobile-dropdown ul li {
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-dropdown ul li:last-child {
        border-bottom: none;
    }

    .mobile-dropdown ul a {
        display: block;
        padding: 14px 0;
        color: var(--text-gray);
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        transition: all 0.2s;
    }

    .mobile-dropdown ul a:hover,
    .mobile-dropdown ul a.active {
        color: var(--green);
        padding-left: 8px;
    }

    .mobile-dropdown .mobile-search {
        margin-top: 16px;
        position: relative;
    }

    .mobile-dropdown .search-box {
        width: 100%;
        height: 46px;
    }
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-menu,
.mobile-dropdown ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/*end of navbar*/

/* hero section*/
.hero-section {
    margin: 0;
    padding: 0;
}
.hero-carousel {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-item.slide-1 {
    background-image: url('../Images/cover2.jpg');
}

.carousel-item.slide-2 {
    background-image: url('../Images/cover3.jpg');
}

.carousel-item.slide-3 {
    background-image: url('../Images/cover7.jpg');
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.415);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.btn-hero:hover {
    background-color: #0F6546 !important;
    color: #fff !important;
    border: none;
}

/* end of hero section*/

/*shop by cateegory*/
.category-card {
    height: 340px;
    cursor: pointer;

}

.category-card img {
    transition: transform 0.4s ease;
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-button {
    background-color: #0F6546;
    border: none;
    padding: 4px 32px;
    border-radius: 30px;
}

.category-button:hover {
    background-color: #0b4d35;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.category-card:hover .overlay {
    background: rgba(0, 0, 0, 0.55);
}

/*end of shop by cateegory*/

/*HAPPINESS SECTION*/
.embroidery-section {
    background-color: #f5f5f5;
}

.content-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 100px;
    background-color: #f5f5f5;
    min-height: 600px;
    
    align-items: flex-start;
}

.content-side h1 {
    font-size: 40px;
    font-weight: 700;
    color: #2d2d2d;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.content-side p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-button {
    background-color: #0F6546;
        color: white;
        padding: 12px 35px;
        border: none;
        border-radius: 25px;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
}

.cta-button:hover {
    background-color: #0a3f2b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(20, 122, 92, 0.3);
}

.image-side {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 60px;
    

}

.image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 500px;
    transition: transform 0.5s ease;
}

.image-side:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-side {
        padding: 60px 60px;
    }

    .content-side h1 {
        font-size: 52px;
    }

    .image-side {
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .content-side {
        padding: 50px 30px;
        min-height: auto;
        margin-left: 60px;
    }

    .content-side h1 {
        font-size: 42px;
    }

    .content-side p {
        font-size: 16px;
    }

    .image-side {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .content-side {
        padding: 40px 20px;
    }

    .content-side h1 {
        font-size: 36px;
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 15px;
    }
}

/*HAPPINESS SECTION*/

/* Featured products */
.custom-card {
    transition: transform 0.3s ease;
}

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

.custom-img {
    height: 250px;
    object-fit: cover;
}

.wishlist-btn i {
    color: #0F6546;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.wishlist-btn.active i {
    color: red;
}
.view-all{
    background-color: #0F6546;
}
.view-all:hover{
    background-color: #0a3f2b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(20, 122, 92, 0.3);
}

/* end of featured products */

/*Hallowwen section*/

.halloween-section {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.content-wrapper {
    margin-left: 170px;
    margin-right: 120px;
}

.halloween-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.text-content {
    width: 90%;
}

.text-content h1 {
    font-size: 60px;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.text-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.shop-btn {
    background-color: #0F6546;
    color: white;
    padding: 12px 35px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop-btn:hover {
    background-color: #0a3f2b;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .content-wrapper {
        margin-left: 20px;
        margin-right: 20px;
    }

    .text-content h1 {
        font-size: 2.5rem;
    }
}

/*Hallowwen section*/

/*sale section*/
.hero2 {
    background-image: url('../Images/Image.png');
    background-size: cover;
    background-position: center;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

    margin-inline: auto;
    position: relative;
    overflow: hidden;
}

.hero2::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);

}

.hero2 .container {
    position: relative;
    z-index: 2;
}

.time-box {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 10px;
    margin-left: 6px;
    border-radius: 6px;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

.button-hover:hover {
    color: white !important;
    background-color: #0F6546;
    border: none;
}

@media (max-width: 768px) {
    .hero2 h1 {
        font-size: 2rem !important;
    }

    .hero2 p {
        font-size: 0.95rem;
    }

    .time-box {
        padding: 5px 8px;
        font-size: 14px;
        min-width: 35px;
    }
}

/*end of sale section*/

/*Reviews section*/
.container-reviews {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 120px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.quote-mark {
    position: absolute;
    top: 35px;
    Right: 30px;
    font-size: 40px;
    color: #f0f0f0;

    line-height: 1;
}

.stars {
    display: flex;
    gap: 5px;
    margin-bottom: 25px;
}

.star {
    color: #ffd700;
    font-size: 20px;
}

.testimonial-text {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.reviewer-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8f8f8;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 5px;
}

.reviewer-title {
    font-size: 14px;
    color: #888;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 60px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
}

/*ebd of Reviews section*/
/*stay in style*/
.hero3 input::placeholder {
    color: #aaa;
    font-size: 15px;
}

.hero3 input:focus {
    box-shadow: none;
}

@media (max-width: 576px) {
    .hero3 form {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero3 .input-group {
        width: 100%;
        max-width: 100%;
    }

    .hero3 button {
        width: 70%;
        padding: 10px 0;
        font-size: 1rem;
        border-radius: 28px;
    }

    .hero3 h2 {
        font-size: 1.8rem;
    }

    .hero3 p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/*end of stay in style*/
/* footer */
.custom-footer {
    padding: 40px;
    min-height: 372px;
}

.social-icon {
    width: 36px;
    height: 36px;
}

@media (min-width: 768px) {
    .custom-footer {
        padding-left: 80px;
        padding-right: 80px;
    }
}

@media (min-width: 992px) {
    .custom-footer {
        padding-left: 120px;
        padding-right: 120px;
    }
}
.hero-section,
section,
footer {
  padding-left: 120px;
  padding-right: 120px;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .hero-section,
  section,
  footer {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (max-width: 576px) {
  .hero-section,
  section,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.custom-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.custom-img {
  height: 280px;
  object-fit: cover;
}

.custom-icon {
  width: 28px;
  height: 28px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-icon:hover {
  color: #198754;
  transform: scale(1.1);
}

.add-to-cart-btn {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.custom-card:hover .add-to-cart-btn {
  opacity: 1;
  transform: translateY(0);
}

.wishlist-icon {
  color: #6c757d;
  font-size: 16px;
  transition: color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.wishlist-icon.active {
  color: #dc3545;
  transform: scale(1.2);
}

.wishlist-active {
  transform: scale(1.15);
  transition: transform 0.18s ease;
}

.text-danger {
  color: #dc3545 !important;
}

/*end of footer*/
