@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Poppins:wght@100;200;300&family=Roboto:ital,wght@0,100;0,300;0,700;1,100; 1,400&display=swap');


/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    text-transform: capitalize;
    outline: none;
    border: none;
    text-decoration: none;
    transition: .3s;
}

html{
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}
body{
    background:#fdfdff;
}
section{
    padding: 1.5rem 8%;
}
*::selection {
    background: var(--green);
    color:#fff;
}
:root{
    --primary: #DDE1ED;
    --p2:#224F34;
    --white:#fff;
    --green: rgba(8,96,8,0.905);
    --hue: 152;
    --header-height: 3.5rem;
    --box-shadow: ☐ rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.btn{ 
    display: inline-block; 
    margin-top: 1rem; 
    padding: .5rem 1.3rem; 
    background-color: var(--p2); 
    color: #fff; 
    font-size: 0.8rem; 
    cursor: pointer; 
    box-shadow: var(--box-shadow); 
    border-radius: 5px; 
}

.btn:hover{
    background-color: #333;
}

/* ======================================= SPLASH SCREEN ======================================= */

#preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(
        135deg,
        #f6d365,
        #fda085,
        #fbc2eb,
        #a6c1ee
    );
    background-size: 300% 300%;
    animation: gradientMove 6s ease infinite;

    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;

    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* LOGO */
#preloader img {
    width: 170px;
    animation: logoFadeZoom 2s ease forwards;
}

/* HIDE */
#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

/* PAGE FADE */
body.loaded {
    animation: pageFade 0.8s ease;
}

/* ANIMATIONS */
@keyframes logoFadeZoom {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pageFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ======================================= Navbar ======================================= */

.top-bar {
    background: #8b2d2d;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    padding: 6px 0;
    font-size: 13px;
}

/* MARQUEE ANIMATION */
.marquee {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}

.marquee span {
    padding-right: 100%;
}

/* KEYFRAMES */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* MAIN HEADER */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 10%;
    background: #F1F3F5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    position: relative;
    z-index: 100;
}

.logo img{
    width: 100%;
    height: 60px;
    border-radius: 10px;
}

/* DESKTOP NAV */
.desktop-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 10px;
    background: #F1F3F5;
    border-bottom: 1px solid #eee;
}

.desktop-nav a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 600;
     font-family: "Lato", sans-serif;   
}

/* HAMBURGER */
.hamburger {
    display: none;
    font-size: 22px;
    background: none;
    border: none;
}

/* MOBILE DRAWER */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: #fff;
    z-index: 2000;
    transition: left 0.3s ease;
    padding: 16px;
}

.mobile-drawer.active {
    left: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    margin-bottom: 20px;
}

.drawer-login {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.drawer-menu li {
    list-style: none;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

/* OVERLAY */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 1500;
}

.overlay.active {
    display: block;
}

/* RESPONSIVE */
@media (max-width: 767px) {
    /* MAIN HEADER */
    .main-header {
        padding: 4px 5%;
    }

    .logo img{
        width: 80%;
        height: 40px;
        border-radius: 10px;
    }


  /* When active → slide down */
  .search-wrapper.active {
      max-height: 100px;
      opacity: 1;
  }

    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }
}



/* ======================================= Banner ======================================= */

.home-banner .home-slider{
    box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.3); 
    border-top:0;
}
.home-banner .home-slider .box{
    background-size: cover !important; 
    background-position: center !important; 
    min-height: 25rem;
    position: relative;
}
.home-banner .home-slider .content{
    position: absolute; 
    top:50%; 
    left: 5%; 
    transform: translateY(-50%); 
    max-width: 50rem; 
}
.home-banner .home-slider .content h3{
    font-size: 2.7rem; 
    color: #333; 
    line-height: 55px;
    font-weight: 600;
}
.home-banner .home-slider .content span{
    font-size: 1.5rem; 
    color: #444;
}

/* Media Query for Tablets (around 768px) */
@media (max-width: 768px) {
    .home-banner .home-slider .box {
        min-height: 20rem; /* Slightly shorter on tablets */
    }

    .home-banner .home-slider .content h3 {
        font-size: 2rem;
        line-height: 40px;
    }
}

/* Media Query for Mobile Phones (max 500px) */
@media (max-width: 500px) {
    .home-banner .home-slider .box {
        min-height: 18rem; /* Compact height for mobile */
        display: flex;
        justify-content: center;
    }
    .home-banner .home-slider .content {
        left: 0;
        width: 100%;
        padding: 0 2rem;
        transform: translateY(-50%);
    }

    .home-banner .home-slider .content span {
        font-size: 1.2rem;
    }

    .home-banner .home-slider .content h3 {
        font-size: 1.6rem;
        line-height: 30px;
        margin: 1rem 0;
    }

    .home-banner .home-slider .btn {
        padding: 0.8rem 2rem;
        font-size: 1.2rem;
    }
}

/* ======================================= ins-section ======================================= */

.ins-section {
    padding: 60px 0;
    background: #fff;
    overflow: hidden;
}

.ins-title {
    text-align: center;
    margin-bottom: 30px;
}

.ins-title h3 {
    font-size: 2.2rem;
    color: #333;
    font-weight: 700;
}

