/*
Theme Name: TitanMart Store
Theme URI: https://titanmart.com
Author: TitanMart Team
Author URI: https://titanmart.com
Description: Beautiful e-commerce theme for TitanMart with Elementor support
Version: 1.0.0
License: GPL2
Text Domain: titanmart-store
Domain Path: /languages

This theme, like WordPress, is licensed under the GPL.
*/

:root {
    --primary-gold: #D4AF37;
    --dark-bg: #1a1a1a;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-dark: #333;
    --border-color: #ddd;
}

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

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-gray);
}

a {
    color: var(--primary-gold);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--dark-bg);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.site-header .site-branding h1 {
    margin: 0;
    font-size: 24px;
    color: var(--primary-gold);
}

.site-header .site-branding a {
    color: var(--primary-gold);
}

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

/* ===== NAVIGATION ===== */
.site-navigation {
    background: var(--primary-gold);
    padding: 12px 0;
}

.site-navigation ul {
    list-style: none;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    gap: 30px;
}

.site-navigation a {
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* ===== MAIN CONTENT ===== */
.site-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
    min-height: calc(100vh - 200px);
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--primary-gold);
}

.entry-content {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 15px;
}

.entry-content h2 {
    font-size: 28px;
    margin: 30px 0 20px;
    border-bottom: 3px solid var(--primary-gold);
    padding-bottom: 10px;
    color: var(--dark-bg);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-widget-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.footer-widget h3 {
    color: var(--primary-gold);
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-widget p,
.footer-widget li {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-bottom: 10px;
}

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

.site-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

/* ===== PAGINATION ===== */
.pagination {
    text-align: center;
    margin: 30px 0;
}

.pagination a,
.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    background: var(--primary-gold);
    color: var(--dark-bg);
    border-radius: 5px;
    text-decoration: none;
}

.pagination .current {
    background: var(--dark-bg);
    color: var(--primary-gold);
}

/* ===== COMMENTS ===== */
.comments-area {
    margin-top: 30px;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
}

.comment-list {
    list-style: none;
}

.comment {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.comment-author {
    font-weight: bold;
    margin-bottom: 10px;
}

.comment-meta {
    font-size: 12px;
    color: #666;
}

/* ===== FORMS ===== */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
}

button,
input[type="submit"],
.button {
    background: var(--primary-gold);
    color: var(--dark-bg);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

button:hover,
input[type="submit"]:hover,
.button:hover {
    background: #c99f2e;
}

/* ===== BANNER ===== */
.banner {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #333 100%);
    color: var(--white);
    padding: 60px 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 40px;
}

.banner h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--primary-gold);
}

.banner p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.product-content {
    padding: 15px;
}

.product-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.product-price {
    font-size: 20px;
    color: var(--primary-gold);
    font-weight: bold;
    margin-bottom: 12px;
}

.product-rating {
    color: #ff9800;
    font-size: 14px;
    margin-bottom: 12px;
}

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

.btn-add-cart {
    flex: 1;
    background: var(--primary-gold);
    color: var(--dark-bg);
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-add-cart:hover {
    background: #c99f2e;
}

.btn-quick-view {
    flex: 1;
    background: var(--dark-bg);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-quick-view:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .site-navigation ul {
        flex-wrap: wrap;
        gap: 15px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-image {
        height: 150px;
        font-size: 40px;
    }

    .banner h1 {
        font-size: 28px;
    }

    .entry-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner h1 {
        font-size: 22px;
    }

    .entry-title {
        font-size: 28px;
    }

    .site-content {
        padding: 15px 10px;
    }

    .footer-widget-area {
        grid-template-columns: 1fr;
    }
}

/* ===== ELEMENTOR COMPATIBILITY ===== */
.elementor-container {
    max-width: 1200px;
}

.elementor-section {
    padding: 30px 0;
}
