/*
Theme Name: Verb Language Services
Theme URI: https://verbridgelanguagesolutions.com
Description: Custom WordPress theme for Verb Language & Interpreting Services
Version: 1.0
Author: Your Name
Author URI: https://yourwebsite.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: verb-theme
*/

:root {
  --primary: #2660aa;
  --secondary: #f5f7fb;
  --text-dark: #1f2933;
  --white: #ffffff;
  --header-gray: #cecece;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

body {
  background: var(--secondary);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== HEADER ===== */
header {
  background: var(--primary);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.header-top-bar {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-bar a {
  color: var(--white);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
}

.header-top-bar a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

#logo {
  transition: transform 0.3s ease;
}

#logo:hover {
  transform: translateY(-2px);
}

#logo img {
  height: 45px;
  filter: brightness(0) invert(1);
}

/* ===== NAVIGATION ===== */
nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 6px;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

nav ul li a:before {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 1px;
}

nav ul li a:hover {
  opacity: 0.9;
}

nav ul li a:hover:before {
  transform: scaleX(1);
}

/* ===== DROPDOWN ===== */
/* ===== COMPACT VERTICAL DROPDOWN ===== */
nav ul li ul {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255, 255, 255, 0.98); /* Slight transparency for a slick look */
  backdrop-filter: blur(10px); /* Modern glass effect */
  
  /* Transformation to Row */
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 12px;
  
  min-width: max-content;
  border-radius: 4px; /* Subtle, professional rounding */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  z-index: 100;
  margin-top: 12px;
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--primary);
  
  /* Smoothness Logic */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Invisible bridge */
nav ul li ul::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
}

nav ul li:hover ul {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Item Spacing and Dividers */
nav ul li ul li {
  border-bottom: none;
  position: relative;
}

/* Subtle vertical separator between items */
nav ul li ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: #e2e8f0;
}

nav ul li ul li a {
  padding: 10px 20px;
  color: var(--text-dark);
  white-space: nowrap;
  display: block;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  text-align: center;
}

/* Professional Hover Effect */
nav ul li ul li a:hover {
  color: var(--primary);
  background: rgba(38, 96, 170, 0.03); /* Extremely subtle highlight */
}

/* The "Slick" Underline */
nav ul li ul li a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease, transform 0.3s ease;
  transform: translateX(-50%);
}

nav ul li ul li a:hover::after {
  width: 15px; /* Short, elegant underline */
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(
    rgba(38, 96, 170, 0.9),
    rgba(38, 96, 170, 0.9)
  ),
  url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 120px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: auto;
  line-height: 1.7;
  font-weight: 400;
}

/* ===== SECTIONS ===== */
section {
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 40px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card h3 {
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.3px;
}

.card p {
  line-height: 1.7;
  font-weight: 400;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 40px 20px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-bottom nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
}

.footer-bottom nav a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom nav {
    flex-direction: column;
    gap: 10px;
  }
}

/* ===== MOBILE MENU ===== */
#menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  margin-left: auto;
  color: var(--white);
}

@media (max-width: 768px) {
  .header-top-bar {
    font-size: 12px;
  }

  .header-top-bar .container {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  .header-top-bar a {
    margin-left: 0;
  }

  nav ul {
    gap: 15px;
  }

  .hero h1 {
    font-size: 36px;
  }

  #menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    top: 80px;
    right: 20px;
    width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 8px;
  }

  nav ul.show {
    display: flex;
  }
  
  nav ul li a {
    color: var(--white);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 16px;
  }
}

/* ===== WORDPRESS SPECIFIC ===== */
.wp-block-image {
  margin: 20px 0;
}

.aligncenter {
  text-align: center;
}

.content-area {
  padding: 60px 20px;
}

.entry-content {
  line-height: 1.6;
}

.entry-content h2 {
  color: var(--primary);
  margin: 30px 0 15px;
}

.entry-content h3 {
  color: var(--primary);
  margin: 25px 0 12px;
}

.entry-content p {
  margin-bottom: 15px;
}

/* ===== CAREERS PAGE STYLES ===== */
.careers-section {
  margin-top: 60px;
}

.careers-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.career-card {
  background: var(--white);
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
}

.career-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.career-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.career-card h3 {
  color: var(--text-dark);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.career-details {
  background: var(--secondary);
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.career-details p {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.career-details p:last-child {
  margin-bottom: 0;
}

.career-description {
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
}

.career-apply-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: absolute;
  bottom: 30px;
  right: 30px;
}

.career-apply-btn:hover {
  background: #1e4d8b;
  transform: translateX(5px);
}

/* Application Section */
.application-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 2px solid var(--secondary);
}

.application-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.requirements-section h3 {
  color: var(--primary);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.requirements-section h3:first-child {
  margin-top: 0;
}

.requirements-section ul {
  list-style: none;
  padding: 0;
}

.requirements-section ul li {
  padding: 10px 0 10px 30px;
  position: relative;
  line-height: 1.6;
}

.requirements-section ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 18px;
}

.contact-info-box {
  background: var(--secondary);
  padding: 30px;
  border-radius: 10px;
  border: 2px solid var(--primary);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.contact-info-box h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.contact-info-box p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.contact-info-box a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-info-box a:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .careers-carousel {
    grid-template-columns: 1fr;
  }
  
  .application-content {
    grid-template-columns: 1fr;
  }
  
  .contact-info-box {
    position: static;
  }
}

@media (max-width: 768px) {
  .career-apply-btn {
    position: static;
    display: block;
    text-align: center;
  }
}

/* ===== SINGLE POST / BLOG ===== */
.entry-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--secondary);
}

.entry-meta {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}

.entry-meta span {
  margin-right: 15px;
}

.post-thumbnail {
  margin: 30px 0;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.entry-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--secondary);
}

.tags-links {
  font-size: 14px;
}

.tags-links a {
  color: var(--primary);
  text-decoration: none;
  margin-right: 5px;
}

.tags-links a:hover {
  text-decoration: underline;
}

/* Post Navigation */
.post-navigation {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid var(--secondary);
}

.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.nav-previous,
.nav-next {
  flex: 1;
}

.nav-next {
  text-align: right;
}

.nav-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* Archive & Search */
.entry-excerpt {
  margin: 15px 0;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.read-more:hover {
  text-decoration: underline;
}

/* Pagination */
.pagination {
  margin-top: 50px;
  text-align: center;
}

.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 15px;
  background: var(--white);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid var(--secondary);
}

.pagination a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.pagination .current {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Search Form */
.search-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 20px auto;
}

.search-field {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid var(--secondary);
  border-radius: 4px;
  font-size: 16px;
}

.search-submit {
  padding: 12px 30px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-submit:hover {
  background: #1e4d8b;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

/* Comments */
.comments-area {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid var(--secondary);
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment {
  margin-bottom: 30px;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
}

.comment-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.comment-metadata {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}