/* Stitch Global Styles */

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.arch-mask {
    clip-path: ellipse(100% 100% at 50% 100%);
}

.arch-top {
    border-top-left-radius: 100rem;
    border-top-right-radius: 100rem;
}

.arch-window {
    border-radius: 999px 999px 12px 12px;
}

.text-gradient {
    background: linear-gradient(45deg, #9c3c24, #bc5439);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary-gradient {
    background: linear-gradient(45deg, #9c3c24, #bc5439);
}

.text-shadow-sm {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.text-shadow-lg {
    text-shadow: 0 4px 12px rgba(0,0,0,0.4), 0 2px 4px rgba(0,0,0,0.2);
}

/* Custom active state for NavLinks */
.active {
    color: #bc5439 !important;
    font-weight: 700;
    position: relative;
}

.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #bc5439;
    border-radius: 2px;
}

/* Force hide browser arrows for select */
select.appearance-none {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
}

select.appearance-none::-ms-expand {
    display: none !important;
}

/* Elegant Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.reveal-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-scale-in {
    opacity: 0;
    transform: scale(0.95);
}

.reveal-fade-in-up.reveal-active {
    animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-scale-in.reveal-active {
    animation: scaleIn 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-200 { animation-delay: 0.2s; }
.delay-400 { animation-delay: 0.4s; }
.delay-600 { animation-delay: 0.6s; }

/* Testimonials Carousel Scroll Snap */
.testimonials-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.testimonials-carousel::-webkit-scrollbar {
    display: none;
}
.testimonial-card {
    scroll-snap-align: center;
    flex-shrink: 0;
}

.testimonial-nav-btn {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1c1c17;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto !important;
}

.testimonial-nav-btn::after {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
}


.testimonial-nav-btn:active {
    transform: scale(0.95);
}

/* Elegant hover underline for nav and text links */
.elegant-link {
    position: relative;
    text-decoration: none;
}
.elegant-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.elegant-link:hover::after {
    width: 100%;
}

/* Subtle parchment texture overlay for sections */
.parchment-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

/* Staggered reveal delays */
.delay-800 { animation-delay: 0.8s; }
.delay-1000 { animation-delay: 1.0s; }

/* Smooth image loading */
img {
    transition: opacity 0.3s ease;
}

/* Remove default Airbnb styles */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}