/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* HEADER por defecto */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 20px;
  background-color: transparent;
  transition: all 0.4s ease;
  z-index: 999;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* LOGO grande centrado al inicio */
.logo {
  width: 240px;
  position: absolute;
  top: 50vh;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  z-index: 10;
}

/* HERO sección de fondo */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* HEADER al hacer scroll */
.header.scrolled {
  position: fixed;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 20px;
}

/* LOGO chico cuando el header es sticky */
.header.scrolled .logo {
  width: 100px;
  position: static;
  transform: none;
}

/* RESPONSIVE para mobile y tablet */
@media (max-width: 768px) {
  .logo {
    width: 180px;
  }

  .header.scrolled .logo {
    width: 80px;
  }

  .header {
    padding: 20px 10px;
  }

  .header.scrolled {
    padding: 10px;
  }
}

