/*
Theme Name: Digitālo Rīku Centrs Enterprise
Theme URI: https://digitalorikucentrs.lv/
Description: Premium High-Trust Theme for EDS Solutions.
Version: 26.0.3
*/

/* 1. Variables & Design Tokens */
:root {
    /* Palette */
    --drc-primary: #0f172a;
    /* Slate 900 */
    --drc-primary-light: #1e293b;
    /* Slate 800 */
    --drc-accent: #3b82f6;
    /* Blue 500 */
    --drc-accent-hover: #2563eb;
    /* Blue 600 */
    --drc-success: #10b981;
    /* Emerald 500 */
    --drc-text-main: #334155;
    /* Slate 700 */
    --drc-text-light: #64748b;
    /* Slate 500 */
    --drc-bg-light: #f8fafc;
    /* Slate 50 */
    --drc-bg-gray: #f1f5f9;
    /* Slate 100 */
    --drc-white: #ffffff;

    /* Spacing & Layout */
    --drc-container: 1200px;
    --drc-radius: 12px;
    --drc-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --drc-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --drc-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Typography */
    --font-heading: 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

/* 2. Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--drc-text-main);
    background: var(--drc-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--drc-primary);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* 3. Utilities */
.drc26-lv-container {
    max-width: var(--drc-container);
    margin: 0 auto;
    padding: 0 24px;
}

.drc-section-gray {
    background: var(--drc-bg-gray);
    padding: 100px 0;
}

/* Buttons */
.drc26-lv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--drc-accent) 0%, var(--drc-accent-hover) 100%);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    border: none;
    cursor: pointer;
}

.drc26-lv-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    color: white;
}

/* 4. Header & Nav */
.drc26-lv-top-bar {
    background: var(--drc-primary);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drc26-lv-top-content {
    display: flex;
    justify-content: space-between;
}

.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--drc-shadow-sm);
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.drc26-lv-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* BRANDING: CobbsYard */
.drc26-lv-logo {
    font-family: 'Playfair Display', serif;
    /* Premium Serif */
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--drc-primary);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.drc26-lv-logo:hover {
    opacity: 1;
}

.drc26-lv-nav-menu ul {
    display: flex;
    gap: 32px;
    align-items: center;
}

.drc26-lv-nav-menu a {
    color: var(--drc-text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.drc26-lv-nav-menu a:not(.drc26-lv-btn-nav):hover {
    color: var(--drc-accent);
}

/* Menu Hover Effect */
.drc26-lv-nav-menu a:not(.drc26-lv-btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--drc-accent);
    transition: width 0.3s ease;
}

.drc26-lv-nav-menu a:not(.drc26-lv-btn-nav):hover::after {
    width: 100%;
}

.drc26-lv-btn-nav {
    padding: 10px 24px;
    background: var(--drc-primary);
    color: white !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.drc26-lv-btn-nav:hover {
    background: var(--drc-accent);
    transform: translateY(-2px);
    box-shadow: var(--drc-shadow-md);
}

/* 5. HERO Upgrade */
.drc26-lv-hero {
    padding: 100px 0 120px;
    background: radial-gradient(circle at 70% 50%, #f0f7ff 0%, #ffffff 60%);
    position: relative;
    overflow: hidden;
}

.drc-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.drc-hero-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.drc-hero-text h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--drc-primary);
}

.drc-hero-text h1 span {
    background: -webkit-linear-gradient(45deg, var(--drc-accent), #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.drc-hero-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--drc-text-light);
    margin-bottom: 40px;
    max-width: 580px;
}

.drc-hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.drc-link-btn {
    color: var(--drc-text-main);
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 2px solid var(--drc-accent);
    padding-bottom: 2px;
}

.drc-link-btn:hover {
    color: var(--drc-accent);
}

.drc-hero-trust-row {
    display: flex;
    gap: 24px;
    color: var(--drc-text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* CSS Abstract Device */
.drc-abstract-device {
    width: 400px;
    height: 500px;
    position: relative;
    margin: 0 auto;
    perspective: 1000px;
    transform: rotateY(-10deg) rotateX(5deg);
}

.dev-card-slot {
    position: absolute;
    bottom: 0;
    left: 50px;
    right: 50px;
    height: 120px;
    background: linear-gradient(to bottom, #f1f5f9, #cbd5e1);
    border-radius: 20px 20px 0 0;
    z-index: 10;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.dev-light {
    position: absolute;
    bottom: 80px;
    right: 80px;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    z-index: 12;
    box-shadow: 0 0 10px #22c55e;
}

.dev-card {
    position: absolute;
    bottom: 60px;
    left: 80px;
    width: 240px;
    height: 380px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 5;
    transition: transform 0.5s ease;
    border: 1px solid #e2e8f0;
}

.drc-hero-visual:hover .dev-card {
    transform: translateY(-40px);
}

.dev-chip {
    width: 50px;
    height: 40px;
    background: #fbbf24;
    border-radius: 6px;
    margin: 60px 0 0 40px;
}

.dev-photo {
    width: 80px;
    height: 100px;
    background: #e2e8f0;
    margin: 40px 0 0 40px;
    border-radius: 4px;
}

.dev-lines {
    height: 10px;
    width: 120px;
    background: #f1f5f9;
    margin: 20px 0 0 40px;
    box-shadow: 0 20px 0 #f1f5f9;
}

/* 6. Content Section Upgrades */
.drc-trust-strip {
    background: white;
    border-bottom: 1px solid #f1f5f9;
    padding: 24px 0;
}

.drc-trust-strip .drc26-lv-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0.6;
    grayscale: 100%;
}

.trust-label {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
}

.trust-logos {
    display: flex;
    gap: 30px;
    font-weight: 700;
    color: #64748b;
    font-size: 1.1rem;
}

.drc-section-white {
    padding: 100px 0;
    background: white;
}

.drc-section-gray {
    padding: 100px 0;
    background: #f8fafc;
}

/* Features Grid */
.drc-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feat-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    background: #eff6ff;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--drc-text-light);
}

/* Steps */
.drc-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    counter-reset: step;
}

.step-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--drc-shadow-sm);
    position: relative;
    overflow: hidden;
}

.step-num {
    font-size: 4rem;
    color: #f1f5f9;
    font-weight: 800;
    position: absolute;
    top: -10px;
    right: 10px;
    opacity: 0.5;
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.step-card p {
    color: var(--drc-text-light);
    position: relative;
    z-index: 2;
}

/* FAQ */
.drc-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--drc-bg-light);
    padding: 30px;
    border-radius: 12px;
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--drc-primary);
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--drc-text-light);
}

