/* ========================================
   Tea Daze — Custom Styles
   ======================================== */

/* Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Selection */
::selection {
    background: rgba(125, 211, 168, 0.3);
    color: #0f2b3c;
}

/* ========================================
   Navigation
   ======================================== */
.nav-fixed {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 43, 60, 0.06);
    transition: all duration-500;
}

.nav-fixed.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 20px rgba(15, 43, 60, 0.06);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #7dd3a8;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-link {
    padding: 8px 0;
    border-bottom: 1px solid rgba(15, 43, 60, 0.06);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
}

/* ========================================
   Scroll Reveal Animations
   ======================================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Smooth transitions for interactive elements
   ======================================== */
button, a {
    transition: all 0.3s ease;
}

/* ========================================
   Form focus states
   ======================================== */
input:focus, textarea:focus {
    outline: none;
}

/* ========================================
   Custom scrollbar
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #9fb8cc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #799db8;
}

/* ========================================
   Utility: thin decorative lines
   ======================================== */
.divider-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 168, 0.3), transparent);
}

/* ========================================
   Responsive adjustments
   ======================================== */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}
