/*
Theme Name: Todorov Recruitment OOD Custom Theme
Theme URI: https://todorovrecruitmentood.com/
Description: Custom, high-end, responsive theme designed with the vibrant blue gradient from the company logo, suitable for recruitment and talent sourcing.
Version: 1.0.0
Author: Antigravity AI
Author URI: https://github.com/google-deepmind
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: todorov-theme
*/

/* --- Design System & CSS Variables --- */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Color Palette (Logo inspired blue gradient) */
  --primary-grad: linear-gradient(135deg, #005cbb 0%, #009dff 100%);
  --primary-grad-hover: linear-gradient(135deg, #004a99 0%, #008be0 100%);
  --primary-color: #0070df;
  --primary-dark: #003d7e;
  --primary-light: #f0f7ff;
  
  --dark-bg: #090e1a;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  
  /* Borders and Shadows */
  --border-color: #e2e8f0;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  
  --shadow-sm: 0 2px 8px rgba(0, 92, 187, 0.04);
  --shadow-md: 0 10px 30px -5px rgba(0, 92, 187, 0.08), 0 4px 6px -2px rgba(0, 92, 187, 0.02);
  --shadow-lg: 0 20px 40px -10px rgba(0, 92, 187, 0.15);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Resets & Global Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

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

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

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

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

ul {
  list-style: none;
}

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

/* --- Typography Helpers --- */
.gradient-text {
  background: var(--primary-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary-grad);
  color: var(--white) !important;
  box-shadow: 0 4px 14px rgba(0, 92, 187, 0.25);
}

.btn-primary:hover {
  background: var(--primary-grad-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 92, 187, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-color) !important;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

/* --- Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.logo-link img {
  height: 52px;
  width: auto;
  transition: var(--transition);
}

.logo-link:hover img {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-main);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-grad);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-main);
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 120px 0 100px;
  background: radial-gradient(circle at 80% 20%, rgba(0, 157, 255, 0.08) 0%, rgba(248, 250, 252, 0) 50%);
  display: flex;
  align-items: center;
  min-height: 80vh;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-title {
  font-size: 56px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--text-muted);
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic .svg-placeholder {
  width: 100%;
  max-width: 450px;
  filter: drop-shadow(var(--shadow-lg));
  animation: float 6s ease-in-out infinite;
}

/* Float Animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* --- Info Section / Stats --- */
.stats-bar {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-card {
  padding: 16px;
}

.stat-number {
  font-size: 48px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Section Global Layouts --- */
.section {
  padding: 100px 0;
}

.section-bg {
  background-color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 38px;
  margin-bottom: 16px;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-grad);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary-color);
  color: var(--white);
}

.service-title {
  font-size: 22px;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* --- Job Listings Board --- */
.filter-bar {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}

.filter-input, .filter-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  background-color: var(--light-bg);
  transition: var(--transition);
}

.filter-input:focus, .filter-select:focus {
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 92, 187, 0.1);
}

.jobs-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.job-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: scale(1.005);
}

.job-meta-main {
  flex: 1;
}

.job-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.job-card-title {
  font-size: 22px;
}

.job-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 20px;
}

.badge-full-time { background: #e0f2fe; color: #0369a1; }
.badge-part-time { background: #fef3c7; color: #b45309; }
.badge-remote { background: #dcfce7; color: #15803d; }
.badge-contract { background: #f3e8ff; color: #6b21a8; }

.job-details-row {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--text-light);
}

.job-detail-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-detail-item i {
  color: var(--primary-color);
}

.job-action {
  margin-left: 32px;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 24px 30px;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-color);
  background: var(--primary-light);
}

.faq-icon-arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 30px;
  font-size: 15px;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

/* --- Forms (Contact / Apply) --- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  max-width: 700px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  background-color: var(--light-bg);
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 92, 187, 0.1);
}

/* Styled File Upload */
.file-upload-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  cursor: pointer;
  background-color: var(--light-bg);
  transition: var(--transition);
}

.file-upload-wrapper:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-light);
}

.file-upload-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-text {
  font-size: 14px;
  color: var(--text-muted);
}

.file-upload-text i {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 12px;
  display: block;
}

/* Success toast */
.toast-msg {
  display: none;
  padding: 16px 24px;
  background: #10b981;
  color: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 15px;
  animation: slideUp 0.3s ease;
}

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

/* --- Contact Us Page Grid --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-info-panel {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-info-content h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.contact-info-content p {
  font-size: 15px;
  color: var(--text-muted);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 250px;
  border: 1px solid var(--border-color);
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Footer --- */
.site-footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo img {
  height: 48px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-light);
  max-width: 300px;
}

.footer-title {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 24px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 30px;
  height: 2px;
  background: var(--primary-grad);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-light);
}

.footer-link:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--primary-color);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}

/* --- Responsive Layouts --- */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-subtitle {
    margin: 0 auto 40px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* Mobile Menu Drawer Styling */
  .nav-menu-wrapper {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 24px 32px;
    z-index: 999;
  }
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    display: flex;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-menu li .nav-link {
    width: 100%;
    display: block;
    font-size: 16px;
    padding: 8px 0;
  }
  .mobile-nav-toggle {
    display: block;
  }
}

@media (max-width: 576px) {
  .site-header .container {
    height: 70px;
  }
  .logo-link img {
    height: 38px;
  }
  .nav-menu-wrapper {
    top: 70px;
    padding: 16px 24px;
  }
  .header-right {
    gap: 10px;
  }
  .header-right .btn-primary {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 40px;
  }
  .filter-bar {
    grid-template-columns: 1fr;
  }
  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .job-action {
    margin-left: 0;
    width: 100%;
  }
  .job-action .btn {
    width: 100%;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-full {
    grid-column: span 1;
  }
  .form-card {
    padding: 24px;
  }
}
