/* ===== Custom Styles for Tea Nami ===== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #09130e;
}
::-webkit-scrollbar-thumb {
    background: #1a3a2a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2d4331;
}

/* ===== Hero Animations ===== */
.hero-orb {
    animation: float 8s ease-in-out infinite;
}
.orb-1 { animation-delay: 0s; }
.orb-2 { animation-delay: -3s; }
.orb-3 { animation-delay: -5s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-badge {
    animation: fadeDown 0.8s ease-out both;
}
.hero-badge {
    animation: fadeDown 0.8s ease-out both;
}
.hero-badge {
    animation: fadeDown 0.8s ease-out both;
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero text animation */
#hero h1 {
    animation: fadeUp 1s ease-out 0.2s both;
}
#hero p {
    animation: fadeUp 1s ease-out 0.4s both;
}
#hero > div > div:last-child {
    animation: fadeUp 1s ease-out 0.6s both;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up, .reveal-left, .reveal-right {
        opacity: 1;
        transform: none;
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    /* JS will add these classes; default state is visible */
}

/* ===== Navbar ===== */
.nav-scrolled {
    background: rgba(9, 19, 14, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-default {
    background: transparent !important;
}

/* ===== Gold shimmer on hover ===== */
a, button {
    position: relative;
}

/* ===== Card hover effects ===== */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* ===== Input focus glow ===== */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

/* ===== Button ripple effect ===== */
button {
    position: relative;
    overflow: hidden;
}

/* ===== Mobile menu ===== */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* ===== Image aspect ratios ===== */
img {
    max-width: 100%;
    height: auto;
}

/* ===== Selection color ===== */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #faf8f4;
}

/* ===== Focus visible ===== */
:focus-visible {
    outline: 2px solid rgba(201, 168, 76, 0.6);
    outline-offset: 2px;
}

/* ===== Responsive adjustments ===== */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.75rem;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    #hero h1 {
        font-size: 4.5rem;
    }
}

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