/* ===== VARIABLES ===== */
:root {
  --primary: #0e7490;
  --primary-light: #22d3ee;
  --primary-dark: #064e63;
  --accent: #06b6d4;
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --bg-light: #f0fdfa;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-dark: #0f172a;
  --gradient-1: linear-gradient(135deg, #0e7490 0%, #06b6d4 50%, #22d3ee 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0e7490 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(14,116,144,0.3);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: var(--shadow-md);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 700; color: var(--text-primary); }
.nav-brand i { color: var(--primary-light); font-size: 1.8rem; }
.nav-brand span { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a { padding: 8px 16px; border-radius: var(--radius-sm); color: var(--text-secondary); font-weight: 500; font-size: 0.9rem; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav-cta { background: var(--gradient-1) !important; color: white !important; padding: 10px 24px !important; border-radius: 50px !important; font-weight: 600 !important; box-shadow: var(--shadow-glow); }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(14,116,144,0.5); }
.nav-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--gradient-hero);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(6,182,212,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(14,116,144,0.1) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(34,211,238,0.08) 0%, transparent 40%);
}
.hero-content { position: relative; z-index: 2; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; background: rgba(6,182,212,0.15);
  border: 1px solid rgba(6,182,212,0.3); border-radius: 50px;
  font-size: 0.85rem; color: var(--primary-light); margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}
.hero h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; animation: fadeInUp 0.6s ease 0.1s both; }
.hero h1 .highlight, .section-title .highlight { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 36px; max-width: 500px; animation: fadeInUp 0.6s ease 0.2s both; }
.hero-buttons { display: flex; gap: 16px; animation: fadeInUp 0.6s ease 0.3s both; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; animation: fadeInRight 0.8s ease 0.3s both; }
.hero-img-wrapper { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-card {
  position: absolute; background: rgba(30,41,59,0.9); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius);
  padding: 16px 20px; display: flex; align-items: center; gap: 12px;
  animation: float 3s ease infinite; box-shadow: var(--shadow-md);
}
.hero-float-card.card-1 { top: 15%; right: -30px; animation-delay: 0s; }
.hero-float-card.card-2 { bottom: 20%; left: -30px; animation-delay: 1.5s; }
.hero-float-card i { font-size: 1.5rem; color: var(--primary-light); }
.hero-float-card .card-text { font-size: 0.85rem; }
.hero-float-card .card-text strong { display: block; color: var(--text-primary); }
.hero-float-card .card-text span { color: var(--text-secondary); font-size: 0.8rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  font-size: 1rem; border: none; cursor: pointer;
  transition: var(--transition); text-decoration: none;
}
.btn-primary { background: var(--gradient-1); color: white; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(14,116,144,0.5); color: white; }
.btn-outline { background: transparent; color: var(--text-primary); border: 2px solid rgba(255,255,255,0.2); }
.btn-outline:hover { border-color: var(--primary-light); color: var(--primary-light); transform: translateY(-2px); }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2); border-radius: 50px;
  font-size: 0.8rem; color: var(--primary-light);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; }
.section-desc { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ===== CARDS ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius); padding: 32px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gradient-1);
  transform: scaleX(0); transition: var(--transition);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(6,182,212,0.2); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(6,182,212,0.1); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--primary-light);
  margin-bottom: 20px; transition: var(--transition);
}
.card:hover .card-icon { background: var(--gradient-1); color: white; transform: scale(1.1); }
.card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }
.card-image { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 20px; }
.card-price { color: var(--primary-light); font-weight: 700; font-size: 1.2rem; margin-top: 16px; }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.team-card { text-align: center; }
.team-photo {
  width: 160px; height: 160px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 20px; border: 3px solid rgba(6,182,212,0.3); transition: var(--transition);
}
.team-card:hover .team-photo { border-color: var(--primary-light); box-shadow: var(--shadow-glow); transform: scale(1.05); }
.team-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.team-card .specialty { color: var(--primary-light); font-size: 0.9rem; margin-bottom: 12px; }
.team-card .bio { color: var(--text-secondary); font-size: 0.85rem; }

