

/* Animaciones para el logo */
.caslu-logo {
  transition: all 0.3s ease;
  cursor: pointer;
}

.caslu-logo:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

/* Animación para las formas geométricas */
.logo-shapes .shape-1 {
  animation: float 3s ease-in-out infinite;
}

.logo-shapes .shape-2 {
  animation: float 3s ease-in-out infinite 0.5s;
}

.logo-shapes .shape-3 {
  animation: float 3s ease-in-out infinite 1s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* Animación para el texto */
.logo-text-main {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.logo-text-secondary {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.logo-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawLine 1s ease-out 0.6s forwards;
}

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

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* Efecto de brillo al hacer hover - Diferente para cada tipo de logo */
.caslu-logo:hover .logo-shapes rect {
  filter: brightness(1.2);
}

/* Para el logo del footer (fondo blanco) - Efecto diferente */
.footer-logo:hover .logo-shapes rect {
  filter: brightness(1.1) saturate(1.3);
}

/* Animación de la línea para el logo del footer */
.footer-logo .logo-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawLine 1s ease-out 0.6s forwards;
  stroke: #5D7A9A; /* Azul claro */
}

/* Versión específica para footer */
.footer-logo:hover {
  transform: scale(1.02);
}

/* contacto.css - Estilos específicos para la página de Contacto */
:root {
  --casalu-primary: #29445A;
  --casalu-accent: #FFFFFF;
  --casalu-dark: #000000;
}

/* Header y footer consistentes */
header, footer {
  background: var(--casalu-primary) !important;
  color: white !important;
}

/* Hero styles */
.hero-overlay { 
  background: rgba(0,0,0,0.42); 
  position:absolute; 
  inset:0; 
  z-index:5; 
}

.hero-title { 
  text-shadow: 0 6px 24px rgba(0,0,0,0.45); 
  line-height:1.02; 
}

.hero-lead { 
  line-height:1.6; 
  font-size:1.05rem; 
  max-width:56ch; 
}

.hero-shape { 
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); 
}

/* Form styles */
.input-focus:focus { 
  border-color: var(--casalu-primary); 
  box-shadow: 0 0 0 3px rgba(41, 68, 90, 0.2); 
}

.contact-icon { 
  width: 60px; 
  height: 60px; 
  background: rgba(255, 255, 255, 0.1); 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}

/* Navigation styles */
.nav-item {
  transition: color 0.3s;
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--casalu-accent);
  transition: width 0.3s ease;
}

.nav-item:hover::after {
  width: 100%;
}

.nav-item:hover {
  color: var(--casalu-accent) !important;
}

/* Botones con nuevo esquema */
.btn-casalu {
  background: var(--casalu-accent);
  color: var(--casalu-primary);
  border: 2px solid var(--casalu-accent);
}

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

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

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

/* Mobile menu fix 
#mobileNav {
  display: none;
}

#mobileNav.hidden {
  display: none !important;
}
*/

/* Pulse glow for CTA buttons - Actualizado para blanco */
.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.4); }
  100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.8); }
}

/* Hover effects */
.card, .service-card, .project-card, .rounded-xl, .rounded-3xl {
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover, .service-card:hover, .project-card:hover, .rounded-xl:hover, .rounded-3xl:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 15px 35px rgba(15,23,32,0.15);
}

button, .btn, .cta, .bg-casalu-accent {
  transition: all 0.3s;
}

button:hover, .btn:hover, .cta:hover, .bg-casalu-accent:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(15,23,32,0.25);
}

/* Footer links */
footer a:hover {
  opacity: 0.75;
  color: var(--casalu-accent) !important;
}

/* Contact icon enhancements */
.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(41, 68, 90, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-icon:hover {
  background: var(--casalu-primary);
  transform: scale(1.1) rotate(5deg);
}

.contact-icon:hover svg {
  color: var(--casalu-accent);
  transform: scale(1.1);
}

.contact-icon svg {
  transition: all 0.3s ease;
  color: var(--casalu-primary);
}