/* 
* FURSAN Defense and Security - Main Stylesheet
* Author: Claude
* Version: 1.0
*/

/* ===== Global Styles ===== */
:root {
  --primary-color: #1a3a6d;
  --secondary-color: #304c7b;
  --accent-color: #0074d9;
  --gray-dark: #333;
  --gray-medium: #666;
  --gray-light: #f2f2f2;
  --white: #fff;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--gray-dark);
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-color);
}

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

a:hover {
  color: var(--accent-color);
}

ul {
  list-style: none;
}

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

section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

/* Add subtle section dividers */
section:not(.hero-section)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 15px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
  z-index: 2;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 36px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

/* ===== Button Styles ===== */
.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: 2px solid var(--accent-color);
}

.cta-button:hover {
  background-color: transparent;
  color: var(--accent-color);
}

.submit-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--accent-color);
}

/* ===== Header Styles ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  max-width: 1200px;
}

.logo-container {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo {
  height: 60px;
  max-width: 240px;
  object-fit: contain;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.nav-menu {
  display: flex;
  margin-right: 30px;
}

.nav-item {
  margin: 0 10px;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 15px;
  position: relative;
}

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

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

.language-selector {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.language-selector button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 3px;
  transition: var(--transition);
}

.language-selector button.active {
  background-color: var(--gray-light);
}

.hamburger {
  display: none;
  cursor: pointer;
  margin-left: 15px;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: var(--transition);
  background-color: var(--primary-color);
}

/* ===== Hero Section ===== */
.hero-section {
  height: 100vh;
  background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(51, 51, 51, 0.8)), url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 1800px;
}

.hero-logo {
  margin-bottom: 30px;
}

.large-logo {
  max-width: 100%;
  height: auto;
  max-height: 550px;
  margin: 0 auto;
  display: block;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 40px;
}

/* ===== About Section ===== */
.about-section {
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

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

.about-text p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.8;
}

.about-text strong {
  color: var(--primary-color);
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* ===== Mission & Values Section ===== */
.mission-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
  position: relative;
}

/* Mission Content with Image */
.mission-content-wrapper {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
}

.mission-cards {
  flex: 3; /* Takes 3/5 of the available space */
}

