/* FFA V2 Global Styles - Forever Facial Aesthetics */
/* EXACT MATCH to design */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --color-sage: #8B9D83;
    --color-sage-light: rgba(139, 157, 131, 0.9);
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-text: #4A4A4A;
    --color-text-dark: #333333;
    --color-cream: #F7F4EF;
    --color-heading: #6B7B64;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition: 0.3s ease;
    --header-height: 110px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    margin: 0;
    padding: 0;
}

main {
    margin: 0;
    padding: 0;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ============================================
   HEADER - BLACK with ROUNDED BOTTOM CORNERS
   ============================================ */
.header {
    background-color: var(--color-black);
    padding: 20px 40px 25px;
    position: relative;
    z-index: 100;
}

/* Logo - Centered */
.header__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.header__logo a {
    display: block;
}

.header__logo img {
    height: 50px;
    width: auto;
}

/* Navigation - Centered with bullet separators */
.header__nav {
    display: flex;
    justify-content: center;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__item {
    display: flex;
    align-items: center;
}

.nav__link {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-white);
    padding: 5px 8px;
    transition: opacity var(--transition);
}

.nav__link:hover {
    opacity: 0.7;
}

/* Bullet separator between nav items */
.nav__item:not(:last-child)::after {
    content: '·';
    color: var(--color-white);
    font-size: 14px;
    margin-left: 8px;
    opacity: 0.6;
}

/* Mobile Menu Toggle */
.header__menu-toggle {
    display: none;
    position: absolute;
    top: 25px;
    right: 20px;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.header__menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
}

/* ============================================
   HERO SECTION - FULL WIDTH, NO BORDERS
   ============================================ */
.hero {
    position: relative;
    height: calc(100vh - var(--header-height));
    min-height: 500px;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Hero Background Image */
.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
}

/* Subtle overlay */
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    z-index: 2;
}

/* Hero Content - CENTERED */
.hero__content {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

/* Main Title */
.hero__title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 400;
    font-style: italic;
    color: var(--color-white);
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

/* Subtitle */
.hero__subtitle {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    color: var(--color-white);
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Book Now Button - Top right, touching nav bar */
.book-now-float {
    position: absolute;
    top: 0;
    right: 40px;
    z-index: 10;
}

.btn-book {
    display: inline-block;
    background-color: var(--color-sage-light);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 22px;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition);
}

.btn-book:hover {
    background-color: var(--color-sage);
}

/* Bottom Bar - Hidden (not in design) */
.hero__bottom-bar {
    display: none;
}

/* ============================================
   WELCOME SECTION
   ============================================ */
.welcome {
    background-color: var(--color-cream);
    padding: 50px 20px 40px;
    position: relative;
    overflow: visible;
}

.welcome__inner {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.welcome__heading {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    font-style: italic;
    color: var(--color-heading);
    margin-bottom: 20px;
    line-height: 1.4;
}

.welcome__text {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.9;
    color: var(--color-text);
    margin-bottom: 25px;
}

/* Divider line */
.welcome__divider {
    width: 60%;
    max-width: 400px;
    height: 1px;
    background-color: var(--color-sage);
    margin: 0 auto;
}

/* Book Now button in welcome section - top right, touching hero */
.welcome__cta {
    position: absolute;
    right: 40px;
    top: -20px;
}

.btn-book-small {
    display: inline-block;
    background-color: var(--color-sage);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 18px;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition);
}

.btn-book-small:hover {
    background-color: var(--color-heading);
}

/* ============================================
   TREATMENTS CAROUSEL
   ============================================ */
.treatments-carousel {
    background-color: var(--color-cream);
    padding: 30px 20px 50px;
    position: relative;
}

.treatments-carousel__heading {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    font-style: italic;
    color: var(--color-heading);
    text-align: center;
    margin-bottom: 30px;
}

.treatments-carousel__wrapper {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    padding: 0 40px;
}

.treatments-carousel__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    justify-content: center;
}

.treatments-carousel__track::-webkit-scrollbar {
    display: none;
}

.treatments-carousel__item {
    flex: 0 0 260px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.treatments-carousel__item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Carousel Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 28px;
    color: #999;
    transition: color var(--transition);
    z-index: 10;
    padding: 10px;
}

.carousel-nav:hover {
    color: var(--color-sage);
}

.carousel-nav--prev {
    left: 0;
}

.carousel-nav--next {
    right: 0;
}

/* Carousel Dots */
.treatments-carousel__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 30px;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #bbb;
    cursor: pointer;
    transition: background-color var(--transition);
}

.carousel-dot.is-active {
    background-color: var(--color-text);
}

/* Dot separator */
.carousel-dot-separator {
    width: 2px;
    height: 2px;
    background-color: #999;
    margin: 0 4px;
}

/* Bottom green line */
.treatments-carousel__bottom-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    height: 3px;
    background-color: var(--color-sage);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 42px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .welcome__cta {
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 90px;
    }

    .header {
        padding: 15px 20px 20px;
    }

    .header__logo img {
        height: 40px;
        width: auto;
    }

    .header__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-black);
        padding: 20px;
        z-index: 100;
    }

    .header__nav.is-active {
        display: block;
    }

    .nav__list {
        flex-direction: column;
        gap: 15px;
    }

    .nav__item:not(:last-child)::after {
        display: none;
    }

    .header__menu-toggle {
        display: flex;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
        width: 100%;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__subtitle {
        font-size: 14px;
    }

    .book-now-float {
        top: 15px;
        right: 15px;
    }

    .btn-book {
        padding: 10px 16px;
        font-size: 9px;
    }

    .welcome {
        padding: 35px 15px 60px;
    }

    .welcome__heading {
        font-size: 20px;
    }

    .welcome__text {
        font-size: 12px;
    }

    .welcome__cta {
        position: absolute;
        right: 15px;
        top: -15px;
    }

    .treatments-carousel {
        padding: 25px 15px 40px;
    }

    .treatments-carousel__heading {
        font-size: 20px;
    }

    .treatments-carousel__item {
        flex: 0 0 200px;
    }

    .treatments-carousel__item img {
        height: 140px;
    }

    .carousel-nav {
        display: none;
    }

    .treatments-carousel__wrapper {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 24px;
    }

    .hero__subtitle {
        font-size: 12px;
    }

    .treatments-carousel__item {
        flex: 0 0 160px;
    }

    .treatments-carousel__item img {
        height: 110px;
    }
}
