/* =========================================
   Neva Grup İnsan Kaynakları - Style.css
   Premium Light Theme
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Light Theme */
  --primary-color: #2563EB; /* Trustworthy Blue */
  --primary-hover: #1D4ED8;
  --secondary-color: #38BDF8; /* Soft Accent Teal/Blue */
  --bg-color: #F8FAFC; /* Slate 50 */
  --surface-color: #FFFFFF;
  --text-main: #0F172A; /* Slate 900 */
  --text-muted: #64748B; /* Slate 500 */
  --border-color: #E2E8F0; /* Slate 200 */
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 12px;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

/* =========================================
   Typography & Utilities
========================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  color: white;
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

/* =========================================
   Navbar (Header)
========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  /* Glassmorphism */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--text-main);
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
}

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

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface-color);
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  padding: 10px 0;
  border: 1px solid var(--border-color);
}

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

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-weight: 400;
  color: var(--text-muted);
}

.dropdown-menu a:hover {
  background-color: var(--bg-color);
  color: var(--primary-color);
  padding-left: 25px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

/* =========================================
   Hero Section
========================================= */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #F8FAFC 0%, #E0F2FE 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  animation: fadeInUp 1s ease;
}

.hero h1 span {
  color: var(--primary-color);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  animation: fadeInUp 1.2s ease;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  animation: fadeInUp 1.4s ease;
}

/* =========================================
   Features / Services Cards
========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.service-card {
  background: var(--surface-color);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.03) 0%, rgba(255,255,255,0) 100%);
  transition: var(--transition);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary-color);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* =========================================
   About Preview Section
========================================= */
.about-section {
  background-color: var(--surface-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-img img {
  transition: var(--transition);
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.feature-list {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 500;
}

.feature-list i {
  color: var(--primary-color);
}

/* =========================================
   Footer
========================================= */
.footer {
  background-color: #0F172A; /* Very Dark Blue/Slate */
  color: #CBD5E1;
  padding: 60px 0 20px;
}

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

.footer-col h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  display: block;
}

.footer-logo span {
  color: var(--secondary-color);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94A3B8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  align-items: flex-start;
  word-break: break-all;
  overflow-wrap: break-word;
}

.footer-contact i {
  color: var(--secondary-color);
  margin-top: 5px;
  flex-shrink: 0;
}

.footer-contact li span {
  min-width: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

/* =========================================
   Internal Pages Header (Page Hero)
========================================= */
.page-hero {
  padding-top: 150px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--bg-color) 0%, #E2E8F0 100%);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-hero h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* =========================================
   Content Section (Generic)
========================================= */
.content-section {
  background-color: var(--surface-color);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.content-section p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.content-section h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

/* =========================================
   Contact Form
========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--primary-color);
  color: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
  color: white;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.info-item i {
  font-size: 1.5rem;
  background: rgba(255,255,255,0.2);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.info-item > div {
  min-width: 0;
}

.info-item h4 {
  color: white;
  margin-bottom: 5px;
}

.info-item p {
  color: rgba(255,255,255,0.8);
  word-break: break-all;
  overflow-wrap: break-word;
}

.info-item p a {
  word-break: break-all;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  background: var(--bg-color);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--surface-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

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

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

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 992px) {
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hide on mobile initially */
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--surface-color);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    gap: 1rem;
  }
  
  .nav-links.active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(0, 0, 0, 0.02);
    margin-top: 5px;
    display: block;
    padding-left: 20px;
    border-left: 2px solid var(--primary-color);
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding-top: 100px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  
  .page-hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  
  .page-hero h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}
