/*
Theme Name: SIP Designs
Theme URI: https://sipdesigns.nl
Description: Custom WooCommerce theme voor SIP Designs - Product Designer voor DTF printing en borduren
Author: SBuilder.nl
Author URI: https://sbuilder.nl
Template: storefront
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: sipdesigns
*/

/* =====================================================
   SIP DESIGNS - PROFESSIONEEL KLEURENSCHEMA
   Teal & Orange - Creatief en Professioneel
===================================================== */

:root {
    --sip-primary: #0d9488;
    --sip-primary-dark: #0f766e;
    --sip-secondary: #f97316;
    --sip-secondary-dark: #ea580c;
    --sip-accent: #06b6d4;
    --sip-dark: #1e293b;
    --sip-darker: #0f172a;
    --sip-light: #f8fafc;
    --sip-gray: #64748b;
    --sip-success: #22c55e;
    --sip-warning: #eab308;
    --sip-gradient: linear-gradient(135deg, #0d9488 0%, #06b6d4 100%);
    --sip-gradient-warm: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

/* =====================================================
   GLOBAL STYLES
===================================================== */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--sip-dark);
    line-height: 1.6;
}

a {
    color: var(--sip-primary);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--sip-primary-dark);
}

/* =====================================================
   HEADER
===================================================== */

.site-header {
    background: var(--sip-darker);
    border-bottom: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-branding h1 a,
.site-title a {
    color: #fff !important;
    font-weight: 800;
    font-size: 1.8em;
    letter-spacing: -0.5px;
}

.site-description {
    color: rgba(255,255,255,0.8);
    font-size: 0.9em;
}

/* Navigation */
.main-navigation ul li a {
    color: #fff;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.main-navigation ul li a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.main-navigation ul li.current-menu-item a {
    background: var(--sip-primary);
}

/* =====================================================
   PROMO BANNER
===================================================== */

.promo-banner {
    background: var(--sip-gradient) !important;
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.95em;
}

/* =====================================================
   BUTTONS
===================================================== */

.button,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: var(--sip-primary);
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: var(--sip-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
    background: var(--sip-secondary);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    background: var(--sip-secondary-dark);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

/* =====================================================
   HERO SECTION
===================================================== */

.sip-hero {
    background: var(--sip-gradient);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.sip-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.sip-hero > * {
    position: relative;
    z-index: 1;
}

.sip-hero h1 {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.sip-hero p {
    font-size: 1.4em;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 35px;
}

/* =====================================================
   CTA BUTTON (DESIGNER BUTTON)
===================================================== */

.product-designer-btn {
    background: var(--sip-secondary);
    color: #fff !important;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(249, 115, 22, 0.4);
    border: none;
}

.product-designer-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(249, 115, 22, 0.5);
    color: #fff;
    background: var(--sip-secondary-dark);
}

.product-designer-btn .icon {
    font-size: 1.3em;
}

/* =====================================================
   FEATURES SECTION
===================================================== */

.sip-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--sip-light);
}

.sip-feature {
    background: #fff;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.sip-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.sip-feature .icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    display: block;
}

.sip-feature h3 {
    color: var(--sip-dark);
    margin-bottom: 12px;
    font-size: 1.3em;
    font-weight: 700;
}

.sip-feature p {
    color: var(--sip-gray);
    margin: 0;
    font-size: 0.95em;
    line-height: 1.6;
}

/* =====================================================
   PRODUCTS
===================================================== */

.woocommerce ul.products li.product {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
    padding-bottom: 20px;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-weight: 700;
    color: var(--sip-dark);
    padding: 0 15px;
    font-size: 1.1em;
}

.woocommerce ul.products li.product .price {
    color: var(--sip-primary);
    font-weight: 800;
    font-size: 1.3em;
    padding: 0 15px;
}

.woocommerce ul.products li.product a.button {
    margin: 15px;
    width: calc(100% - 30px);
    text-align: center;
}

/* Sale Badge */
.woocommerce span.onsale {
    background: var(--sip-secondary);
    border-radius: 8px;
    padding: 8px 15px;
    font-weight: 700;
    font-size: 0.85em;
    top: 10px;
    left: 10px;
    right: auto;
}

/* =====================================================
   SINGLE PRODUCT
===================================================== */

.single-product .product .price {
    color: var(--sip-primary);
    font-size: 1.8em;
    font-weight: 800;
}

.single-product .product .single_add_to_cart_button {
    padding: 18px 40px;
    font-size: 1.1em;
}

/* Trust badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.trust-badge {
    background: var(--sip-light);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85em;
    color: var(--sip-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-badge::before {
    content: '✓';
    color: var(--sip-success);
    font-weight: bold;
}

/* =====================================================
   CART & CHECKOUT
===================================================== */

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order {
    background: var(--sip-secondary);
    font-size: 1.2em;
    padding: 18px 30px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #place_order:hover {
    background: var(--sip-secondary-dark);
}

/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    background: var(--sip-darker);
    color: rgba(255,255,255,0.8);
    padding-top: 40px;
}

