/*
Theme Name: King Tut Custom Theme
Theme URI: https://kingtut.tours
Author: Antigravity Team
Author URI: https://kingtut.tours
Description: A lightweight, high-performance custom WordPress theme for King Tut Tours. Replaces Elementor and loads content instantly with custom SEO/GEO hooks.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kingtut-theme
*/

/* Core Global Design Tokens */
:root {
  --kt-blue-hsl: 210, 100%, 14%;      /* #002347 */
  --kt-gold-hsl: 35, 92%, 54%;       /* #f59e21 */
  
  --kt-blue: hsl(var(--kt-blue-hsl));
  --kt-blue-light: hsl(210, 100%, 22%);
  --kt-blue-muted: hsl(210, 40%, 35%);
  --kt-gold: hsl(var(--kt-gold-hsl));
  --kt-gold-hover: hsl(35, 92%, 46%);
  --kt-gold-light: hsl(35, 100%, 95%);
  
  --kt-bg: #ffffff;
  --kt-bg-alt: #f8fafc;
  --kt-text: #1e293b;
  --kt-text-muted: #64748b;
  --kt-border: #e2e8f0;
  
  --kt-shadow: 0 10px 25px -5px rgba(0, 35, 71, 0.08), 0 8px 10px -6px rgba(0, 35, 71, 0.05);
  --kt-shadow-lg: 0 20px 40px -15px rgba(0, 35, 71, 0.15);
  --kt-glass-bg: rgba(255, 255, 255, 0.9);
  --kt-glass-border: rgba(255, 255, 255, 0.5);
  --kt-radius: 16px;
  
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --header-height: 80px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--kt-bg-alt);
  color: var(--kt-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--kt-blue);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 12px;
}

h2.decorated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--kt-gold);
  border-radius: 2px;
}

h2.decorated.center::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--kt-radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  outline: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--kt-gold);
  color: var(--kt-blue);
  box-shadow: 0 4px 14px rgba(245, 158, 33, 0.4);
}

.btn-primary:hover {
  background-color: var(--kt-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 33, 0.6);
}

.btn-secondary {
  background-color: var(--kt-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 35, 71, 0.2);
}

.btn-secondary:hover {
  background-color: var(--kt-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 35, 71, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--kt-blue);
  border: 2px solid var(--kt-blue);
}

.btn-outline:hover {
  background-color: var(--kt-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

.glass {
  background: var(--kt-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--kt-glass-border);
}

.badge {
  display: inline-flex;
  padding: 6px 12px;
  background-color: var(--kt-gold-light);
  color: var(--kt-blue-light);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(245, 158, 33, 0.3);
  margin-bottom: 12px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

.text-center { text-align: center; }
.text-justify { text-align: justify; text-justify: inter-word; }