/* ===== STATS ===== */
.stats-section { background: var(--bg-card); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-item .stat-number { font-size: 3rem; font-weight: 800; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-item .stat-label { color: var(--text-secondary); font-size: 0.95rem; margin-top: 4px; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-secondary); }
.form-control {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1); background: rgba(15,23,42,0.8);
  color: var(--text-primary); font-size: 1rem; transition: var(--transition); font-family: inherit;
}
.form-control:focus { outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(6,182,212,0.15); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius); padding: 40px; max-width: 600px; margin: 0 auto;
}

/* ===== STAFF AREA ===== */
.staff-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05); border-radius: var(--radius); padding: 24px; text-align: center; }
.stat-card .number { font-size: 2.5rem; font-weight: 800; color: var(--primary-light); }
.stat-card .label { color: var(--text-secondary); font-size: 0.85rem; margin-top: 4px; }
.table-wrapper { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; background: var(--bg-card); border-radius: var(--radius); overflow: hidden; }
.data-table th { background: rgba(6,182,212,0.1); padding: 14px 16px; text-align: left; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary); }
.data-table td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.badge { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }
.badge-pending { background: rgba(251,191,36,0.15); color: #fbbf24; }
.badge-confirmed { background: rgba(34,197,94,0.15); color: #22c55e; }
.badge-cancelled { background: rgba(239,68,68,0.15); color: #ef4444; }
.badge-completed { background: rgba(6,182,212,0.15); color: #06b6d4; }
.status-form { display: inline-flex; gap: 4px; }
.status-form select { padding: 4px 8px; border-radius: 6px; background: var(--bg-dark); border: 1px solid rgba(255,255,255,0.1); color: var(--text-primary); font-size: 0.8rem; }
.status-form button { padding: 4px 12px; }
.filter-bar { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; align-items: flex-end; }
.filter-bar .form-group { margin-bottom: 0; }
.filter-bar .form-control { padding: 10px 14px; }

/* ===== FOOTER ===== */
.footer { background: rgba(15,23,42,0.95); border-top: 1px solid rgba(255,255,255,0.05); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.footer-brand i { color: var(--primary-light); }
.footer-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
.footer h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; color: var(--text-primary); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: var(--text-secondary); font-size: 0.9rem; }
.footer ul a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; text-align: center; color: var(--text-secondary); font-size: 0.85rem; }

/* ===== CTA SECTION ===== */
.cta-section { background: var(--gradient-1); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%); }
.cta-section h2 { font-size: 2.5rem; font-weight: 800; color: white; margin-bottom: 16px; position: relative; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 32px; position: relative; }
.cta-section .btn { background: white; color: var(--primary-dark); position: relative; }
.cta-section .btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info-card { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05); border-radius: var(--radius); padding: 32px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item i { font-size: 1.3rem; color: var(--primary-light); margin-top: 3px; }
.contact-item h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-item p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== MESSAGES ===== */
.messages-container { position: fixed; top: 90px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.message { padding: 14px 24px; border-radius: var(--radius-sm); color: white; font-weight: 500; animation: fadeInRight 0.3s ease; box-shadow: var(--shadow-md); max-width: 400px; }
.message-success { background: #059669; }
.message-error { background: #dc2626; }
.message-info { background: var(--primary); }

/* ===== CONFIRM PAGE ===== */
.confirm-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 100px; }
.confirm-icon { font-size: 4rem; color: #22c55e; margin-bottom: 24px; }

/* ===== LOGIN PAGE ===== */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.login-card { width: 100%; max-width: 420px; }
.login-card h1 { text-align: center; margin-bottom: 8px; }
.login-card .subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 32px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 2.5rem; }
  .hero p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-float-card { display: none; }
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: rgba(15,23,42,0.98); flex-direction: column; padding: 20px; gap: 4px; }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .staff-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; }
  .section { padding: 60px 0; }
}
