/*
Theme Name: Reformiti
Description: A modern WordPress theme for renovation and construction companies with a clean green design
Version: 1.0
Author: Reformiti Team
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Color Variables */
:root {
    --primary-green: #006034;
    --light-green: #f0f8f0;
    --accent-green: #4a7c59;
    --white: #ffffff;
    --dark: #000000;
    --dark-gray: #333333;
    --light-gray: #666666;
    --border-green: #006034;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-gray) !important;
}

h1 {
    font-size: 40px;
    line-height: 50px !important;
}

h2 {
    font-size: 32px;
    line-height: 36px !important;
}

h3 {
    font-size: 24px;
    line-height: 30px;
}

h4 {
    font-size: 18px;
    line-height: 22px !important;
}

h5 {
    font-size: 16px;
    line-height: 20px !important;
}

.text-center {
	text-align: center;
}

.color-green {
    color: var(--primary-green) !important;
}

.viviendas-title strong {
    color: var(--primary-green);
}

.viviendas-text {
    color: var(--dark);
}

.elementor-widget-icon-list .elementor-icon-list-text,
.elementor-widget-text-editor {
	color: var(--dark-gray) !important;
}

.small-text {
    font-size: 12px;
}

/* WhatsApp Icon Styles */
.whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 50px;
}

/* Header Styles */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-green);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-green);
    border-radius: 8px;
    margin-right: 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon::before {
    content: '🏠';
    font-size: 24px;
    color: var(--white);
}

.site-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Custom Logo Styles */
.custom-logo {
    display: flex;
    align-items: center;
}

.custom-logo img {
    max-height: 50px;
    width: auto;
    height: auto;
    max-width: 200px;
}

/* Navigation */
.main-navigation {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--primary-green);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.elementor-widget-button .elementor-button {
	background-color: var(--primary-green) !important;
	color: var(--white);
	padding: 12px 30px;
	border: none;
	border-radius: 25px;
	font-size: 12px;
	font-weight: 600 !important;
	text-decoration: none;
	transition: background-color 0.3s ease;
	cursor: pointer;
}

.elementor-widget-button .elementor-button:hover {
    background-color: var(--accent-green) !important;
}

.elementor-widget-button.btn-call .elementor-button {
	font-size: 15px;
}

.elementor-widget-image img {
	border-radius: 20px !important;
}

/* Contact Form Styles */
.contact-form-top .wpcf7-form {
	background-color: rgba(255, 255, 255, 0.85);
	border-radius: 15px;
	padding: 30px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
}

.contact-form-top .wpcf7-form h3 {
	color: var(--dark-gray) !important;
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 20px;
    text-align: center;
}

.wpcf7-form label {
    font-weight: 600;
    font-size: 14px;
}

.wpcf7-form .field-item {
    margin-bottom: 15px;
}

.wpcf7-form .field-item.form-submit {
    text-align: center;
}

.wpcf7-form-control-wrap {
	margin-bottom: 20px;
}

.wpcf7-form-control-wrap label {
	display: block;
	font-weight: bold;
	color: var(--primary-green);
	margin-bottom: 8px;
	font-size: 14px;
}

.wpcf7-form-control.wpcf7-text {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--border-green);
	border-radius: 8px;
	font-size: 14px;
	background-color: var(--white);
	transition: border-color 0.3s ease;
}

.wpcf7-form-control.wpcf7-text:focus {
	outline: none;
	border-color: var(--primary-green);
}

.wpcf7-checkbox {
	margin: 20px 0;
}

.wpcf7-checkbox .wpcf7-list-item {
	margin: 0;
}

.wpcf7-checkbox input[type="checkbox"] {
	margin-right: 10px;
	width: 24px;
	height: 24px;
	border: 1px solid var(--border-green);
	border-radius: 5px;
	background-color: var(--white);
	appearance: none;
	position: relative;
	cursor: pointer;
    float: left;
}

.wpcf7-checkbox input[type="checkbox"]:checked {
	background-color: var(--primary-green);
	border-color: var(--primary-green);
}

.wpcf7-checkbox input[type="checkbox"]:checked::after {
	content: '✓';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: var(--white);
	font-size: 12px;
	font-weight: bold;
}

.wpcf7-checkbox label {
	font-size: 14px;
	color: var(--dark-gray);
	font-weight: 600;
	line-height: 24px;
}

.wpcf7-submit {
	background-color: var(--primary-green);
	color: var(--white);
	padding: 12px 30px;
	border: none;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease;
	min-width: 200px;
	margin: 0 auto;
	width: auto;
    display: block;
}

.wpcf7-submit:hover {
    background-color: var(--accent-green);
}

/* Contact Form 2 Styles */
.contact-form-2 {
	border: 1px solid var(--primary-green);
	border-radius: 25px;
	padding: 30px 110px 0;
	background: #f0f8f0;
	max-width: 880px;
	margin: 0 auto;
	position: relative;
}

.contact-form-2 h3 {
	color: var(--primary-green) !important;
	font-size: 28px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 20px;
	line-height: 1.3;
}

