/*
Theme Name: Securled
Theme URI: https://nnsoft.es/
Author: Nika Nodia
Author URI: https://nnsoft.es/
Description: Tema personalizado para Securled con soporte para áreas y metaboxes.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: securled
Tags: accessibility-ready, custom-logo, custom-menu
Tested up to: 6.4
Requires PHP: 7.4

Copyright 2024 Nika Nodia

Securled is distributed under the terms of the GNU General Public License v2 or later.
You can redistribute it and/or modify it under the terms of the GNU General Public License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
*/

/*
    Por defecto
 */

.wp-caption {
    margin-bottom: 1.5em;
    text-align: center;
    max-width: 100%;
    border: 1px solid #ddd;
    padding: 5px;
    background-color: #f9f9f9;
}

.wp-caption-text {
    font-size: 0.9em;
    color: #555;
    margin-top: 5px;
}

.gallery-caption {
    font-size: 0.9em;
    text-align: center;
    color: #555;
    margin-top: 5px;
}

.bypostauthor {
    font-weight: bold;
    font-style: italic;
}

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

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

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

/* Ocultar visualmente pero mantener accesible para lectores de pantalla */
.screen-reader-text {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px); /* Compatibilidad para navegadores más antiguos */
    white-space: nowrap; /* Evita el salto de línea */
}

/* Mostrar texto cuando está enfocado */
.screen-reader-text:focus {
    position: static;
    left: auto;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/Poppins-Regular.ttf') format('ttf');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    src: url('assets/fonts/Poppins-Medium.ttf') format('ttf');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/Poppins-Bold.ttf') format('ttf');
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: .9rem;
    margin: 0;
    padding: 0;
    color: #212529;
    background: #f7f7f7;
    position: relative;
}

a {
    text-decoration: none;
    color: #333
}

a:hover {
    color: #e66b56
}

p {
    line-height: 1.5rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.mb-6 {
    margin-bottom: 6rem;
}

.container {
    max-width: 1240px;
}

h1, h2, h3, h4 {
    font-weight: 700;
}

#securled-header {
    background: #f7f7f7;
}

#securled-header .site-logo img {
    width: auto;
    max-height: 156px;
}

#securled-header-menu a {
    font-size: 1rem;
}

#securled-header-menu .current-menu-item a, #securled-header-menu .current_page_item a {
    color: #00a5c3;
}

#securledCarousel h5 {
    color: #ffffff;
}

#securledCarousel .carousel-caption {
    z-index: 2;
}

.carousel-inner-overlay {
    background: #00000052;
    z-index: 1;
    pointer-events: none;
}

.carousel-control-next, .carousel-control-prev {
    z-index: 3;
}

.securled-header-phone {
    border: 1px solid #00a5c3a3;
    padding: 5px 15px;
    background: #00a5c303;
    font-weight: 500;
    font-size: 16px;
    color: #1f7d8e;
    transition: all .4s;
}

.securled-header-phone:hover {
    background: rgb(0 0 0 / 3%);
    transition: all .4s;
}

#securled-home-cards h3 {
    font-size: .9rem;
}

#securled-home-cards .securled-home-card {
    background: #ffffff;
    padding: 1rem;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.securled-after-title {
    width: 60px;
    height: 6px;
    background: #e66b56;
}

.securledCarouselInfo h1, .securledCarouselInfo p {
    max-width: 500px;
    text-shadow: 0 0 20px black;
}

.securled-mobile-menu a span {
    height: 1px;
    width: 20px;
    background: #e66d57;
}

.btn {
    font-size: 1rem;
    text-transform: uppercase;
}

.btn-danger {
    background: #e66b56;
    border-color: #da614d;
}

.btn-danger:hover {
    background: #da614d;
}

footer .footer-menu {
    list-style: none;
    padding-left: 0;
}

.securled-single-card .securled-solar-thumb {
    padding-bottom: 56.6%;
    transition: .6s;
    scale: 1;
}

.securled-single-card:hover .securled-solar-thumb {
    transition: .6s;
    scale: 1.2;
}

.securled-single-cards h3 {
    font-size: 1.4rem;
    color: #333;
}

.accordion-button:not(.collapsed) {
    background: #e66b56;
    color: #fff;
}

#securled-solar-guide {
    background: #31a9c3;
}

#securled-solar-guide h3 {
    text-shadow: 0 0 20px #00000080;
}

#securled-solar-guide hr {
    width: 100%;
    color: #00000038;
}

.securled-blog-posts .securled-blog-thumb {
    transition: .4s;
}

.securled-blog-posts:hover .securled-blog-thumb {
    scale: 1.2;
    transition: .4s;
}

#securled-blog-results hr {
    color: #ddd;
}

#securled-blog-posts hr:last-of-type {
    display: none;
}

.securled-whatsapp {
    bottom: 35px;
    right: 35px;
}

.securled-whatsapp-btn {
    border: 1px solid #10776b;
    padding: 15px;
    background: #075e54;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
    transition: all .4s;
    width: max-content;
}

.securled-whatsapp-btn:hover {
    background: #10776b;
    transition: all .4s;
}

@media screen and (max-width: 990px) {

    .securledCarouselInfo h1 {
        font-size: 1.4rem;
    }

    .securledCarouselInfo h1, .securledCarouselInfo p {
        max-width: 75%;
    }

    .carousel-control-prev-icon, .carousel-control-next-icon {
        width: 1.4rem;
        height: 1.4rem;
    }

    #securled-header .site-logo img, #securled-header-logo img {
        max-width: 156px;
        width: 100%;
        height: auto;
    }

    #securled-solar-guide img {
        max-width: 70%;
    }

}