/*
Theme Name: Hotel Germania
Theme URI: https://germania.unoingenieria.cl
Description: Tema personalizado de Hotel Germania.
Version: 0.1.0
Requires PHP: 8.2
Text Domain: hotel-germania
*/

:root {
    --hf-dark: #20312d;
    --hf-light: #f8f6f2;
    --hf-accent: #ac8869;
    --hf-text: #29352f;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--hf-text);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
}

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

.hf-wrap {
    width: min(1160px, calc(100% - 40px));
    margin: auto;
}

.hf-header {
    background: var(--hf-dark);
    color: white;
}

.hf-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 95px;
}

.hf-brand {
    font-family: Georgia, serif;
    font-size: 26px;
    letter-spacing: 1px;
    text-decoration: none;
}

.hf-navigation {
    display: flex;
    align-items: center;
    gap: 25px;
}

.hf-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 23px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hf-menu li {
    list-style: none;
}

.hf-navigation a {
    text-decoration: none;
    font-size: 14px;
}

.hf-navigation a:hover {
    color: #e2c6a9;
}

.hf-reservar,
.hf-button {
    display: inline-block;
    padding: 13px 23px;
    border: 1px solid var(--hf-accent);
    background: var(--hf-accent);
    color: white !important;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background .2s;
}

.hf-reservar:hover,
.hf-button:hover {
    background: #8c6d52;
}

.hf-hero {
    display: flex;
    align-items: center;
    min-height: 650px;
    min-height: 75vh;
    background:
        linear-gradient(
            110deg,
            rgba(18,35,31,.85),
            rgba(18,35,31,.20)
        ),
        var(--hf-dark);
    background-size: cover;
    background-position: center;
    color: white;
}

.hf-hero-content {
    width: min(750px, 100%);
    padding: 95px 0;
}

.hf-eyebrow {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #e0c5ab;
}

h1,
h2,
h3 {
    font-family: Georgia, serif;
    font-weight: normal;
    line-height: 1.2;
}

.hf-hero h1 {
    font-size: clamp(46px, 7vw, 86px);
    margin: 25px 0;
}

.hf-hero p {
    max-width: 520px;
    font-size: 19px;
    margin-bottom: 35px;
}

.hf-intro {
    padding: 100px 0;
    text-align: center;
}

.hf-intro h2 {
    max-width: 760px;
    margin: 15px auto 25px;
    font-size: clamp(32px, 4vw, 49px);
}

.hf-intro p {
    max-width: 680px;
    margin: auto;
}

.hf-sections {
    background: var(--hf-light);
    padding: 85px 0;
}

.hf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.hf-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 270px;
    padding: 35px;
    background: white;
    text-decoration: none;
    transition: transform .2s;
}

.hf-card:hover {
    transform: translateY(-4px);
}

.hf-card h3 {
    font-size: 29px;
}

.hf-card span {
    color: #947358;
}

.hf-page {
    min-height: 55vh;
    padding: 75px 0 110px;
}

.hf-page h1 {
    font-size: clamp(38px, 5vw, 60px);
}

.hf-editable {
    padding: 0 0 70px;
}

.hf-editable:empty {
    display: none;
}

.hf-footer {
    background: var(--hf-dark);
    color: white;
    padding: 55px 0;
}

.hf-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.hf-footer p {
    font-size: 13px;
    opacity: .85;
}

@media (max-width: 850px) {
    .hf-header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 23px 0;
    }

    .hf-navigation {
        flex-wrap: wrap;
        gap: 18px;
    }

    .hf-menu {
        gap: 12px 20px;
    }

    .hf-grid {
        grid-template-columns: 1fr;
    }

    .hf-hero {
        min-height: 550px;
    }

    .hf-intro {
        padding: 70px 0;
    }

    .hf-footer-inner {
        flex-direction: column;
    }
}

/* HF_FOTOS_REALES_V1 */

/* Encabezado sobre la fotografía */

.hf-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    background: rgba(252, 251, 248, .95);
    color: #20312d;
    backdrop-filter: blur(8px);
}