.contact-form-2 .field-group {
	display: flex;
	gap: 20px;
	margin-bottom: 5px;
}

.contact-form-2 .field-item {
	flex: 1;
}

.contact-form-2 .field-item.col-two {
	display: flex;
	gap: 20px;
}

.contact-form-2 .field-item.col-two.form-submit {
	justify-content: right;
}

.contact-form-2 .field-item.col-two .field-item {
	flex: 1;
}

.contact-form-2 .wpcf7-form-control-wrap {
	margin-bottom: 0;
}

.contact-form-2 .wpcf7-form-control-wrap label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	font-size: 14px;
}

.contact-form-2 .wpcf7-form-control.wpcf7-text {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--primary-green);
	border-radius: 8px;
	font-size: 14px;
	background-color: var(--white);
	transition: border-color 0.3s ease;
	box-sizing: border-box;
}

.contact-form-2 .wpcf7-form-control.wpcf7-text:focus {
	outline: none;
	border-color: var(--accent-green);
	box-shadow: 0 0 0 2px rgba(0, 96, 52, 0.1);
}

.wpcf7-form .wpcf7-response-output {
    font-size: 14px;
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.contact-form-top .wpcf7-form .wpcf7-response-output {
    max-width: 300px;
}

/* Responsive adjustments for contact form 2 */
@media (max-width: 768px) {
	.contact-form-2 {
		padding: 30px 20px;
		margin: 0 20px;
	}
	
	.contact-form-2 .field-group {
		flex-direction: column;
		gap: 15px;
	}
	
	.contact-form-2 .field-item.col-two {
		flex-direction: column;
		gap: 15px;
	}
	
	.contact-form-2 h3 {
		font-size: 20px;
		margin-bottom: 25px;
	}
	
	.contact-form-2 .wpcf7-submit {
		width: 100%;
		margin-left: 0;
	}
}

/* Section Banner Gradient Overlay */
#section-banner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 60%;
	bottom: 0;
	background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0) 100%);
	z-index: 1;
	pointer-events: none;
}

#section-banner {
	position: relative;
}

#section-banner > * {
	position: relative;
	z-index: 2;
}

.cta-button {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 9px 25px;
    border: none;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--accent-green);
}

/* Main Content */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-container {
    background-color: var(--light-green);
    border: 2px solid var(--border-green);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
}

.page-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 30px;
}

