/*
Theme Name:   CraftPrint Child
Theme URI:    https://craftprint.gr
Description:  CraftPrint Child Theme (Parent: Enfold)
Author:       CraftPrint
Template:     enfold
Version:      1.0.0
Text Domain:  craftprint-child
*/

/* ============================================================
   GLOBAL VARIABLES & RESET
   ============================================================ */
:root {
    --cp-orange: #ff6600;
    --cp-orange-hover: #e55a00;
    --cp-black: #111111;
    --cp-dark: #1a1a1a;
    --cp-mid: #444444;
    --cp-light: #f7f7f7;
    --cp-white: #ffffff;
    --cp-border: #e0e0e0;
    --cp-radius: 10px;
    --cp-shadow: 0 4px 24px rgba(0,0,0,.08);
    --cp-transition: .25s ease;
    --cp-font-main: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
body {
    color: var(--cp-dark);
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--cp-black);
    font-weight: 700;
    line-height: 1.25;
}

/* ============================================================
   HEADER / LOGO
   ============================================================ */
#header {
    background: var(--cp-black) !important;
}

#header .main_menu a,
#header .av-logo-container a {
    color: var(--cp-white) !important;
}

#header .main_menu > li > a:hover,
#header .main_menu > li.current-menu-item > a {
    color: var(--cp-orange) !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.avia-button,
.avia-button.av-button-style-default,
input[type="submit"],
button[type="submit"],
.woocommerce a.button,
.woocommerce button.button {
    background: var(--cp-orange) !important;
    color: var(--cp-white) !important;
    border: none !important;
    border-radius: var(--cp-radius) !important;
    font-weight: 700 !important;
    letter-spacing: .5px;
    transition: var(--cp-transition) !important;
    padding: 13px 28px !important;
}

.avia-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: var(--cp-orange-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,102,0,.35) !important;
}

/* Secondary / outline button */
.cp-btn-outline {
    background: transparent !important;
    border: 2px solid var(--cp-orange) !important;
    color: var(--cp-orange) !important;
}
.cp-btn-outline:hover {
    background: var(--cp-orange) !important;
    color: #fff !important;
}

/* ============================================================
   HERO SECTION (Fullscreen Avia Slider override)
   ============================================================ */
.cp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.75) 0%, rgba(255,102,0,.15) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ============================================================
   SERVICE / PRODUCT CARDS
   ============================================================ */
.cp-product-card {
    background: var(--cp-white);
    border-radius: 14px;
    box-shadow: var(--cp-shadow);
    overflow: hidden;
    transition: var(--cp-transition);
    border: 1px solid var(--cp-border);
}
.cp-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,.14);
}
.cp-product-card .cp-card-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
}
.cp-product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.cp-product-card .cp-price-from {
    color: var(--cp-orange);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce .price {
    color: var(--cp-orange) !important;
    font-weight: 700;
}

.woocommerce ul.products li.product .price {
    color: var(--cp-orange) !important;
}

.woocommerce .product_title {
    font-size: 1.8rem !important;
}

.woocommerce .woocommerce-tabs ul.tabs li.active a {
    color: var(--cp-orange) !important;
    border-color: var(--cp-orange) !important;
}

.woocommerce table.shop_table th {
    background: var(--cp-black) !important;
    color: var(--cp-white) !important;
}

/* Star ratings */
.woocommerce .star-rating span::before {
    color: var(--cp-orange) !important;
}

/* ============================================================
   TRUST BADGES BAR
   ============================================================ */
.cp-trust-bar {
    background: var(--cp-black);
    padding: 18px 0;
}
.cp-trust-bar .cp-trust-item {
    color: var(--cp-white);
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
}
.cp-trust-bar .cp-trust-item span {
    color: var(--cp-orange);
    font-size: 22px;
    display: block;
    margin-bottom: 4px;
}

/* ============================================================
   AI BRIEF CTA SECTION
   ============================================================ */
.cp-ai-cta-section {
    background: linear-gradient(135deg, var(--cp-black) 0%, #2a2a2a 100%);
    color: var(--cp-white);
    padding: 80px 40px;
    text-align: center;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}
.cp-ai-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,102,0,.2) 0%, transparent 70%);
    pointer-events: none;
}
.cp-ai-cta-section h2 {
    color: var(--cp-white);
    font-size: 2rem;
    margin-bottom: 16px;
}
.cp-ai-cta-section p {
    color: rgba(255,255,255,.75);
    font-size: 1.1rem;
    max-width: 520px;
    margin: 0 auto 28px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
    background: var(--cp-black) !important;
    color: rgba(255,255,255,.7) !important;
}
#footer h3, #footer h4 {
    color: var(--cp-white) !important;
}
#footer a {
    color: rgba(255,255,255,.6) !important;
    transition: var(--cp-transition);
}
#footer a:hover {
    color: var(--cp-orange) !important;
}
#footer .copyright {
    border-top: 1px solid rgba(255,255,255,.1) !important;
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 767px) {
    .cp-ai-cta-section {
        padding: 48px 20px;
        border-radius: 0;
    }
    .cp-ai-cta-section h2 {
        font-size: 1.5rem;
    }
}
