/* ========================================
   SGT Tourism - Team Landing Pages
   ======================================== */

/* CSS Custom Properties */
:root {
  --navy: #0d1b2a;
  --navy-light: #1b2d45;
  --navy-dark: #081422;
  --gold: #c8a44e;
  --gold-light: #ddc173;
  --gold-dark: #a8873a;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --shadow-sm: 0 1px 2px rgba(13, 27, 42, 0.05);
  --shadow-md: 0 4px 16px rgba(13, 27, 42, 0.08);
  --shadow-lg: 0 8px 32px rgba(13, 27, 42, 0.12);
  --shadow-xl: 0 16px 48px rgba(13, 27, 42, 0.16);
  --shadow-gold: 0 4px 24px rgba(200, 164, 78, 0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--off-white);
  color: var(--navy);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
  70% {
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 164, 78, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(200, 164, 78, 0); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Animation Classes */
.animate-fade-up {
  opacity: 0;
  animation: fadeInUp 0.6s var(--transition-bounce) forwards;
}

.animate-bounce-in {
  opacity: 0;
  animation: bounceIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-scale-in {
  opacity: 0;
  animation: scaleIn 0.5s var(--transition-bounce) forwards;
}

.animate-slide-left {
  opacity: 0;
  animation: slideInLeft 0.5s var(--transition-bounce) forwards;
}

.animate-slide-right {
  opacity: 0;
  animation: slideInRight 0.5s var(--transition-bounce) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }
.delay-9 { animation-delay: 0.9s; }
.delay-10 { animation-delay: 1.0s; }

/* ========================================
   Layout
   ======================================== */

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Header / Logo
   ======================================== */

.header {
  width: 100%;
  padding: 28px 0 8px;
  text-align: center;
}

.header-logo {
  height: 48px;
  width: auto;
  transition: transform var(--transition-bounce);
}

.header-logo:hover {
  transform: scale(1.05);
}

/* ========================================
   Profile Section
   ======================================== */

.profile-section {
  text-align: center;
  padding: 40px 0 24px;
}

.profile-image-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 28px;
}

.profile-image-ring {
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  animation: pulse 3s ease-in-out infinite;
}

.profile-image {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 1;
  transition: transform var(--transition-bounce);
  background-color: var(--gray-200);
}

.profile-image:hover {
  transform: scale(1.05);
}

.profile-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.profile-designation {
  font-size: 15px;
  font-weight: 500;
  color: var(--gold-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ========================================
   Contact Info
   ======================================== */

.contact-section {
  padding: 16px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--navy);
  transition: all var(--transition-bounce);
  border: 1px solid var(--gray-100);
}

.contact-item:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.contact-item:active {
  transform: translateY(0) scale(0.99);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-bounce);
}

.contact-item:hover .contact-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: rotate(-5deg) scale(1.1);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.contact-text {
  flex: 1;
  min-width: 0;
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray-400);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  word-break: break-word;
}

/* ========================================
   Action Buttons
   ======================================== */

.actions-section {
  padding: 8px 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-bounce);
  font-family: inherit;
  letter-spacing: 0.2px;
  text-align: center;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-gold);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #20BA5C);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:active {
  transform: translateY(0) scale(0.98);
}

/* ========================================
   Divider
   ======================================== */

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: var(--radius-full);
  margin: 8px auto 32px;
}

/* ========================================
   Company Section
   ======================================== */

.company-section {
  padding: 32px 0 16px;
  text-align: center;
}

.company-logo {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
  opacity: 0.9;
}

.company-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.company-address {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto 20px;
}

.company-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-500);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.company-phone:hover {
  color: var(--gold-dark);
}

.company-phone svg {
  width: 14px;
  height: 14px;
  fill: var(--gray-400);
}

/* ========================================
   Social Links
   ======================================== */

.social-section {
  padding: 24px 0;
  display: grid;
  grid-template-columns: repeat(4, 48px);
  justify-content: center;
  gap: 12px;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-bounce);
  box-shadow: var(--shadow-sm);
}

.social-link:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
  background: var(--gold);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: var(--navy);
  transition: fill var(--transition-fast);
}

.social-link:hover svg {
  fill: var(--white);
}

/* ========================================
   Website Link
   ======================================== */

.website-link {
  display: block;
  text-align: center;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-dark);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color var(--transition-fast);
}

.website-link:hover {
  color: var(--navy);
}

/* ========================================
   Footer
   ======================================== */

.footer {
  padding: 24px 0 40px;
  text-align: center;
}

.footer-text {
  font-size: 11px;
  color: var(--gray-400);
  letter-spacing: 0.3px;
}

/* ========================================
   Index / Team Directory
   ======================================== */

.team-hero {
  text-align: center;
  padding: 60px 20px 40px;
}

.team-hero-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.team-hero-sub {
  font-size: 15px;
  color: var(--gray-500);
  font-weight: 400;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  padding: 0 20px 60px;
  max-width: 720px;
  margin: 0 auto;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--navy);
  transition: all var(--transition-bounce);
  border: 1px solid var(--gray-100);
}

.team-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.team-card-image {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin-bottom: 14px;
  border: 3px solid var(--gold);
  background-color: var(--gray-200);
}

.team-card-name {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 11px;
  color: var(--gray-400);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 480px) {
  .card-container {
    padding: 0 16px;
  }

  .profile-name {
    font-size: 24px;
  }

  .profile-designation {
    font-size: 13px;
  }

  .profile-image-wrapper {
    width: 120px;
    height: 120px;
  }

  .profile-image {
    width: 120px;
    height: 120px;
  }

  .actions-section {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0 16px 40px;
  }

  .team-hero {
    padding: 40px 16px 28px;
  }

  .team-hero-title {
    font-size: 26px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* Selection */
::selection {
  background: var(--gold);
  color: var(--navy);
}
