/* ==========================================
   GLOBAL
========================================== */

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    margin: 0;
    text-decoration: none;
}

a {
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================
   TOP BAR
========================================== */

.top-bar {
    background: var(--primary-color);
    color: #ffffff;
    font-size: 14px;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    font-weight: 400;
    opacity: 0.85;
}

.top-bar-center {
    display: flex;
    gap: 25px;
}

.top-bar-center a:not(:last-child)::after {
    content: "|";
    margin-left: 12px;
    opacity: 0.6;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
}

.top-bar-right {
    display: flex;
    gap: 18px;
}

.top-bar-right a {
    font-size: 16px;
    color: #ffffff;
}

/* ==========================================
   MAIN HEADER (Sticky + Shrink)
========================================== */

.main-header {
    background: #ffffff;
    padding: 16px 0;
    border-bottom: 1px solid rgba(31,61,43,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s ease;
}

.main-header.shrink {
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    width: 18%;
}

.header-logo img {
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.main-header.shrink .header-logo img {
    max-height: 50px;
}

.main-menu {
    width: 55%;
}

.main-menu .menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.main-menu .menu li {
    position: relative;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.main-menu .menu li a {
    color: var(--text-main);
    padding: 6px 0;
    position: relative;
    transition: 0.3s ease;
}

.main-menu .menu li a:hover {
    color: var(--primary-color);
}

.main-menu .menu li.current-menu-item > a {
    font-weight: 600;
    color: var(--primary-color);
}

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

.main-menu .menu li:hover > a::after,
.main-menu .menu li.current-menu-item > a::after {
    width: 100%;
}

.header-cta {
    width: 25%;
    display: flex;
    justify-content: flex-end;
}

.btn {
    border-radius: 6px;
    padding: 12px 24px;
    transition: 0.3s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    background: var(--primary-color);
    color: #ffffff;
    border: 2px solid var(--primary-color);
}

.btn.primary:hover {
    background: var(--button-hover);
    border-color: var(--button-hover);
}

.btn.secondary {
    background: var(--secondary-color);
    color: #ffffff;
    border: 2px solid var(--secondary-color);
}

.btn.secondary:hover {
    background: #ffffff;
    color: var(--secondary-color);
}

/* ==========================================
   FOOTER
========================================== */

.site-footer {
    background-color: #1F3D2B;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

/* CTA Section */

.footer-cta {
    background: var(--secondary-color);
    text-align: center;
    padding: 50px 0;
}

.footer-cta h2 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
	color: var(--text-main);
}

/* Main Footer */

.footer-main {
    padding: 70px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
}

.footer-about p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Footer Menu */

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li a {
    color: #ffffff;
    opacity: 0.85;
    transition: 0.3s ease;
}

.footer-menu li a:hover {
    color: var(--secondary-color);
}

/* Contact */

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.footer-contact a {
    color: #ffffff;
    opacity: 0.9;
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

/* Footer Bottom */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 20px 0;
    font-size: 14px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ffffff;
    opacity: 0.85;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.developer-credit a {
    color: var(--secondary-color);
    font-weight: 500;
}

.developer-credit a:hover {
    text-decoration: underline;
}

.footer-logo img {
	width: 100%;
}

/* ==========================================
   HERO SECTION
========================================== */

.hero-section {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.35) 35%,
        rgba(0,0,0,0) 70%
    );
}

.hero-content-wrapper {
    position: relative;
    max-width: 650px;
    color: #fff;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-subtext {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-buttons .btn {
    padding: 14px 28px;
    font-size: 16px;
}

/* ==========================================
   ABOUT SECTION
========================================== */

.about-section {
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 110px 0;
}

.about-inner {
    max-width: 520px;
}

.about-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text {
    color: var(--text-paragraph);
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px 35px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: var(--primary-color);
}

/* ==========================================
   MOBILE
========================================== */

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
}

/* ==========================================
   PRODUCTS PAGE
========================================== */

/* Banner */
.products-banner {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
}

.banner-content {
    max-width: 600px;
}

.products-banner h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.products-banner p {
    color: var(--text-paragraph);
}

/* Grid */
.products-grid-section {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    display: block;
    height: auto;
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.product-content a {
    display: inline-block;
    clear: both;
    margin-bottom: 10px;
    margin-top: 10px;
}

/* ==========================================
   CATEGORY BANNER (FULL BG IMAGE)
========================================== */

.category-banner {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

/* Optional overlay (for readability) */
.category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.6);
}

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

.banner-content {
    max-width: 600px;
}

.category-banner h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.banner-desc {
    color: var(--text-paragraph);
    line-height: 1.7;
}

.category-products {
    margin: 50px 0;
}


/*Responsive*/

@media (max-width: 992px) {

    .top-bar-inner {
        flex-direction: column;
        gap: 8px;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .header-logo {
        width: 50%;
    }

    .mobile-toggle {
        display: block;
    }

    .main-menu {
        width: 100%;
        display: none;
    }

    .main-menu.active {
        display: block;
    }

    .main-menu .menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-top: 15px;
    }

    .header-cta {
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {

    .top-bar-item {
        font-size: 12px;
    }

    .footer-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
}