/*
Theme Name: Triples Hiring ATS Theme
Theme URI: https://hiring.triplesproduction.com/
Description: Custom standalone theme for Triple S Production ATS Hiring Portal. Premium, modern creative agency style inspired by main website.
Author: Triple S Production
Version: 2.0.0
*/

:root {
  --tsp-bg: #FFFFFF;
  --tsp-bg-alt: #FAFBFC;
  --tsp-bg-card: #FFFFFF;
  --tsp-border: #E5E7EB;
  --tsp-border-hover: #D1D5DB;
  
  --tsp-purple: #730065;
  --tsp-red: #C9003C;
  --tsp-gradient: linear-gradient(135deg, #730065 0%, #C9003C 100%);
  --tsp-gradient-hover: linear-gradient(135deg, #5c0051 0%, #a30030 100%);
  
  --tsp-text-main: #111827;
  --tsp-text-muted: #6B7280;
  
  --font-primary: 'DM Sans', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  
  --container: 1200px;
  --radius: 16px;
  --radius-sm: 8px;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.08);
}

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

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

a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; color: var(--tsp-text-main); line-height: 1.2; }
img { max-width: 100%; height: auto; }

/* Utilities */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.subheading { color: var(--tsp-red); font-weight: 600; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; display: block; }
.gradient-text { background: var(--tsp-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Buttons */
.btn-primary, .btn-outline, .btn-white, .btn-outline-play {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 50px; font-family: var(--font-heading);
  font-weight: 600; font-size: 15px; cursor: pointer; transition: all 0.3s ease; border: none;
}
.btn-primary { background: var(--tsp-gradient); color: #fff; box-shadow: 0 8px 20px rgba(201, 0, 60, 0.2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(201, 0, 60, 0.3); color: #fff; background: var(--tsp-gradient-hover); }
.btn-sm { padding: 10px 24px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-outline { border: 1px solid var(--tsp-border); background: transparent; }
.btn-outline:hover { border-color: var(--tsp-purple); color: var(--tsp-purple); }
.btn-white { background: #fff; color: var(--tsp-purple); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-play { border: 1px solid var(--tsp-border); color: var(--tsp-text-main); gap: 8px; }
.btn-outline-play:hover { border-color: var(--tsp-red); color: var(--tsp-red); background: #fffafb; }

/* Header */
.site-header { background: #fff; padding: 20px 0; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--tsp-border); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; }
.main-nav ul { display: flex; gap: 30px; list-style: none; }
.main-nav a { font-size: 15px; font-weight: 500; color: var(--tsp-text-main); }
.main-nav a:hover, .main-nav a.active { color: var(--tsp-red); }

/* Hero */
.hero-section { padding: 80px 0 120px; overflow: hidden; background: radial-gradient(circle at 100% 0%, rgba(115,0,101,0.05) 0%, transparent 40%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; background: #fff2f5; color: var(--tsp-red); font-size: 13px; font-weight: 600; border-radius: 50px; margin-bottom: 24px; }
.hero-content h1 { font-size: clamp(40px, 4.5vw, 60px); margin-bottom: 20px; }
.hero-content p { font-size: 18px; color: var(--tsp-text-muted); margin-bottom: 30px; max-width: 90%; }
.hero-perks { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.perk { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.icon-circle { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.icon-circle svg { width: 16px; height: 16px; }
.icon-red { background: #ffe3eb; color: #C9003C; }
.icon-purple { background: #f3e5f5; color: #730065; }
.icon-teal { background: #e0f2f1; color: #00897b; }
.icon-blue { background: #e3f2fd; color: #1e88e5; }
.hero-actions { display: flex; gap: 16px; }
.hero-image { position: relative; }
.blob-bg { position: absolute; top: -5%; right: -5%; width: 110%; height: 110%; background: var(--tsp-gradient); border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; z-index: -1; opacity: 0.1; }

/* Stats Banner */
.stats-section { margin-top: -60px; position: relative; z-index: 10; margin-bottom: 80px; }
.stats-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border: 1px solid var(--tsp-border); }
.stat-item { display: flex; align-items: center; gap: 16px; justify-content: center; border-right: 1px solid var(--tsp-border); }
.stat-item:last-child { border-right: none; }
.stat-text h3 { font-size: 28px; }
.stat-text p { font-size: 13px; color: var(--tsp-text-muted); font-weight: 500; }

/* Jobs List */
.jobs-section { padding: 60px 0 100px; background: var(--tsp-bg-alt); }
.section-header { margin-bottom: 50px; }
.section-header h2 { font-size: 36px; }
.jobs-list { display: flex; flex-direction: column; gap: 20px; }
.job-card { background: #fff; border-radius: var(--radius); padding: 24px 32px; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow-sm); border: 1px solid var(--tsp-border); transition: all 0.3s; }
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--tsp-purple); }
.job-card-inner { display: flex; align-items: flex-start; gap: 24px; }
.job-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.job-icon[data-dept="marketing"] { background: #f3e5f5; color: #730065; }
.job-icon[data-dept="production"] { background: #e3f2fd; color: #1971c2; }
.job-icon[data-dept="design"] { background: #e0f2f1; color: #087f5b; }
.job-icon[data-dept="content"] { background: #fff0f6; color: #c2255c; }
.job-icon[data-dept="sales"] { background: #fff4e6; color: #d9480f; }
.job-info h3 { font-size: 20px; margin-bottom: 8px; }
.job-meta { display: flex; gap: 16px; font-size: 13px; color: var(--tsp-text-muted); font-weight: 500; margin-bottom: 8px; }
.job-excerpt { font-size: 14px; color: var(--tsp-text-muted); }

/* Why Join Us */
.why-join-section { padding: 100px 0; }
.why-join-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: center; }
.why-join-content h2 { font-size: 36px; margin-bottom: 20px; }
.why-join-content p { color: var(--tsp-text-muted); margin-bottom: 30px; font-size: 16px; }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.benefit-card { display: flex; gap: 16px; }
.benefit-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.benefit-text h4 { font-size: 16px; margin-bottom: 4px; }
.benefit-text p { font-size: 14px; color: var(--tsp-text-muted); line-height: 1.4; }

/* CTA Banner */
.cta-banner-section { padding: 40px 0 100px; }
.cta-banner { background: var(--tsp-gradient); border-radius: var(--radius); padding: 50px 60px; display: flex; justify-content: space-between; align-items: center; color: #fff; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.cta-banner::after { content: ''; position: absolute; right: -50px; top: -100px; width: 400px; height: 400px; border-radius: 50%; border: 40px solid rgba(255,255,255,0.05); }
.cta-content h2 { color: #fff; font-size: 32px; margin-bottom: 12px; }
.cta-content p { font-size: 18px; opacity: 0.9; }

/* Single Job */

.job-header { padding: 60px 0; background-image:url(https://hiring.triplesproduction.com/wp-content/uploads/2026/07/bg.png); border-bottom: 1px solid var(--tsp-border); margin-bottom: 60px; }
.job-header-meta { display: flex; gap: 32px; margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--tsp-border); }
.meta-item { display: flex; flex-direction: column; }
.meta-label { font-size: 12px; color: var(--tsp-text-muted); text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.meta-val { font-weight: 600; font-size: 16px; }
.job-content-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 100px; }
.job-details h3 { font-size: 24px; margin: 40px 0 20px; }
.job-details p, .job-details li { font-size: 16px; color: var(--tsp-text-muted); margin-bottom: 16px; }
.job-details ul { padding-left: 20px; margin-bottom: 30px; }

/* Form */
.apply-box { background: #fff; border: 1px solid var(--tsp-border); border-radius: var(--radius); padding: 32px; position: sticky; top: 120px; box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.form-control { width: 100%; padding: 12px 16px; border: 1px solid var(--tsp-border); border-radius: var(--radius-sm); font-family: var(--font-primary); font-size: 15px; transition: border 0.3s; background: #fff; }
.form-control:focus { outline: none; border-color: var(--tsp-purple); box-shadow: 0 0 0 3px rgba(115,0,101,0.1); }
.checkbox-group { display: flex; gap: 10px; align-items: flex-start; }
.checkbox-group label { font-size: 13px; font-weight: 400; color: var(--tsp-text-muted); }

@media (min-width: 769px) {
  .apply-box form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .form-group {
    margin-bottom: 0;
  }
  .form-group.full-width {
    grid-column: span 2;
  }
}

/* Footer */
.site-footer { border-top: 1px solid var(--tsp-border); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.brand-col p { color: var(--tsp-text-muted); font-size: 14px; margin-top: 16px; max-width: 280px; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: var(--tsp-bg-alt); display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; color: var(--tsp-text-main); }
.social-links a:hover { background: var(--tsp-gradient); color: #fff; }
.footer-col h4 { font-size: 16px; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { color: var(--tsp-text-muted); font-size: 14px; }
.footer-col a:hover { color: var(--tsp-red); }
.contact-col .icon { margin-right: 8px; }
.footer-bottom { border-top: 1px solid var(--tsp-border); padding-top: 20px; display: flex; justify-content: space-between; font-size: 13px; color: var(--tsp-text-muted); }
.footer-legal a { margin-left: 10px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-perks, .hero-actions { justify-content: center; }
  .stats-card { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .why-join-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; gap: 24px; padding: 40px 20px; }
  .job-content-wrap { grid-template-columns: 1fr; }
  .apply-box { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-header { padding: 12px 0; }
  .logo img { height: 32px !important; }
  .main-nav { display: none; }
  .header-action .btn { padding: 8px 16px; font-size: 13px; }

  /* Job Header Meta grid for mobile */
  .job-header-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    margin-top: 20px;
    padding-top: 20px;
  }

  /* Hero Section */
  .hero-section { padding: 40px 0 60px; text-align: center; }
  .hero-content h1 { font-size: 26px !important; line-height: 1.3 !important; }
  .hero-content p { font-size: 14px !important; line-height: 1.5; margin-bottom: 24px; }
  .hero-perks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; text-align: left; max-width: 260px; margin-left: auto; margin-right: auto; }
  .perk { font-size: 13px !important; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-image { margin-top: 30px; }

  /* Stats Section */
  .stats-section { margin-top: -30px; margin-bottom: 40px; }
  .stats-card { grid-template-columns: 1fr; gap: 16px; padding: 20px !important; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--tsp-border); padding-bottom: 16px; justify-content: flex-start; }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
  .stat-text h3 { font-size: 20px !important; }
  .stat-text p { font-size: 12px !important; }

  /* Jobs Section */
  .jobs-section { padding: 40px 0; }
  .section-header h2 { font-size: 22px !important; }
  .job-card { flex-direction: column; gap: 16px; padding: 20px !important; text-align: left; align-items: stretch; }
  .job-card-inner { flex-direction: row !important; align-items: flex-start !important; gap: 12px !important; }
  .job-icon { width: 44px; height: 44px; border-radius: 8px; }
  .job-icon svg { width: 20px; height: 20px; }
  .job-info { text-align: left; }
  .job-info h3 { font-size: 16px !important; margin-bottom: 4px; }
  .job-meta { justify-content: flex-start; flex-wrap: wrap; gap: 8px; font-size: 11px; }
  .job-excerpt { display: none !important; }
  .job-action .btn { width: 100%; text-align: center; font-size: 13px; padding: 10px 16px; }

  /* Why Join Us Section */
  .why-join-section { padding: 50px 0; }
  .why-join-content h2 { font-size: 22px !important; }
  .why-join-content p { font-size: 14px; margin-bottom: 20px; }
  .benefits-grid { grid-template-columns: 1fr; gap: 16px; }
  .benefit-card { gap: 12px; }
  .benefit-icon { width: 36px; height: 36px; border-radius: 8px; }
  .benefit-icon svg { width: 18px; height: 18px; }
  .benefit-text h4 { font-size: 14px !important; }
  .benefit-text p { font-size: 12px !important; }

  /* CTA Section */
  .cta-banner-section { padding: 20px 0 60px; }
  .cta-banner { padding: 30px 20px !important; gap: 16px; }
  .cta-content h2 { font-size: 20px !important; }
  .cta-content p { font-size: 13px !important; }
  .cta-action .btn-white { width: 100%; text-align: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .brand-col p { margin: 12px auto; }
  .footer-col ul { align-items: center; gap: 8px; }
  .contact-col ul { align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
}
