@charset "UTF-8";

/* Typography and Spacing System */
:root {
    --line-height: 1.8;
    --letter-spacing: 0.05em;
    --section-margin-sp: 80px;
    --section-margin-pc: 120px;
    --dusty-pink: #d4a3a3;
}

body {
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
    font-size: 16px;
    user-select: none;
    /* Prevention of copying */
}

/* Section Margins */
.section-margin {
    margin-bottom: var(--section-margin-sp);
}

@media (min-width: 768px) {
    .section-margin {
        margin-bottom: var(--section-margin-pc);
    }
}

/* Image styles */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid rgba(212, 163, 163, 0.5);
    /* Subtle dusty-pink border */
    box-sizing: border-box;
}

.vertical-bottom {
    vertical-align: bottom;
}

/* Parallax Effect */
.parallax-bg {
    transform: translateY(0);
    will-change: transform;
}

/* Header behavior */
header.scrolled {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: rgba(255, 255, 255, 0.95);
}

/* Mobile Menu Transitions */
#mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-link {
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--dusty-pink);
}

/* Logo and Headings */
h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* Right Click Protection */
body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Top button behavior */
#top-btn.visible {
    opacity: 1;
    pointer-events: auto;
    bottom: 100px;
}

@media (min-width: 768px) {
    #top-btn.visible {
        bottom: 2rem;
    }
}

/* --- First View (FV) Swiper --- */
#fv {
    z-index: 1;
}

.fv-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-image {
    transition: transform 12s ease-out;
    object-position: center center;
}

.swiper-slide-active .swiper-image {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .swiper-slide-active .swiper-image {
        transform: scale(1.03);
    }
}

.vertical-text {
    writing-mode: vertical-rl;
}

.scroll-animation {
    animation: scroll-line 2.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scroll-line {
    0% {
        transform: translateY(-100%);
    }

    50% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(100%);
    }
}

/* FV Catchphrase Central Typing Styling */
.fv-typed-center {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

.fv-typed-center.visible {
    opacity: 1;
    transform: translateY(0);
}

.fv-typed-center h1 {
    line-height: 1.8;
    letter-spacing: 0.15em;
    font-weight: 700;
}

@media (min-width: 768px) {
    .fv-typed-center h1 {
        line-height: 1.5;
        letter-spacing: 0.2em;
    }
}

.typed-cursor {
    color: var(--dusty-pink);
    font-weight: 400;
}

/* FV Badges - Pill/Capsule Styling */
.fv-badges-container.visible {
    opacity: 1 !important;
}

.fv-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dusty-pink);
    border: 2px solid white;
    border-radius: 9999px;
    padding: 8px 16px;
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(212, 163, 163, 0.35);
    white-space: nowrap;
    transition: all 0.4s ease;
}

@media (min-width: 768px) {
    .fv-badge {
        padding: 12px 24px;
        font-size: 16px;
        border-width: 3px;
        box-shadow: 0 6px 15px rgba(212, 163, 163, 0.4);
    }
}

/* --- Modern Animations & Gradients --- */
.gradient-icon {
    background: linear-gradient(135deg, var(--dusty-pink) 0%, #f4c4c4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

@keyframes pulse-soft {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-pulse-soft {
    animation: pulse-soft 2s infinite ease-in-out;
}

@keyframes float-slow {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float-slow {
    animation: float-slow 4s infinite ease-in-out;
}



.section-icon-wrap {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(212, 163, 163, 0.15);
    margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
    .fv-main-copy {
        font-size: 1.75rem;
    }
}

/* --- CTA Redesign Styles (Reference: smarthair.happytry.org) --- */
.italic-serif {
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dusty-pink);
    letter-spacing: 0.1em;
}

.cta-card-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--dusty-pink);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    text-align: left;
    box-shadow: 0 10px 30px rgba(212, 163, 163, 0.25);
    min-width: 280px;
    text-decoration: none;
}

@media (min-width: 768px) {
    .cta-card-button {
        padding: 1rem 2.5rem 1rem 1rem;
        min-width: 440px;
    }
}

.cta-card-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 163, 163, 0.35);
    opacity: 1;
}

.cta-icon-box {
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .cta-icon-box {
        width: 60px;
        height: 60px;
        border-radius: 1rem;
        margin-right: 1.5rem;
    }
}

.cta-text-box .cta-label {
    font-size: 0.7rem;
    display: block;
    opacity: 0.9;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.cta-text-box .cta-number {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: block;
}

@media (min-width: 768px) {
    .cta-text-box .cta-label {
        font-size: 0.85rem;
    }

    .cta-text-box .cta-number {
        font-size: 2.1rem;
    }
}

/* Footer Contact Section */
.footer-contact-wrap {
    position: relative;
    padding: 5rem 0;
    color: white;
    text-align: center;
    background: url('../img/fv_2.jpg') center/cover no-repeat fixed;
}

.footer-contact-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.footer-contact-wrap>* {
    position: relative;
    z-index: 2;
}

.footer-contact-wrap h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .footer-contact-wrap h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
}

.footer-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.footer-pill-btn:hover {
    background: white;
    color: #333;
    border-color: white;
}

/* SP Bottom Sticky Flat Bar */
.sp-fixed-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dusty-pink);
    color: white;
    padding: 0.75rem 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.sp-fixed-bar a {
    text-decoration: none;
    color: white;
}

/* --- Message Section Refinements --- */
.message-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.message-card:hover {
    box-shadow: 0 40px 80px rgba(212, 163, 163, 0.12) !important;
    transform: translateY(-8px);
}

.message-image-container {
    position: relative;
    overflow: hidden;
}

.message-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-25deg);
    transition: all 0.75s ease;
}

.message-card:hover .message-image-container::after {
    left: 125%;
}