/*
Theme Name: Rucalen Elementor
Theme URI: https://rucalen.com.ar
Author: Rucalen Team
Author URI: https://rucalen.com.ar
Description: Tema optimizado para Elementor - Rucalen Residencia de Adultos Mayores. Diseño elegante y profesional.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rucalen-elementor
Tags: elementor, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, portfolio
Elementor Compatibility: Elementor Pro, Elementor Free
*/

/* ========================================
   RUCALEN ELEMENTOR THEME - BASE STYLES
   ======================================== */

/* CSS Variables */
:root {
  --rucalen-green: #2D5A4A;
  --rucalen-green-dark: #1E3A2F;
  --rucalen-gold: #C4A77D;
  --rucalen-amber: #E8B86D;
  --rucalen-cream: #FAF9F6;
  --rucalen-beige: #F5F3EE;
  --rucalen-text: #2C3E35;
  --rucalen-text-light: #5A6B5F;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--rucalen-cream);
  color: var(--rucalen-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Elementor Canvas Support */
.elementor-template-canvas body {
  background-color: transparent;
}

/* Elementor Full Width Support */
.elementor-page .site-content {
  padding: 0;
}

.elementor-page .entry-content {
  margin: 0;
  padding: 0;
}

.elementor-page .entry-header {
  display: none;
}

/* Elementor Section Spacing */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1280px;
}

/* Typography for Elementor */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

/* ========================================
   WORDPRESS DEFAULTS
   ======================================== */

.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignleft {
  float: left;
  margin-right: 1rem;
}

.alignright {
  float: right;
  margin-left: 1rem;
}

.wp-caption {
  max-width: 100%;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ========================================
   ELEMENTOR WIDGET OVERRIDES
   ======================================== */

/* Buttons */
.elementor-button {
  border-radius: 9999px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
}

.elementor-button:hover {
  transform: scale(1.02);
}

/* Cards */
.elementor-widget-container {
  border-radius: 16px;
}

/* Forms */
.elementor-field-group input,
.elementor-field-group textarea,
.elementor-field-group select {
  border-radius: 12px !important;
  border: 1px solid #e5e7eb !important;
  padding: 12px 16px !important;
  transition: all 0.3s ease !important;
}

.elementor-field-group input:focus,
.elementor-field-group textarea:focus {
  border-color: var(--rucalen-green) !important;
  box-shadow: 0 0 0 3px rgba(45, 90, 74, 0.1) !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .elementor-section.elementor-section-boxed > .elementor-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .elementor-element[data-settings*="\"background_background\""] {
    background: none !important;
  }
}