/* Footer Styles */
.site-footer {
    background-color: var(--white);
    padding: 30px 0;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

.footer-disclaimer {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.5;
	text-align: center;
	margin-top: 20px;
}

.footer-disclaimer strong {
    font-weight: bold;
}

/* Mobile Hamburger Menu - Hidden by default */
.mobile-menu-toggle {
    display: none;
}

/* Mobile Header Styles */
@media (max-width: 768px) {
    .site-header {
        padding: 15px 0;
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        gap: 15px;
    }
    
    /* Mobile Hamburger Menu */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 30px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }
    
    .hamburger-line {
        width: 25px;
        height: 3px;
        background-color: var(--primary-green);
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Mobile Logo - Centered */
    .site-logo {
        flex: 1;
        display: flex;
        justify-content: left;
        align-items: center;
    }
    
    .site-logo .site-title {
        font-size: 20px;
        font-weight: bold;
        color: var(--primary-green);
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .site-logo .custom-logo img {
        max-height: 40px;
        width: auto;
    }
    
    /* Mobile Header Actions - Right Side */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .cta-button {
        background-color: var(--primary-green);
        color: var(--white);
        padding: 8px 16px;
        border: none;
        border-radius: 20px;
        font-size: 11px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        white-space: nowrap;
    }
    
    .cta-button:hover {
        background-color: var(--accent-green);
    }
    
    /* Mobile Navigation Menu */
    .mobile-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .mobile-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu {
        list-style: none;
        margin: 0;
        padding: 20px 0;
    }
    
    .mobile-menu li {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-menu li:last-child {
        border-bottom: none;
    }
    
    .mobile-menu a {
        display: block;
        padding: 15px 20px;
        color: var(--dark-gray);
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .mobile-menu a:hover {
        background-color: var(--light-green);
        color: var(--primary-green);
        padding-left: 30px;
    }
    
    /* Hide desktop navigation on mobile */
    .main-navigation {
        display: none;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .content-container {
        padding: 30px 20px;
    }

    .contact-form-2 {
        padding: 30px 30px 0;
    }

    .viviendas-text {
        text-align: center !important;
    }

    #section-especialidades .elementor-widget-button {
        --align-self: center;
    }
}

/* Desktop Styles - Hide mobile elements and show desktop menu */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .mobile-navigation {
        display: none;
    }
    
    /* Desktop header layout */
    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
    }
    
    .main-navigation {
        display: flex;
        list-style: none;
        gap: 30px;
        margin: 0;
    }
    
    .main-navigation a {
        color: var(--dark-gray);
        text-decoration: none;
        font-weight: 500;
        font-size: 16px;
        transition: color 0.3s ease;
    }
    
    .main-navigation a:hover {
        color: var(--primary-green);
    }
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .whatsapp-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 50px;
    }
}

/* Blog Styles */
.posts-container {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.post-item {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.post-thumbnail {
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
}

.entry-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 15px;
}

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

.entry-title a:hover {
    color: var(--accent-green);
}

.entry-meta {
    font-size: 14px;
    color: var(--light-gray);
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.entry-summary {
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.read-more:hover {
    background-color: var(--accent-green);
}

/* Pagination */
.page-numbers {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.page-numbers a,
.page-numbers span {
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--white);
    border: 1px solid var(--border-green);
    color: var(--primary-green);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-numbers a:hover,
.page-numbers .current {
    background-color: var(--primary-green);
    color: var(--white);
}

/* Comments */
.comments-area {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

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

.comment {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--light-green);
    border-radius: 10px;
    border: 1px solid var(--border-green);
}

.comment-author {
    font-weight: bold;
    color: var(--primary-green);
}

.comment-meta {
    font-size: 12px;
    color: var(--light-gray);
    margin-bottom: 10px;
}

.comment-content {
    line-height: 1.6;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.search-field {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--border-green);
    border-radius: 25px;
    font-size: 16px;
    outline: none;
}

.search-field:focus {
    border-color: var(--accent-green);
}

.search-submit {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background-color: var(--accent-green);
}

/* Widgets */
.widget {
    background-color: var(--light-green);
    border: 1px solid var(--border-green);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: var(--primary-green);
}

@media (max-width: 990px) {
    .whatsapp-icon {
        margin-left: 10px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
        gap: 10px;
    }
    
    .site-logo .site-title {
        font-size: 18px;
        letter-spacing: 0.5px;
    }
    
    .site-logo .custom-logo img {
        max-height: 35px;
    }
    
    .whatsapp-icon img {
        width: 28px;
        height: 28px;
    }
    
    .cta-button {
        padding: 6px 12px;
        font-size: 10px;
    }
    
    .mobile-menu a {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .content-container {
        padding: 20px 15px;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .entry-title {
        font-size: 20px;
    }
    
    .entry-meta {
        flex-direction: column;
        gap: 5px;
    }
}
img.iconwhat {
    width: 36px;
}
.elementor-9 .elementor-element.elementor-element-2735756 .elementor-heading-title {
    font-family: "Roboto", Sans-serif;
    font-size: 45px;
    font-weight: 600;
    line-height: 49px !important;
}

h5.elementor-heading-title.elementor-size-default {
    font-size: 20px !important;
    line-height: 25px !important;
}
@media (max-width: 769px){
    img.iconwhat {
    width: 36px;
    height: auto;
}
.elementor-9 .elementor-element.elementor-element-2735756 .elementor-heading-title {
    font-family: "Roboto", Sans-serif;
    font-size: 30px !important;
    font-weight: 600;
    line-height: 49px;
    margin-top: 78px !important;
    line-height: 36px !important;
}
.elementor-9 .elementor-element.elementor-element-722c795 {
    --display: flex;
    --margin-top: 0px;
    --margin-bottom: 0px;
    --margin-left: 50px !important;
    --margin-right: 0px;
}

.elementor-element.elementor-element-47823e3.e-con-full.e-flex.e-con.e-child {
    margin-left: 50px !important;
}
.elementor-element.elementor-element-31449d7.e-con-full.e-flex.e-con.e-child {
    padding: 28px !important;
}
.elementor-element.elementor-element-8c9f09b.e-con-full.e-flex.e-con.e-child {
    padding: 28px !important; 
}
.elementor-element.elementor-element-c43e818.e-con-full.e-flex.e-con.e-child {
    padding: 28px !important;
}
.elementor-9 .elementor-element.elementor-element-0acb21b img {
    width: 55% !important;
}

.elementor-339 .elementor-element.elementor-element-db5d5be .elementor-heading-title {
    font-family: "Roboto", Sans-serif;
    font-size: 37px !important;
    font-weight: 600;
    line-height: 49px;
}
.elementor-339 .elementor-element.elementor-element-a5af471{margin-top: 0px !important;}
.elementor-339 .elementor-element.elementor-element-c66b971 img {
    width: 33% !important;
    margin-bottom: 30px;
}
.elementor-339 .elementor-element.elementor-element-9b32288 .elementor-icon-list-items.elementor-inline-items {
    margin-inline: calc(-30px / 4) !important;
}
.elementor-element.elementor-element-642d93d.elementor-widget.elementor-widget-text-editor {
    font-size: 14px !important;
    margin-top: 30px !important;
}
body:not(.rtl) .elementor-9 .elementor-element.elementor-element-2b82073 {

    left: 27% !important;
}
body:not(.rtl) .elementor-9 .elementor-element.elementor-element-30ddb77 {
    left: 27% !important;
}
body:not(.rtl) .elementor-9 .elementor-element.elementor-element-147e426 {
    left: 27% !important;
}
}