/*
Theme Name: Coiny
Theme URI: https://tudominio.com
Author: Tu Nombre
Author URI: https://tuperfil.com
Description: Un tema moderno y elegante para WordPress, totalmente compatible con Elementor.
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: coiny
Tags: elementor, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Reset y Normalización */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    color: #0073aa;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #005177;
}

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

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-content {
    padding: 40px 0;
}

.content-area {
    float: left;
    width: 70%;
    padding-right: 30px;
}

.widget-area {
    float: right;
    width: 30%;
}

.full-width .content-area {
    width: 100%;
    float: none;
    padding-right: 0;
}

@media (max-width: 768px) {
    .content-area,
    .widget-area {
        float: none;
        width: 100%;
        padding-right: 0;
    }
}

/* Header */
.site-header {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.site-branding {
    float: left;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.site-description {
    font-size: 14px;
    margin: 5px 0 0;
    color: #777;
}

/* Navegación */
.main-navigation {
    float: right;
    margin-top: 10px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    display: inline-block;
    position: relative;
    margin-left: 20px;
}

.main-navigation a {
    display: block;
    padding: 5px 0;
    font-weight: 500;
    color: #333;
}

.main-navigation a:hover {
    color: #0073aa;
}

/* Contenido */
.entry-header {
    margin-bottom: 20px;
}

.entry-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px;
}

.entry-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.entry-content {
    margin-bottom: 30px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-footer {
    font-size: 14px;
    color: #777;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* Footer */
.site-footer {
    background-color: #222;
    color: #fff;
    padding: 40px 0;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.footer-widget-area {
    flex: 1;
    min-width: 250px;
    padding: 0 15px;
    margin-bottom: 30px;
}

.site-info {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #333;
    margin-top: 20px;
    font-size: 14px;
}

/* Widgets */
.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* Formularios */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 8px 12px;
    width: 100%;
}

input[type="submit"],
button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="submit"]:hover,
button:hover {
    background-color: #005177;
}

/* Comentarios */
.comments-area {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-body {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.comment-author {
    font-weight: 700;
}

.comment-meta {
    font-size: 12px;
    color: #777;
    margin: 5px 0;
}

/* Paginación */
.pagination {
    text-align: center;
    margin: 30px 0;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.pagination .current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* Accesibilidad */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* Soporte para Elementor */
.elementor-page .site-content {
    padding: 0;
}

.elementor-page .content-area {
    width: 100%;
    float: none;
    padding-right: 0;
}

/* Botones */
.btn, 
.wp-block-button__link {
    display: inline-block;
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border-radius: 3px;
    font-weight: 500;
    text-align: center;
}

.btn:hover,
.wp-block-button__link:hover {
    background-color: #005177;
    color: #fff;
}

/* Utilidades */
.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

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

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Estilos para la página de landing */
.landing-page {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.landing-page .landing-content {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.landing-page .landing-content > * {
    max-width: 100%;
}

/* Estilos de color para landing page */
body.landing-page {
    background: linear-gradient(to bottom right, #0E9BA3, #0A6B73);
    color: #FFFFFF;
}

.landing-page .btn,
.landing-page button,
.landing-page input[type="submit"] {
    background-color: #10B981;
    color: #FFFFFF;
    border: none;
    transition: background-color 0.3s ease;
}

.landing-page .btn:hover,
.landing-page button:hover,
.landing-page input[type="submit"]:hover {
    background-color: #0D9F70;
}

:root {
    --color-primary-purple: #4A2C4A;
    --color-golden-yellow: #FFD700;
    --color-sky-blue: #87CEEB;
    --color-urban-blue-light: #4A90E2;
    --color-urban-blue-dark: #1E3A8A;
    --color-coin-gold: #FFD700;
    --color-coin-shadow: #DAA520;
    --color-skin-tone: #F5D4A0;
    --color-red-accent: #DC143C;
    --color-green-accent: #2E8B57;
    --color-urban-gray-light: #A9A9A9;
    --color-urban-gray-dark: #696969;
}