.admin-bar .hf-header {
    top: 32px;
}

.hf-header-inner {
    min-height: 110px;
}

.hf-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.hf-logo {
    display: block;
    width: 230px;
    height: auto;
}

.hf-header .hf-navigation a {
    color: #20312d;
}

.hf-header .hf-navigation a:hover {
    color: #987550;
}

.hf-header .hf-navigation .hf-reservar {
    color: white;
}

/* Portada real */

.hf-hero {
    min-height: 760px;
    min-height: 94vh;
    background-image:
        linear-gradient(
            90deg,
            rgba(12, 27, 23, .76) 0%,
            rgba(12, 27, 23, .42) 50%,
            rgba(12, 27, 23, .10) 100%
        ),
        url('assets/fachada.jpg');

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hf-hero-content {
    padding-top: 190px;
    padding-bottom: 110px;
}

.hf-hero h1 {
    max-width: 800px;
    text-shadow: 0 2px 20px rgba(0,0,0,.15);
}

.hf-intro .hf-eyebrow {
    color: #95724d;
}

/* Tarjetas fotográficas */

.hf-grid .hf-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 420px;
    color: white;
    background-color: #294239;
    background-size: cover;
    background-position: center;
}

.hf-grid .hf-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        180deg,
        rgba(12, 28, 23, .13),
        rgba(12, 28, 23, .78)
    );
}

.hf-card h3 {
    font-size: 34px;
}

.hf-grid .hf-card span {
    color: #e7d0b5;
}

@media (max-width: 850px) {

    .hf-header {
        position: relative;
    }

    .admin-bar .hf-header {
        top: 0;
    }

    .hf-logo {
        width: 200px;
    }

    .hf-header-inner {
        min-height: auto;
    }

    .hf-hero {
        min-height: 610px;
    }

    .hf-hero-content {
        padding: 100px 0;
    }

    .hf-grid .hf-card {
        min-height: 360px;
    }
}
.hf-grid .hf-card:nth-child(1) {
            background-image: url('assets/suites.jpg');
        }
.hf-grid .hf-card:nth-child(2) {
            background-image: url('assets/servicios.jpg');
        }
.hf-grid .hf-card:nth-child(3) {
            background-image: url('assets/entorno.jpg');
        }

/* HF_AJUSTES_FINALES_V5 */

/* Hero: oscurecer imagen para mejorar legibilidad */
.hf-hero{
    background-image:
        linear-gradient(
            90deg,
            rgba(7,16,14,.72) 0%,
            rgba(7,16,14,.52) 42%,
            rgba(7,16,14,.20) 100%
        ),
        url("assets/fachada.jpg");
}

.hf-hero:after{
    background:
        linear-gradient(
            180deg,
            rgba(7,16,14,.12) 0%,
            rgba(7,16,14,.04) 38%,
            rgba(7,16,14,.16) 100%
        );
}

.hf-hero h1,
.hf-hero p,
.hf-hero .hf-eyebrow{
    text-shadow: 0 3px 18px rgba(0,0,0,.38);
}

.hf-hero-content{
    max-width: 720px;
}

/* Footer: logo blanco y sin caja blanca */
.hf-footer-v4 .hf-footer-logo{
    display:inline-flex;
    background:transparent;
    padding:0;
    border:none;
    box-shadow:none;
}

.hf-footer-v4 .hf-footer-logo img{
    display:block;
    width:220px;
    height:auto;
}

/* Un poco más de presencia visual en el footer */
.hf-footer-v4 .hf-footer-main{
    gap:48px;
}

.hf-footer-v4 .hf-footer-identity-copy{
    color:#edf0eb;
}

.hf-footer-v4 .hf-footer-location{
    color:#c6cec7;
}

.hf-footer-v4 .hf-footer-reviews-link{
    background:rgba(255,255,255,.02);
}

.hf-footer-v4 .hf-footer-bottom{
    border-top:1px solid rgba(255,255,255,.14);
}
