/* Custom Styles for AB Teahouse */

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

/* Custom Selection Color */
::selection {
    background-color: #FFD700;
    color: #0a192f;
}

/* Geometric Button Hover Effects */
.btn-geometric {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-geometric::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    background-color: rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    border-radius: 50%;
}

.btn-geometric:hover::after {
    width: 200px;
    height: 200px;
}

/* Image Hover Zoom */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Scroll Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Navbar Background Change on Scroll */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0a192f;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFD700;
}

/* Hero Image Tilt */
.hero-tilt {
    transition: transform 0.5s ease;
}

.hero-tilt:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Card Hover Lift */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-lift:hover {
    transform: translateY(-10px);
    box-shadow: 8px 8px 0px #FFD700;
}

/* Geometric Pattern Background */
.pattern-bg {
    background-image: radial-gradient(#FFD700 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #0a192f 0%, #233554 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gold Accent Line */
.gold-line {
    position: relative;
    display: inline-block;
}

.gold-line::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #FFD700;
}
