/* style.tvagas.css - Estilo Responsivo */

/* Variáveis */
:root {
    --primary: #3498db;
    --primary-dark: #2980b9;
    --secondary: #2c3e50;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --text-color: #333333;
}


  
  .header-image img {
    max-width: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
  }
  

.jobs-header {
    position: relative;
    background: linear-gradient(135deg, #2c3e50, #1e5799);
    color: white;
    padding: 80px 0;
    margin-bottom: 40px;
    overflow: hidden;
    border-bottom: 5px solid #0e0d0d;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.header-text {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.header-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.header-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.jobs-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.jobs-header h1 i {
    margin-right: 15px;
    color: #f1c40f;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
}

.header-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 25px;
    border-radius: 10px;
    min-width: 180px;
    text-align: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-item i {
    font-size: 2.2rem;
    color: #284a94;
    display: block;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

.header-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: #c0392b;
    color: #f7f7f7;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.1rem;
}

.cta-button:hover {
    background: #f39c12;
    transform: translateY(-3px);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid #f1c40f;
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: rgba(241, 196, 15, 0.1);
}

.cta-button i {
    margin-left: 8px;
}

/* Animação */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Responsividade */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
    }
    
    .header-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .header-stats {
        justify-content: center;
    }
    
    .header-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .jobs-header h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .stat-item {
        min-width: 140px;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}



/* Navbar Responsiva */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand .logo {
    height: 40px;
}

.navbar-menu {
    display: flex;
    list-style: none;
}

.navbar-menu .nav-link {
    color: var(--secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-menu .nav-link:hover {
    color: var(--primary);
    background-color: var(--light-gray);
}

.navbar-menu .nav-link i {
    font-size: 1rem;
}

/* Menu Hamburguer - Mobile */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--secondary);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    left: 0;
    transition: all 0.3s ease;
}

.hamburger:before {
    top: -8px;
}

.hamburger:after {
    bottom: -8px;
}

.navbar-toggle.active .hamburger {
    background: transparent;
}

.navbar-toggle.active .hamburger:before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggle.active .hamburger:after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Header */
.header {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(155, 89, 182, 0.1));
    padding: 3rem 1rem;
    text-align: center;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.header h1 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.header p {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }
    
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: all 0.5s ease;
    }
    
    .navbar-menu.active {
        left: 0;
    }
    
    .navbar-menu .nav-link {
        margin: 0.5rem 0;
        padding: 1rem;
        width: 80%;
        text-align: center;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }
    
    .header h1 i {
        font-size: 1.2rem;
    }
    
    .navbar-brand .logo {
        height: 35px;
    }
}

.default-vaga-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary);
    filter: grayscale(20%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.vaga-card:hover .default-vaga-image {
    filter: grayscale(0%);
    opacity: 1;
}
  
/* Estilos para o grid de vagas */
.vagas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.vaga-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.vaga-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.vaga-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.vaga-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vaga-card:hover .vaga-image {
    transform: scale(1.05);
}

.vaga-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.vaga-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.vaga-card h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.vaga-info {
    margin-bottom: 1.5rem;
}

.vaga-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
}

.vaga-info i {
    width: 20px;
    color: #3498db;
}

.vaga-button {
    margin-top: auto;
    padding: 0.8rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.vaga-button:hover {
    background-color: #2980b9;
}

/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
    .vagas-grid {
        grid-template-columns: 1fr; /* Uma coluna em telas pequenas */
        gap: 15px;
        padding: 10px;
    }
    
    .vaga-card {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* Melhorias adicionais para telas muito pequenas */
@media (max-width: 480px) {
    .vagas-grid {
        gap: 10px;
    }
    
    .vaga-card {
        border-radius: 8px; /* Bordas mais suaves para telas pequenas */
        box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Sombra mais suave */
    }
}
  

.heart-icon {
    color: var(--accent);
    margin: 0 5px;
}


  
  /* Animações */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .vaga-card {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
  }
  
  .vaga-card:nth-child(1) { animation-delay: 0.1s; }
  .vaga-card:nth-child(2) { animation-delay: 0.2s; }
  .vaga-card:nth-child(3) { animation-delay: 0.3s; }
  .vaga-card:nth-child(4) { animation-delay: 0.4s; }
  .vaga-card:nth-child(5) { animation-delay: 0.5s; }
  .vaga-card:nth-child(6) { animation-delay: 0.6s; }

  

  
  .header-carousel {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.1);
    height: 400px; /* Altura fixa para o carrossel */
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-control.prev {
    left: 15px;
}

.carousel-control.next {
    right: 15px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicators span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators span.active {
    background: #f1c40f;
    transform: scale(1.2);
}

/* Responsividade para o carrossel */
@media (max-width: 768px) {
    .header-carousel {
        height: 300px;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .header-image {
      padding: 10px;
      box-shadow: none; /* opcional: remove sombra em telas pequenas */
    }
  
    .header-image img {
      width: 100%;
      height: auto;
      border-radius: 6px;
    }
  }
  

  