/*
Theme Name: Smoke in Dubai
Description: High-performance WordPress theme for smokeindubai.com with WooCommerce integration
Version: 1.0.0
Author: SEO Assistant
Text Domain: smokeindubai
*/
/*
Theme Name: Smoke in Dubai
Theme URI: https://smokeindubai.com
Author: Smoke in Dubai
Description: Ultra-fast, dark, minimal theme optimized for WooCommerce + Elementor. Arabic-ready via WPML/Polylang.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: smokeindubai
Tags: e-commerce, woocommerce, elementor, dark, responsive, accessibility-ready

Note: This is a custom lightweight theme built for performance. It supports Elementor and WooCommerce and includes dark smoke styling.
*/

/* Base CSS in assets/css/theme.css; keep this file for WordPress theme header only. */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

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

/* Header Styles */
header.site-header {
    background: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid #e0e0e0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff6b35;
    text-decoration: none;
}

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

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.header-cart {
    background: #ff6b35;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    margin-top: 80px;
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* WooCommerce Product Styles */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    list-style: none;
}

.woocommerce ul.products li.product {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
    text-decoration: none;
    color: inherit;
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.2rem;
    margin: 1rem;
    color: #333;
}

.woocommerce ul.products li.product .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b35;
    margin: 0 1rem 1rem;
}

.woocommerce ul.products li.product .button {
    width: calc(100% - 2rem);
    margin: 0 1rem 1rem;
    background: #ff6b35;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: block;
}

.woocommerce ul.products li.product .button:hover {
    background: #e55a2b;
}

/* WooCommerce Cart Styles */
.woocommerce-cart table.cart {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.woocommerce-cart table.cart th {
    background: #f8f9fa;
    font-weight: bold;
}

.woocommerce-cart .cart-collaterals {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.woocommerce-cart .cart_totals h2 {
    color: #ff6b35;
    margin-bottom: 1rem;
}

.woocommerce-cart .checkout-button {
    background: #ff6b35;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    font-size: 1.1rem;
}

.woocommerce-cart .checkout-button:hover {
    background: #e55a2b;
}

/* WooCommerce Checkout Styles */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: #ff6b35;
    outline: none;
}

.woocommerce-checkout #place_order {
    background: #ff6b35;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    font-size: 1.2rem;
}

.woocommerce-checkout #place_order:hover {
    background: #e55a2b;
}

/* Single Product Page */
.woocommerce div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.woocommerce div.product .woocommerce-product-gallery {
    position: relative;
}

.woocommerce div.product .woocommerce-product-gallery img {
    width: 100%;
    border-radius: 10px;
}

.woocommerce div.product .summary {
    padding: 1rem;
}

.woocommerce div.product .summary .product_title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.woocommerce div.product .summary .price {
    font-size: 2rem;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.woocommerce div.product .summary .woocommerce-product-details__short-description {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.woocommerce div.product .summary .single_add_to_cart_button {
    background: #ff6b35;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1.1rem;
}

.woocommerce div.product .summary .single_add_to_cart_button:hover {
    background: #e55a2b;
}

/* Features Section */
.features-section {
    background: white;
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    color: #333;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* Footer */
footer.site-footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-navigation ul {
        display: none;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
    
    .woocommerce div.product {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Performance Optimizations */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* WooCommerce Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.woocommerce-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.woocommerce-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.woocommerce-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #ff6b35;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}