/*
	Theme Name: Sunset Mango
	Theme URI: http://barbadosvilla-rentals.elegento.dev/
	Description: A minimal and aesthetic WordPress theme tailored for showcasing luxury villas in Barbados.
	Version: 1.0
	Author: Elegento Team <info@elegento.com>
	Author URI: mailto: info@elegento.com
	Tags: design, minimal, aesthetic, travel, villas, real estate, property listing, beachfront, luxury, responsive, clean, gallery
    Text Domain: sunsetmango

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*--------------MAIN STYLING--------------*/

html {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    height: 100%
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    height: 100%;
    font-family: var(--font-family), sans-serif;
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--color-coconut-husk);
    background-color: white;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin: 0;
    color: var(--color-coconut-husk);
    font-weight: var(--font-weight-medium);
}

h1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-light);
}

@media only screen and (max-width: 1023px) {
    h1 {
        font-size: 34px;
    }
}

h2 {
    font-size: var(--font-size-3xl);
}


h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-md);
}

p {
    margin: 0;
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-md);
}

small {
    font-size: var(--font-size-xs);
}

strong, b {
    font-weight: var(--font-weight-bold);
}

em, i {
    font-style: italic;
}

a {
    color: var(--color-palm-green);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover,
a:focus {
    color: var(--color-palm-green-hover);
    outline: none;
}

/*--------------MAIN ELEMENTS--------------*/

.amenities-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    background-color: var(--color-coconut-husk);
    -webkit-mask-image: var(--icon);
    mask-image: var(--icon);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-position: center;
    -webkit-mask-position: center;
}
/*--------------SCROLL FADE SECTIONS ANIMATION--------------*/

.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.scroll-fade.animate {
    opacity: 1;
    transform: translateY(0);
}

/*--------------ELEGENTO SIGNATURE--------------*/
.elg-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.info-text {
    opacity: 0.5;
    text-transform: uppercase;
    color: var(--color-coconut-husk);
    font-size: var(--font-size-xs);
}

.info-heart {
    display: inline-block;
    width: 0.8rem;
    height: 0.8rem;
    opacity: 0.5;
    background-color: var(--color-coconut-husk);
    mask-image: var(--heart-icon);
    -webkit-mask-image: var(--heart-icon);
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
}

.info-elglogo {
    display: inline-block;
    width: 8rem;
    height: 1rem;
    opacity: 0.5;
    background-size: 200% auto;
    background-image: linear-gradient(
            90deg,
            var(--color-coconut-husk) 0%,
            #bebebe 50%,
            var(--color-coconut-husk) 100%
    );
    background-size: 200% auto;
    animation: elg-shimmer 3s infinite linear;
    mask-image: var(--elgcrafted-url);
    -webkit-mask-image: var(--elgcrafted-url);
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

a.info-elglogo:hover {
    background-color: #41c2cc;
    background-image: none;
    background-size: auto;
    animation: none;
    opacity: 1;
}

