/* ========================================
   APP MÍDIA EMPREENDIMENTOS - ESTILOS GLOBAIS
   ======================================== */

/* Importação de Fontes */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset e Variáveis CSS */
:root {
  --primary-red: #C00000;
  --dark-blue: #C00000;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --text-dark: #333333;
  --text-light: #666666;
  --shadow: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========================================
   HEADER E NAVEGAÇÃO MODERNA
   ======================================== */

header {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: var(--white);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.15);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

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

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  transition: width 0.3s ease;
}

.logo:hover::after {
  width: 100%;
}

.logo img {
  height: 45px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

/* Menu de Navegação Moderno */
nav {
  position: relative;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.7rem 1.2rem;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  font-size: 0.95rem;
}

nav ul li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
  z-index: -1;
}

nav ul li a:hover::before {
  left: 0;
}

nav ul li a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

/* Indicador de página ativa */
nav ul li a.active {
  background: rgba(255, 255, 255, 0.25);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Dropdown Menu para subcategorias */
nav ul li.dropdown {
  position: relative;
}

nav ul li.dropdown .dropdown-toggle {
  cursor: pointer;
}

nav ul li.dropdown .dropdown-toggle::after {
  content: '▼';
  font-size: 0.7rem;
  margin-left: 0.3rem;
  transition: transform 0.3s ease;
}

nav ul li.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

nav ul li.dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  z-index: 1001;
}

nav ul li.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

nav ul li.dropdown .dropdown-menu li {
  width: 100%;
}

nav ul li.dropdown .dropdown-menu li a {
  color: #333;
  padding: 0.8rem 1.2rem;
  border-radius: 0;
  display: block;
  font-size: 0.9rem;
}

nav ul li.dropdown .dropdown-menu li a:hover {
  background: #f8f9fa;
  color: #dc2626;
  transform: none;
  box-shadow: none;
}

/* Menu Mobile Moderno */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--white);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Animação do menu mobile */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

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

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  z-index: 1002;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  padding: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-menu ul {
  list-style: none;
  padding: 1rem 0;
}

.mobile-menu ul li {
  margin: 0.5rem 0;
}

.mobile-menu ul li a {
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  display: block;
  transition: all 0.3s ease;
  font-weight: 500;
}

.mobile-menu ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
  padding-left: 2.5rem;
}

.mobile-menu ul li a.active {
  background: rgba(255, 255, 255, 0.2);
  border-left: 4px solid white;
}

/* Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Header scroll effect */
header.scrolled {
  padding: 0.7rem 0;
  box-shadow: 0 2px 20px rgba(220, 38, 38, 0.25);
}

/* Responsive Navigation */
@media (max-width: 1024px) {
  nav ul {
    gap: 0.3rem;
    padding: 0.4rem;
  }
  
  nav ul li a {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  nav {
    display: none;
  }
  
  .header-container {
    padding: 0 1.5rem;
  }
  
  .logo {
    font-size: 1.1rem;
  }
  
  .logo img {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 1rem;
  }
  
  .logo {
    font-size: 1rem;
    gap: 0.5rem;
  }
  
  .logo img {
    height: 35px;
  }
}

/* ========================================
   MAIN CONTENT
   ======================================== */

main {
  margin-top: 80px;
  min-height: calc(100vh - 80px - 200px);
}

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

/* ========================================
   SEÇÕES COMUNS
   ======================================== */

section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-red);
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* ========================================
   BOTÕES
   ======================================== */

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary-red);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: #A00000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow);
}

.btn-secondary {
  background-color: var(--dark-blue);
}

.btn-secondary:hover {
  background-color: #001A3A;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
}

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

/* ========================================
   CARDS
   ======================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px var(--shadow);
  transition: var(--transition);
  text-align: center;
}

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

.card-icon {
  font-size: 3rem;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

.card h3 {
  color: var(--dark-blue);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-blue) 100%);
  color: var(--white);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"/></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

.hero .btn {
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

/* ========================================
   GALERIA
   ======================================== */

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(192, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
}