/* CTA */
.drc-cta-section {
    padding: 80px 0;
    background: var(--drc-primary);
    color: white;
    text-align: center;
}

.drc-cta-box h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.drc-cta-box p {
    color: #cbd5e1;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.drc26-lv-btn-large {
    display: inline-block;
    padding: 18px 48px;
    background: white;
    color: var(--drc-primary);
    font-weight: 700;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.drc26-lv-btn-large:hover {
    transform: scale(1.05);
}

/* Product Enhancements */
.drc-sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ef4444;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
}

.drc-rating {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.drc-action-btn {
    background: var(--drc-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 900px) {

    .drc-features-grid,
    .drc-hero-grid,
    .drc-steps-grid {
        grid-template-columns: 1fr;
    }

    .drc-hero-text h1 {
        font-size: 2.8rem;
    }

    .drc-abstract-device {
        display: none;
    }

    /* Hide complicated CSS visual on mobile */
    .drc-faq-grid {
        grid-template-columns: 1fr;
    }
}

.drc26-lv-products {
    padding: 100px 0;
    background: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.drc-product-card {
    background: white;
    border-radius: var(--drc-radius);
    overflow: hidden;
    box-shadow: var(--drc-shadow-sm);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.drc-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--drc-shadow-lg);
    border-color: var(--drc-accent);
}

.drc-thumb {
    height: 240px;
    background: #fff;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f5f9;
}

.drc-thumb img {
    max-height: 100%;
    transition: transform 0.3s ease;
}

.drc-product-card:hover .drc-thumb img {
    transform: scale(1.05);
}

.drc-content {
    padding: 24px;
}

.drc-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--drc-primary);
    height: 3em;
    overflow: hidden;
}

.drc-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drc-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--drc-accent);
}

.drc-action {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--drc-text-main);
}

/* 8. Single Product Page */
.drc-single-product-wrapper {
    padding: 40px 0;
}

.drc-breadcrumbs {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--drc-text-light);
}

.drc-breadcrumbs a {
    color: var(--drc-text-main);
}

.drc-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.drc-product-gallery {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: var(--drc-radius);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drc-product-summary {
    padding-top: 20px;
}

.drc-badge {
    background: #ecfdf5;
    color: var(--drc-success);
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 16px;
}

.drc-product-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.drc-price-large {
    font-size: 2rem;
    color: var(--drc-accent);
    font-weight: 700;
    display: block;
}

.drc-tax-note {
    font-size: 0.9rem;
    color: var(--drc-text-light);
    display: block;
    margin-bottom: 30px;
}

.drc-add-to-cart-area {
    margin-bottom: 40px;
}

/* WooCommerce Button Override */
.woocommerce button.button.alt {
    background: var(--drc-accent);
    border-radius: 50px;
    padding: 16px 40px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.woocommerce button.button.alt:hover {
    background: var(--drc-accent-hover);
    transform: translateY(-2px);
}

.drc-trust-points .tp-item {
    margin-bottom: 12px;
    color: var(--drc-text-main);
    font-size: 0.95rem;
}

.drc-tab-content {
    background: white;
    padding: 40px;
    border-radius: var(--drc-radius);
    box-shadow: var(--drc-shadow-sm);
    line-height: 1.8;
}

.drc-tab-content p {
    margin-bottom: 20px;
}

/* 9. Footer */
.drc-footer {
    background: var(--drc-primary);
    color: #94a3b8;
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 24px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
}

@media (max-width: 768px) {

    .drc-hero-grid,
    .drc-product-layout,
    .drc-steps-grid {
        grid-template-columns: 1fr;
    }

    .drc-hero-text h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}