/*
Theme Name: FoodBlog Theme
Theme URI: http://example.com
Author: Bridging Technologies Pvt. Ltd
Description: Custom theme for FoodBlog website.
Version: 1.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: #333;
}

a.button,
.button {
    background: #000 !important;
    color: #fff !important;
}

.woocommerce-breadcrumb a {
    text-decoration: none;
    color: #000 !important;
}

/* Banner Section */
.banner {
    min-height: 560px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/slide_4.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.banner-content {
    max-width: 550px;
    text-align: left;
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.image-placeholder img {
    width: 100%;
}

.content-half {
    flex: 1;
}

.content-half h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-weight: 600
}

.content-half p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

/*Header*/
.navbar-toggler:focus {
    box-shadow: none;
}

button:focus:not(:focus-visible) {
    box-shadow: none;
}

ul#menu-primary-menu {
    gap: 30px;
    text-transform: uppercase;
}

.header .navbar-nav a {
    text-decoration: none;
    color: #000;
}

.header-cart {
    margin-left: 15px;
}

.cart-btn path {
    color: #000;
}

.product a.added_to_cart.wc-forward {
    display: block;
    color: #000;
}

.navbar-toggler {
    border: none !important;
    outline: none !important;
    padding: 6px;
}

.navbar-toggler-icon {
    width: 26px;
    height: 2px;
    background-color: #000 !important;
    display: inline-block;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    width: 26px;
    height: 2px;
    background-color: #000;
    position: absolute;
    left: 0;
}

.navbar-toggler-icon::before {
    top: -7px;
}

.navbar-toggler-icon::after {
    top: 7px;
}

/* ================================
   CLOSE ICON (X)
   ================================ */


/* .close-menu::before,
.close-menu::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #000;
    top: 50%;
    left: 50%;
    transform-origin: center;
} */

/* .close-menu::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-menu::after {
    transform: translate(-50%, -50%) rotate(-45deg);
} */

/* Footer */
footer {
    background-color: #fff;
    /* color: white; */
    padding: 40px 0;
    border-top: 2px solid #d4d4d8;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 40px;
}

.legal {
    justify-content: end;
}