/* ========================================
   FORMULÁRIOS
   ======================================== */

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid #E0E0E0;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-red);
}

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

/* ========================================
   FOOTER
   ======================================== */

footer {
  background-color: var(--primary-red);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  opacity: 0.8;
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--white);
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-links a:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 1200px;
  margin: 0 auto;
}

/* ========================================
   ANIMAÇÕES
   ======================================== */

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav ul {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--primary-red);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    transition: var(--transition);
  }

  nav ul.active {
    left: 0;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

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

@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }

  .hero {
    padding: 4rem 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  section {
    padding: 2rem 0;
  }
}

/* ========================================
   UTILITÁRIOS
   ======================================== */

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.flex {
  display: flex;
}

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

.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

/* ========================================
   MODAL/LIGHTBOX
   ======================================== */

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  animation: fadeInUp 0.3s ease;
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  transform: scale(1.2);
}

/* ========================================
   CARROSSEL DE IMAGENS
   ======================================== */

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px var(--shadow);
}

.carousel-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 2rem;
  text-align: center;
}

.carousel-caption h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.carousel-caption p {
  font-size: 1.1rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-red);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

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

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

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-indicator.active {
  background: white;
  width: 30px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .carousel-slide img {
    height: 300px;
  }
  
  .carousel-caption h2 {
    font-size: 1.5rem;
  }
  
  .carousel-caption p {
    font-size: 0.9rem;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* ========================================
   LOADING
   ======================================== */

.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========================================
   PARALLAX HERO SECTION
   ======================================== */

.parallax-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.parallax-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 0;
}

.parallax-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(192, 0, 0, 0.7), rgba(0, 43, 91, 0.7));
  z-index: 1;
}

.parallax-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem;
  max-width: 900px;
  animation: fadeInUp 1s ease;
}

.parallax-hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.parallax-hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.parallax-hero-content .btn {
  margin: 0.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Parallax backgrounds for each page */
.parallax-home::before {
  background-image: url('../img/imagem 016.avif');
}

.parallax-sobre::before {
  background-image: url('../img/imagem 14.avif');
}

.parallax-servicos::before {
  background-image: url('../img/imagem 12.avif');
}

.parallax-financiamento::before {
  background-image: url('../img/imagem 009.avif');
}

.parallax-contato::before {
  background-image: url('../img/imagem 008.avif');
}

.parallax-reformas::before {
  background-image: url('../img/imagem 007.avif');
}

.parallax-acabamentos::before {
  background-image: url('../img/imagem 005.avif');
}

/* Mobile adjustments for parallax */
@media (max-width: 768px) {
  .parallax-hero {
    height: 50vh;
    min-height: 300px;
  }
  
  .parallax-hero::before {
    background-attachment: scroll;
  }
  
  .parallax-hero-content h1 {
    font-size: 2rem;
  }
  
  .parallax-hero-content p {
    font-size: 1.1rem;
  }
}

/* ========================================
   ENHANCED NAVIGATION
   ======================================== */

header {
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

header.scrolled {
  background-color: rgba(192, 0, 0, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

nav ul li {
  position: relative;
}

nav ul li a {
  position: relative;
  overflow: hidden;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 80%;
}

/* Dropdown menu support */
nav ul li .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-red);
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

nav ul li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

nav ul li .dropdown a {
  display: block;
  padding: 0.8rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav ul li .dropdown a:last-child {
  border-bottom: none;
}

/* Smooth page transitions */
.page-transition {
  animation: fadeIn 0.5s ease;
}

/* ========================================
   REFORMA PAGE SPECIFIC STYLES
   ======================================== */

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-outline:hover {
  background-color: var(--primary-red);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(192, 0, 0, 0.3);
}

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

.gap-2 {
  gap: 1rem;
}

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

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
