/* Custom Styles for 'おそうじ革命 世田谷深沢駒沢通り店' */

/* Smooth Transition for all elements */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 1. Animation for Fade-in effects on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 2. Parallax Refinement */
.parallax-bg {
    background-attachment: fixed;
}
@media (max-width: 1023px) {
    /* Fixed background often doesn't work well on mobile */
    .parallax-bg {
        background-attachment: scroll;
    }
}

/* 3. Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #E60012;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #CC0010;
}

/* 4. Glassmorphism for specific UI elements */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 5. Custom Table Styling */
.table-price tr:hover {
    background-color: rgba(230, 0, 18, 0.05);
}

/* 6. Header Scrolled State */
header.scrolled .logo span:first-child {
    font-size: 1.1rem;
}
header.scrolled .store-name {
    display: inline-block !important;
}

/* 7. CTA Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.cta-pulse {
    animation: pulse 2s infinite;
}

/* 8. Spacing Utility (Requested specifically) */
.section-gap {
    margin-bottom: 80px;
}
@media (min-width: 1024px) {
    .section-gap {
        margin-bottom: 120px;
    }
}

/* 9. Text Shadow for Readability on FV */
.fv-text-shadow {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
