/*
Theme Name: Pharma Theme
Theme URI: https://pharma.pharmaapp.co.uk
Author: Pharma Team
Author URI: https://pharma.pharmaapp.co.uk
Description: A professional WordPress theme for the Pharma pharmaceutical asset management platform.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pharma-theme
Tags: pharmaceutical, asset-management, business, professional
*/

/* ==========================================
   CSS Reset & Base Styles
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    /* Primary colors - Dark slate matching app */
    --primary: #1e293b;
    --primary-foreground: #ffffff;
    --primary-hover: #0f172a;

    /* Background colors */
    --background: #ffffff;
    --foreground: #0f172a;

    /* Secondary */
    --secondary: #f1f5f9;
    --secondary-foreground: #1e293b;

    /* Muted */
    --muted: #f8fafc;
    --muted-foreground: #64748b;

    /* Border and input */
    --border: #e2e8f0;
    --input: #f1f5f9;

    /* Card */
    --card: #ffffff;
    --card-foreground: #0f172a;

    /* Accent */
    --accent: #f1f5f9;
    --accent-foreground: #1e293b;

    /* Status colors */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

/* ==========================================
   Typography
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--foreground);
}

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

p {
    margin-bottom: 1rem;
    color: var(--muted-foreground);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ==========================================
   Layout & Container
   ========================================== */

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

.content-wrapper {
    padding: 60px 0;
}

/* ==========================================
   Buttons
   ========================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

/* ==========================================
   Utility Classes
   ========================================== */

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

.text-light {
    color: var(--text-light);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* ==========================================
   Responsive Design
   ========================================== */

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

    .container {
        padding: 0 15px;
    }

    .content-wrapper {
        padding: 40px 0;
    }
}
