/*
Theme Name: Asia Scholastic Centre
Theme URI: https://asiascholastic.com
Author: Asia Scholastic Centre
Description: Premium institutional theme for Asia Scholastic Centre — international education consultancy for Chinese university admissions.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: asiacademy
*/

/* Base resets and utility styles that Tailwind CDN doesn't cover */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    font-family: 'Libre Franklin', sans-serif;
    color: #1A1A2E;
    background: #FFFFFF;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Pro', serif;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #FFFFFF;
}

/* Login prefill styles */
.login h1 a {
    background-image: none !important;
    text-indent: 0 !important;
    font-family: 'Crimson Pro', serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1E3A5F !important;
    width: auto !important;
    height: auto !important;
}

/* Admin bar offset */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* Form focus states */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #1E3A5F !important;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1) !important;
}

/* Smooth transitions for interactive elements */
a, button, input[type="submit"] {
    transition: all 0.2s ease;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2a4f7a;
}
