/*
Theme Name: UVH Theme
Theme URI: https://uvh.edu.ve
Author: Universidad Venezolana de los Hidrocarburos
Author URI: https://uvh.edu.ve
Description: Tema oficial para la Universidad Venezolana de los Hidrocarburos. Diseño moderno y responsive con los colores institucionales: Rojo Carmesí, Azul Marino y Amarillo Oro. Incluye secciones para oferta académica, investigación, admisión, testimonios y noticias.
Version: 1.6.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uvh-theme
Tags: education, university, custom-colors, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, blog, two-columns, responsive-layout
*/

/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    /* Colores oficiales del Manual de Marca UVH */
    --primary-color: #A70336;        /* Rojo Carmesí */
    --primary-dark: #8a022c;
    --secondary-color: #273376;      /* Azul Marino */
    --accent-color: #FFC907;         /* Amarillo Oro */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #273376;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georama', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

/* ===================================
   Utility Classes
   =================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

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

.btn--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* WordPress Core Alignment */
.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ===================================
   About & Research Images - Modernas y Grandes
   =================================== */
.about__image,
.research__image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    height: 550px;
    transform: perspective(1000px) rotateY(-2deg);
    transition: all 0.5s ease;
}

.about__image:hover,
.research__image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 25px 70px rgba(167, 3, 54, 0.3);
}

.about__image img,
.research__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about__image:hover img,
.research__image:hover img {
    transform: scale(1.05);
}

/* Efecto de borde decorativo */
.about__image::before,
.research__image::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about__image:hover::before,
.research__image:hover::before {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .about__image,
    .research__image {
        height: 400px;
        transform: none;
    }
    
    .about__image:hover,
    .research__image:hover {
        transform: scale(1.02);
    }
}

.news__cta {
    margin-top: 10px;
}