.mission-image {
  flex: 2; /* Takes 2/5 of the available space */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  align-self: center;
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mission Card Styling */
.mission-card {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.mission-card:hover {
  transform: translateX(5px);
}

.mission-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.mission-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

/* Latin America Section Styles */
.latin-america-section {
  background: linear-gradient(135deg, #f0f0f0 0%, #fafafa 100%);
  padding: 80px 0;
}

.latin-america-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px; /* Consistent gap between all elements */
  max-width: 1200px;
  margin: 0 auto;
}

.flags-image {
  flex: 1; /* Changed from width: 25% to flex: 1 to ensure equal space allocation */
  text-align: center; /* Center the image within its container */
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.flags-image:hover {
  transform: translateY(-5px);
}

.flags-image img {
  display: block;
  width: 60%;
  height: auto;
  margin: 0 auto; /* Center the image */
}

.latin-america-info {
  flex: 2; /* Gives the center twice the space of each flag image */
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-content h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.info-content p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.6;
}

.center-divider {
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 20px auto;
}

/* Original Mission Box */
.mission-box {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  box-shadow: var(--box-shadow);
}

.mission-text h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 24px;
}

.mission-text p {
  font-size: 16px;
  line-height: 1.5;
}

.values-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.value-icon {
  width: 70px;
  height: 70px;
  line-height: 70px;
  font-size: 30px;
  background-color: var(--accent-color);
  color: var(--white);
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

/* ===== Objectives Section ===== */
.objectives-section {
  background: linear-gradient(135deg, #f0f0f0 0%, #fafafa 100%);
  background-size: cover;
  position: relative;
}

/* Remove the white overlay from objectives */
.objectives-section::before {
  display: none;
}

.objectives-content {
  position: relative;
  z-index: 1;
}

.objective-path {
  position: relative;
}

.objective-path::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50px;
  width: 3px;
  height: 100%;
  background-color: var(--primary-color);
}

.objective-item {
  display: flex;
  margin-bottom: 50px;
  position: relative;
}

.objective-icon {
  width: 100px;
  height: 100px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 36px;
  z-index: 2;
  box-shadow: var(--box-shadow);
}

.objective-text {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  margin-left: 20px;
  box-shadow: var(--box-shadow);
  flex: 1;
}

.objective-text h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* ===== Commitments Section ===== */
.commitments-section {
  background: linear-gradient(135deg, #1a3a6d 0%, #404b5c 100%);
  color: var(--white);
}

.commitments-section .section-title {
  color: var(--white);
}

.commitments-section .section-title::after {
  background-color: var(--white);
}

.commitments-timeline {
  position: relative;
}

.commitment-item {
  display: flex;
  margin-bottom: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  transition: var(--transition);
}

.commitment-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.commitment-icon {
  min-width: 80px;
  height: 80px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 30px;
  margin-right: 20px;
}

.commitment-content h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 20px;
}

/* ===== Activities Section ===== */
.activities-section {
  background: linear-gradient(135deg, #ffffff 0%, #f2f2f2 100%);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.activity-card {
  background-color: var(--gray-light);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.activity-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.activity-icon {
  width: 80px;
  height: 80px;
  line-height: 80px;
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 30px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activity-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

/* ===== Contact Section ===== */
.contact-section {
  background: linear-gradient(135deg, #2c2c2c 0%, #444444 100%);
  color: var(--white);
}

.contact-section .section-title {
  color: var(--white);
}

.contact-section .section-title::after {
  background-color: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 24px;
}

.contact-info p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 10px;
  font-size: 18px;
  color: var(--white);
}

.contact-info a {
  color: var(--white);
  transition: var(--transition);
}

.contact-info a:hover {
  color: var(--gray-light);
  text-decoration: underline;
}

.country-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 30px 0;
}

.country-flags img {
  width: 40px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.country-flags img:hover {
  transform: scale(1.1);
}

.closing-text {
  font-style: italic;
  margin-top: 30px;
}

.contact-form {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.8);
  font-family: 'Open Sans', sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background-color: var(--white);
  box-shadow: 0 0 0 2px var(--accent-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== Footer Section ===== */
.footer {
  background-color: var(--gray-dark);
  padding: 50px 0 20px;
  color: var(--white);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer-logo img {
  height: 100px;
}

.footer-text {
  max-width: 600px;
}

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

/* ===== WhatsApp Button ===== */
.whatsapp-button {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  z-index: 99;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  background-color: #128C7E;
  color: var(--white);
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 99;
  border: none;
  cursor: pointer;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-color);
}

/* Configuração básica da seção com posicionamento relativo para o background */
.latin-america-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Background de bandeiras que ocupa toda a seção */
.flags-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/bandeiras.png');
  background-size: 100% 100%;
  background-position: center;
  z-index: -1;
  transform-style: preserve-3d;
  opacity: 0.7; /* Opacidade ajustada para as bandeiras */
}

/* Título da seção com box de destaque */
.latin-america-section .section-title {
  color: white;
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  padding: 10px 30px;
  background-color: rgba(26, 58, 109, 0.73); /* 90% opaco */
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin: 0 auto 40px;
  display: table;
}

.latin-america-section .section-title:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #FFD700;
}

/* Container de conteúdo com fundo semi-transparente */
.latin-america-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(26, 58, 109, 0.73); /* 90% opaco */
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 5px 25px rgba(186, 37, 37, 0.25);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  z-index: 2;
  backdrop-filter: blur(2px); /* Leve desfoque para melhorar a legibilidade */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Estilos para o texto e elementos dentro da caixa de informações */
.info-content {
  text-align: center;
}

.info-content h3 {
  color: white;
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.info-content p {
  color: white;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.center-divider {
  width: 50px;
  height: 3px;
  background-color: #FFD700;
  margin: 20px auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Texto destacado em cor dourada */
.highlight {
  color: #FFD700;
  font-weight: 600;
  padding: 0 3px;
}

/* Efeito hover no container de conteúdo */
.latin-america-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}