/*
 * InternationalCIO - Main Styles
 * FrontHost for TheUNiCo V5
 */

:root {
    /* Color Palette */
    --primary-color: #8B7355;
    --accent-color: #d97757;
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #999;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --border-color: #e0e0e0;

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-brand: 'Brush Script MT', cursive;

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

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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;
}

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

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

/* SEO Navigation (hidden visually, accessible to screen readers) */
.seo-nav {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.seo-nav:focus-within {
    position: fixed;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    background: white;
    padding: 1rem;
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.seo-nav a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #6d5942;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

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

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

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.cta-button:hover {
    background: #6d5942;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

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

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

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

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.pt-1 { padding-top: var(--spacing-sm); }
.pt-2 { padding-top: var(--spacing-md); }
.pt-3 { padding-top: var(--spacing-lg); }
.pt-4 { padding-top: var(--spacing-xl); }

.pb-1 { padding-bottom: var(--spacing-sm); }
.pb-2 { padding-bottom: var(--spacing-md); }
.pb-3 { padding-bottom: var(--spacing-lg); }
.pb-4 { padding-bottom: var(--spacing-xl); }

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Responsive */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }

    .container {
        padding: 0 1rem;
    }
}

/* Focus States for Accessibility */
*:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--accent-color);
    color: white;
}

::-moz-selection {
    background: var(--accent-color);
    color: white;
}
/* ================================================================
   LOGO TEXT STYLES (V5.1 Audit)
   ================================================================ */

.logo-text--theunico {
    background: linear-gradient(90deg, #d97757, #8B7355, #6B8E6F, #131314);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.logo-text--uipo .c1 { color: #d97757; }
.logo-text--uipo .c2 { color: #8B7355; }
.logo-text--uipo .c3 { color: #6B8E6F; }
.logo-text--uipo .c4 { color: #131314; }

.logo-text--indeex .c1, .logo-text--indeex .c2 { color: #d97757; }
.logo-text--indeex .c3, .logo-text--indeex .c4 { color: #8B7355; }
.logo-text--indeex .c5 { color: #6B8E6F; }
.logo-text--indeex .c6 { color: #131314; }

.logo-text--gandt .c1, .logo-text--gandt .c2 { color: #d97757; }
.logo-text--gandt .c3 { color: #8B7355; }
.logo-text--gandt .c4 { color: #6B8E6F; }
.logo-text--gandt .c5 { color: #131314; }

.logo-text--3x4ai .c1, .logo-text--3x4ai .c2 { color: #d97757; }
.logo-text--3x4ai .c3, .logo-text--3x4ai .c4 { color: #8B7355; }
.logo-text--3x4ai .c5 { color: #6B8E6F; }
.logo-text--3x4ai .c6 { color: #131314; }

.logo-text--internationalcio {
    font-family: 'Brush Script MT', cursive;
    color: #8B7355;
    font-size: 1.1em; /* Slightly larger to match style */
}

/* ================================================================
   LOGO TEXT STYLES (V5.1 Audit)
   ================================================================ */

.logo-text--theunico {
    background: linear-gradient(90deg, #d97757, #8B7355, #6B8E6F, #131314);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.logo-text--uipo .c1 { color: #d97757; }
.logo-text--uipo .c2 { color: #8B7355; }
.logo-text--uipo .c3 { color: #6B8E6F; }
.logo-text--uipo .c4 { color: #131314; }

.logo-text--indeex .c1, .logo-text--indeex .c2 { color: #d97757; }
.logo-text--indeex .c3, .logo-text--indeex .c4 { color: #8B7355; }
.logo-text--indeex .c5 { color: #6B8E6F; }
.logo-text--indeex .c6 { color: #131314; }

.logo-text--gandt .c1, .logo-text--gandt .c2 { color: #d97757; }
.logo-text--gandt .c3 { color: #8B7355; }
.logo-text--gandt .c4 { color: #6B8E6F; }
.logo-text--gandt .c5 { color: #131314; }

.logo-text--3x4ai .c1, .logo-text--3x4ai .c2 { color: #d97757; }
.logo-text--3x4ai .c3, .logo-text--3x4ai .c4 { color: #8B7355; }
.logo-text--3x4ai .c5 { color: #6B8E6F; }
.logo-text--3x4ai .c6 { color: #131314; }

.logo-text--internationalcio {
    font-family: 'Brush Script MT', cursive;
    color: #8B7355;
    font-size: 1.1em;
}
