/* === PREMIUM NAVY THEME V2 (ULTRA HIGH-END) === */
:root {
    --bg: #f8fafc;
    --panel: #ffffff;
    --line: rgba(226, 232, 240, 0.8);
    --text: #0f172a;
    --text-light: #334155;
    --muted: #64748b;
    --brand: #0f172a; /* Deep Navy */
    --brand-light: #1e3a8a;
    --brand-accent: #38bdf8; /* Vibrant Sky Blue for contrast */
    --brand-gradient: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    --dark: #020617;
    --ok: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-dark: rgba(15, 23, 42, 0.8);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-border-dark: rgba(255, 255, 255, 0.1);
    
    /* Premium Shadows */
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
    --shadow-glow: 0 0 20px rgba(56, 189, 248, 0.5);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-8px); } 100% { transform: translateY(0px); } }
@keyframes pulseGlow { 0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); } 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); } }
@keyframes shine { 0% { left: -100%; } 100% { left: 150%; } }

* { box-sizing: border-box; }
body, button, input, textarea, select { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; letter-spacing: -0.01em; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
.wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.fade-in { animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* Top Bar */
.top { background: var(--dark); color: #cbd5e1; font-size: 13px; font-weight: 500; }
.top .wrap { min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.top a { color: var(--brand-accent); font-weight: 600; text-decoration: none !important; }
.top a:hover { color: #fff; text-shadow: 0 0 8px rgba(255,255,255,0.5); }
.approval-line { background: linear-gradient(90deg, #fff7ed, #ffedd5); color: #c2410c; border-bottom: 1px solid #fed7aa; text-align: center; padding: 10px 12px; font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: var(--shadow-sm); position: relative; z-index: 1000; }

/* Header - Premium Glassmorphism */
header { position: sticky; top: 0; z-index: 999; background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--glass-border); box-shadow: var(--shadow-md); transition: var(--transition); }
.head { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0; }
.logo { font-size: 26px; font-weight: 900; color: var(--brand); display: flex; align-items: center; gap: 14px; transition: transform var(--transition-fast); }
.logo:hover { transform: scale(1.02); }
.logo img { height: 60px; width: auto; border-radius: 12px; object-fit: contain; box-shadow: var(--shadow-sm); background: #fff; padding: 4px; border: 1px solid rgba(0,0,0,0.05); } 
.logo small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; font-weight: 600; letter-spacing: -0.2px; }

/* Modern Search Bar */
.search { display: flex; gap: 8px; flex: 1; max-width: 520px; position: relative; }
.search input { width: 100%; border: 1px solid rgba(0,0,0,0.06); background: rgba(241, 245, 249, 0.7); border-radius: 100px; padding: 14px 24px; font-size: 15px; font-weight: 500; transition: var(--transition); box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); }
.search input:focus { outline: none; border-color: var(--brand-accent); background: #fff; box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15); }
.search button { position: absolute; right: 6px; top: 6px; bottom: 6px; padding: 0 24px; border-radius: 100px; }

/* Buttons */
.btn, button { border: 0; border-radius: 100px; background: var(--brand-gradient); color: #fff; font-weight: 700; padding: 14px 28px; font-size: 15px; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25); position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn::after, button::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent); transform: skewX(-20deg); transition: 0s; }
.btn:hover::after, button:hover::after { animation: shine 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.btn:hover, button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35); filter: brightness(1.1); }
.btn:active, button:active { transform: translateY(1px); box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2); }
.btn.dark { background: var(--dark); box-shadow: 0 4px 14px rgba(2, 6, 23, 0.3); }
.btn.dark:hover { background: #111827; box-shadow: 0 8px 20px rgba(2, 6, 23, 0.4); }
.btn.accent { background: var(--brand-accent); color: #0f172a; box-shadow: 0 4px 14px rgba(56, 189, 248, 0.4); }
.btn.accent:hover { background: #0ea5e9; box-shadow: var(--shadow-glow); }

/* Navigation */
nav { border-top: 1px solid rgba(226, 232, 240, 0.5); }
nav .wrap { display: flex; gap: 12px; overflow: auto; padding: 16px 0; scrollbar-width: none; }
nav .wrap::-webkit-scrollbar { display: none; }
nav button { background: transparent; color: var(--muted); border: 1px solid transparent; box-shadow: none; padding: 8px 20px; border-radius: 100px; font-weight: 600; white-space: nowrap; transition: var(--transition); }
nav button::after { display: none; }
nav button:hover { background: #f1f5f9; color: var(--text); transform: none; box-shadow: none; }
nav button.active { background: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2); }

/* Main Content */
main { padding: 40px 0 80px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); position: relative; }

/* Premium Hero Section */
.hero { display: grid; grid-template-columns: 1fr; margin-bottom: 56px; }
.hero-main { min-height: 420px; padding: 64px; background: var(--dark); color: #fff; display: flex; flex-direction: column; justify-content: center; border-radius: var(--radius-xl); overflow: hidden; position: relative; box-shadow: var(--shadow-xl); border: 1px solid rgba(255,255,255,0.1); }
.hero-main::before { content: ''; position: absolute; top: -50%; left: -20%; width: 70%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%); transform: rotate(30deg); pointer-events: none; }
.hero-main::after { content: ''; position: absolute; bottom: -30%; right: -20%; width: 60%; height: 150%; background: radial-gradient(circle, rgba(56,189,248,0.15) 0%, rgba(255,255,255,0) 70%); pointer-events: none; }
.hero-main .blob { position: absolute; top: 10%; right: 10%; width: 300px; height: 300px; background: rgba(30, 58, 138, 0.4); filter: blur(60px); border-radius: 50%; animation: float 6s ease-in-out infinite; pointer-events: none; }
.hero-main h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; margin: 0 0 20px; font-weight: 900; letter-spacing: -1.5px; text-shadow: 0 4px 20px rgba(0,0,0,0.5); position: relative; z-index: 2; background: linear-gradient(to right, #ffffff, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-main p { max-width: 720px; color: #cbd5e1; margin: 0 0 40px; font-size: 19px; line-height: 1.7; position: relative; z-index: 2; font-weight: 400; text-shadow: 0 2px 4px rgba(0,0,0,0.4); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; position: relative; z-index: 2; }
.hero-actions .btn { font-size: 16px; padding: 16px 32px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); }
.hero-actions .btn.light { background: #fff; color: var(--brand); box-shadow: 0 10px 25px rgba(255,255,255,0.2); }
.hero-actions .btn.light:hover { background: #f8fafc; transform: translateY(-3px); box-shadow: 0 15px 30px rgba(255,255,255,0.3); }
.hero-actions .btn.outline { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); color: #fff; }
.hero-actions .btn.outline:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4); }

/* Products Section */
.section { margin-top: 56px; }
.title { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 32px; position: relative; }
.title::before { content: ''; position: absolute; left: 0; bottom: -12px; width: 60px; height: 4px; background: var(--brand-accent); border-radius: 2px; }
.title h2 { margin: 0; font-size: 32px; font-weight: 900; color: var(--dark); letter-spacing: -1px; }
.muted { color: var(--muted); font-size: 15px; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

/* Product Card - Ultra Premium */
.product { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition-slow); display: flex; flex-direction: column; position: relative; cursor: pointer; }
.product::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: var(--transition); pointer-events: none; }
.product:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); border-color: transparent; }
.product:hover::before { opacity: 1; background: linear-gradient(135deg, var(--brand-accent), transparent); }
.product .img { height: 220px; display: grid; place-items: center; background: #f1f5f9; position: relative; overflow: hidden; padding: 20px; }
.product .img::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle, rgba(255,255,255,0) 40%, rgba(0,0,0,0.03) 100%); pointer-events: none; }
.product .img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); mix-blend-mode: multiply; z-index: 1; }
.product:hover .img img { transform: scale(1.1) rotate(2deg); }
.product .body { padding: 24px; display: flex; flex-direction: column; flex: 1; background: #fff; z-index: 2; position: relative; }
.product .cat { font-size: 11px; color: var(--brand-accent); text-transform: uppercase; letter-spacing: 1px; font-weight: 800; margin-bottom: 8px; }
.product .name { font-weight: 800; min-height: 52px; font-size: 16.5px; color: var(--text); line-height: 1.4; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color var(--transition); }
.product:hover .name { color: var(--brand-light); }
.product .price { font-size: 20px; color: var(--dark); font-weight: 900; margin-top: auto; display: flex; align-items: baseline; gap: 4px; }
.product .price::after { content: 'đ'; font-size: 14px; color: var(--muted); font-weight: 600; }
.product a { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; text-align: center; padding: 12px; background: #f8fafc; color: var(--text); border-radius: 12px; font-size: 14px; font-weight: 700; transition: var(--transition); border: 1px solid var(--line); }
.product:hover a { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2); }

/* Service Cards (Call to action) */
.booking-shell { padding: 56px; text-align: center; background: var(--brand-gradient) !important; color: #fff; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); position: relative; }
.booking-shell::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at center, rgba(56, 189, 248, 0.15) 0%, transparent 60%); pointer-events: none; }
.booking-shell .title { justify-content: center; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 40px; position: relative; z-index: 2; }
.booking-shell .title::before { display: none; }
.booking-shell .title h2 { color: #fff; font-size: 40px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.booking-shell .title .muted { color: #94a3b8; font-size: 16px; }
#bookingForm { position: relative; z-index: 2; text-align: left; background: var(--glass-bg-dark); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--glass-border-dark); box-shadow: var(--shadow-lg); max-width: 800px; margin: 0 auto; }
#bookingForm h3 { color: #fff; font-size: 20px; margin: 0 0 24px; border-bottom: 1px solid var(--glass-border-dark); padding-bottom: 16px; }

/* Forms & Tables */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: grid; gap: 10px; }
.full { grid-column: 1 / -1; }
label { font-size: 14.5px; font-weight: 700; color: inherit; }
#bookingForm label { color: #e2e8f0; }
input, textarea, select { width: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 14px 18px; font: inherit; background: #fff; transition: var(--transition); font-size: 15px; color: var(--text); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand-accent); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15); }
#bookingForm input, #bookingForm textarea, #bookingForm select { background: rgba(15, 23, 42, 0.6); border-color: rgba(255,255,255,0.1); color: #fff; }
#bookingForm input:focus, #bookingForm textarea:focus, #bookingForm select:focus { border-color: var(--brand-accent); background: rgba(15, 23, 42, 0.8); }
textarea { min-height: 140px; resize: vertical; line-height: 1.6; }

/* Map Styles */
.map-actions { display: flex; gap: 12px; margin-top: 12px; }
.map-preview { margin-top: 16px; border-radius: 12px; overflow: hidden; border: 2px solid var(--glass-border-dark); }
.location-map { height: 250px; width: 100%; background: #1e293b; }
.location-status { padding: 12px; background: rgba(0,0,0,0.3); color: #cbd5e1; font-size: 13.5px; font-weight: 600; text-align: center; }

/* Footer */
footer { background: var(--dark); color: #94a3b8; padding: 64px 0 32px; font-size: 14.5px; border-top: 4px solid var(--brand-accent); position: relative; overflow: hidden; }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; position: relative; z-index: 2; }
.footer-grid h3 { margin: 0 0 24px; color: #fff; font-size: 16px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.footer-grid p { margin: 12px 0; line-height: 1.7; }
.footer-grid a { display: inline-block; padding: 6px 0; color: #94a3b8; font-weight: 500; }
.footer-grid a:hover { color: var(--brand-accent); padding-left: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; position: relative; z-index: 2; }
.social-links { display: flex; gap: 16px; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; transition: var(--transition); border: 1px solid rgba(255,255,255,0.1); }
.social-links a:hover { background: var(--brand-accent); color: #0f172a; border-color: var(--brand-accent); transform: translateY(-4px); }

/* Utilities */
.empty { grid-column: 1/-1; background: #fff; border: 2px dashed var(--line); border-radius: var(--radius-lg); padding: 64px 24px; text-align: center; color: var(--muted); font-size: 18px; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 16px; box-shadow: var(--shadow-sm); }
.empty i { font-size: 48px; color: #cbd5e1; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@media (max-width: 900px) {
    .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .hero-main { padding: 48px 32px; }
    .hero-main h1 { font-size: 48px; }
}
@media (max-width: 620px) {
    .head { flex-direction: column; gap: 16px; padding: 20px 0; }
    .search { max-width: 100%; width: 100%; }
    .hero-main { padding: 40px 20px; text-align: center; min-height: 360px; }
    .hero-main h1 { font-size: 36px; }
    .hero-actions { justify-content: center; }
    .hero-actions .btn { width: 100%; }
    .grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form { grid-template-columns: 1fr; }
    .booking-shell { padding: 32px 16px; }
    #bookingForm { padding: 24px 16px; }
}
