@import url('https://fonts.googleapis.com/css2?family=Alata&family=Roboto+Slab:wght@400;500;700&display=swap');

:root {
  --primary-color: #d9bc74;
  --primary-color-light: #e2cb91;
  --dark-color: #2c3444;
  --gray-color: #929299;
  --mid-gray: #545859;
  --font-heading: 'Roboto Slab', serif;
  --font-body: 'Alata', sans-serif;
}

* {
  font-family: var(--font-body);
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  background-color: #f5f6f8;
  margin: 0;
  padding: 0;
  color: var(--mid-gray);
}

header {
  background-color: var(--dark-color);
  padding: 1rem 0;
}

.navbar-brand img {
  width: 300px;
}

.navbar {
  background-color: rgba(44, 52, 68, 0.329);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: top 0.4s ease-in-out, background-color 0.3s ease-in-out;
}

@supports not ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))) {
  .navbar { background-color: rgba(44, 52, 68, 0.85); }
}

.navbar-nav .nav-link {
  color: #ffffff;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
  background-color: rgba(255,255,255,0.1);
}


.btn-contact {
  background-color: var(--primary-color);
  color: var(--dark-color);
  font-weight: bold;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  display: inline-block;
}

.btn-contact:hover {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 10px rgba(217, 188, 116, 0.6);
  transform: translateY(-3px);
}


.login-icon {
  color: var(--primary-color);
  font-size: 1.8rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.login-icon:hover {
  color: #ffffff;
  transform: scale(1.15) rotate(3deg);
}

.login-icon-wrapper {
  padding-left: 1rem;
}

section {
  padding: 4rem 0;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  background: url('img/background_1.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px; 
  color: white;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 52, 68, 0.7); 
  z-index: 1;
}

.hero-section .container {
  z-index: 2;
  position: relative;
}

.hero-section h1,
.hero-section p {
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6);
}

.about-section {
  background-color: #f8f9fa; 
  padding: 4rem 0; 
}

.about-section h2 {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  color: var(--dark-color); 
}

.about-section p,
.about-section li {
  font-size: 1.1rem;
  color: var(--mid-gray); 
}

.about-section img {
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-section img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.services-section {
  background-color: #f8f9fa;
}

.services-section h2 {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  color: var(--dark-color);
}

.services-section p,
.services-section ul li {
  font-size: 1rem;
  color: var(--mid-gray);
}

.services-section .card {
  border-radius: 1rem;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.services-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.services-section .card h5 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.services-section .card i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.services-section .card:hover i {
  transform: scale(1.2);
}

.services-section .card ul {
  list-style: none;
  padding-left: 0.5rem;
}

.services-section .card ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
}

.services-section .card ul li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
}

.services-section .btn {
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.services-section .btn-outline-dark {
  color: var(--dark-color);
  border: 2px solid var(--primary-color);
}

.services-section .btn-outline-dark:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(217, 188, 116, 0.5);
}

.portfolio-section .card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mid-gray);
}

.portfolio-section .card-body {
  padding: 1rem 1.25rem;
}

.portfolio-section .card-text {
  font-size: 0.95rem;
}

