/*
Theme Name: Korepox Arts
Theme URI: https://korepoxarts.com
Author: Korepox Arts
Author URI: https://korepoxarts.com
Description: Premium luxury furniture eCommerce theme for handcrafted epoxy resin furniture. Features dark luxury design with gold accents, WooCommerce integration, and Elementor compatibility.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: korepox-arts
Tags: ecommerce, luxury, woocommerce, furniture, dark, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready

Korepox Arts WordPress Theme, Copyright 2025
Korepox Arts is distributed under the terms of the GNU GPL.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - CSS Variables (Colors & Fonts)
2.0 - Reset & Base Styles
3.0 - Typography
4.0 - Layout & Structure
5.0 - Header
6.0 - Navigation
7.0 - Hero Section
8.0 - Buttons
9.0 - Cards & Products
10.0 - Forms
11.0 - Footer
12.0 - Animations
13.0 - Responsive
14.0 - WooCommerce Overrides
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 - CSS Variables (Colors & Fonts)
--------------------------------------------------------------*/
:root {
    /* Luxury Font Families */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Brand Colors - Amber/Gold */
    --color-amber-200: #fde68a;
    --color-amber-400: #fbbf24;
    --color-amber-500: #f59e0b;
    --color-amber-600: #d97706;
    --color-amber-700: #b45309;
    --color-amber-800: #92400e;
    
    /* Dark & Neutral Colors */
    --color-black: #000000;
    --color-zinc-950: #09090b;
    --color-zinc-900: #18181b;
    --color-zinc-800: #27272a;
    --color-zinc-700: #3f3f46;
    --color-zinc-600: #52525b;
    --color-zinc-500: #71717a;
    
    /* Light & White */
    --color-white: #ffffff;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    
    /* Accent Colors */
    --color-green: #10b981;
    --color-red: #ef4444;
    --color-whatsapp: #25d366;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-amber-600), var(--color-amber-500));
    --gradient-text: linear-gradient(90deg, var(--color-amber-200), var(--color-amber-400), var(--color-amber-200));
    --gradient-hover: linear-gradient(135deg, var(--color-amber-500), var(--color-amber-400));
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-amber: 0 20px 40px rgba(217, 119, 6, 0.3);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-300);
    background-color: var(--color-black);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-amber-500);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--color-amber-400);
}

/*--------------------------------------------------------------
3.0 - Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-luxury {
    font-family: var(--font-display);
    font-weight: 700;
}

/*--------------------------------------------------------------
4.0 - Layout & Structure
--------------------------------------------------------------*/
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-wide {
    max-width: 1536px;
}

.container-narrow {
    max-width: 960px;
}

.section {
    padding: var(--spacing-2xl) 0;
}

.section-lg {
    padding: 6rem 0;
}

/*--------------------------------------------------------------
5.0 - Header
--------------------------------------------------------------*/
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-zinc-800);
    transition: var(--transition-base);
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: var(--shadow-lg);
}

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

.site-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

/*--------------------------------------------------------------
6.0 - Navigation
--------------------------------------------------------------*/
.main-navigation {
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: var(--color-gray-300);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-base);
    position: relative;
}

.main-navigation a:hover,
.main-navigation a.current-menu-item {
    color: var(--color-amber-400);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-amber-500);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/*--------------------------------------------------------------
7.0 - Hero Section
--------------------------------------------------------------*/
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0,0,0,0.8), rgba(0,0,0,0.7), rgba(0,0,0,0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    padding: 0 var(--spacing-md);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--color-gray-300);
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/*--------------------------------------------------------------
8.0 - Buttons
--------------------------------------------------------------*/
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    box-shadow: var(--shadow-amber);
    transform: translateY(-2px);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-amber-400);
    border: 2px solid var(--color-amber-400);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-white);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/*--------------------------------------------------------------
9.0 - Cards & Products
--------------------------------------------------------------*/
.card {
    background: var(--color-zinc-900);
    border: 1px solid var(--color-zinc-800);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
}

.card:hover {
    border-color: var(--color-amber-500);
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(245, 158, 11, 0.2);
    transform: translateY(-4px);
}

.card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: var(--spacing-lg);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-amber-500);
}

/*--------------------------------------------------------------
10.0 - Forms
--------------------------------------------------------------*/
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--color-zinc-800);
    border: 1px solid var(--color-zinc-700);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-base);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-amber-500);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-gray-300);
    font-weight: 500;
}

/*--------------------------------------------------------------
11.0 - Footer
--------------------------------------------------------------*/
.site-footer {
    background: var(--color-black);
    border-top: 1px solid var(--color-zinc-800);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    color: var(--color-gray-400);
}

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

.footer-widget h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-zinc-800);
    text-align: center;
    font-size: 0.875rem;
}

/*--------------------------------------------------------------
12.0 - Animations
--------------------------------------------------------------*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/*--------------------------------------------------------------
13.0 - Responsive
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

/*--------------------------------------------------------------
14.0 - WooCommerce Overrides
--------------------------------------------------------------*/
.woocommerce-page {
    background: var(--color-black);
}

.woocommerce .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.woocommerce ul.products li.product {
    background: var(--color-zinc-900);
    border: 1px solid var(--color-zinc-800);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    transition: var(--transition-base);
}

.woocommerce ul.products li.product:hover {
    border-color: var(--color-amber-500);
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.woocommerce ul.products li.product .price {
    color: var(--color-amber-500);
    font-weight: 700;
    font-size: 1.5rem;
}

.woocommerce .button,
.woocommerce button.button {
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.woocommerce .button:hover {
    background: var(--gradient-hover);
    box-shadow: var(--shadow-amber);
}

/*--------------------------------------------------------------
15.0 - Utility Classes
--------------------------------------------------------------*/
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