/* The magic "Fade" effect on edges */
.ins-wrapper {
    position: relative;
    width: 100%;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.ins-flex {
    display: flex;
    width: max-content;
    gap: 20px;
    animation: scroll 30s linear infinite; /* Slower for a premium feel */
}

/* Pause on hover so users can look at a product */
.ins-flex:hover {
    animation-play-state: paused;
}

.ins-card {
    width: 180px;
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.ins-card:hover {
    transform: translateY(-10px);
}

.ins-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================= Mobile Responsive ================= */
@media (max-width: 768px) {
    .ins-section {
        padding: 40px 0;
    }

    .ins-title h3 {
        font-size: 1.8rem;
    }

    .ins-card {
        width: 130px; /* Smaller images on mobile */
        height: 160px;
    }

    .ins-flex {
        animation-duration: 20s; /* Faster scroll for smaller screens */
    }
}

/*============================== Product ================================================ */

.price-wrapper {
    display: flex;
    justify-content: center;
    margin: auto;
    text-align: center;
}

.price-wrapper h6 {
    margin: 0;
    font-size: 1.1rem;
    color: #4f46e5; /* Modern Indigo */
}

.price-wrapper .line-through {
    text-decoration: line-through;
    text-decoration-color: #000000; /* This makes the slash line RED */
    text-decoration-thickness: 1.5px;
    margin-left: 5px;
}

/* Red Badge for the Image */
.prod-box .absolute {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
/* Main Container */
.items-prod {
    padding: 2% 8%;
    background-color: #fdfdfd;
}

/* Header Styling */
.prod-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.section-title span {
    color: #f7620b;
    font-weight: 300;
    font-style: italic;
}

/* Filter Styling */
.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-size: 0.9rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.elegant-select {
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #444;
    outline: none;
    cursor: pointer;
    background: #fff;
}

/* Product Grid Layout */
.products-flex {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Product Card Styling */
.prod-box {
    background: #fff;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.prod-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #eee;
}

.prod-box .image {
    height: 280px; /* Increased height for elegance */
    width: 100%;
    overflow: hidden;
}

.prod-box .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.prod-box:hover .image img {
    transform: scale(1.08);
}

/* Content Area */
.prod-box .content {
    padding: 15px;
    text-align: center;
}

.prod-box .content h4 {
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.prod-box .content h6 {
    font-size: 0.9rem;
    color: #f7620b;
    margin: 0;
    font-weight: 500;
}

/* Hover Icons Overlay */
.prod-box .icons {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}
.prod-box .icons .content-icons{
    display: flex;
    gap:10px;
}

.prod-box:hover .icons {
    opacity: 1;
}

.prod-box .icons i {
    width: 30px;
    height: 30px;
    line-height: 45px;
    font-size: 15px;
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; 
    background: #fff;
    border-radius: 50%;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.prod-box .icons i:hover {
    background: #f7620b;
    color: #fff;
}

/* Button Styling */
.btn-outline {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid #333;
    color: #333;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.3s;
    margin-top: 40px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: #333;
    color: #fff;
}

/* ================= MOBILE RESPONSIVE ================= */

@media (max-width: 992px) {
    .items-prod { padding: 5% 5%; }
    .products-flex { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
    .prod-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .products-flex { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .prod-box .image { height: 220px; }
    .section-title { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .items-prod { padding: 5% 3%; }
    .products-flex { gap: 10px; } /* Tight gap for mobile */
    .prod-box .content h4 { font-size: 0.9rem; }
    .prod-box .image { height: 180px; }
    .elegant-select { width: 100%; }
    .filter-group { width: 100%; flex-direction: column; align-items: flex-start; }
}


/*============================== Footer ================================================ */
.whatsapp-button{
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 99;
    background-color: #25d366;
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    width: 40px;
    height: 40px;
    font-size: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    -webkit-box-shadow: 0px 0px 25px -6px rgba(0,0,0,1);
    -moz-box-shadow: 0px 0px 25px -6px rgba(0,0,0,1);
    box-shadow: 0px 0px 25px -6px rgba(0,0,0,1);
    animation: effect 5s infinite ease-in;
}

@keyframes effect {
    20%, 100% {
        width: 40px;
        height: 40px;
        font-size: 25px;
    }
    0%, 10%{
        width: 45px;
        height: 45px;
        font-size: 25px;
    }
    5%{
        width: 40px;
        height: 40px;
        font-size: 25px;
    }
}


.footer {
    background-color: #224f34;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.footer .box-container{
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); 
    gap:2rem; 
    margin-top: 30px;
}
.footer .box-container .footer-box{
    text-align: center;
}

.footer .box-container .footer-box h3{
    font-size: 1.3rem; 
    color: #fff; 
    font-weight: 500;
}
.footer .box-container .footer-box p{
    font-size: 1rem; 
    color: #ccc; 
}

.footer .box-container .link{
    font-size: 1rem; 
    line-height: 2; 
    color: #eee; 
    padding: .5rem 0 0; 
    display: block; 
    text-transform: lowercase;
}

.footer .box-container .link:hover{
    color: #ffaa42;
    text-decoration: underline;
}
.footer .share{
    text-align: center;
    padding-top: 2rem;
}

.footer .share a{
    font-size: 1rem;
    width: 2rem; 
    line-height: 2rem; 
    color: var(--primary); 
    border:0.1rem solid #eee; 
    margin:.3rem; 
    border-radius: 50%;
}
.footer .share a:hover{
    color: var(--white); 
    background-color: #ffaa42; 
    transform: rotate(360deg);
}

.footer.credit{
    border-top: .1rem solid rgba(255, 255, 255, 2); 
    color: #fff; 
    padding-top: 3rem; 
    font-size: 2rem; 
    text-align: center; 
    text-transform: capitalize;
}

.copyright {
  color: white; /* White text color */
  text-align: center; /* Center the copyright text */
  padding: 10px 0; /* Some padding top and bottom */
  margin-top: 10px; /* Pushes the footer to the bottom */
}

.copyright p {
  font-size: 14px;
}


