/*
Theme Name: RochaTheme
Theme URI: 
Author: Rocha
Author URI: 
Description: Tema personalizado con soporte para Elementor
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Declaración de fuentes */
@font-face {
    font-family: 'Golos Text';
    src: url('./assets/fonts/GolosText-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

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

@font-face {
    font-family: 'Golos Text';
    src: url('./assets/fonts/GolosText-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

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

@font-face {
    font-family: 'Golos Text';
    src: url('./assets/fonts/GolosText-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Golos Text';
    src: url('./assets/fonts/GolosText-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Uni Neue';
    src: url('./assets/fonts/UniNeue-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Uni Neue';
    src: url('./assets/fonts/UniNeue-HeavyItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

:root {
    --color-primary: #FF6B2B; /* Color naranja del logo */
    --color-white : #ffffff;
    --color-secondary: #00B2CB; /* Color azul del logo */
    --color-text: #333333;
    --color-background: #ffffff;
    --font-primary: 'Golos Text', sans-serif;
    --font-secondary: 'Uni Neue', sans-serif;
}

/* Estilos generales */
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
}

.site-header {
    padding: 20px 0;
    background: var(--color-background);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.site-title a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
}

.site-title a:hover {
    color: var(--color-secondary);
}

/* Sticky & Transparent */
.nav-menu {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

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

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 15px;
	width: max-content;
}

.menu-list li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.menu-list li a:hover {
    color: #ffcc00;
}

.language-switcher {
    margin-left: 20px;
}

/* Toggle button */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

/* Responsive for phones */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .menu-wrapper {
        display: none;
        width: 100%;
    }

    .menu-wrapper.active {
        display: block;
    }

    .menu-list {
        flex-direction: column;
        gap: 10px;
        padding-top: 10px;
    }

    .language-switcher {
        margin-top: 10px;
    }
}


.site-footer {
    color: var(--color-white);
    padding: 0px 0;
    background-color: var(--color-primary);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.footer-menu a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-media {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.social-link {
    color: var(--color-white);
    font-size: 1.5em;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.2);
}

.site-info {
    text-align: center;
    font-size: 0.9em;
    opacity: 0.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: var(--color-secondary);
}
/* Estilos Bandera flotante */
div#gt_float_wrapper {
    position: fixed;
    z-index: 999;
    right: 0;
    top: 3%;
}
p.property-description {
    color: white;
}

.gt_float_switcher {
    font-family: Arial;
    font-size: 20px;
    border-radius: 2px;
    color: #ffffff !important;
    display: inline-block;
    line-height: 20px;
    box-shadow: rgb(0 0 0 / 0%) 0 5px 15px !important;;
    background: #ffffff00 !important;
    overflow: hidden;
    transition: all .5s cubic-bezier(0.4, 0, 1, 1);
}
.gt_float_switcher .gt-selected {
    position: relative;
    z-index: 888;
    background-color: #ffffff00 !important;
    cursor: pointer;
    text-transform: uppercase;
    overflow: hidden;
}
.gt_float_switcher .gt-selected .gt-current-lang {
    padding: 10px 15px;
    color: #ffffff !important;
    font-weight: bold;
}
.gt_float_switcher .gt_options a {
    color: #ffffff !important;
}
/* Estilos de la página de inicio */
.home-page {
    position: relative;
    min-height: 100vh;
    background-image: url('./assets/images/background.jpg');
    background-size: cover;
    background-position: top;
    background-attachment: unset;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0, 0, 0, 0.5); */
    z-index: 1;
}

.home-page .entry-content {
    position: relative;
    z-index: 2;
    color: var(--color-background);
}

.home-page .properties-section {
    /* background-color: rgba(249, 249, 249, 0.9); */
    position: relative;
    z-index: 2;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
    width: auto;
}
.wp-block-separator.has-css-opacity {
    opacity: 1;
}

.home-page .property-card {
    /* background: var(--color-background); */
}

.hero-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    opacity: 0 ;
    z-index: 0;
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5em;
    margin-bottom: 2rem;
    font-weight: bold;
    color: var(--color-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: inline-block;
    padding: 0.2em 0;
}

.hero-logo {
    max-width: 406px;
    margin: 0.5rem auto;
}

.hero-logo img {
    width: 100%;
    height: auto;
}

.hero-description {
    font-size: 1.5em;
    max-width: 1200px;
    margin: 2rem auto;
    color: var(--color-background);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Properties Section */
.properties-section {
    padding: 4rem 0;
}

/* Título principal de la sección de propiedades */
.properties-title {
    font-size: 2.5em;
    margin-bottom: 3rem;
    font-weight: bold;
    background: linear-gradient(180deg, #FFA07A, var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding: 0.2em 0;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    width: 100%;
    text-align: center;
}

.properties-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.2em;
    color: var(--color-text);
}

/* Grid de propiedades */
.properties-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0% 12%;
}

.properties-grid > .wp-block-column {
  
    margin: 0 !important;
}

/* Estilos de las tarjetas de propiedades */
.property-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-card a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.property-card .property-image,
.property-card .property-title,
.property-card .property-description {
    position: relative;
    z-index: 2;
}

/* Estilos de las imágenes en las tarjetas */
.property-card .property-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.property-card .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Estilos del texto en las tarjetas */
.property-card .property-description {
    padding: 1.5rem;
    margin: 0;
    color: var(--color-text);
    font-size: 1.1em;
    line-height: 1.6;
    background: var(--color-white);
}

/* Estilos de los botones en las tarjetas */
.property-card .wp-block-buttons {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

/* Estilos del enlace del botón */
.property-card .wp-block-button__link {
    background-color: var(--color-primary);
    color: white;
    padding: 0.8em 1.5em;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
    width: 100%;
    text-align: center;
}

/* Efecto hover en los botones */
.property-card .wp-block-button__link:hover {
    background-color: var(--color-secondary);
}

/* Final Section */
.final-section {
    padding: 60px 0;
    background-color: white;
    text-align: center;
}

.final-section .container > *:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    text-align: center;
}

.contact-section h2 {
    color: var(--color-primary);
    margin-bottom: 40px;
    font-size: 2.5em;
}

.contact-description {
    color: var(--color-text);
    font-size: 1.2em;
    margin-bottom: 30px;
}

.contact-divider {
    border: none;
    height: 3px;
    background-color: var(--color-primary);
    margin: 0;
    width: 100%;
}

.contact-info-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-left: auto;
    margin-right: auto;
}

.contact-phone,
.contact-email {
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.contact-phone:hover,
.contact-email:hover {
    transform: translateY(-5px);
}

.contact-phone h3,
.contact-email h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 1.5em;
}

.contact-phone a,
.contact-email a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.5em;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-phone a:hover,
.contact-email a:hover {
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
	div#gt_float_wrapper {
    position: fixed;
    z-index: 999;
    right: 0;
    top: 1%;
}
    .hero-section {
        padding: 60px 0;
        min-height: 60vh;
    }

    .hero-title {
        font-size: 2.5em;
    }

    .hero-logo {
        max-width: 200px;
    }

    .hero-description {
        font-size: 1.2em;
        padding: 0 1rem;
    }

    /* Ajustes para móvil */
    .properties-grid {
        grid-template-columns: 1fr !important;
        padding: 0 20px;
        gap: 1.5rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 10px;
    }

    .contact-phone,
    .contact-email {
        padding: 15px;
        margin-bottom: 0;
    }

    .properties-title,
    .contact-section h2 {
        font-size: 2em;
    }

    .properties-title {
        font-size: 2em;
        margin-bottom: 2rem;
    }

    .footer-menu {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .social-media {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Estilos para el contenido de Gutenberg */
.entry-content {
   
    margin: 0 auto;
}

.entry-content > * {
    margin-bottom: 0em;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

.entry-content h1,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--color-white);
    margin-bottom: 0em;
}

.entry-content p {
    line-height: 1.8;
    margin-bottom: 1.5em;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    /* margin: 2em 0; */
}

.entry-content .wp-block-columns {
    margin: 2em 0;
}

.entry-content .wp-block-column {
    padding: 0 15px;
}

/* Estilos para la sección de servicios */
.services-section {
    padding: 4rem 0;
}

.services-title {
    font-size: 2.5em;
    margin-bottom: 3rem;
    font-weight: bold;
    background: linear-gradient(180deg, #FFA07A, var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding: 0.2em 0;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    width: 100%;
    text-align: center;
}

.services-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-title {
    padding: 1.5rem 1.5rem 0.5rem;
    margin: 0;
    color: var(--color-text);
    font-size: 1.5em;
}

.service-description {
    padding: 0 1.5rem;
    margin: 0;
    color: var(--color-text);
    font-size: 1.1em;
    line-height: 1.6;
    flex-grow: 1;
}

.service-link {
    padding: 1.5rem;
    margin: 0;
}

.service-link .wp-block-button__link {
    background-color: var(--color-primary);
    color: white;
    padding: 0.8em 1.5em;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.service-link .wp-block-button__link:hover {
    background-color: var(--color-secondary);
}

img.custom-logo {
    width: 14%;
    height: unset;
}

@media (max-width: 768px) {
	img.custom-logo {
	    width: 25%;
    height: auto;
    transform: translateX(125%);
	}
    .services-grid {
        grid-template-columns: 1fr !important;
    }

    .services-title {
        font-size: 2em;
        margin-bottom: 2rem;
    }
}

/* Estilos del botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 90px;
    height: 60px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px 0 0 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: -2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0px 6px;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    width: 80px;
    transform: translateY(-50%);
}

.whatsapp-float i {
    font-size: 30px;
	 
}
.contactus-wp{
	   font-size: 13px;
    text-align: right;
}
@media screen and (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
    
    .whatsapp-float i {
        font-size: 25px;
    }

    .whatsapp-float:hover {
        width: 65px;
    }
}


.nav-menu {
    position: fixed; /* Hace que el menú se mantenga fijo en la parte superior */
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo negro transparente */
    padding: 15px 20px;
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    transition: background-color 0.3s ease-in-out;
}

.menu-container {
       display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    align-content: center;
    flex-wrap: nowrap
}

.menu-wrapper {
    transform:translateX(-50%);
}
.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu-list li {
    margin: 0 15px;
}

.menu-list li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    transition: color 0.3s;
}

.menu-list li a:hover {
    color: #e67d1c;
}

.justify {
    text-align: justify;
}
.contact-form-wrapper {
    max-width: 400px;
    margin: auto;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
	    font-size: 22px;
    color: #ff6a2c;
}

.wpcf7-form input, 
.wpcf7-form textarea {
    width: 90%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.wpcf7-form textarea {
    height: 120px;
    resize: none;
}

.wpcf7-form input[type="submit"] {
    background: #ff6b2b;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 5px;
}

.wpcf7-form input[type="submit"]:hover {
    background: #e65c1f;
}
