/* Estilos globales para ILIS Seguridad */

:root {
    /* Color Palette */
    --color-primary: #ff0505;          /* Vibrant Red for highlights and primary buttons */
    --color-primary-hover: #cc0000;    /* Darker red for hover */
    --color-dark: #111111;             /* Main dark for text/backgrounds */
    --color-dark-gray: #1e1e1e;        /* Dark gray for boxes/card backgrounds */
    --color-medium-gray: #777777;      /* Muted gray for subtitles/paragraphs */
    --color-light-gray: #f5f5f5;       /* Very light gray for light section backgrounds */
    --color-white: #ffffff;            /* White */
    --color-glass: rgba(255, 255, 255, 0.85); /* Semi-transparent white for glassmorphism */
    
    /* Typography */
    --font-titles: 'Open Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions & Borders */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Site constraints */
    --header-height: 80px;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
    text-align: justify;
}

section[id] {
    scroll-margin-top: 100px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titles);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Common Layout Components */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

/* Global Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-titles);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 5, 5, 0.3);
}

.btn-dark {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
}

.btn-dark:hover {
    background-color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideLeftInfinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
