/* public/css/global.css */

:root {
    --color-gold: #a8874a;
    --color-gold-dark: #8f733e;
    --color-dark: #1a1a1a;
    --color-dark-gray: #263238;
    --color-light-gray: #f2f2f2;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-display: "Oswald", system-ui, sans-serif;
    --font-body: rebeccapurple;
    --font-mono: "IBM Plex Mono"
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: #f2f2f2;
    background-image: radial-gradient(#c7c2b8 1px, transparent 1px);
    background-size: 5px 5px;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Botones Flotantes Globales --- */
.floating-buttons {
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.floating-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-edit {
    background-color: #d32f2f;
}

.btn-add {
    background-color: #1d252c;
}

/* Responsive Global */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .floating-buttons {
        right: 15px;
        bottom: 15px;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* ========================================= */
/* BARRA FLOTANTE REDES SOCIALES (DERECHA)   */
/* ========================================= */
.floating-social-sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* LA MAGIA: Mantiene todo pegado a la derecha sin que salten los demás */
    gap: 3px; /* Pequeña separación para que luzca moderno */
}

.floating-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: #fff !important;
    text-decoration: none;
    font-size: 1.3rem;
    transition: width 0.2s ease-in-out, background-color 0.2s ease;
    border-radius: 10px 0 0 10px; /* Bordes redondeados solo a la izquierda */
    box-shadow: -2px 2px 10px rgba(0,0,0,0.2); /* Sombra independiente para cada botón */
}

/* EL EFECTO: AL PASAR EL MOUSE CRECE SOLO ESTE BOTÓN HACIA LA IZQUIERDA */
.floating-link:hover {
    width: 58px; 
}

/* Botón Admisión Especial */
.float-admision {
    background-color: #304d6d;
    padding: 20px 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    height: auto;
    font-weight: bold;
}
.float-admision:hover { background-color: #223b54; }

/* Colores de Redes */
.float-fb { background-color: #1877F2; }
.float-fb:hover { background-color: #165eaf; }

.float-yt { background-color: #FF0000; }
.float-yt:hover { background-color: #cc0000; }

.float-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.float-ig:hover { filter: brightness(0.9); }

.float-tk { background-color: #1d252c; }
.float-tk:hover { background-color: #30343b; }

/* Ocultar en dispositivos móviles */
@media (max-width: 768px) {
    .floating-social-sidebar { display: none !important; }
}
