/* ThaiVisitors.com - Custom Styles */
/* Complements Tailwind CDN - minimal overrides only */

body {
    font-family: 'Inter', sans-serif;
    min-height: 100dvh;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Hide scrollbar for horizontal scroll containers */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

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

/* Dark mode transition */
html, body, header, footer, nav {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark mode icon toggle */
.dark .dark-icon { display: none; }
.dark .light-icon { display: inline; }
.light-icon { display: none; }

/* Province card animation */
.province-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.province-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(207, 84, 23, 0.1);
}

/* Accordion animation */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.accordion-content.open {
    max-height: 500px;
}

/* Mobile bottom nav safe area */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    nav.fixed.bottom-0 {
        padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
    }
    footer {
        padding-bottom: calc(6rem + env(safe-area-inset-bottom));
    }
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid #cf5417;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    header, footer, nav.fixed, .no-print { display: none !important; }
    body { background: white; color: black; }
}
