/* global.css - Core Styling, Variables, and Layout Elements */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
@import url('header-footer.css');

:root {
  /* Colors */
  --primary-rgb: 0, 166, 190; /* #00A6BE */
  --primary: rgb(var(--primary-rgb));
  --primary-hover: #008ca0;
  --primary-light: rgba(var(--primary-rgb), 0.1);
  --secondary-rgb: 11, 60, 93; /* Deep Navy Blue (#0B3C5D) */
  --secondary: rgb(var(--secondary-rgb));
  --secondary-hover: #07263c;
  
  /* Light Theme Defaults */
  --bg-color: #FAFAFC;
  --surface-color: #FFFFFF;
  --surface-hover: #F3F4F6;
  --text-main: #1F2937;
  --text-muted: #4B5563;
  --text-inverse: #FFFFFF;
  --border-color: #E5E7EB;
  --navbar-bg: rgba(255, 255, 255, 0.85);
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
  --card-shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  
  /* Layout */
  --header-height: 80px;
  --container-width: 1250px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --bg-color: #0F0F11;
  --surface-color: #161619;
  --surface-hover: #1E1E24;
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-inverse: #0F0F11;
  --border-color: #2D2D35;
  --navbar-bg: rgba(15, 15, 17, 0.85);
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.1);
  --card-shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Core Layout Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Premium Typography Helper Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-alt {
  background: linear-gradient(135deg, #FCBF49, #F77F00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Premium Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--surface-color);
  color: var(--primary);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.header-icon-btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.header-wa-btn {
  color: #25D366; /* WhatsApp Green */
  background-color: rgba(37, 211, 102, 0.05);
  border-color: rgba(37, 211, 102, 0.2);
}

.header-wa-btn:hover {
  background-color: #25D366;
  color: #ffffff;
}

.header-icon-btn svg {
  width: 18px;
  height: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 12px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  font-size: 0.95rem;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(0, 166, 190, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(0, 166, 190, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--surface-hover);
  border-color: var(--text-main);
  transform: translateY(-1px);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btn-outline-gold:hover {
  background-color: var(--secondary);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(var(--secondary-rgb), 0.35);
  transform: translateY(-1px);
}

/* Animations & Transitions */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.animate-fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .nav-menu {
    display: none; /* Hide default nav */
  }
  
  .burger-menu-btn {
    display: flex; /* Show hamburger button */
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
}
