/*
Theme Name: MWS Hosting Store
Description: Child theme for MWS hosting business - WooCommerce + WHMCS integration
Author: MWS Digital
Version: 1.0
Template: astra
*/

@import url("../astra/style.css");

/* MWS Brand Colors */
:root {
    --mws-primary: #007cba;
    --mws-secondary: #333333;
    --mws-accent: #ff6b6b;
    --mws-success: #10b981;
    --mws-warning: #f59e0b;
    --mws-background: #f8fafc;
    --mws-text: #374151;
    --mws-border: #e5e7eb;
}

/* Custom styling for hosting products */
.hosting-product {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.hosting-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 124, 186, 0.15);
    border-color: var(--mws-primary);
}

.hosting-product.featured {
    border-color: var(--mws-accent);
    background: linear-gradient(135deg, #fff 0%, #fef7f7 100%);
}

.hosting-product.featured::before {
    content: "מומלץ";
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--mws-accent);
    color: white;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(255, 107, 107, 0.3);
}

.hosting-product .product-header {
    text-align: center;
    margin-bottom: 2rem;
}

.hosting-product .product-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--mws-secondary);
    margin-bottom: 0.5rem;
}

.hosting-product .product-subtitle {
    color: #6b7280;
    font-size: 0.9rem;
}

.hosting-product .price-section {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--mws-background);
    border-radius: 8px;
}

.hosting-product .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--mws-primary);
    line-height: 1;
}

.hosting-product .price-currency {
    font-size: 1rem;
    color: #6b7280;
    margin-left: 5px;
}

.hosting-product .price-period {
    font-size: 0.9rem;
    color: #6b7280;
    display: block;
    margin-top: 0.5rem;
}

.hosting-product .features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.hosting-product .features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--mws-border);
    display: flex;
    align-items: center;
    color: var(--mws-text);
}

.hosting-product .features-list li:last-child {
    border-bottom: none;
}

.hosting-product .features-list li::before {
    content: "✓";
    color: var(--mws-success);
    font-weight: bold;
    margin-left: 10px;
    margin-right: 10px;
}

.hosting-product .cta-button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--mws-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.hosting-product .cta-button:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 124, 186, 0.3);
    color: white;
}

.hosting-product.featured .cta-button {
    background: var(--mws-accent);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.hosting-product.featured .cta-button:hover {
    background: #e55555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hosting-product {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hosting-product .price {
        font-size: 2rem;
    }
    
    .hosting-product .product-title {
        font-size: 1.3rem;
    }
}

/* WooCommerce Integration */
.woocommerce .products .product {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.woocommerce .products .product:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 124, 186, 0.15);
    border-color: var(--mws-primary);
}

.woocommerce .products .product .woocommerce-loop-product__title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--mws-secondary);
    margin-bottom: 1rem;
}

.woocommerce .products .product .price {
    font-size: 1.5rem;
    color: var(--mws-primary);
    font-weight: bold;
    margin-bottom: 1rem;
}

.woocommerce .products .product .button {
    width: 100%;
    background: var(--mws-primary);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.woocommerce .products .product .button:hover {
    background: #005a87;
    transform: translateY(-2px);
    color: white;
}

/* Trust indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--mws-background);
    border-radius: 12px;
    margin: 2rem 0;
}

.trust-indicator {
    text-align: center;
    color: var(--mws-text);
}

.trust-indicator .icon {
    font-size: 2rem;
    color: var(--mws-success);
    margin-bottom: 0.5rem;
}

.trust-indicator .label {
    font-size: 0.9rem;
    font-weight: bold;
}

/* Hero section for hosting */
.hosting-hero {
    background: linear-gradient(135deg, var(--mws-primary) 0%, #005a87 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.hosting-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hosting-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hosting-hero .cta-button {
    background: var(--mws-accent);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.hosting-hero .cta-button:hover {
    background: #e55555;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
    color: white;
}

@media (max-width: 768px) {
    .hosting-hero h1 {
        font-size: 2rem;
    }
    
    .hosting-hero p {
        font-size: 1rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Grid system for hosting plans */
.hosting-plans-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.hosting-plans-grid.columns-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.hosting-plans-grid.columns-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hosting-plans-grid.columns-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Hebrew RTL support */
[dir="rtl"] .hosting-product.featured::before {
    right: auto;
    left: -30px;
    transform: rotate(-45deg);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --mws-background: #1f2937;
        --mws-text: #f9fafb;
        --mws-border: #374151;
    }
    
    .hosting-product {
        background: #111827;
        color: var(--mws-text);
    }
} 