.portfolio-section .card img {
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-section .card:hover img {
  transform: scale(1.05);
}

.portfolio-section .btn-outline-dark {
  color: var(--dark-color);
  border: 2px solid var(--primary-color);
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.portfolio-section .btn-outline-dark:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(217, 188, 116, 0.5);
}

.testimonials-section{
  background-color: #f8f9fa;
}


.testimonials-section .card {
  background-color: #ffffff;
  border-left: 4px solid var(--primary-color);
  transition: transform 0.3s ease;
}

.testimonials-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.custom-badge {
  background-color: var(--primary-color);
  color: var(--dark-color);
}

.custom-border {
  border-color: var(--primary-color) !important;
}

.contact-section {
  position: relative;
  background: url('img/contact-bg.jpg') no-repeat center center/cover;
  padding: 5rem 0;
  color: white;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 52, 68, 0.85);
  z-index: 1;
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

.contact-info-box {
  min-height: 100%;
  background-color: #f0f1f5;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.icon-circle {
  background-color: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.icon-circle:hover {
  background-color: var(--primary-color);
  color: var(--dark-color)!important;
  transform: scale(1.1);
}

.contact-section .form-control {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--dark-color);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.contact-section .form-control::placeholder {
  color: var(--gray-color);
}

.contact-section .form-label {
  font-weight: 600;
  color: #fff;
}


.icon-wrapper {
  width: 45px;
  height: 45px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
  transition: all 0.3s ease-in-out;
  background-color: #ffffff;
  color: var(--dark-color);
}

.icon-wrapper:hover {
  background-color: var(--primary-color);
  color: var(--dark-color) !important;
  transform: scale(1.1);
}

.footer-section {
  background-color: var(--dark-color);
}

.footer-link {
  color: var(--gray-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.text-primary-color {
  color: var(--primary-color);
}

.icon-wrapper-footer {
  width: 42px;
  height: 42px;
  background-color: var(--mid-gray);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.icon-wrapper-footer:hover {
  background-color: var(--primary-color);
  color: var(--dark-color);
  transform: scale(1.1);
}

/* Modal contenedor general */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 40, 60, 0.4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
  padding: 0;
}

/* Caja de login clara y ancha */
.login-box-modern {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 1.5rem;
  padding: 2.5rem 3rem;
  width: 95%;
  max-width: 600px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  animation: fadeInModal 0.5s ease forwards;
  color: var(--dark-color);
}

/* Animaciones */
@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.login-box-modern.closing {
  animation: fadeOutModal 0.4s ease forwards;
}


.login-box-modern h2,
.login-box-modern label,
.login-box-modern p {
  color: var(--dark-color) !important;
}

.login-box-modern h2 {
  font-weight: 700;
}

.login-box-modern label {
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 0.25rem;
}


.login-box-modern input {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #ccc;
  padding: 0.75rem 1rem;
  font-weight: 500;
  width: 100%;
}

.login-box-modern input::placeholder {
  color: #999;
}

.login-box-modern input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(217, 188, 116, 0.3);
  background: white;
}


.login-box-modern .btn-contact {
  font-weight: bold;
  border-radius: 50px;
  font-size: 1rem;
  padding: 0.75rem;
  background-color: var(--primary-color);
  color: var(--dark-color);
  border: none;
  transition: all 0.3s ease;
}

.login-box-modern .btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(217, 188, 116, 0.6);
}


.link-register {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.link-register:hover {
  text-decoration: underline;
}

.toggle-password {
  position: absolute;
  top: 60%;
  right: 16px;
  transform: translateY(-10%);
  color: #999;
  cursor: pointer;
  font-size: 1.1rem;
  z-index: 5;
}

.toggle-password:hover {
  color: var(--primary-color);
}



.btn-close {
  filter: invert(0.4);
  transition: transform 0.2s ease;
}

.btn-close:hover {
  transform: scale(1.2) rotate(90deg);
}


html, body {
  -ms-overflow-style: none;
}

@supports (scrollbar-width: none) {
  html, body { scrollbar-width: none; }
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}


body::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.login-modal {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.login-modal.fade-out {
  opacity: 0;
}

/* Evitar desbordes de correos / URLs en filas con ícono + texto */
.text-break {            /* (igual que utilitario de Bootstrap) */
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* En filas flex, deja que la columna de texto se encoja y envuelva */
.flex-text {
  flex: 1 1 auto;
  min-width: 0;
}

/* El círculo de ícono mantiene tamaño fijo */
.icon-circle {
  flex: 0 0 42px;
}

/* Ajustes suaves en pantallas medianas */
@media (max-width: 992px) {
  .contact-info-box a { font-size: .95rem; }
}

.toast-holder { z-index: 1080; }




