/* 
  Reusable UI Components
*/

/* Buttons */
.btn-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--border-radius-pill);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary-custom {
  background-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.2);
}

.btn-primary-custom:hover {
  background-color: #0f9688; /* Darker Mint */
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.3);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--color-text-main);
  border: 2px solid var(--color-text-main);
}

.btn-outline-custom:hover {
  background-color: var(--color-text-main);
  color: #fff;
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--color-accent);
  color: #fff;
}

.btn-accent:hover {
  background-color: #0f9688;
  color: #fff;
  transform: translateY(-2px);
}

/* Cards */
.card-soft {
  background-color: #fff;
  border-radius: var(--border-radius-soft);
  border: none;
  box-shadow: var(--shadow-soft);
  padding: 2.5rem;
  transition: var(--transition-smooth);
  height: 100%;
}

.card-soft:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-blush);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-text-main);
  font-size: 1.5rem;
}

/* Badges */
.badge-soft {
  background-color: var(--color-blush);
  color: var(--color-text-main);
  padding: 8px 16px;
  border-radius: var(--border-radius-pill);
  font-weight: 500;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.badge-accent {
  background-color: rgba(20, 184, 166, 0.15); /* Mint Green with opacity */
  color: var(--color-accent);
  border: 1px solid rgba(20, 184, 166, 0.3);
  padding: 8px 16px;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.btn-outline-light-custom {
  background-color: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(5px);
}

.btn-outline-light-custom:hover {
  background-color: #fff;
  color: var(--color-text-main);
  border-color: #fff;
}

/* Navbar */
.navbar-custom {
  background-color: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.03);
  padding: 15px 0;
  transition: var(--transition-smooth);
}

.navbar-custom .navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text-main);
  letter-spacing: -0.5px;
}

.navbar-custom .nav-link {
  color: var(--color-text-main);
  font-weight: 500;
  margin: 0 10px;
  position: relative;
}

.navbar-custom .nav-link::before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--color-accent);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.navbar-custom .nav-link:hover::before,
.navbar-custom .nav-link.active::before {
  width: 80%;
}

/* Forms */
.form-control-custom {
  border: 1px solid rgba(30, 57, 50, 0.1);
  border-radius: 12px;
  padding: 14px 20px;
  font-family: var(--font-primary);
  background-color: #fff;
  transition: var(--transition-smooth);
}

.form-control-custom:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  outline: none;
}

/* Floating Action Button (WhatsApp) */
.fab-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  color: white;
}

/* Process Cards */
.process-card {
  background-color: #fff;
  border-radius: var(--border-radius-soft);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid rgba(232, 211, 209, 0.3); /* Soft blush border */
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(253, 251, 247, 0) 100%);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(212, 175, 55, 0.3); /* Accent border on hover */
}

.process-card:hover::before {
  opacity: 1;
}

.process-step-number {
  font-size: 6rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-blush);
  position: absolute;
  top: -20px;
  right: -10px;
  line-height: 1;
  opacity: 0.4;
  transition: var(--transition-smooth);
  z-index: -1;
}

.process-card:hover .process-step-number {
  color: rgba(212, 175, 55, 0.05);
  -webkit-text-stroke: 1.5px var(--color-accent);
  transform: scale(1.1) rotate(-5deg);
}

.process-icon-container {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-base) 0%, var(--color-blush) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--color-text-main);
  box-shadow: 0 5px 15px rgba(232, 211, 209, 0.5);
  transition: var(--transition-smooth);
}

.process-card:hover .process-icon-container {
  background: linear-gradient(135deg, var(--color-base) 0%, var(--color-accent) 100%);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.process-card h5 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text-main);
}

.process-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Modern Service Cards */
.service-card-modern {
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 24px; 
  min-height: 380px; 
  display: block; 
  text-decoration: none;
  background-color: var(--color-text-main);
}

.service-card-modern img {
  transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.service-card-modern:hover img {
  transform: scale(1.08);
}

.service-card-modern .overlay-gradient {
  background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.5) 40%, rgba(10, 25, 47, 0) 100%);
  transition: all 0.5s ease;
}

.service-card-modern:hover .overlay-gradient {
  background: linear-gradient(to top, rgba(10, 25, 47, 0.98) 0%, rgba(10, 25, 47, 0.7) 60%, rgba(10, 25, 47, 0.2) 100%);
}

.service-card-modern .service-desc {
  max-height: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  margin-bottom: 0 !important;
}

.service-card-modern:hover .service-desc {
  max-height: 150px;
  opacity: 0.9 !important;
  transform: translateY(0);
  margin-bottom: 1.5rem !important;
}

.service-card-modern .read-more-text {
  transition: all 0.3s ease;
}

.service-card-modern:hover .read-more-text {
  letter-spacing: 2px;
}

/* Footer Link Styles */
.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--color-accent);
}
