/* ====================================
   MESTRE MÁRCIO MENDES - STYLES
   ==================================== */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Assistant', sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ====================================
   HEADER
   ==================================== */
.header {
  background: linear-gradient(180deg, #004d4d 0%, #006666 50%, #003d3d 100%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.logo-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
}

.logo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder for images */
.placeholder-circle {
  width: 100%;
  height: 100%;
  background: #004d4d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
}

.placeholder-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #004d4d, #006666);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  border: 2px solid #006666;
}

.placeholder-image.large {
  height: 400px;
}

/* Navigation */
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  gap: 10px;
}

.nav-menu > li > a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  background: rgba(255,255,255,0.1);
}

.arrow {
  font-size: 10px;
  margin-left: 5px;
}

/* Submenu */
.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #004d4d;
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.submenu li:last-child a {
  border-bottom: none;
}

.submenu li a:hover {
  background: rgba(255,255,255,0.1);
  padding-left: 25px;
}

/* Language Selector Dropdown */
.language-dropdown {
  position: relative;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Assistant', sans-serif;
  font-size: 14px;
}

.lang-dropdown-btn:hover {
  background: rgba(255,255,255,0.2);
}

.current-lang-flag {
  font-size: 20px;
}

.current-lang-text {
  font-weight: 600;
}

.lang-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.language-dropdown.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 8px;
  min-width: 160px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.lang-dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.lang-dropdown-menu::-webkit-scrollbar-track {
  background: #222;
  border-radius: 3px;
}

.lang-dropdown-menu::-webkit-scrollbar-thumb {
  background: #006666;
  border-radius: 3px;
}

.language-dropdown.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Assistant', sans-serif;
  font-size: 14px;
  text-align: left;
}

.lang-option:hover {
  background: rgba(0,179,179,0.2);
}

.lang-option .lang-flag {
  font-size: 24px;
}

.lang-option .lang-name {
  font-weight: 500;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, #000 0%, #111 100%);
  padding-top: 100px;
  padding-bottom: 40px;
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 40px;
}

.hero-title {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: 8px;
  margin-bottom: 20px;
  text-shadow: 0 0 50px rgba(0,102,102,0.5);
  cursor: default;
  transition: all 0.5s ease;
  position: relative;
}

.hero-title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: radial-gradient(ellipse at center, rgba(0,179,179,0.4) 0%, rgba(0,179,179,0.1) 40%, transparent 70%);
  border-radius: 50%;
  transition: all 0.6s ease;
  z-index: -1;
  opacity: 0;
}

.hero-title:hover {
  text-shadow:
    0 0 20px rgba(0,179,179,0.8),
    0 0 40px rgba(0,179,179,0.6),
    0 0 60px rgba(0,179,179,0.4),
    0 0 80px rgba(0,179,179,0.2);
  color: #fff;
}

.hero-title:hover::before {
  width: 120%;
  height: 300%;
  opacity: 1;
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  cursor: default;
  transition: all 0.4s ease;
}

.hero-subtitle:hover {
  color: rgba(255,255,255,0.95);
  text-shadow: 0 0 15px rgba(0,179,179,0.3), 0 0 30px rgba(0,179,179,0.15);
  letter-spacing: 2px;
}

/* Floating Particles Effect */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(0, 179, 179, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 179, 179, 0.4), 0 0 12px rgba(0, 179, 179, 0.2);
  animation: floatUp linear infinite;
  opacity: 0;
}

.particle:nth-child(1) { left: 5%; animation-duration: 12s; animation-delay: 0s; width: 2px; height: 2px; }
.particle:nth-child(2) { left: 15%; animation-duration: 15s; animation-delay: 2s; width: 3px; height: 3px; }
.particle:nth-child(3) { left: 25%; animation-duration: 18s; animation-delay: 4s; width: 2px; height: 2px; }
.particle:nth-child(4) { left: 35%; animation-duration: 14s; animation-delay: 1s; width: 4px; height: 4px; }
.particle:nth-child(5) { left: 45%; animation-duration: 16s; animation-delay: 3s; width: 2px; height: 2px; }
.particle:nth-child(6) { left: 55%; animation-duration: 13s; animation-delay: 5s; width: 3px; height: 3px; }
.particle:nth-child(7) { left: 65%; animation-duration: 17s; animation-delay: 0.5s; width: 2px; height: 2px; }
.particle:nth-child(8) { left: 75%; animation-duration: 11s; animation-delay: 2.5s; width: 3px; height: 3px; }
.particle:nth-child(9) { left: 85%; animation-duration: 19s; animation-delay: 4.5s; width: 2px; height: 2px; }
.particle:nth-child(10) { left: 95%; animation-duration: 14s; animation-delay: 1.5s; width: 4px; height: 4px; }
.particle:nth-child(11) { left: 10%; animation-duration: 20s; animation-delay: 6s; width: 2px; height: 2px; }
.particle:nth-child(12) { left: 30%; animation-duration: 16s; animation-delay: 7s; width: 3px; height: 3px; }
.particle:nth-child(13) { left: 50%; animation-duration: 13s; animation-delay: 3.5s; width: 2px; height: 2px; }
.particle:nth-child(14) { left: 70%; animation-duration: 18s; animation-delay: 5.5s; width: 3px; height: 3px; }
.particle:nth-child(15) { left: 90%; animation-duration: 15s; animation-delay: 8s; width: 2px; height: 2px; }

@keyframes floatUp {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.1;
  }
  100% {
    transform: translateY(-100px) translateX(20px);
    opacity: 0;
  }
}