.site-footer h4,
.site-footer .widget-title {
    color: #fff;
    font-weight: 700;
}

.site-footer a {
    color: rgba(255,255,255,0.7);
}

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

.site-info {
    background: var(--sip-darker);
    color: rgba(255,255,255,0.6);
    padding: 25px 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.site-info a {
    color: var(--sip-accent);
}

/* =====================================================
   CART ICON
===================================================== */

.site-header-cart .cart-contents {
    color: #fff;
}

.site-header-cart .count {
    background: var(--sip-secondary);
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 0.75em;
}

/* =====================================================
   FORMS
===================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1em;
    transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: var(--sip-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* =====================================================
   DESIGNER SPECIFIC OVERRIDES
===================================================== */

#sip-designer {
    max-width: 1400px;
    margin: 20px auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.1);
    overflow: hidden;
}

.designer-toolbar {
    background: var(--sip-darker);
}

.designer-toolbar .toolbar-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
}

.designer-toolbar .toolbar-btn:hover {
    background: rgba(255,255,255,0.2);
}

.designer-toolbar .toolbar-btn.active {
    background: var(--sip-primary);
    border-color: var(--sip-primary);
}

.designer-bottom-bar {
    background: var(--sip-darker);
}

.add-to-cart-design {
    background: var(--sip-secondary) !important;
    box-shadow: 0 6px 25px rgba(249, 115, 22, 0.4) !important;
}

.add-to-cart-design:hover {
    background: var(--sip-secondary-dark) !important;
    box-shadow: 0 10px 35px rgba(249, 115, 22, 0.5) !important;
}

/* =====================================================
   PAGE TITLES
===================================================== */

.entry-header h1.entry-title,
.page-title,
.woocommerce-products-header h1 {
    color: var(--sip-dark);
    font-weight: 800;
    font-size: 2.5em;
    margin-bottom: 20px;
}

/* =====================================================
   BREADCRUMBS
===================================================== */

.woocommerce-breadcrumb {
    color: var(--sip-gray);
    font-size: 0.9em;
    margin-bottom: 20px;
}

.woocommerce-breadcrumb a {
    color: var(--sip-primary);
}

/* =====================================================
   MESSAGES & NOTICES
===================================================== */

.woocommerce-message,
.woocommerce-info {
    background: rgba(13, 148, 136, 0.1);
    border-top-color: var(--sip-primary);
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--sip-primary);
}

.woocommerce-error {
    background: rgba(239, 68, 68, 0.1);
    border-top-color: #ef4444;
}

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

@media (max-width: 768px) {
    .sip-hero {
        padding: 50px 20px;
    }

    .sip-hero h1 {
        font-size: 2.2em;
    }

    .sip-hero p {
        font-size: 1.1em;
    }

    .product-designer-btn {
        padding: 15px 30px;
        font-size: 1em;
    }

    .sip-features {
        padding: 40px 15px;
        gap: 20px;
    }

    .sip-feature {
        padding: 25px 20px;
    }

    .entry-header h1.entry-title {
        font-size: 1.8em;
    }
}

/* =====================================================
   ANIMATIONS
===================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sip-hero h1,
.sip-hero p,
.sip-hero .product-designer-btn {
    animation: fadeInUp 0.6s ease forwards;
}

.sip-hero p {
    animation-delay: 0.1s;
}

.sip-hero .product-designer-btn {
    animation-delay: 0.2s;
}

/* =====================================================
   UTILITY CLASSES
===================================================== */

.text-primary { color: var(--sip-primary); }
.text-secondary { color: var(--sip-secondary); }
.bg-primary { background: var(--sip-primary); }
.bg-secondary { background: var(--sip-secondary); }
.bg-light { background: var(--sip-light); }
.bg-dark { background: var(--sip-dark); }

/* Section spacing */
.section-padding {
    padding: 60px 20px;
}

.text-center {
    text-align: center;
}

.max-width {
    max-width: 1200px;
    margin: 0 auto;
}
