/*
 * Lumina Optics Premium Design System
 */

:root {
    /* Colors */
    --primary-color: #1a1a1a;
    --accent-color: #c5a059; /* Gold accent */
    --bg-color: #f9f9f7;     /* Off-white */
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-color);
}

h1, h2, h3, h4, .font-serif {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: transparent;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo a {
    font-family: var(--font-heading);
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.main-navigation ul {
    display: flex;
    gap: 30px;
}

.main-navigation a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-icons {
    display: flex;
    gap: 20px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: #ebeae6;
    overflow: hidden;
    position: relative;
}

.hero-content {
    width: 50%;
    padding-right: 50px;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

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

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Category Filter Icons */
.frame-filters {
    padding: var(--section-padding);
    background: var(--white);
    text-align: center;
}

.filter-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.filter-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.filter-item:hover {
    transform: translateY(-10px);
}

.filter-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    opacity: 0.7;
}

.filter-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: var(--section-padding);
}

.product-card {
    background: var(--white);
    padding: 20px;
    transition: box-shadow 0.3s ease;
    text-align: center;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.product-price {
    font-weight: 700;
    color: var(--accent-color);
}

/* WooCommerce Specific Overrides */
.woocommerce-container {
    margin-top: 60px;
}

.woocommerce-loop-product__link {
    display: block;
    text-align: center;
}

.price {
    display: block;
    font-size: 1.2rem;
    margin: 10px 0;
    color: var(--accent-color) !important;
}

.woocommerce-loop-product__title {
    font-family: var(--font-heading) !important;
    font-size: 1.4rem !important;
    color: var(--primary-color);
    margin: 15px 0 5px 0 !important;
}

/* Custom Product Card Hover */
.product-image-wrapper {
    background: #fdfdfc;
    padding: 40px;
    border-radius: 4px;
    transition: background 0.3s ease;
    overflow: hidden;
    position: relative;
}

.product-image-wrapper:hover {
    background: #f4f4f2;
}

.product-image-wrapper img {
    transition: transform 0.5s ease;
}

.product-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Add to Cart Button Style */
.add_to_cart_button, .single_add_to_cart_button {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    border-radius: 0 !important;
    padding: 12px 25px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 12px !important;
}

.add_to_cart_button:hover, .single_add_to_cart_button:hover {
    background-color: var(--accent-color) !important;
}

/* Single Product Page */
.summary.entry-summary {
    padding-left: 40px;
}

.woocommerce-product-details__short-description {
    margin: 20px 0;
    font-size: 1rem;
    color: var(--text-muted);
}

.product_meta {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
}
