:root {
  /* Colors */
  --primary-color: #FFD700;
  /* Premium Yellow */
  --secondary-color: #111111;
  /* Deep Black */
  --text-color: #f5f5f5;
  /* Off-white for text on dark backgrounds */
  --text-dark: #222222;
  /* Dark text for light backgrounds */
  --accent-color: #FFC107;
  /* A slightly different yellow for hover states */
  --background-dark: #0a0a0a;
  --background-light: #ffffff;
  --glass-bg: rgba(17, 17, 17, 0.85);

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--background-dark);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
}

h1 {
  font-size: 3.5rem;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
  color: #cccccc;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

section {
  padding: var(--spacing-xl) 0;
}

/* Header / Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  padding: var(--spacing-md) 0;
}

nav {
  display: flex;
  align-items: center;
  position: relative;
  justify-content: space-between;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -1px;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  flex-grow: 1;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-links .btn-mobile-only {
  display: none;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: #050505;
  padding: var(--spacing-xl) 0;
  border-top: 1px solid #222;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  text-align: left;
}

/* Gallery Section */
.gallery {
  background-color: var(--background-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 300px;
  border: 1px solid #333;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.nav-logo-img {
  height: 50px;
  /* Adjust based on navbar height */
  width: auto;
  vertical-align: middle;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  display: block;
}

.footer-links h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  border-top: 1px solid #222;
  padding-top: var(--spacing-md);
  font-size: 0.9rem;
  color: #666;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Responsive — Tablet */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.35rem;
  }

  p {
    font-size: 1rem;
  }

  section {
    padding: var(--spacing-lg) 0;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  /* Mobile Nav — Sidebar */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 280px;
    height: 100vh;
    background-color: #111111;
    border-left: 1px solid #333;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
  }

  .nav-links.nav-active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.25rem;
    text-align: center;
    width: auto;
    padding: 5px 0;
    border: none;
  }

  /* Mobile Header specific */
  .nav-actions .btn {
    display: none;
  }
  
  .nav-links .btn-mobile-only {
    display: block;
    margin-top: 1rem;
  }

  .hamburger {
    display: block;
    z-index: 1001;
  }

  /* Buttons — touch friendly */
  .btn {
    padding: 14px 28px;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }

  .nav-links .btn {
    width: auto;
    padding: 12px 28px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .gallery-item {
    height: 200px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-lg);
  }

  .footer-links {
    text-align: center;
  }
}

/* Responsive — Small phone */
@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 220px;
  }
}
/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  color: #FFF;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 26px;
  }
}

/* Carousel / Áreas de Atuação */
.areas-atuacao {
  background-color: #0a0a0a;
}

.text-center {
  text-align: center;
}

.carousel-container {
  position: relative;
  height: 350px;
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  display: flex;
  align-items: center;
}

.carousel-track-container {
  overflow: hidden;
  height: 100%;
  width: 100%;
  position: relative;
}

.carousel-track {
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  height: 100%;
  transition: transform 0.5s ease-in-out;
  display: flex;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.area-card {
  background-color: #151515;
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  width: 90%;
  max-width: 500px;
  border: 1px solid #333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 4px solid var(--primary-color);
  transition: transform 0.3s ease;
}

.area-card:hover {
  transform: translateY(-5px);
}

.area-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.area-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  color: var(--primary-color);
  font-size: 1.2rem;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--primary-color);
  color: #111;
}

.prev-btn {
  left: -20px;
}

.next-btn {
  right: -20px;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  gap: 12px;
}

.carousel-indicator {
  border: 0;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  background: rgba(255, 215, 0, 0.3);
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-indicator.current-indicator {
  background: var(--primary-color);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .prev-btn {
    left: 0;
  }
  .next-btn {
    right: 0;
  }
  .carousel-container {
    height: 400px;
  }
}

