/* Custom styles for Blackstone Hotel */

/* Smooth scroll padding for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf6f2;
}
::-webkit-scrollbar-thumb {
    background: #c72448;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a11736;
}

/* Selection color */
::selection {
    background: #f6a5b8;
    color: #3d0716;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #f6a5b8;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #fce7eb 0%, #fad0d9 100%);
}

/* Subtle pattern for section backgrounds */
.section-pattern {
    background-image: radial-gradient(circle, rgba(101, 22, 51, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Card shadow variants */
.card-shadow-sm {
    box-shadow: 0 2px 8px rgba(101, 22, 51, 0.06);
}
.card-shadow-md {
    box-shadow: 0 4px 16px rgba(101, 22, 51, 0.08);
}
.card-shadow-lg {
    box-shadow: 0 8px 32px rgba(101, 22, 51, 0.10);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #a11736 0%, #c72448 50%, #e03e64 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse dot animation */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

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

/* Stagger animation for list items */
@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-item {
    animation: slide-up 0.5s ease forwards;
    opacity: 0;
}

.stagger-item:nth-child(1) { animation-delay: 0.05s; }
.stagger-item:nth-child(2) { animation-delay: 0.1s; }
.stagger-item:nth-child(3) { animation-delay: 0.15s; }
.stagger-item:nth-child(4) { animation-delay: 0.2s; }
.stagger-item:nth-child(5) { animation-delay: 0.25s; }
.stagger-item:nth-child(6) { animation-delay: 0.3s; }
.stagger-item:nth-child(7) { animation-delay: 0.35s; }
.stagger-item:nth-child(8) { animation-delay: 0.4s; }

/* Nav active state */
.nav-link-active {
    color: #a11736;
    position: relative;
}

.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #a11736;
    border-radius: 1px;
}

/* Image hover zoom container */
.img-zoom-container {
    overflow: hidden;
}

.img-zoom-container img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.img-zoom-container:hover img {
    transform: scale(1.05);
}

/* Badge pill */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Divider */
.divider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
}

.divider-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f6a5b8;
}

.divider-dots span:nth-child(2) {
    background: #fad0d9;
}

.divider-dots span:nth-child(3) {
    background: #f6a5b8;
}

/* Contact form styles */
.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #fce7eb;
    border-radius: 1rem;
    font-family: inherit;
    font-size: 1rem;
    color: #3d0716;
    background: #fefcfb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #c72448;
    box-shadow: 0 0 0 4px rgba(199, 36, 72, 0.1);
}

.form-input::placeholder {
    color: #a11736;
    opacity: 0.5;
}

/* Success message */
.success-message {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-weight: 500;
}

.success-message.show {
    display: flex;
}
