/*
Theme Name: The Bloom Department
Theme URI: https://thebloomdepartment.com
Description: Tema personalizado para The Bloom Department con integración ACF
Version: 1.0.0
Author: The Bloom Department
Author URI: https://thebloomdepartment.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bloom
*/

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

html, body {
    height: 100%;
    overflow: hidden;
}

/* Fuente Herbik Unlicenced Trial desde Figma */
@font-face {
    font-family: 'Herbik Unlicenced Trial';
    src: url('assets/fonts/HerbikUnlicencedTrial-Regular.woff2') format('woff2'),
         url('assets/fonts/HerbikUnlicencedTrial-Regular.ttf') format('truetype'),
         url('assets/fonts/HerbikUnlicencedTrial-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}



@font-face {
	font-family: 'Feature Text Web';
	src: url('assets/fonts/FeatureText-Regular-Web.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	}

.FeatureText-Regular-Web {
	font-family: 'Feature Text Web';
	font-weight: 400;
	font-style: normal;
	}
@font-face {
	font-family: 'Feature Text Web';
	src: url('assets/fonts/FeatureText-RegularItalic-Web.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	}

.FeatureText-RegularItalic-Web {
	font-family: 'Feature Text Web';
	font-weight: 400;
	font-style: italic;
	}


body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #f2f2f2;
    background-color: #000;
}

/* Hero Full-Screen */
.hero {
    position: relative;
    width: 100vw;
    height: 100svh;
    overflow: hidden;
    cursor: default;
}

/* Contenedor de imágenes de fondo */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    z-index: 1;
}

/* Imágenes de fondo */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    will-change: opacity;
}

.hero-image.active {
    opacity: 1;
    z-index: 2;
}

/* Overlay oscuro semitransparente */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 3;
    pointer-events: none;
}

/* Contenido del hero */
.hero-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    pointer-events: none;
}

/* Contenedor de texto (no debe disparar el cambio de imagen) */
.hero-text {
    pointer-events: auto; 
}

/* Descripción principal */
.hero-description {
    font-family: 'Feature Text Web', 'Herbik Unlicenced Trial', sans-serif;
    font-size: 24px;
    line-height: 1.1;
    color: #f2f2f2;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enlaces en el texto */
.hero-links {
    font-family: 'Feature Text Web', 'Herbik Unlicenced Trial', sans-serif;
    font-size: 24px;
    line-height: 1.1;
    color: #f2f2f2;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-link {
    font-family: 'Feature Text Web', 'Herbik Unlicenced Trial', sans-serif;
    color: #f2f2f2;
    text-decoration: underline;
    text-underline-position: from-font;
    cursor: pointer;
    transition: opacity 0.2s ease;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-link:hover {
    opacity: 0.8;
}

.hero-link:active {
    opacity: 0.6;
}

/* Logo */
.hero-logo {
    pointer-events: auto;
    align-self: flex-start;
    display: inline-block;
}

.logo-svg {
    display: block;
    height: auto; 
    max-width: 100%; 
}

/* Tablet (768px y superior) */
@media (min-width: 768px) {
    .hero-content {
        padding: 30px 40px;
    }
	
	.hero-text{ width: 70%; }
    
    .hero-description,
    .hero-links {
        font-size: 24px;
        line-height: 1.1;
    }
    
    .logo-svg1 {
        max-width: 280px;
        max-height: 35px;
    }
}

/* Desktop (1024px y superior) */
@media (min-width: 1024px) {
    .hero-content {
        padding: 34px 20px 20px 20px;
    }
    
    .hero-description,
    .hero-links {
        font-size: 24px;
        line-height: 1.1;
    }
    
    .logo-svg1 {
        max-width: 244px;
        max-height: 31px;
    }
}

/* Desktop grande (1440px y superior) */
@media (min-width: 1440px) {
    .hero-content {
        padding: 20px;
    }
    
    /* Tamaños base correctos para 1440px - no cambiar */
    .hero-description,
    .hero-links {
        font-size: 24px;
        line-height: 1.1;
    }
    
    .logo-svg1 {
        max-width: 244px;
        max-height: 31px;
    }
}

/* Pantallas extra grandes (mayores de 1440px) - escalado proporcional */
@media (min-width: 1600px) {
    .hero-description,
    .hero-links {
        font-size: calc(24px * 1.11); /* ~26.64px */
        line-height: calc(24px * 1.23);
    }
    
    .logo-svg1 {
        max-width: calc(244px * 1.11); /* ~270px */
        max-height: calc(31px * 1.23); /* ~34px */
    }
}

@media (min-width: 1920px) {
    .hero-description,
    .hero-links {
        font-size: calc(24px * 1.33); /* ~32px */
        line-height: calc(24px * 1.43);
    }
    
    .logo-svg1 {
        max-width: calc(244px * 1.33); /* ~324px */
        max-height: calc(31px * 1.43); /* ~41px */
    }
}

@media (min-width: 2560px) {
    .hero-description,
    .hero-links {
        font-size: calc(24px * 1.78); /* ~42.72px */
        line-height: calc(24px * 1.88);
    }
    
    .logo-svg1 {
        max-width: calc(244px * 1.78); /* ~434px */
        max-height: calc(31px * 1.88); /* ~55px */
    }
}

/* Ajustes para pantallas muy pequeñas (menos de 480px) */
@media (max-width: 479px) {
    .hero-content {
        padding: 15px;
    }
    
    .hero-description,
    .hero-links {
        font-size: 22px;
        line-height: 1.1;
    }
    
    .logo-svg1 {
        max-width: 200px;
        max-height: 25px;
    }
}

/* Prevención de selección de texto al hacer clic */
.hero {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hero-text,
.hero-link {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

