/* Custom styles for Lady B's Tearoom */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf4f6;
}
::-webkit-scrollbar-thumb {
    background: #9e103f;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6e143e;
}

/* Selection color */
::selection {
    background: #fbbf24;
    color: #3f0519;
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(110, 20, 62, 0.1);
}

/* Hero image animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-card {
    animation: float 4s ease-in-out infinite;
}

/* Card hover effects */
.offerings-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.offerings-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(110, 20, 62, 0.15);
}

/* Gallery hover */
.gallery-item {
    transition: transform 0.5s ease;
}
.gallery-item:hover {
    transform: scale(1.03);
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(158, 16, 63, 0.1);
}

/* Button ripple effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn-primary:active::after {
    width: 200px;
    height: 200px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .floating-card {
        animation: none;
    }
    .gallery-item {
        transition: none;
    }
    .offerings-card {
        transition: none;
    }
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
#mobile-menu.open {
    max-height: 400px;
}

/* Print styles */
@media print {
    nav, #contact, footer {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
