/*
Theme Name: Mecánica Naval Las Palmas
Theme URI: https://sergiodanielnaval.digitalizadoraprofesional.com
Author: Sergio Daniel Ramos Pulido
Author URI: https://sergiodanielnaval.digitalizadoraprofesional.com
Description: Tema profesional para Mecánica Naval en Las Palmas. Diseñado con Tailwind CSS, incluye páginas de Inicio, Sobre Nosotros, Servicios y Contacto. Optimizado para SEO y responsive.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mecanica-naval-las-palmas
Tags: one-column, two-columns, right-sidebar, flexible-header, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready

Este tema está diseñado para Sergio Daniel Ramos Pulido, especialista en mecánica naval en Las Palmas de Gran Canaria.
*/

:root {
  --primary-dark: #001f3f;
  --primary-blue: #0056b3;
  --accent-orange: #ff6b35;
  --accent-teal: #00c9a7;
  --accent-coral: #ff8c5a;
  --text-dark: #1a2332;
  --text-gray: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  line-height: 1.75;
  font-weight: 400;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.display-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-teal));
  transition: width 0.3s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-coral) 100%);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.35);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(255, 107, 53, 0.45);
  background: linear-gradient(135deg, var(--accent-coral) 0%, var(--accent-orange) 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
  color: white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  border-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-teal));
  border-radius: 2px;
}

.card-hover {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.hero-pattern {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 50%, #003366 100%);
  position: relative;
  overflow: hidden;
}

.hero-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 201, 167, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.service-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto 24px;
  box-shadow: 0 15px 35px rgba(0, 86, 179, 0.25);
  color: white;
  transition: all 0.4s ease;
}

.service-icon:hover {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 20px 45px rgba(0, 86, 179, 0.35);
}

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

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