/*
Theme Name: Kadence Shop
Theme URI: http://example.com/kadence-shop/
Author: Manus AI
Author URI: http://example.com/
Description: قالب ووردبريس مخصص للمتاجر الإلكترونية مع دعم WooCommerce
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kadence-shop
Tags: e-commerce, one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, flexible-header, rtl-language-support
*/

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: #0056b3;
}

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

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

/* Header Styles */
.site-header {
    background-color: #0056b3;
    padding: 15px 0;
    position: relative;
}

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

.site-branding {
    display: flex;
    align-items: center;
}

.site-logo {
    max-width: 50px;
    margin-right: 10px;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
}

.main-navigation li {
    margin-left: 20px;
}

.main-navigation a {
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #f0f0f0;
}

.cart-icon {
    color: #fff;
    position: relative;
    margin-left: 20px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #fff;
    color: #0056b3;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.cta-button {
    background-color: #0056b3;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid #fff;
}

.cta-button:hover {
    background-color: #003d82;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, #0056b3, #0077cc);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 50%;
    padding-right: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.wave-divider .shape-fill {
    fill: #FFFFFF;
}

/* Logo Section */
.logo-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.logo-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.logo-item {
    margin: 15px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

/* Products Section */
.products-section {
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.product-details {
    padding: 15px;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-price {
    font-weight: bold;
    color: #333;
}

.sale-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #0056b3;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.new-arrivals {
    background-color: #0056b3;
    color: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.new-arrivals h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.new-arrivals p {
    margin-bottom: 20px;
}

.shop-now-btn {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.shop-now-btn:hover {
    background-color: #fff;
    color: #0056b3;
}

/* Footer */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-widget h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 2px;
    background-color: #0056b3;
}

.footer-widget ul {
    list-style: none;
}

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

.footer-widget ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        width: 60%;
    }
    
    .hero-image {
        width: 40%;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        width: 100%;
        text-align: center;
        padding-right: 0;
    }
    
    .hero-image {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .main-navigation {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* RTL Support */
.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .main-navigation li {
    margin-right: 20px;
    margin-left: 0;
}

.rtl .hero-content {
    padding-left: 20px;
    padding-right: 0;
}

.rtl .footer-widget h3:after {
    right: 0;
    left: auto;
}
