/*
Theme Name: ShopGlut Modern Store
Description: Modern and sleek WooCommerce theme perfect for fashion and lifestyle stores. Features gradient headers and modern styling.
Version: 1.0
Author: ShopGlut
Author URI: https://shopglut.com
Text Domain: shopglut-modern-store
Tags: woocommerce, modern, gradient, fashion, lifestyle, two-columns, custom-header, custom-menu, featured-images, threaded-comments
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.4
*/

/* Modern Store Theme Styles */

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 20px rgba(102, 126, 234, 0.3);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 15px 0;
}

.site-branding h1 {
    margin: 0;
}

.site-branding h1 a {
    color: #ffffff;
    text-decoration: none;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.site-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 5px 0 0 0;
}

/* Navigation */
.main-navigation {
    background: rgba(255, 255, 255, 0.1);
    margin-top: 15px;
    border-radius: 8px;
    padding: 0;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.main-navigation li a {
    display: block;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 2px;
}

.main-navigation li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Content Area */
.site-content {
    padding: 40px 0;
    min-height: 60vh;
    background: #ffffff;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.content-area {
    width: 70%;
    float: left;
    padding-right: 30px;
}

.widget-area {
    width: 30%;
    float: right;
}

/* Posts and Pages */
.entry-title {
    color: #333;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: #667eea;
}

.entry-content {
    line-height: 1.8;
    margin-bottom: 30px;
}

.entry-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* WooCommerce Styles */
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
    margin-bottom: 20px;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.woocommerce ul.products li.product {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.woocommerce ul.products li.product .price {
    color: #667eea;
    font-weight: 700;
    font-size: 18px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Sidebar Widgets */
.widget {
    background: #fff;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.widget-title {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 60px 0 20px;
    border-top: 4px solid #667eea;
    margin-top: 40px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #667eea;
}

.footer-widget a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: #667eea;
}

.site-info {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-area,
    .widget-area {
        width: 100%;
        float: none;
        padding-right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .site-branding h1 a {
        font-size: 24px;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Utility Classes */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}