/* 
 * GeoIA Tech España - Estilos CSS
 * Tema: Tecnología IA y Geodatos en España
 * Año: 2024
 */

/* ===== VARIABLES ===== */
:root {
    /* Colores principales */
    --color-primary: #3498db;
    --color-primary-dark: #2980b9;
    --color-secondary: #2ecc71;
    --color-secondary-dark: #27ae60;
    --color-accent: #e74c3c;
    --color-accent-dark: #c0392b;
    
    /* Colores neutrales */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-border: #e1e4e8;
    
    /* Fuentes */
    --font-primary: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-heading: 'Montserrat', 'Segoe UI', Roboto, sans-serif;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    
    /* Bordes redondeados */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Contenedor */
    --container-width: 1200px;
    --container-padding: 1.5rem;
    
    /* Transiciones */
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

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

a:hover {
    color: var(--color-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-md);
}

ul, ol {
    margin: 0 0 var(--spacing-md) var(--spacing-lg);
}

button, .btn {
    cursor: pointer;
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    background-color: var(--color-primary);
    color: white;
    transition: var(--transition);
}

button:hover, .btn:hover {
    background-color: var(--color-primary-dark);
    color: white;
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.page-header {
    background-color: var(--color-primary);
    color: white;
    padding: var(--spacing-xl) 0;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.page-header h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
}

.page-header p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: var(--spacing-sm);
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--color-primary);
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

nav ul li {
    margin-left: var(--spacing-md);
}

nav ul li a {
    color: var(--color-text);
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: var(--transition);
}

nav ul li a:hover::after, 
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--color-primary);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to right, #f8f9fa, #e9f3ff);
    margin-bottom: var(--spacing-xl);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary-dark);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}

.hero-image {
    flex: 1;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    max-height: 400px;
    width: 100%;
}

/* ===== POSTS GRID ===== */
.featured-posts,
.recent-posts {
    padding: var(--spacing-xl) 0;
}

.featured-posts h2,
.recent-posts h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-xs);
}

.featured-posts h2::after,
.recent-posts h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 3px;
    width: 80px;
    background-color: var(--color-primary);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.post-card {
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.post-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.post-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.post-card.featured .post-image {
    height: 100%;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: var(--spacing-md);
}

.post-category {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
    letter-spacing: 1px;
}

.post-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
}

.post-card h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
}

.post-card p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.post-date {
    display: flex;
    align-items: center;
}

.read-more {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
}

.read-more::after {
    content: '→';
    margin-left: 0.3rem;
    transition: var(--transition);
}

.read-more:hover::after {
    margin-left: 0.5rem;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter {
    background-color: var(--color-primary);
    padding: var(--spacing-xl) 0;
    margin: var(--spacing-xl) 0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.newsletter-form {
    display: flex;
    margin-top: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    font-size: 1rem;
}

.newsletter-form button {
    background-color: var(--color-secondary);
    color: white;
    border: none;
    padding: 0 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--color-secondary-dark);
}

/* ===== GLOSSARY SECTION ===== */
.glossary {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-alt);
}

.glossary h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.glossary-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.glossary-item {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.glossary-item h3 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.glossary-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ===== FOOTER ===== */
footer {
    background-color: #2c3e50;
    color: white;
    padding-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: var(--spacing-sm);
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-links ul {
    list-style: none;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact p i {
    margin-right: var(--spacing-xs);
    color: var(--color-primary);
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md) 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== ABOUT PAGE ===== */
.about-intro {
    margin-bottom: var(--spacing-xl);
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text h2 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.team {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-alt);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    color: var(--color-text-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.team-member {
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-member img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-member h3 {
    margin: var(--spacing-md) 0 var(--spacing-xs);
    color: var(--color-primary);
}

.team-member p {
    padding: 0 var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
}

.team-member p:first-of-type {
    font-weight: bold;
    color: var(--color-text);
}

.member-social {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0 0 var(--spacing-md);
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: var(--color-text);
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--color-primary);
    color: white;
}

.partners {
    padding: var(--spacing-xl) 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--spacing-md);
}

.partner {
    text-align: center;
    padding: var(--spacing-md);
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.partner:hover {
    box-shadow: var(--shadow-md);
}

.partner img {
    height: 100px;
    width: 100%;
    object-fit: contain;
    margin-bottom: var(--spacing-sm);
}

.partner h3 {
    font-size: 1rem;
    color: var(--color-text);
}

.achievements {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-alt);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--spacing-lg);
}

.achievement {
    text-align: center;
    padding: var(--spacing-md);
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.achievement-icon {
    background-color: rgba(52, 152, 219, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto var(--spacing-sm);
    color: var(--color-primary);
}

.achievement h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.achievement p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ===== CONTACT PAGE ===== */
.contact {
    padding: var(--spacing-xl) 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
}

.contact-info {
    background-color: var(--color-bg-alt);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
}

.contact-info h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--color-primary);
}

.info-item {
    display: flex;
    margin-bottom: var(--spacing-md);
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-md);
    color: var(--color-primary);
}

.info-content h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.info-content p {
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-light);
}

.social-contact {
    margin-top: var(--spacing-lg);
}

.social-contact h4 {
    margin-bottom: var(--spacing-sm);
}

.contact-form {
    background-color: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--color-primary);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 0.3rem;
    margin-right: var(--spacing-xs);
}

