/* HORTENSIA Custom Styles - Keeping the rich design aesthetic */

:root {
    --theme-gold: #D4AF37;
    --theme-btn: #B39127;
    --theme-dark: #1F1A17;
}

/* Base Adjustments */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.8;
    overflow-x: hidden;
    font-size: 16px;
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
}

/* Back to Top Button */
#back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    transform: translateY(-5px);
}

/* Animations */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer-bg {
    background: linear-gradient(105deg, transparent 40%, rgba(212,175,55,0.06) 45%, rgba(212,175,55,0.12) 50%, rgba(212,175,55,0.06) 55%, transparent 60%);
    background-size: 200% 100%;
    animation: shimmer 6s ease-in-out infinite;
}

/* Fade In Animations */
.anim-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.anim-fade-up.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Header Glassmorphism on Scroll */
header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

header.scrolled nav a {
    color: var(--theme-dark);
    text-shadow: none;
}

/* Anti-copy measures (as requested by original design) */
.anti-copy {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Swiper adjustments if needed */
.fv-swiper {
    width: 100%;
    height: 100%;
}

/* Dummy image styling for better look */
.dummy-img-placeholder {
    background: linear-gradient(45deg, #f3f4f6 25%, #e5e7eb 25%, #e5e7eb 50%, #f3f4f6 50%, #f3f4f6 75%, #e5e7eb 75%, #e5e7eb 100%);
    background-size: 40px 40px;
}

/* FV Animations */
.char-anim {
    opacity: 0;
    transform: translateY(20px);
}

.char-anim.animate {
    animation: char-fade-in 0.5s ease forwards;
}

@keyframes char-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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