/* ===== Custom Styles for Tea Alley ===== */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
}

/* ===== Hero Section ===== */
.hero-gradient {
    background: linear-gradient(135deg, #102a43 0%, #243b53 25%, #334e68 50%, #1a3a5c 75%, #0a1a2e 100%);
}

.hero-scrim {
    background: radial-gradient(ellipse at center, rgba(10, 26, 46, 0.3) 0%, rgba(10, 26, 46, 0.7) 100%);
}

/* Geometric Shapes */
.hero-shapes {
    pointer-events: none;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: #d4a843;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 250px;
    height: 250px;
    background: #627d98;
    bottom: 10%;
    left: 5%;
    animation: float 10s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 150px;
    height: 150px;
    background: #d4a843;
    top: 40%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.geo-square {
    position: absolute;
    opacity: 0.08;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: #d4a843;
    top: 20%;
    left: 8%;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.geo-diamond {
    position: absolute;
    opacity: 0.1;
}

.geo-diamond-1 {
    width: 80px;
    height: 80px;
    background: #627d98;
    bottom: 25%;
    right: 20%;
    transform: rotate(30deg);
    animation: float 7s ease-in-out infinite;
}

.geo-triangle {
    position: absolute;
    opacity: 0.08;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #d4a843;
    top: 60%;
    left: 15%;
    animation: float 9s ease-in-out infinite reverse;
}

.geo-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid;
    opacity: 0.1;
}

.geo-ring-1 {
    width: 200px;
    height: 200px;
    border-color: #d4a843;
    bottom: 5%;
    right: 5%;
    animation: spin 15s linear infinite reverse;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

/* ===== Buttons ===== */
.btn-gold {
    background: linear-gradient(135deg, #d4a843 0%, #e5c945 50%, #c48e2d 100%);
    color: #102a43;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 168, 67, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 168, 67, 0.4);
}

.btn-outline-white {
    background: transparent;
    color: white;
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* ===== Navigation ===== */
.nav-link {
    position: relative;
}

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

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

.nav-link:hover {
    color: #d4a843 !important;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(10, 26, 46, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== Menu Tabs ===== */
.menu-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.05);
    color: #9fb3c8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.menu-tab.active {
    background: linear-gradient(135deg, #d4a843 0%, #e5c945 100%);
    color: #102a43;
    border-color: transparent;
    font-weight: 600;
}

/* ===== Menu Cards ===== */
.menu-card {
    transition: all 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== Reveal Animations ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        transform: translateY(30px);
        opacity: 0;
    }
    
    .reveal-left {
        transform: translateX(-30px);
        opacity: 0;
    }
    
    .reveal-right {
        transform: translateX(30px);
        opacity: 0;
    }
}

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

.mobile-link {
    transition: color 0.3s ease;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-shapes .geo-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .hero-shapes .geo-circle-2 {
        width: 120px;
        height: 120px;
    }
    
    .hero-shapes .geo-circle-3 {
        display: none;
    }
    
    .geo-square-1 {
        display: none;
    }
    
    .geo-diamond-1 {
        display: none;
    }
    
    .geo-triangle-1 {
        display: none;
    }
    
    .geo-ring-1 {
        display: none;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: rgba(212, 168, 67, 0.3);
    color: white;
}