.footer-column {
    flex: 1;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column p,
.footer-column a {
    font-size: 18px;
    color: #1c1917;
    text-decoration: none;
    margin-bottom: 8px;
    border: 1px solid #d4d4d8;
    padding: 15px 20px;
    font-weight: 600;
}

.contact-icon {
    width: 16px;
    height: 16px;
    fill: #bdc3c7;
}

.copyright {
    text-align: center;
    background: #fafaf9;
    padding: 20px;
    color: #71717a;
}

.copyright p {
    font-size: 1rem;
    margin-bottom: 0;
}


/**woocommerce***/
.woocommerce .woocommerce-ordering select {
    padding: 10px;
    font-size: 14px;
}

.product {
    text-align: center;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
    font-size: 20px;
    color: #000;
    font-weight: 400;
}

.woocommerce ul.products li.product .onsale {
    background-color: #ffffff;
    color: #000000;
    border-radius: 4px;
    right: 13px;
    top: 13px;
    line-height: 2;
    min-height: 2.5em;
    padding: 4px 9px;
    text-transform: uppercase;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

.woocommerce ul.products li.product .price {
    color: #000;
}

.woocommerce ul.products li.product .button {
    background: #000;
    color: #fff;
    font-weight: 500;
}

nav.woocommerce-breadcrumb {
    margin-bottom: 2rem;
}

.woocommerce-cart table.cart img {
    width: 117px;
}

.woocommerce-cart table.cart td a {
    color: #000;
    font-size: 20px;
}

.woocommerce table.shop_table th {
    font-weight: 700;
    padding: 9px 12px;
    line-height: 1.5em;
    font-size: 20px;
}

input#coupon_code {
    width: 112px;
    text-align: center;
}

.woocommerce-page table.cart td.actions .button,
.woocommerce a.button.alt,
.woocommerce a.button.alt:hover,
.wc-block-components-checkout-place-order-button,
.wc-block-components-button.wp-element-button {
    background: #000;
    color: #fff;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
    padding: 1em .5em;
}

.woocommerce ul.order_details li {
    font-size: 14px;
}

/*******/
.terms_data a {
    color: #71717a;
}

/**single product page***/
.single-product .price .woocommerce-Price-amount {
    font-size: 36px;
}

.single-product .products .woocommerce-Price-amount {
    font-size: 14px;
}

form.cart {
    gap: 10px;
    display: flex;
    align-items: center;
}

.woocommerce .quantity .qty {
    height: 36px;
}

.single-product .related.products {
    margin-top: 40px;
}

span.posted_in a {
    color: #000;
    text-decoration: none;
}

/* --- Tabs Wrapper --- */
.product-tabs .woocommerce-tabs {
    margin-top: 40px;
}

/* --- Tabs List --- */
.product-tabs .wc-tabs {
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0 0 25px;
    border-bottom: 1px solid #ddd;
}

.product-tabs .wc-tabs li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Tab links */
.product-tabs .wc-tabs li a {
    font-size: 18px;
    font-weight: 500;
    color: #111;
    padding: 10px 0;
    display: inline-block;
    text-decoration: none;
}

/* Remove WC default circles, borders */
.product-tabs .wc-tabs li:before,
.product-tabs .wc-tabs li:after {
    display: none !important;
}

/* --- Active Tab --- */
.product-tabs .wc-tabs li.active a {
    color: #000;
    border-bottom: 3px solid #000;
}

/* Hover */
.product-tabs .wc-tabs li a:hover {
    opacity: 0.7;
}

/* --- Tab Content Panel --- */
.product-tabs .woocommerce-Tabs-panel {
    margin-top: 20px;
}

.product-tabs .woocommerce-Tabs-panel h2 {
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-tabs .woocommerce-Tabs-panel p {
    font-size: 16px;
    line-height: 26px;
    color: #333;
}

.related.products h2 {
    margin-bottom: 25px;
}

.woocommerce img,
.woocommerce-page img {
    width: 100%;
}

.woocommerce-product-gallery--columns-4.images {
    position: relative;
}

.woocommerce-product-gallery__trigger::before {
    border: 2px solid #000;
    border-radius: 100%;
    box-sizing: content-box;
    content: "";
    display: block;
    height: 10px;
    left: 9px;
    top: 9px;
    position: absolute;
    width: 10px;
}

.woocommerce-product-gallery__trigger::after {
    background: #000;
    border-radius: 6px;
    box-sizing: content-box;
    content: "";
    display: block;
    height: 8px;
    left: 22px;
    position: absolute;
    top: 19px;
    transform: rotate(-45deg);
    width: 2px;
}

a.woocommerce-product-gallery__trigger {
    background: #fff;
    border: none;
    box-sizing: content-box;
    border-radius: 100%;
    cursor: pointer;
    font-size: 2em;
    height: 36px;
    padding: 0;
    position: absolute;
    right: .5em;
    text-indent: -9999px;
    top: .5em;
    width: 36px;
    z-index: 99;
}

/* Responsive Design */
@media (max-width: 991px) {
    .header-cart {
        margin-left: 30px !important;
    }

    .section-2 .content-section {
        padding: 0;
    }

    /* Make collapse menu full-screen */
    #mainMenu.collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        z-index: 9999;
        padding: 70px 30px 30px 30px;
        overflow-y: auto;

        /* transition for smooth animation */
        transform: translateX(100%);
        opacity: 0;
        transition: transform .45s ease-in-out, opacity .45s ease-in-out;
    }

    /* When menu is shown */
    #mainMenu.collapse.show {
        right: 0;
        transform: translateX(0);
        opacity: 1;
    }

    /* Close icon */
    .btn-close {
        position: fixed;
        top: 40px;
        right: 30px;
        z-index: 10000;
    }

    /* Prevent scrolling behind menu */
    body.modal-open {
        overflow: hidden !important;
    }

    .content-section {
        gap: 40px;
    }

    .content-half h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2.5rem;

    }

    .footer-columns {
        align-items: center;
    }

    .footer-column {
        gap: 20px;
    }

    .banner-content p {
        font-size: 1.1rem;
    }

    .section-2 .content-section {
        flex-direction: column-reverse;
        padding: 0 20px;
    }

    .content-section {
        flex-direction: column;
        padding: 60px 20px;
    }

    .content-half {
        padding: 0;
    }

    .footer-columns {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 2rem;
    }

    .content-half h2 {
        font-size: 1.8rem;
    }

    .image-placeholder {
        height: auto;
    }

    .footer-column h3 {
        font-size: 1.1rem;
    }

    .footer-column p,
    .footer-column a {
        font-size: 0.9rem;
    }
}