/* ===== Custom Styles for Dew Drop ===== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* Soft shadow utility */
.shadow-soft {
    box-shadow: 0 4px 24px rgba(45, 90, 61, 0.08), 0 1px 4px rgba(45, 90, 61, 0.04);
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, #2d5a3d 0%, #3d7a4a 100%);
    box-shadow: 0 4px 16px rgba(45, 90, 61, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 8px 32px rgba(45, 90, 61, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #2d5a3d;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

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

/* Mobile menu links */
.mobile-link {
    display: block;
}

/* Menu tabs */
.menu-tab {
    background: transparent;
    color: #6b7280;
    border: none;
    cursor: pointer;
}

.menu-tab.active {
    background: white;
    color: #2d5a3d;
    box-shadow: 0 2px 8px rgba(45, 90, 61, 0.12);
}

.menu-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
    color: #2d5a3d;
}

/* Floating animation for hero cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

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

.animate-float-delayed {
    animation: float-delayed 4s ease-in-out infinite;
    animation-delay: 2s;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(254, 253, 248, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 1px 20px rgba(45, 90, 61, 0.08) !important;
}

/* Smooth section transitions */
section {
    position: relative;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #7fb68a;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #5a9a68;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image hover zoom container */
img {
    max-width: 100%;
    height: auto;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}
