/*
 Theme Name:   Astra Child - Kingdom of Plants
 Theme URI:    https://ambrizkingdomofplants.com
 Description:  Custom child theme for Ambriz Kingdom of Plants - Rare cacti, orchids, and botanical mutations
 Author:       Shaun Oster
 Author URI:   https://shaunoster.com
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  astra-child-kop
*/

/* ==========================================================================
   KINGDOM OF PLANTS - CUSTOM STYLES
   Premium botanical e-commerce styling
   ========================================================================== */

:root {
    /* Brand Colors - Earthy, premium botanical feel */
    --kop-primary: #2d5a27;        /* Deep forest green */
    --kop-secondary: #8b7355;      /* Warm earth brown */
    --kop-accent: #c9a962;         /* Golden accent */
    --kop-dark: #1a1a1a;           /* Rich black */
    --kop-light: #f8f6f3;          /* Warm off-white */
    --kop-text: #333333;
    --kop-text-light: #666666;
    
    /* Typography */
    --kop-font-display: 'Playfair Display', Georgia, serif;
    --kop-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================================
   GLOBAL TYPOGRAPHY
   ========================================================================== */

body {
    font-family: var(--kop-font-body);
    color: var(--kop-text);
    background-color: var(--kop-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--kop-font-display);
    font-weight: 600;
}

/* ==========================================================================
   WOOCOMMERCE PRODUCT PAGE - PREMIUM LAYOUT
   ========================================================================== */

/* Product Title */
.single-product .product_title {
    font-family: var(--kop-font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--kop-dark);
    margin-bottom: 0.5rem;
}

/* Price styling */
.single-product .price {
    font-size: 1.75rem;
    color: var(--kop-primary);
    font-weight: 600;
}

/* Product Video Section */
.kop-product-video-section {
    background: linear-gradient(135deg, var(--kop-dark) 0%, #2a2a2a 100%);
    padding: 3rem;
    margin: 2rem 0;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.kop-product-video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--kop-primary), var(--kop-accent));
}

.kop-video-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.kop-video-icon {
    width: 48px;
    height: 48px;
    background: var(--kop-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.kop-video-title {
    color: white;
    font-family: var(--kop-font-display);
    font-size: 1.5rem;
    margin: 0;
}

.kop-video-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin: 0;
}

.kop-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.kop-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   ORIGIN STORY SECTION
   ========================================================================== */

.kop-origin-section {
    background: white;
    padding: 2.5rem;
    margin: 2rem 0;
    border-radius: 12px;
    border-left: 4px solid var(--kop-primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.kop-origin-title {
    font-family: var(--kop-font-display);
    font-size: 1.25rem;
    color: var(--kop-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kop-origin-content {
    color: var(--kop-text);
    line-height: 1.8;
}

/* ==========================================================================
   RARITY BADGE
   ========================================================================== */

.kop-rarity-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kop-rarity-legendary {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #1a1a1a;
}

.kop-rarity-rare {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
}

.kop-rarity-uncommon {
    background: linear-gradient(135deg, var(--kop-primary), #3d7a35);
    color: white;
}

/* ==========================================================================
   BREEDING LINEAGE SECTION
   ========================================================================== */

.kop-lineage-section {
    background: linear-gradient(135deg, #f8f6f3 0%, #ebe7e0 100%);
    padding: 2.5rem;
    margin: 2rem 0;
    border-radius: 12px;
}

.kop-lineage-title {
    font-family: var(--kop-font-display);
    font-size: 1.25rem;
    color: var(--kop-dark);
    margin-bottom: 1.5rem;
}

.kop-lineage-tree {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.kop-parent-plant {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    min-width: 150px;
}

.kop-parent-name {
    font-weight: 600;
    color: var(--kop-dark);
}

.kop-parent-origin {
    font-size: 0.8rem;
    color: var(--kop-text-light);
}

.kop-lineage-arrow {
    font-size: 1.5rem;
    color: var(--kop-accent);
}

/* ==========================================================================
   CARE INSTRUCTIONS
   ========================================================================== */

.kop-care-section {
    background: white;
    padding: 2.5rem;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.kop-care-title {
    font-family: var(--kop-font-display);
    font-size: 1.25rem;
    color: var(--kop-dark);
    margin-bottom: 1.5rem;
}

.kop-care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.kop-care-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.kop-care-icon {
    width: 40px;
    height: 40px;
    background: var(--kop-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.kop-care-label {
    font-weight: 600;
    color: var(--kop-dark);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.kop-care-value {
    color: var(--kop-text-light);
    font-size: 0.9rem;
}

/* ==========================================================================
   ADD TO CART BUTTON
   ========================================================================== */

.single-product .single_add_to_cart_button {
    background: linear-gradient(135deg, var(--kop-primary) 0%, #3d7a35 100%);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
}

.single-product .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 90, 39, 0.4);
}

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

@media (max-width: 768px) {
    .single-product .product_title {
        font-size: 1.75rem;
    }
    
    .kop-product-video-section {
        padding: 1.5rem;
    }
    
    .kop-origin-section,
    .kop-lineage-section,
    .kop-care-section {
        padding: 1.5rem;
    }
    
    .kop-lineage-tree {
        flex-direction: column;
    }
    
    .kop-lineage-arrow {
        transform: rotate(90deg);
    }
}
