/*
Theme Name: Asociación Parque
Theme URI: 
Author: 
Author URI: 
Description: Tema personalizado para la asociación del parque
Version: 1.0
License: GNU General Public License v2 or later
License URI: 
Text Domain: asociacion-parque
Tags: 
*/

@import url('https://fonts.googleapis.com/css2?family=Agrandir:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

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

body {
    font-family: 'Agrandir', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.site-header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.site-header .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    max-width: 900px;
}

.site-header .main-navigation {
    grid-column: 2;
}

.site-branding {
    display: flex;
    align-items: center;
    grid-column: 1;
    justify-self: start;
}

.site-branding a.custom-logo-link {
    display: inline-block;
}

.site-branding img.custom-logo {
    max-height: 120px;
    width: auto;
    display: block;
}

.site-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.main-navigation ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 40px;
}

.main-navigation a {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    padding: 8px 0;
    position: relative;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    font-weight: 700;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
    width: 100%;
}

/* Main Content */
main {
    flex: 1;
    padding: 40px 0;
}

.page-content {
    padding: 40px;
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.page-content h1,
.page-content h2,
.page-content h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.page-content h2 {
    font-size: 2rem;
    font-weight: 600;
}

.page-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.page-content p {
    margin-bottom: 20px;
    color: #000;
}

.page-content img {
    border-radius: 8px;
    margin: 20px 0;
}

.page-content ul,
.page-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.page-content li {
    margin-bottom: 10px;
}

/* Footer */
.site-footer {
    padding: 30px 0;
    background: transparent;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 900px;
}

.site-footer .footer-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

.site-footer .footer-menu a {
    color: #000;
    font-size: 14px;
    font-weight: 600;
}

.site-footer .footer-menu a:hover {
    color: var(--accent-color);
}

.site-footer .footer-menu .current-menu-item > a {
    font-weight: 700;
}

.site-footer .copyright {
    color: #777;
    font-size: 14px;
}

.site-footer .footer-widgets {
    width: 100%;
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
}

.site-footer .footer-widget {
    margin-bottom: 15px;
}

.site-footer .footer-widget:last-child {
    margin-bottom: 0;
}

.site-footer .widget-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.site-footer .footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.site-footer .footer-widget ul li {
    color: var(--text-color);
    font-size: 14px;
}

.site-footer .footer-widget p {
    margin: 0;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 20px;
    }

    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .site-footer .container {
        flex-direction: column;
        text-align: center;
    }

    .page-content {
        padding: 25px;
    }

    .page-content h1 {
        font-size: 2rem;
    }

    .page-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 20px 0;
    }

    .main-navigation ul {
        gap: 15px;
    }

    .page-content {
        padding: 20px;
        border-radius: 8px;
    }

    .site-footer .footer-menu {
        gap: 15px;
    }
}