/* ====================================
   SECTIONS
   ==================================== */
.section {
  padding: 100px 0;
}

.section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #fff;
}

/* About Section */
.about {
  background: #000;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.about-card {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #222;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,102,102,0.2);
}

.about-image {
  width: 100%;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.about-image.contain img {
  object-fit: contain;
  object-position: center;
  background: #f5f5f5;
}

.about-text {
  padding: 25px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
}

.about-text strong {
  color: #00b3b3;
}

/* Content Sections - Alternating Layout */
.content-sections {
  background: #000;
  padding: 60px 0;
}

.content-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 60px;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  overflow: hidden;
}

.content-row:last-of-type {
  margin-bottom: 40px;
}

.content-row.reverse {
  flex-direction: row-reverse;
}

.content-image {
  flex: 0 0 45%;
  max-width: 45%;
}

.content-image img {
  width: 100%;
  height: auto;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.content-image.transparent img {
  object-fit: contain;
  background: transparent;
}

.content-image.white-bg {
  background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 20%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.2) 80%, transparent 95%);
}

/* PNG images in reverse rows - gradient right to left */
.content-row.reverse .content-image.white-bg {
  background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 20%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.2) 80%, transparent 95%);
}

.content-image.white-bg img {
  padding: 20px;
}

.content-text {
  flex: 1;
  padding: 40px;
}

.content-text p {
  font-size: 18px;
  line-height: 1.9;
  color: rgba(255,255,255,0.9);
  text-align: justify;
  margin-bottom: 20px;
}

.content-text p:last-child {
  margin-bottom: 0;
}

.content-text strong {
  color: #00b3b3;
}

.family-section {
  text-align: center;
  padding: 40px;
  background: rgba(0,102,102,0.1);
  border-radius: 12px;
  border: 1px solid rgba(0,102,102,0.3);
}

.family-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
}

.family-section p:last-child {
  margin-bottom: 0;
}

.family-section strong {
  color: #00b3b3;
}

.family-image {
  margin-bottom: 30px;
}

.family-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .content-row {
    flex-direction: column;
    gap: 0;
  }

  .content-row.reverse {
    flex-direction: column;
  }

  .content-image {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .content-image img {
    height: 325px;
  }

  .content-text {
    padding: 30px 20px;
  }

  .content-text p {
    font-size: 16px;
  }
}

/* Journey Section */
.journey {
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
}

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

.journey-text p {
  font-size: 18px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.85);
}

.journey-text strong {
  color: #00b3b3;
}

.journey-image img {
  width: 100%;
  border-radius: 12px;
  border: 2px solid #006666;
}

/* Testimonial Section */
.testimonial {
  background: linear-gradient(135deg, #004d4d 0%, #003d3d 100%);
  text-align: center;
}

.testimonial-content {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial blockquote {
  font-size: 24px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.8;
  margin: 30px 0;
  padding: 30px;
  border-left: 4px solid #00b3b3;
  background: rgba(0,0,0,0.2);
  border-radius: 0 12px 12px 0;
}

.testimonial-authors p {
  font-size: 16px;
  margin: 10px 0;
  color: rgba(255,255,255,0.9);
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
  background: #000;
  padding: 60px 0 30px;
  border-top: 1px solid #222;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-logo span {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00b3b3;
}

.footer-copy {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

/* ====================================
   ANIMATIONS
   ==================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.animate-fadeIn {
  animation: fadeIn 1s ease forwards;
}

.animate-fadeInUp {
  animation: fadeInUp 1s ease forwards;
}

.animate-pulse {
  animation: pulse 2s ease infinite;
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .journey-content {
    grid-template-columns: 1fr;
  }

  .journey-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 1000;
  }

  .nav.active {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu > li > a {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .dropdown-content {
    position: static;
    background: rgba(255,255,255,0.03);
    box-shadow: none;
    padding-left: 20px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .language-selector {
    display: none;
  }

  .hero-title {
    font-size: 42px;
    letter-spacing: 4px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .section {
    padding: 60px 0;
  }

  .section h2 {
    font-size: 28px;
  }

  .testimonial blockquote {
    font-size: 18px;
    padding: 20px;
  }
}

/* ====================================
   GOOGLE TRANSLATE OVERRIDE
   ==================================== */
.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

.skiptranslate {
  display: none !important;
}

/* Coming Soon Popup */
.coming-soon-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: background 0.3s ease;
}

.coming-soon-overlay.active {
  background: rgba(0, 0, 0, 0.75);
}

.coming-soon-popup {
  background: linear-gradient(135deg, #003333, #004d4d);
  border: 1px solid rgba(0, 179, 179, 0.3);
  border-radius: 16px;
  padding: 50px 40px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
}

.coming-soon-overlay.active .coming-soon-popup {
  transform: scale(1);
  opacity: 1;
}

.coming-soon-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 28px;
  cursor: pointer;
  transition: color 0.3s;
}

.coming-soon-close:hover {
  color: #fff;
}

.coming-soon-popup h3 {
  font-size: 28px;
  font-weight: 700;
  color: #00b3b3;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.coming-soon-popup p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.coming-soon-popup .coming-soon-sub {
  font-size: 14px;
  color: rgba(0, 179, 179, 0.7);
  font-style: italic;
  margin-top: 15px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: rgba(0, 77, 77, 0.9);
  border: 1px solid rgba(0, 179, 179, 0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(0, 179, 179, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 179, 179, 0.3);
}