.form-button {
    text-align: right;
}

.form-button button {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-button button:hover {
    background-color: var(--color-primary-dark);
}

.map {
    padding: var(--spacing-xl) 0;
}

.map h3 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--color-primary);
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 450px;
}

.map-container iframe {
    border: 0;
}

/* Modal for contact form submission */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1100;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 10% auto;
    padding: var(--spacing-lg);
    width: 90%;
    max-width: 500px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--color-text-light);
    cursor: pointer;
}

.thanks-content {
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.thanks-content svg {
    margin: 0 auto var(--spacing-md);
}

.thanks-content h3 {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
}

.thanks-content p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ===== BLOG POST PAGE ===== */
.blog-post {
    padding: var(--spacing-xl) 0;
}

.post-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.post-header h2 {
    font-size: 2.5rem;
    margin: var(--spacing-xs) 0 var(--spacing-md);
}

.post-header .post-meta {
    justify-content: center;
    gap: var(--spacing-md);
}

.post-featured-image {
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.post-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.post-content {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content h3 {
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    margin: var(--spacing-lg) 0 var(--spacing-md);
}

.post-content h4 {
    font-size: 1.4rem;
    color: var(--color-primary-dark);
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.post-content ul, 
.post-content ol {
    margin-bottom: var(--spacing-md);
}

.post-content ul li, 
.post-content ol li {
    margin-bottom: var(--spacing-xs);
}

.post-content img {
    border-radius: var(--radius-md);
    margin: var(--spacing-md) 0;
}

.post-tags {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.tag-label {
    font-weight: 600;
    margin-right: var(--spacing-sm);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
}

.tag-list li {
    margin: 0.25rem;
}

.tag-list a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #f0f0f0;
    color: var(--color-text);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tag-list a:hover {
    background-color: var(--color-primary);
    color: white;
}

.post-share {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    display: flex;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
}

.share-label {
    font-weight: 600;
    margin-right: var(--spacing-sm);
}

.share-buttons {
    display: flex;
    gap: var(--spacing-xs);
}

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: var(--color-text);
    transition: var(--transition);
}

.share-buttons a:hover {
    background-color: var(--color-primary);
    color: white;
}

.related-posts {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.related-posts h3 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(52, 73, 94, 0.95);
    color: white;
    padding: var(--spacing-md);
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: var(--spacing-md);
    max-width: 800px;
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.cookie-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

#accept-cookies {
    background-color: var(--color-secondary);
    color: white;
}

#accept-cookies:hover {
    background-color: var(--color-secondary-dark);
}

#customize-cookies {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

#customize-cookies:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#reject-cookies {
    background-color: transparent;
    color: white;
}

#reject-cookies:hover {
    text-decoration: underline;
}

.cookie-content a {
    color: white;
    text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .post-header h2 {
        font-size: 2.2rem;
    }
    
    .post-card.featured {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: var(--spacing-md);
        justify-content: center;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 var(--spacing-xs);
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content,
    .hero-image {
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: var(--spacing-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
        margin-bottom: var(--spacing-md);
    }
    
    .footer-links h3::after,
    .footer-contact h3::after,
    .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .post-tags,
    .post-share {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .share-label,
    .tag-label {
        margin-bottom: var(--spacing-xs);
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .glossary-items,
    .team-grid,
    .partners-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    .newsletter-form button {
        margin-top: var(--spacing-xs);
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
