/* assets/css/global.css */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette - Premium Blues */
    --color-primary: #0038ff;
    /* Azul más fuerte y vibrante */
    --color-primary-dark: #000a45;
    --color-secondary: #00e5ff;
    /* Cyan vibrante */
    --color-accent: #2b6cb0;

    --color-text-main: #e6f1ff;
    /* Azul muy claro para texto sobre fondo oscuro */
    --color-text-light: #cbd5e1;
    --color-text-white: #ffffff;

    --color-bg-light: #001a6b;
    /* Azul profundo para el fondo general */
    --color-bg-white: #0a215e;
    /* Azul ligeramente más claro para tarjetas */
    --color-bg-dark: #000a45;
    /* El azul del header */

    --color-success: #10b981;
    --color-whatsapp: #128c7e;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Typography */
    --font-heading: 'Caveat', cursive;
    --font-body: 'Caveat', cursive;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 15px rgba(0, 210, 255, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;

    /* Layout */
    --container-width: 1200px;
    --header-height: 60px;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    text-align: justify;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Base Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-secondary);
}

.text-white {
    color: var(--color-text-white);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: white;
}

/* Background Utilities */
.bg-dark {
    background-color: var(--color-bg-dark);
}

.bg-deep {
    background-color: var(--color-bg-light);
}

.bg-soft {
    background-color: var(--color-bg-white);
}

.border-top {
    border-top: 1px solid rgba(0, 229, 255, 0.1);
}

.border-bottom {
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}


/* Brand & Decoration Utilities */
.brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(to right,
            var(--color-secondary) 0%,
            var(--color-primary) 25%,
            var(--color-secondary) 50%,
            var(--color-primary) 75%,
            var(--color-secondary) 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 3.5s linear infinite;
}

/* Global Animations */
@keyframes textShine {
    0% {
        background-position: -100% center;
    }

    100% {
        background-position: 100% center;
    }
}

@keyframes shine {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(0, 229, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
    }
}

.hero-image:hover img {
    transform: translateY(-8px);
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.5), 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 229, 255, 0.4);
}

/* Glassmorphism Cards */
.card-glass {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark Outline Container */
.card-dark-outline {
    background: var(--color-bg-dark);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

/* Highlight Items (for lists with icons) */
.highlight-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
}

.highlight-check {
    color: var(--color-secondary);
    margin-right: 15px;
    font-size: 1.5rem;
    font-weight: bold;
}

.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;
}

/* Utility Classes for Spacing & Layout */
.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.opacity-9 {
    opacity: 0.9;
}

.text-left {
    text-align: left;
}

.list-none {
    list-style: none;
}

.flex-items-center {
    display: flex;
    align-items: center;
}

.gap-1 {
    gap: 1rem;
}

.gap-2 {
    gap: 2rem;
}