/*
Theme Name: Green Areas Garden
Theme URI: https://greenareasjardineria.com
Author: Green Areas Team
Author URI: https://greenareasjardineria.com
Description: Tema de bloques para empresa de jardinería y paisajismo
Version: 1.0.0
Tested up to: 6.4
Requires at least: 6.1
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: green-areas-blocks
Tags: full-site-editing, blog, portfolio, custom-colors, custom-logo, custom-menu, featured-images, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks
*/

/* Variables CSS */
:root {
    --wp--preset--color--verde-bosque: #2E7D32;
    --wp--preset--color--verde-claro: #81C784;
    --wp--preset--color--beige: #F4F1EC;
    --wp--preset--color--gris-piedra: #5a5a5a;
    --wp--preset--color--blanco: #FFFFFF;
    --wp--preset--color--negro: #000000;
}

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

html {
    scroll-behavior: smooth;
}

#servicios,
#conocenos,
#contacto {
    scroll-margin-top: 90px;
}

body {
    font-family: var(--wp--preset--font-family--inter);
    color: var(--wp--preset--color--gris-piedra);
    line-height: 1.6;
}

/* Clases utilitarias */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    color: var(--wp--preset--color--blanco);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn a:hover {
    background-color: var(--wp--preset--color--verde-claro) !important;
    color: var(--wp--preset--color--blanco) !important;
}

/* Estilos para bloques personalizados */
.wp-block-green-areas-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.wp-block-green-areas-service-card {
    background: white;
    /*border-radius: 8px;*/
    overflow: hidden;
    /*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);*/
    transition: transform 0.3s ease;
}

.wp-block-green-areas-service-card:hover {
    transform: translateY(-10px);
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* Estilos ultra minimalistas */
.cf7-clean-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
}

.cf7-clean-form br {
    display: none;
}

.cf7-clean-field {
    margin-bottom: 25px;
}

.cf7-clean-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.cf7-clean-input,
.cf7-clean-select,
.cf7-clean-textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: #fff;
    border: 0px;
    border-bottom: 1px solid var(--wp--preset--color--gris-piedra);
    outline: none;
    transition: border-color 0.2s;
}

.cf7-clean-input:focus,
.cf7-clean-select:focus,
.cf7-clean-textarea:focus {
    border-color: #2E7D32;
}

.cf7-clean-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    padding-right: 40px;
}

.cf7-clean-textarea {
    min-height: 100px;
    resize: vertical;
}

.cf7-clean-submit {
    margin-top: 30px;
}

.cf7-clean-submit p {
    margin-block-end: 0px;
}

.cf7-clean-button {
    padding: 15px 35px;
    font-size: 13px;
    color: #fff;
    background-color: var(--wp--preset--color--verde-bosque);
    border: none;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cf7-clean-button:hover {
    background-color: var(--wp--preset--color--verde-claro);
}

/* Responsive */
@media (max-width: 768px) {
    .cf7-clean-form {
        padding: 20px;
    }

    .cf7-clean-button {
        width: 100%;
    }
}