/* ========================================
   Nadlmok Acupuncture & Herbs
   Custom Styles
======================================== */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Navbar */
.navbar-scrolled {
    background: rgba(253, 251, 247, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.navbar-scrolled .nav-link {
    color: #374151;
}

.navbar-scrolled .font-display {
    color: #111827;
}

/* Geometric Shapes */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.shape-circle-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: white;
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.shape-circle-2 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #f5e9d3;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.shape-circle-3 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    top: 40%;
    left: 15%;
    animation-delay: 4s;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: white;
    top: 60%;
    right: 15%;
    transform: rotate(45deg);
    animation-delay: 1s;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid white;
    top: 25%;
    left: 8%;
    animation-delay: 3s;
    opacity: 0.1;
}

.shape-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, white 2px, transparent 2px);
    background-size: 20px 20px;
    bottom: 15%;
    right: 25%;
    opacity: 0.2;
    animation-delay: 2.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Service Cards */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Testimonial Cards */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Mobile Menu */
.mobile-link {
    position: relative;
}

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

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

/* Reduced Motion */
@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;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
    
    .geo-shape {
        animation: none;
    }
}

/* Focus Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #e85d31;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection */
::selection {
    background: #f7c4b0;
    color: #782616;
}
