/*
Theme Name: Carden Chocolate
Theme URI: https://cardenchocolate.com/
Author: Ahmed Atef
Author URI: https://cardenchocolate.com/
Description: A custom WooCommerce theme for Carden Chocolate with Bootstrap integration.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cardenchocolate
Tags: woocommerce, e-commerce, chocolate, carden, bootstrap
*/

/* Custom theme styles that complement Bootstrap */

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #ffffff;
    color: #3a2c1a;
}

/* Custom color variables */
:root {
    --chocolate-primary: #ffffff;
    --chocolate-secondary: #040f3d;
    --chocolate-accent: #ffb347;
    --chocolate-light: #ffffff;
    --chocolate-dark: #3a2c1a;
}

/* Header customizations */
.site-header .header-top {
    background: #ae964f !important;
}

.navbar-brand {
    color: var(--chocolate-secondary) !important;
    font-weight: bold;
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    color: var(--chocolate-secondary) !important;
    font-weight: 500;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--chocolate-primary) !important;
}

.navbar-nav .nav-link.active {
    color: var(--chocolate-primary) !important;
}

/* Hero Slider customizations */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider-slide.active {
    opacity: 1;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-prev, .slider-next {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-prev:hover, .slider-next:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    transform: scale(1.1);
}

/* Categories menu customizations */
.categories-menu {
    background: #f8f9fa !important;
}

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

.categories-list li {
    margin: 0;
}

.categories-list a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #040f3d;
    color: var(--chocolate-secondary);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.categories-list a:hover, .categories-list .current-cat > a {
    background: var(--chocolate-primary);
    color: #040f3d !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Brands section customizations */
.brands-section {
    background: white;
}

.section-title {
    color: var(--chocolate-secondary);
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--chocolate-accent);
}

.brand-logo-link {
    display: block;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.brand-logo-link:hover {
    transform: scale(1.05);
}

.brand-logo-img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brand-logo-link:hover .brand-logo-img {
    filter: grayscale(0%);
}

/* Video section customizations */
.video-section {
    background: #f8f9fa !important;
}

.video-description {
    color: #666;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Collections section customizations */
.collections-section {
    background: white;
}

.collection-card {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.collection-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.collection-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.collection-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collection-card:hover .collection-image {
    transform: scale(1.05);
}

.collection-title {
    color: var(--chocolate-secondary);
    font-weight: bold;
    margin: 0;
    padding: 1rem;
}

/* Subscribe section customizations */
.subscribe-section {
    background: var(--chocolate-secondary) !important;
}

.subscribe-input {
    border: none;
    border-radius: 25px 0 0 25px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.subscribe-input:focus {
    box-shadow: none;
    border-color: var(--chocolate-accent);
}

.subscribe-btn {
    background: var(--chocolate-accent) !important;
    border: none;
    border-radius: 0 25px 25px 0;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: var(--chocolate-secondary);
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    background: #ffa726 !important;
    transform: translateY(-1px);
}

.mailchimp-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Footer customizations */
.site-footer {
    background: var(--chocolate-secondary) !important;
}

.footer-social-links a {
    transition: transform 0.3s ease;
}

.footer-social-links a:hover {
    transform: scale(1.2);
    color: var(--chocolate-accent) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-slider {
        height: 300px;
    }
    
    .slider-prev, .slider-next {
        width: 40px;
        height: 40px;
    }
    
    .categories-list a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 250px;
    }
    
    .slider-prev, .slider-next {
        width: 35px;
        height: 35px;
    }
    
    .categories-list {
        flex-direction: column;
        align-items: center;
    }
    
    .categories-list a {
        margin-bottom: 0.5rem;
    }
}

/* WooCommerce compatibility */
.woocommerce .woocommerce-ordering {
    margin-bottom: 2rem;
}

.woocommerce ul.products {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce ul.products li.product {
    margin-bottom: 2rem;
}

/* Custom button styles */
.btn-primary {
    background-color: var(--chocolate-primary) !important;
    border-color: var(--chocolate-primary) !important;
}

.btn-primary:hover {
    background-color: var(--chocolate-secondary) !important;
    border-color: var(--chocolate-secondary) !important;
}

.btn-outline-primary {
    color: var(--chocolate-primary) !important;
    border-color: var(--chocolate-primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--chocolate-primary) !important;
    border-color: var(--chocolate-primary) !important;
} 


/* Hero Slider Styles */
.hero-slider {
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider-slide.active {
    opacity: 1;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* WooCommerce Breadcrumb */
.woocommerce-breadcrumb {
    margin: 0 !important;
    padding: 0.5rem 0 !important;
    font-size: 0.875rem;
}

.woocommerce-breadcrumb a {
    color: var(--bs-primary);
}

.woocommerce-breadcrumb .delimiter {
    margin: 0 0.5rem;
}

.wpc-filters-main-wrap li.wpc-term-item a{
    color:#040f3d !important;
}

.product-actions .btn{

    background: #040f3d !important;
    color: #fff !important;
}
.woocommerce .products .product .button:hover{
    color: #fff !important;
    background: #040f3d !important;
}
.woocommerce .products .product .button{
    border-radius: 0px !important;
    text-align: center;
    background: #eaeff3 !important;
    color: #040f3d !important;
}
.custom-logo-link img{
    width: 112px;
    height: 85px;
}
.product-image-wrapper img {
    height: 300px !important;
    object-fit: contain !important;
}

.contact-section p {
    font-size: 26px;
    font-weight: bold;
}

.chaty-widget span.on-hover-text {
    display: none !important;
}

.trp-ls-language-name{
	display:none !important;
}
body:not(.rtl) #navbarNav{
	display:block !important;
	direction:rtl;
}
.navbar-nav .nav-link:hover {
    color: #ffb347 !important;
}
@media (min-width: 992px){
	body:not(.rtl) #menu-menu-1{
		direction: ltr;
	}
	#menu-menu-1{
		display: block;
    	width: 100%;
		text-align: center;
		direction:rtl;
	}
	li.nav-item {
		display: inline-block !important;
	}
	body.rtl li.nav-item:last-child {
   		 float: left !important;
	}
	li.nav-item:last-child {
   		 float: right;
	}
}

.product-actions {
	display:none;
}