/*
Theme Name: Shamim Ghor Theme
Theme URI: https://shamimghor.shop
Author: Senior WordPress Developer
Author URI: https://shamimghor.shop
Description: A modern, high-converting WooCommerce e-commerce theme tailored for Shamim Ghor (Bangladesh), featuring direct WhatsApp ordering, Customizer options, and responsive styling.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shamimghor
*/

:root {
    --primary-color: #1A2B4C;
    --accent-color: #F5A623;
    --whatsapp-color: #25D366;
    --text-color: #333333;
    --bg-light: #F8F9FA;
    --card-bg: #FFFFFF;
    --border-color: #E2E8F0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 8px 0;
    font-size: 0.875rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar-info span {
    margin-right: 20px;
}

.top-bar-info a {
    color: #ffffff;
}

/* Header & Nav */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.custom-logo {
    max-height: 50px;
    width: auto;
}

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

.main-navigation a {
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.2s;
}

.main-navigation a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2C3E50 100%);
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.hero-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
}

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

/* Product Grid */
.products-section {
    padding: 40px 0;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 10px auto 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: #f0f0f0;
}

.product-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.product-description {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    display: inline-block;
    text-align: center;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.btn-add-cart {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-add-cart:hover {
    background-color: #121E36;
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background-color: #1EBE5D;
}

/* Footer Styling */
.site-footer {
    background-color: var(--primary-color);
    color: #ffffff;
    margin-top: 60px;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    border-bottom: 2px solid rgba(255,255,255,0.1);
    padding-bottom: 8px;
}

.footer-column p, .footer-column li {
    font-size: 0.95rem;
    color: #D1D5DB;
    line-height: 1.8;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.875rem;
    color: #9CA3AF;
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
}
