@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

/* Global Styles */
:root {
    --primary-color: #00b14f;
    --secondary-color: #333;
    --light-gray: #f5f5f5;
    --text-dark: #333;
    --text-light: #fff;
    --border-radius: 8px;
}

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

body {
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#preloader img {
    width: 300px; /* Adjust size as needed */
    height: auto;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

#preloader.hide {
    opacity: 0;
    pointer-events: none;
}

/* Top announcement bar */
.announcement-bar {
    background-color: #000;
    color: #fff;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 40px; /* Adjust based on content */
}

.container.test {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Adjust as needed */
    margin: 0 auto;
    position: relative;
}

.promo-slider {
    flex: 1;
    text-align: center;
    position: relative;
    height: 20px; /* Match promo height */
    overflow: hidden;
}

.promo-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.announcement-bar .promo {
    font-size: 14px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    color: #fff;
}

.announcement-bar .promo.active {
    transform: translateY(0);
    opacity: 1;
    color: #fff;
}

.announcement-bar .shop-now {
    font-weight: bold;
    margin-left: 5px;
}

.language-selector {
    display: flex;
    align-items: center;
    margin-left: 20px; /* Space between promo & language */
}
/* Header Styles */
header {
    background-color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}
.h-logo {
    width: 170px;
    padding: 0 10px;
}
.logo img {
    max-height: 50px; /* Ensures the logo isn't too tall */
    width: auto; /* Keeps the original aspect ratio */
    display: block; /* Removes extra spacing */
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

/**/
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    position: relative;
}

/* Search Styles */
.search-container {
    display: flex;
    align-items: center;
    position: relative;
}

.search-input-wrapper {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
    background: white;
    border-radius: 4px;
}

.search-input {
    border: 1px solid #ddd;
    padding: 8px 15px;
    outline: none;
    width: 200px;
    box-sizing: border-box;
}

.search-container.active .search-input-wrapper {
    width: 200px;
    padding: 0 10px;
}

/* Dropdown Containers */
.dropdown-container {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    position: relative;
    display: block;
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 100;
}

.dropdown-menu a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
}

/* Cart Specific Styles */
.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-menu {
    right: 0;
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 0 15px;
}

.cart-items p {
    margin: 10px 0;
    color: #777;
    text-align: center;
}

.view-cart {
    display: block;
    text-align: center;
    background: #f5f5f5;
    padding: 8px;
    margin-top: 10px;
    border-top: 1px solid #eee;
}

/**/
.img-icon {
    width: 20px;
    height: 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
}

/* Main content */
.main-content {
    padding: 20px 0 60px;
}

.page-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #111;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

.page-description {
    color: #555;
    margin-bottom: 10px;
    font-size: 14px;
}

/* Contact form and info container */
.contact-container {
    display: flex;
    margin: 30px 0;
}

.contact-form-wrapper {
    flex: 3;
    margin-right: 30px;
}

.contact-info-wrapper {
    flex: 1;
}

/* Contact form */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 14px;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.send-btn {
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s;
}

.send-btn:hover {
    background-color: #27ae60;
}

.captcha-notice {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

/* Contact info */
.contact-info-item {
    margin-bottom: 25px;
}

.contact-info-label {
    font-size: 14px;
    font-weight: 600;
    color: #777;
    margin-bottom: 5px;
}

.contact-info-value {
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #333;
    font-size: 16px;
}

/* Footer */
.new1 {
    position: relative;
    right: 20px;
}
footer {
    background-color: #000;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 160px;
    margin-bottom: 30px;
    margin-right: 20px;
}

.footer-column:last-child {
    margin-right: 0;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 100;
}

.footer-address {
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 14px;
}

.footer-contact {
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-subscribe p {
    margin-bottom: 10px;
    font-size: 14px;
}

.subscribe-form {
    display: flex;
    margin-top: 15px;
    border: 1px solid grey;
    border-radius: 8px;
    padding: 0 15px;
}

.subscribe-input {
    flex: 1;
    padding: 10px;
    border: none;
    background: #000000;
    outline: none;
    color: white;
}

.subscribe-btn {
    background: none;
    border: none;
    color: white;
    padding: -10px;
    cursor: pointer;
}

.qr-code {
    width: 100px;
    height: 130px;
    margin: 10px 0;
    background-color: #fff;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social-icons a {
    color: white;
}

.footer-bottom {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #999;
}
.imageBtn {
    width: 20px;
    height: 20px;
    border: none;
    cursor: pointer;
    position: relative;
    top: 8px;
    right: 17px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .footer-column {
        min-width: 200px;
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .imageBtn {
        width: 20px;
        height: 20px;
        border: none;
        cursor: pointer;
        position: relative;
        top: 8px;
        right: 2px;
    }
    #preloader img {
        width: min(100px, 20vw);
    }
    .logo img {
        max-height: 50px; /* Ensures the logo isn't too tall */
        width: 150px; /* Keeps the original aspect ratio */
        display: block; /* Removes extra spacing */
    }
    .announcement-bar .promo {
        font-size: 12px;
    }
    .language-selector {
        display: none;
    }
    .new1 {
        position: relative;
        left: 6px;
    }
    .header-container {
        padding: 10px 0;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .contact-form-wrapper {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .footer-column {
        flex: 0 0 100%;
    }
    .subscribe-form {
        width: 60%;
    }
    .subscribe-input {
        width: 40%;
    }
}

@media (max-width: 576px) {
    .top-banner-content {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .page-title {
        font-size: 28px;
    }

    .header-actions > *:not(:last-child) {
        display: none;
    }
}
