/*
Theme Name: Keltek IT Services
Theme URI: https://keltek.com
Author: DeepMind Antigravity
Description: A premium dark mode WordPress theme designed for Keltek, focusing on traditional, on-premise small business IT support in New York. Features an industrial orange accent.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: keltek
*/

:root {
  --color-bg: #0a0a0a;
  --color-surface: #171717;
  --color-surface-alt: #262626;
  --color-primary: #f58426; /* Knicks / Industrial Orange */
  --color-primary-hover: #ea580c; 
  --color-text: #e5e5e5; 
  --color-text-dark: #ffffff;
  --color-text-muted: #a3a3a3;
  --color-border: #404040;
  
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.8s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.animate-fade-in {
  animation: fadeIn var(--transition-slow) forwards;
}

/* Header & Top Bar */
.top-contact-bar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  z-index: 1001;
  height: 40px;
  display: flex;
  align-items: center;
}

.site-header {
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 40px;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-k-svg {
  height: 40px;
  width: auto;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.site-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin: 0;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-subtitle {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 3px;
  font-family: var(--font-main);
  font-weight: 600;
}

/* Desktop Navigation */
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-navigation a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 1rem;
}

.main-navigation a:hover {
  color: var(--color-primary);
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1002;
}

.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--color-text-dark);
  transition: all 0.3s ease-in-out;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: 4px; /* Sharper corners for traditional feel */
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: var(--color-primary);
  color: #000;
  box-shadow: 0 4px 14px rgba(245, 132, 38, 0.2);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 132, 38, 0.3);
  color: #000;
}

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

.btn-secondary:hover {
  background: white;
  color: black;
}

/* Forms */
.lead-form-container {
  background: var(--color-surface);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border: 1px solid var(--color-border);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: white;
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.site-footer {
  background-color: #000;
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 4rem 0 2rem;
  margin-top: 0;
}

.footer-content {
  text-align: center;
}

.footer-content p {
  color: var(--color-text-muted);
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
  
  .hide-mobile {
    display: none !important;
  }
  .top-contact-inner {
    justify-content: center !important;
  }

  .menu-toggle {
    display: block;
  }
  
  .main-navigation {
    position: fixed;
    top: 72px; 
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--color-bg);
    padding: 2rem;
    transition: 0.3s ease-in-out;
    box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.5);
    overflow-y: auto;
  }
  
  .main-navigation.toggled {
    left: 0;
  }
  
  .main-navigation ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .main-navigation a {
    font-size: 1.25rem;
  }
  
  .hero-title {
    font-size: 2.5rem !important;
  }
  
  .hero-section {
    padding: 6rem 0 4rem !important;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .section-title {
    font-size: 2rem !important;
  }
  
  .lead-form-container {
    padding: 1.5rem !important;
  }
  
  .contact-grid,
  .footer-widgets,
  .why-grid,
  .services-grid {
    grid-template-columns: 1fr !important;
  }
}
