/*
Theme Name: eSIMfly White Label
Theme URI: https://esimfly.net
Author: eSIMfly
Author URI: https://esimfly.net
Description: Beautiful white-label theme for selling eSIMs online. Works seamlessly with eSIMfly Reseller plugin and WooCommerce. Zero configuration required - just activate and start selling!
Version: 1.2.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: esimfly-theme
Tags: e-commerce, woocommerce, esim, travel, white-label, responsive, mobile-friendly
*/

/**
 * eSIMfly Theme - Main Stylesheet
 * Modern, clean design optimized for eSIM sales
 */

/* ============================================
   CSS VARIABLES - Easy White-Label Customization
   ============================================ */

:root {
    /* Primary Brand Colors */
    --esimfly-primary: #6366f1;
    --esimfly-primary-dark: #4f46e5;
    --esimfly-primary-light: #818cf8;

    /* Secondary Colors */
    --esimfly-secondary: #10b981;
    --esimfly-accent: #f59e0b;

    /* Neutral Colors */
    --esimfly-white: #ffffff;
    --esimfly-black: #000000;
    --esimfly-gray-50: #f9fafb;
    --esimfly-gray-100: #f3f4f6;
    --esimfly-gray-200: #e5e7eb;
    --esimfly-gray-300: #d1d5db;
    --esimfly-gray-400: #9ca3af;
    --esimfly-gray-500: #6b7280;
    --esimfly-gray-600: #4b5563;
    --esimfly-gray-700: #374151;
    --esimfly-gray-800: #1f2937;
    --esimfly-gray-900: #111827;

    /* Text Colors */
    --esimfly-text: #1f2937;
    --esimfly-text-light: #6b7280;
    --esimfly-text-muted: #9ca3af;

    /* Status Colors */
    --esimfly-success: #10b981;
    --esimfly-warning: #f59e0b;
    --esimfly-error: #ef4444;
    --esimfly-info: #3b82f6;

    /* Shadows */
    --esimfly-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --esimfly-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --esimfly-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --esimfly-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --esimfly-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Typography */
    --esimfly-font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --esimfly-font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Spacing */
    --esimfly-spacing-xs: 0.5rem;
    --esimfly-spacing-sm: 1rem;
    --esimfly-spacing-md: 1.5rem;
    --esimfly-spacing-lg: 2rem;
    --esimfly-spacing-xl: 3rem;
    --esimfly-spacing-2xl: 4rem;

    /* Border Radius */
    --esimfly-radius-sm: 0.375rem;
    --esimfly-radius: 0.5rem;
    --esimfly-radius-lg: 0.75rem;
    --esimfly-radius-xl: 1rem;
    --esimfly-radius-full: 9999px;

    /* Transitions */
    --esimfly-transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--esimfly-font-base);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--esimfly-text);
    background-color: var(--esimfly-white);
    margin: 0;
    padding: 0;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--esimfly-font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: var(--esimfly-spacing-sm);
    color: var(--esimfly-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-top: 0;
    margin-bottom: var(--esimfly-spacing-sm);
}

a {
    color: var(--esimfly-primary);
    text-decoration: none;
    transition: var(--esimfly-transition);
}

a:hover {
    color: var(--esimfly-primary-dark);
    text-decoration: underline;
}

/* ============================================
   LAYOUT
   ============================================ */

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--esimfly-spacing-md);
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--esimfly-spacing-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--esimfly-spacing-md);
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--esimfly-radius);
    cursor: pointer;
    transition: var(--esimfly-transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--esimfly-primary);
    color: var(--esimfly-white);
}

.btn-primary:hover {
    background-color: var(--esimfly-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--esimfly-shadow-lg);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--esimfly-gray-100);
    color: var(--esimfly-text);
}

.btn-secondary:hover {
    background-color: var(--esimfly-gray-200);
}

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

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .container {
        padding: 0 1rem;
    }
}
