/*
Theme Name: ALV Stones
Theme URI: https://alvstones.com/
Author: ALV Stones
Description: Premium WordPress CMS theme for luxury stone art
Version: 3.0
Text Domain: alv-stones
*/

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

:root {
    --primary: #1a1a1a;
    --secondary: #f5f5f5;
    --accent: #c9a961;
    --text: #333;
    --light-text: #666;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Raleway', sans-serif;
    color: var(--text);
    line-height: 1.8;
    background: white;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
    font-weight: 300;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Header */
.site-header {
    background: white;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #f0f0f0;
}

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

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo h1 {
    font-size: 1.2rem;
    margin: 0;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.header-logo p {
    font-size: 0.7rem;
    margin: 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-text);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-menu .active a {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 0;
}

/* Hero */
.hero-section {
    background: var(--primary);
    color: white;
    padding: 150px 40px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 3rem;
    font-style: italic;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto 50px;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn, button, a.btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--accent);
    color: var(--primary);
    border: 2px solid var(--accent);
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.4s ease;
    text-decoration: none;
}

.btn:hover, button:hover {
    background: var(--primary);
    color: var(--accent);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary);
}

.btn-light {
    background: white;
    color: var(--primary);
    border-color: white;
}

.btn-light:hover {
    background: var(--accent);
    color: var(--primary);
}

/* Content */
.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-section {
    padding: 100px 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    position: relative;
    padding-bottom: 30px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--accent);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.product-card {
    background: white;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transform: translateY(-15px);
    border-color: var(--accent);
}

.product-image {
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: #f9f9f9;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.product-info {
    padding: 35px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.product-meta {
    font-size: 0.8rem;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.product-description {
    font-size: 0.95rem;
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-details {
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    font-size: 0.9rem;
    color: var(--light-text);
}

/* Footer */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 80px 40px 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.footer-section a {
    color: rgba(255,255,255,0.6);
    display: block;
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.category-card {
    background: white;
    border: 1px solid #f0f0f0;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover {
    background: var(--primary);
    color: white;
    border-color: var(--accent);
    transform: translateY(-5px);
}

.category-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-section { padding: 80px 30px; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}

@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    .nav-menu { flex-direction: column; gap: 10px; }
    .hero-section { padding: 50px 20px; min-height: 60vh; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.8rem; }
    .product-grid { grid-template-columns: 1fr; gap: 20px; }
    .page-section { padding: 50px 20px; }
}
/* Enhanced Header Styling */
.site-header {
    background: white !important;
    padding: 15px 40px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
}

.header-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.header-logo {
    flex-shrink: 0;
    min-width: 250px;
}

.header-logo h1 {
    font-size: 0.95rem;
    margin: 0;
    letter-spacing: 0.12em;
    color: #1a1a1a;
}

.header-logo p {
    margin: 3px 0 0 0;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: #bbb;
    text-transform: uppercase;
}

.site-nav {
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: inline-block;
    padding: 15px 18px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #333;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    background: transparent;
}

.nav-menu a:hover {
    background-color: #f5f5f5;
    color: #1a1a1a;
}

.nav-menu .current_page_item a,
.nav-menu .active a {
    background: #1a1a1a;
    color: white;
}

/* Product Grid Improvements */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.product-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

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

/* Responsive adjustments */
@media (max-width: 1200px) {
    .header-wrapper {
        gap: 20px;
    }
    
    .nav-menu {
        gap: 5px;
    }
    
    .nav-menu a {
        padding: 12px 12px;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 12px 20px;
    }
    
    .header-logo {
        min-width: auto;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-menu a {
        padding: 10px 12px;
        font-size: 0.7rem;
    }
}