/*
Theme Name: Belén Cerna Beauty
Theme URI: https://esteticabelencerna.taplink.ws
Author: Antigravity AI
Author URI: https://google.com
Description: A modern, minimalist landing page for beauty and makeup studios.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: belencerna
*/

:root {
    --primary-color: #d4af37;
    /* Gold */
    --accent-color: #f4d0dc;
    /* Rose Pink */
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-white: #ffffff;
    --text-muted: #999999;
    --header-height: 110px;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1400px;
    /* Increased from 1200px */
    margin: 0 auto;
    padding: 0 4rem;
}

.section {
    padding: 60px 0;
    position: relative;
}

.section__title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.section__subtitle {
    text-align: center;
    max-width: 700px;
    margin: -1rem auto 2.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Custom Cursor */
.cursor {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #b8962e 100%);
    color: #000;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav__logo img {
    height: 70px;
    /* Refined size */
    width: auto;
    border-radius: 12px;
    transition: transform 0.3s;
}

.nav__logo:hover img {
    transform: scale(1.05);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav__link {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.nav__link:not(.btn-primary):hover {
    color: var(--primary-color);
}

.nav__link.btn-primary {
    padding: 0.8rem 2rem;
    color: #000;
}

.nav__toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Mobile Nav Structure Update */
@media screen and (max-width: 968px) {
    .nav__list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 3rem 2rem;
        gap: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        text-align: center;
    }

    .nav__list.active {
        display: flex;
    }

    .nav__link {
        font-size: 1.1rem;
    }

    .nav__toggle {
        display: block;
    }
}

/* Home Section */
.home {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Consolidated background: Overlay | Fade | Image */
    background: linear-gradient(rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.6)),
        linear-gradient(to bottom, transparent 60%, var(--bg-dark) 100%),
        url('assets/local.jpg') 0px center / cover no-repeat;
}

.home__content {
    max-width: 850px;
    position: relative;
    z-index: 10;
}

.home__title {
    font-size: 6rem;
    line-height: 1;
    margin-bottom: 2.5rem;
    font-weight: 800;
}

.home__title span {
    color: var(--primary-color);
    background: linear-gradient(135deg, #f1cc61 0%, #d4af37 50%, #b8962e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

.home__subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 600px;
    font-weight: 300;
}

.home__btns {
    display: flex;
    gap: 2rem;
}

.home__scroll {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.home__scroll-text {
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.home__scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

/* About Section */
.about {
    background-color: #0c0c0c;
}

.about__container {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about__img {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.about__img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Smooth fade using multiple gradients instead of a mask to avoid artifacts */
    background:
        linear-gradient(rgba(10, 10, 10, 0.3), rgba(10, 10, 10, 0.3)),
        linear-gradient(to bottom, transparent 70%, #0c0c0c 100%),
        linear-gradient(to right, #0c0c0c 0%, transparent 15%, transparent 85%, #0c0c0c 100%);
    pointer-events: none;
}

.about__img img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.95) contrast(1.05);
}

.about__img:hover img {
    transform: scale(1.05);
}

.about__content {
    padding-right: 2rem;
}

.about__text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
}

.about__social {
    margin-top: 3rem;
    border-left: 2px solid var(--primary-color);
    padding-left: 1.5rem;
}

.about__social a {
    font-weight: 600;
    color: var(--primary-color);
}

/* Team Section */
.team {
    background-color: var(--bg-dark);
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team__card {
    text-align: center;
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.team__card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.team__img-placeholder,
.team__img {
    width: 120px;
    /* Increased by 20% from 100px */
    height: 120px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    overflow: hidden;
    /* Important for images */
}

.team__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team__name {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    color: var(--primary-color);
}

.team__role {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.team__text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Services */
.services {
    background-color: var(--bg-dark);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service__card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: left;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.service__card:hover {
    transform: translateY(-10px);
    background: rgba(212, 175, 55, 0.03);
    border-color: rgba(212, 175, 55, 0.3);
}

.service__icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service__title {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--text-white);
    letter-spacing: -0.5px;
}

.service__list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.service__list li {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service__list li::before {
    content: '';
    width: 6px;
    height: 1px;
    background: var(--primary-color);
}

/* Booking */
.booking__container {
    background: linear-gradient(135deg, #121212 0%, #0a0a0a 100%);
    padding: 4rem 3rem;
    border-radius: 48px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.latepoint-placeholder {
    margin-top: 4rem;
    background: rgba(255, 255, 255, 0.01);
    padding: 4rem;
    border-radius: var(--border-radius);
    border: 1px dashed rgba(212, 175, 55, 0.2);
    text-align: center;
}

.lp-mock {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lp-mock i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.lp-mock p {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact {
    background-color: #0c0c0c;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.contact__info {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.contact__item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact__icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact__label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact__text {
    font-size: 1.1rem;
    color: var(--text-white);
    font-weight: 300;
    transition: var(--transition-smooth);
    display: block;
}

.contact__text:hover {
    color: var(--primary-color);
}

.contact__map {
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact__map iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.contact__social-mini {
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact__social-mini a {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.contact__social-mini a:hover {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: #050505;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
}

.footer__logo img {
    height: 60px;
    margin: 0 auto 2rem;
}

.footer__info {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.footer__link {
    transition: var(--transition-smooth);
}

.footer__link:hover {
    color: var(--text-white);
    opacity: 0.8;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #128c7e;
    color: #FFF;
}

@media screen and (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* Animations-related Utility */
.animate-up,
.animate-reveal {
    opacity: 0;
    will-change: transform, opacity;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .home__title {
        font-size: 4.5rem;
    }
}

@media screen and (max-width: 968px) {
    /* nav list handled above in mobile section */

    .about__container,
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about__img img,
    .contact__map {
        height: 450px;
    }

    .about__content,
    .contact__info {
        padding-right: 0;
        text-align: center;
    }

    .contact__item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact__icon {
        margin: 0 auto 1rem;
    }

    .about__social,
    .contact__social-mini {
        border-left: none;
        border-top: 1px solid var(--primary-color);
        padding: 1.5rem 0 0;
        display: inline-block;
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    .section__title {
        font-size: 2.5rem;
    }

    .home__title {
        font-size: 3.5rem;
    }

    .home__btns {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Modal System */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.modal__container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 95vh;
    background: #111;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalReveal {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal__header {
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal__title {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.modal__close {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

.modal__close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal__body {
    flex: 1;
    width: 100%;
    height: 100%;
}

.modal__body iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

@media screen and (max-width: 768px) {
    .modal {
        padding: 0;
    }

    .modal__container {
        height: 100%;
        border-radius: 0;
    }
}