/* ---
NAIL ENVY BALI - MAIN STYLESHEET
--- */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:wght@300;400;500;700&display=swap');

/* --- Global Variables --- */
:root {
    --primary-font: 'Montserrat', sans-serif;
    --heading-font: 'Great Vibes', cursive;
    --pink-light: #FDF2F8;
    --pink-main: #FECDD3;
    --gold-accent: #D97706;
    --text-dark: #37282A; /* Softened dark color */
    --text-light: #6B7280;
    --white: #FFFFFF;
    --border-color: #F3F4F6;
    --container-width: 1120px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.1);
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--primary-font);
    color: var(--text-dark);
    background-color: var(--white); /* Changed to white for a cleaner look */
    line-height: 1.7;
    font-weight: 400; /* Adjusted for Montserrat */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--text-dark);
    font-weight: normal; /* Script fonts don't need bold */
    line-height: 1.3;
}

h1 { font-size: 5rem; }
h2 { font-size: 3.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 2rem; font-family: var(--primary-font); font-weight: 500; } /* Using primary font for subheadings */


a {
    text-decoration: none;
    color: var(--gold-accent);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* --- Header & Navigation --- */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.nav {
    height: 4.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
}

.nav__logo img {
    height: 40px;
    width: auto;
}

.nav__logo-text {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    margin-left: 0.5rem;
    color: var(--text-dark);
}

.nav__menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav__link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.5rem;
}

.nav__link.active, .nav__link:hover {
    color: var(--gold-accent);
}

.nav__link.active::after, .nav__link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold-accent);
}

.nav__toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Main Content --- */
.main {
    padding-top: 4.5rem; /* Header height */
}

/* --- Hero Section --- */
.hero-slider {
    position: relative;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
}

.hero__title {
    font-size: 6rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--pink-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


.hero__cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.btn--primary {
    background-color: var(--gold-accent);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.hero__contact {
    text-align: center;
}

.hero__contact span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero__contact-number {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* --- Footer --- */
.footer {
    background-color: var(--text-dark);
    color: var(--pink-light);
    padding: 4rem 0;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer__title {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: 0.5rem;
}

.footer__link {
    color: var(--text-light);
}

.footer__link:hover {
    color: var(--gold-accent);
}

.footer__bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--text-light);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* --- Welcome Section --- */
.welcome__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.welcome__content p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.welcome__image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

/* --- Why Choose Us Section --- */
.why-choose-us {
    background-color: var(--white);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature__icon {
    font-size: 3rem;
    color: var(--gold-accent);
    margin-bottom: 1rem;
}

.feature__title {
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature__text {
    color: var(--text-light);
}

/* --- Portfolio Showcase Section (Homepage) --- */
.portfolio-showcase {
    background-color: var(--pink-light);
}

.portfolio-showcase .section-title {
    margin-bottom: 1rem;
}

.portfolio-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-dark);
    z-index: 10;
}

.slider-btn.prev {
    left: 1rem;
}

.slider-btn.next {
    right: 1rem;
}

.view-all-btn-container {
    text-align: center;
    margin-top: 2rem;
}

/* --- Floating WhatsApp Button --- */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
}

.floating-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366; /* Official WhatsApp Green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

.floating-whatsapp a:hover {
    transform: scale(1.1);
    color: white;
}

/* --- Responsiveness --- */
@media screen and (max-width: 992px) {
    .welcome__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .welcome__image {
        order: -1; /* Move image to the top on smaller screens */
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 4.5rem;
        right: -100%;
        width: 100%;
        height: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        gap: 2.5rem;
        transition: right 0.4s ease-in-out;
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__toggle {
        display: block;
    }
    
    .hero__title {
        font-size: 3rem;
    }

    .hero__cta-group {
        flex-direction: column;
    }
    
    .slide img {
        height: 300px;
    }

    .floating-whatsapp {
        bottom: 1rem;
        right: 1rem;
    }

    .floating-whatsapp a {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
}
