/*
Theme Name: Golden Ledger Theme
Description: A premium WordPress theme for Golden Ledger - showcasing limited-edition, high-quality products with elegant design and brand credibility focus. Perfect for brands that emphasize craftsmanship, exclusivity, and directing customers to retail partners.
Author: Your Name
Version: 1.0
Text Domain: golden-ledger-theme
Requires at least: 5.0
Tested up to: 6.3
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: business, e-commerce, brand-showcase, premium, luxury, portfolio, blog, responsive, custom-header

This theme includes:
- Premium brand showcase design with gold accents
- Product collections display with retailer links
- Blog functionality for content marketing and SEO
- Retailer partner integration (Amazon, Walmart, Wayfair)
- Mobile-first responsive design with Tailwind CSS
- Custom post types for products and collections
- Professional business credibility features
- Limited edition product philosophy emphasis
*/

/* 
 * IMPORTANT: This theme uses Tailwind CSS via CDN for styling.
 * The main styles are loaded through functions.php using wp_enqueue_script()
 * and configured with a premium gold and elegant color palette.
 * 
 * Custom CSS overrides and theme-specific styles can be added below.
 */

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

/* WordPress Core Styles - These ensure compatibility with WordPress features */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Screen reader text - accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Custom Golden Ledger color utilities that extend Tailwind */
/* These are backup styles in case Tailwind CDN fails to load */
.text-golden-600 {
    color: #d97706;
}

.bg-golden-600 {
    background-color: #d97706;
}

.text-golden-700 {
    color: #b45309;
}

.bg-golden-700 {
    background-color: #b45309;
}

.text-elegant-navy {
    color: #1e293b;
}

.bg-elegant-navy {
    background-color: #1e293b;
}

.text-warm-gray-50 {
    color: #fafaf9;
}

.bg-warm-gray-50 {
    background-color: #fafaf9;
}

/* Premium Product Card Styles */
.product-card {
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Limited Edition Badge */
.limited-edition-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Retailer Partner Links Styling */
.retailer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.retailer-link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.2s ease;
}

.retailer-link:hover {
    border-color: #d97706;
    background: #fffbeb;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.retailer-logo {
    height: 24px;
    width: auto;
    margin-right: 0.5rem;
}

/* Blog Post Styling for SEO Content */
.blog-post-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Typography Enhancements */
.elegant-heading {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -0.025em;
}

.premium-text {
    font-family: 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.7;
    color: #4b5563;
}

/* Brand Logo Styling */
.brand-logo {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #d97706;
    text-decoration: none;
}

.brand-logo:hover {
    color: #b45309;
}

/* Navigation Enhancements */
.main-navigation {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-link {
    position: relative;
    transition: all 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d97706;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Button Styles */
.btn-golden {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-golden:hover {
    background: linear-gradient(135deg, #b45309, #d97706);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(217, 119, 6, 0.3);
    color: white;
}

.btn-outline {
    background: transparent;
    color: #d97706;
    border: 2px solid #d97706;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: #d97706;
    color: white;
    transform: translateY(-1px);
}

/* Footer Styling */
.footer-section {
    background: linear-gradient(135deg, #1e293b, #334155);
}

/* Print Styles */
@media print {
    .no-print, .no-print * {
        display: none !important;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .retailer-links {
        justify-content: center;
    }
    
    .product-card {
        margin-bottom: 2rem;
    }
    
    .limited-edition-badge {
        font-size: 0.625rem;
        padding: 0.375rem 0.75rem;
    }
}

/* 
 * Additional custom styles can be added here
 * Remember: This theme primarily uses Tailwind CSS classes
 * Only add custom CSS here for specific overrides or unique styling needs
 */
/* ==============================
   NEW HERO SECTION STYLES
   ============================== */

/* Dark hero background with gradient */
.hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #b45309 100%);
    position: relative;
    overflow: hidden;
}

/* Animated background elements */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

/* Logo hover effects */
.hero-section img {
    transition: all 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    filter: drop-shadow(0 20px 25px rgb(0 0 0 / 0.25)) drop-shadow(0 8px 10px rgb(0 0 0 / 0.04));
}

.hero-section img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 25px 30px rgb(245 158 11 / 0.3)) drop-shadow(0 10px 15px rgb(0 0 0 / 0.1));
}

/* Text gradient effects */
.bg-clip-text {
    background-clip: text;
    -webkit-background-clip: text;
}

/* Glass morphism cards */
.hero-section .bg-white\/5 {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-section .bg-white\/5:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Enhanced CTA buttons */
.hero-section .btn-golden,
.hero-section .bg-gradient-to-r {
    position: relative;
    overflow: hidden;
}

.hero-section .btn-golden::before,
.hero-section .bg-gradient-to-r::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.hero-section .btn-golden:hover::before,
.hero-section .bg-gradient-to-r:hover::before {
    left: 100%;
}

/* Scroll indicator animation */
@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.hero-section .animate-bounce {
    animation: scrollBounce 2s infinite;
}

/* ==============================
   ENHANCED HEADER WITH LOGO
   ============================== */

/* Header backdrop blur enhancement */
.main-navigation {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

/* Logo container styling */
.main-navigation .flex.items-center.space-x-3 {
    transition: transform 0.3s ease;
}

.main-navigation .flex.items-center.space-x-3:hover {
    transform: scale(1.05);
}

/* Logo image styling */
.main-navigation img {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.main-navigation img:hover {
    filter: drop-shadow(0 4px 8px rgba(245, 158, 11, 0.3));
    transform: rotate(-5deg);
}

/* ==============================
   RESPONSIVE ENHANCEMENTS
   ============================== */

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 3rem;
        line-height: 1.1;
    }
    
    .hero-section h1 span:first-child {
        font-size: 2rem;
    }
    
    .hero-section .grid-cols-1.md\\:grid-cols-3 {
        gap: 1rem;
    }
    
    .hero-section .px-12 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h1 span:first-child {
        font-size: 1.75rem;
    }
    
    .hero-section .px-12 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* ==============================
   DARK MODE SUPPORT
   ============================== */

@media (prefers-color-scheme: dark) {
    .main-navigation {
        background: rgba(15, 23, 42, 0.95);
        color: white;
    }
}

/* ==============================
   ACCESSIBILITY ENHANCEMENTS
   ============================== */

/* Focus states for better keyboard navigation */
.hero-section a:focus,
.main-navigation a:focus,
.main-navigation button:focus {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .hero-section img,
    .main-navigation img,
    .hero-section .animate-bounce,
    .hero-section::before {
        animation: none;
        transition: none;
    }
    
    .hero-section img:hover,
    .main-navigation img:hover,
    .hero-section .bg-white\/5:hover {
        transform: none;
    }
}
