/**
 * KTS Global - Brand Design System
 * Full Recreation - AEGIS-V14-QUANTUM-WEAVER-PHASE-2B
 * Zero Dependencies | Pure CSS | Tailwind CDN Integration
 * 
 * Colors:
 * - Dark: #1A1A1A
 * - Darker: #0F0F0F
 * - Gold: #B89A6A
 * - Light: #F5F5F5
 * - White: #FFFFFF
 * 
 * Typography:
 * - Body: Inter (via Google Fonts)
 * - Headings: Playfair Display (via Google Fonts)
 */

/* ============================================
   1. CSS RESET & BASE STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #0F0F0F;
  color: #F5F5F5;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   2. TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, Garamond, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

h1 {
  font-size: 4rem;
  line-height: 1.1;
}

h2 {
  font-size: 3rem;
  line-height: 1.2;
}

h3 {
  font-size: 2rem;
  line-height: 1.3;
}

p {
  line-height: 1.8;
  color: #D1D5DB;
}

/* ============================================
   3. CUSTOM SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1A1A1A;
}

::-webkit-scrollbar-thumb {
  background: #B89A6A;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #D4AF37;
}

/* ============================================
   4. HEADER / NAVIGATION
   ============================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: #D1D5DB;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #B89A6A;
}

.nav-links .btn-primary {
  background: #B89A6A;
  color: #0F0F0F;
  padding: 0.5rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-links .btn-primary:hover {
  background: #D4AF37;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 154, 106, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Dropdown Menus */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #0F0F0F;
  border: 1px solid rgba(184, 154, 106, 0.2);
  border-radius: 0.5rem;
  padding: 0.75rem 0;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: #D1D5DB;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(184, 154, 106, 0.1);
  color: #B89A6A;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.5rem;
  }
}

/* ============================================
   5. HERO SECTION
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, #0F0F0F 0%, #1A1A1A 50%, #0F0F0F 100%);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(184, 154, 106, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-strapline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.hero-line {
  font-size: 3rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #D4AF37 0%, #F4E5B0 50%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.hero-line:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-line:nth-child(2) {
  animation-delay: 0.4s;
  font-size: 2.75rem;
}

.hero-line:nth-child(3) {
  animation-delay: 0.6s;
  font-size: 2.5rem;
  color: #B89A6A;
  background: none;
  -webkit-text-fill-color: #B89A6A;
}

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

/* ============================================
   6. SERVICE CARDS
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 2rem;
  background: #1A1A1A;
}

.service-card {
  position: relative;
  background: rgba(15, 15, 15, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(184, 154, 106, 0.3);
  box-shadow: 0 20px 40px rgba(184, 154, 106, 0.15);
}

.service-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: brightness(0.92) grayscale(0.2);
  transition: all 0.5s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
  opacity: 0.85;
}

.service-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(15, 15, 15, 0.8) 100%);
  pointer-events: none;
}

.service-card-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.service-card-tag {
  color: #B89A6A;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.service-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.service-card:hover .service-card-title {
  color: #B89A6A;
}

.service-card-description {
  color: #9CA3AF;
  line-height: 1.7;
  margin-bottom: auto;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  color: #B89A6A;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-card-link {
  color: #FFFFFF;
}

.service-card-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-link i {
  transform: translateX(4px);
}

/* ============================================
   7. SECTIONS
   ============================================ */

section {
  padding: 6rem 2rem;
}

.section-dark {
  background: #0F0F0F;
}

.section-darker {
  background: #1A1A1A;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  color: #B89A6A;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.25rem;
  color: #9CA3AF;
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================
   8. BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #B89A6A;
  color: #0F0F0F;
}

.btn-primary:hover {
  background: #D4AF37;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 154, 106, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #B89A6A;
  border: 2px solid #B89A6A;
}

.btn-secondary:hover {
  background: rgba(184, 154, 106, 0.1);
  border-color: #D4AF37;
  color: #D4AF37;
}

/* ============================================
   9. STATS GRID
   ============================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-card {
  background: rgba(15, 15, 15, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #B89A6A;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #9CA3AF;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.stat-description {
  color: #6B7280;
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* ============================================
   10. FAQ SECTION
   ============================================ */

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

details {
  background: #1A1A1A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

summary {
  padding: 1.5rem 2rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: #FFFFFF;
  transition: all 0.3s ease;
}

summary:hover {
  background: rgba(184, 154, 106, 0.05);
}

summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #B89A6A;
  transition: transform 0.3s ease;
}

details[open] summary::after {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2rem 2rem 2rem;
  color: #D1D5DB;
  line-height: 1.8;
}

/* ============================================
   11. PRESS & MEDIA
   ============================================ */

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.press-card {
  background: rgba(26, 26, 26, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.press-card:hover {
  border-color: rgba(184, 154, 106, 0.3);
  transform: translateY(-4px);
}

.press-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(184, 154, 106, 0.2);
  color: #B89A6A;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.press-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.press-card:hover .press-title {
  color: #B89A6A;
}

.press-description {
  color: #9CA3AF;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.press-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #6B7280;
  margin-bottom: 1rem;
}

/* ============================================
   12. FOOTER
   ============================================ */

footer {
  background: #0F0F0F;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto 3rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-strapline {
  margin-bottom: 1.5rem;
}

.footer-line {
  font-size: 1rem;
  color: #B89A6A;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.footer-section h4 {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: #9CA3AF;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #B89A6A;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: #6B7280;
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: #9CA3AF;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #B89A6A;
}

/* ============================================
   13. RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .hero-line {
    font-size: 2.5rem;
  }
  
  .hero-line:nth-child(2) {
    font-size: 2.25rem;
  }
  
  .hero-line:nth-child(3) {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 6rem 1.5rem 3rem;
  }
  
  .hero-line {
    font-size: 2rem;
  }
  
  .hero-line:nth-child(2) {
    font-size: 1.75rem;
  }
  
  .hero-line:nth-child(3) {
    font-size: 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 4rem 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  section {
    padding: 4rem 1.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   14. UTILITY CLASSES
   ============================================ */

.text-gold {
  color: #B89A6A;
}

.text-white {
  color: #FFFFFF;
}

.text-gray {
  color: #9CA3AF;
}

.bg-dark {
  background: #1A1A1A;
}

.bg-darker {
  background: #0F0F0F;
}

.mt-4 { margin-top: 2rem; }
.mt-8 { margin-top: 4rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-8 { margin-bottom: 4rem; }
.text-center { text-align: center; }

/* Image hover effects */
.image-overlay {
  position: relative;
  overflow: hidden;
}

.image-overlay img {
  transition: transform 0.5s ease;
}

.image-overlay:hover img {
  transform: scale(1.1);
}

/* Card hover effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(184, 154, 106, 0.2);
}
