/* Custom Properties */
:root {
  --primary-blue: #2c5aa0;
  --secondary-blue: #1e3a5f;
  --accent-gold: #f4b942;
  --soft-beige: #DCC49A;
  --light-gray: #f8f9fa;
  --dark-gray: #6c757d;
  --white: #ffffff;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fonts */
@font-face {
  font-family: montserrat;
  src: url('./fonts/Montserrat-Bold.ttf');
}
@font-face {
  font-family: blinker;
  src: url('../fonts/Blinker-SemiBold.ttf');
}


body {
  font-family: blinker;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.iframe-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 55vh; /* altura completa de la ventana */
  background-color: #f8f9fa; /* opcional */
}

.iframe-container iframe {
  width: 90%;
  height: 90%;
  border: none;
  border-radius: 20px; /* bordes redondeados */
  box-shadow: 0 4px 20px rgba(0,0,0,0.2); /* sombra opcional para destacar */
}


.service-block-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.service-block-icon img.img-fluid {
    max-width: none;
    height: 100px;
}
@media (min-width: 992px) {
    .service-block-icon img.pujar {
        margin-top: -35px;
    }
}
.img-gran {
    width: 70px !important;    /* ajusta según lo que necesites */
    height: 90px !important;
    object-fit: contain;
    margin-top: -15px !important;
}

.product-icon img {
    width: 150px;
    height: 150px;
    object-fit: contain; /* Ajusta para que la imagen no se recorte */
    display: block;
    margin: 0 auto;
}



.gallery-thumb {
    width: 100%;          /* Ocupa todo el ancho de su contenedor */
    height: 220px;         /* Altura fija (ajusta según necesites) */
    object-fit: cover;     /* Recorta sin deformar */
    border-radius: 8px;    /* Esquinas redondeadas opcional */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Sombra ligera */
}
@media (max-width: 576px) {
    .gallery-thumb {
        height: 160px;
    }
}
.language-switcher a {
    text-decoration: none;
    color: inherit; /* opcional, para que herede el color del texto padre */
}

.contacte {
  text-align: center;
  margin: 50px 0;
}

.top-header {
  background-color: var(--soft-beige);
  width: 100%;
  padding: 10px;
}
/* Header Styles */
.main-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-icon img{
  width: 50px;
  height: 50px;
}

.logo-main {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-blue);
  line-height: 0;
  letter-spacing: 3px;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--primary-blue);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}
.navbar-expand-lg .navbar-collapse{
  flex-basis: 100%;
}
.navbar-nav .nav-link {
  color: var(--primary-blue) !important;
  font-weight: 400;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover {
  color: #333 !important;
}
.navbar-toggler{
  border: 2px solid #0055a7;
}
.navbar-toggler:focus{
  outline: none !important;
  box-shadow: none !important;
}
.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-option {
  cursor: pointer;
  font-weight: 400;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  color: var(--primary-blue);
}

.lang-option.active,
.lang-option:hover {
}

.lang-separator {
  color: var(--dark-gray);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-background {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  background-image: url("../images/hero.jpeg");
  background-size: 1300px;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: overlay;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-overlay {
  background: rgba(44, 90, 160, 0.8);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.border-line {
  width: 100px; 
  height: 5px;
  background-color:var(--soft-beige);
  margin: 10px auto; 
  text-align: center;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-btn {
  padding: 1rem 2.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  color: #333;
  transition: all 0.3s ease;
  background-color: var(--soft-beige);
  font-size: 17px;
  border-radius: 0;
}

.hero-btn:hover {
  background: var(--white);
  color: var(--primary-blue);
}

@media screen and (max-width: 768px) {
  .hero-background{
    background-size: cover;
    background-position: bottom center;
    height: 100%;
  }
}

/* Experience Section */
.experience-section {
  background: var(--white);
  padding: 5rem 0;
}

.experience-image {
  height: 550px;
  position: relative;
  margin-top: 30px;
  z-index: 2;
}

.experience-image:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  content: "";
  background-color: var(--primary-blue);
  z-index: -1;
} 
.experience-image img {
  border-radius: 15px;
  height: 100%;
  padding: 20px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-blue);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.section-text {
  font-size: 1.2rem;
  color: var(--dark-gray);
  line-height: 28px;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.features-grid {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.75rem;
}

.feature-item i {
  font-size: 1.1rem;
  color: #DCC49A !important;
  font-size: 30px;
}
@media screen and (max-width: 768px) {
  .experience-image, .experience-image img{
    height: auto;
  }
}
/* Services Section */
.services-section {
  background: var(--primary-blue);
  padding: 5rem 0;
}

.services-section .section-title {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card {
  height: 100%;
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  padding: 0px 15px;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 1.5rem;
  position: relative;
  height: 40%;
  color: #fff;
}
 
.service-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: absolute;
  text-align: center;
  width: 80%;
  background-color: #fff;
  padding: 10px;
  margin: auto;
  top: 0%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.service-text {
  font-size: 0.9rem;
  color: var(--dark-gray);
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: center;
  margin-top: 1rem;
}

.service-icon {
  position: absolute;
  left: 50%;
  bottom: -24px;
}

.service-icon i {
  font-size: 2rem;
  color: var(--accent-gold);
}

/* Products Section */
.products-section {
  background: var(--light-gray);
  padding: 5rem 0;
}

.products-section .section-title {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.title-underline {
  width: 100px;
  height: 5px;
  background-color: var(--soft-beige);
  margin: 10px auto;
  text-align: center;
}

.product-card {
  background: var(--white);
  text-align: center;
  height: 100%;
  border: 2px solid transparent;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  padding: 22px 0px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-blue);
}
 
.product-icon {
  margin-bottom: 1rem;
}

.product-icon i {
  font-size: 3rem;
  color: var(--primary-blue);
}
 
.product-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.5;
}


.gallery-section {
  padding: 80px 0;
  background-color: var(--soft-beige);
}
 
.gallery-title {
  text-align: center;
  margin-bottom: 10px;
  color: var(--primary-blue);
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 2px;
}

.gallery-slider {
  position: relative;
  overflow: hidden;
}

.gallery-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.gallery-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 30px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gallery-item .overlay i {
  color: white;
  font-size: 2rem;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-blue);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.gallery-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.gallery-nav:hover.gallery-nav i {
  color: var(--primary-blue);
}
.gallery-nav.prev {
  left: 20px;
}

.gallery-nav.next {
  right: 20px;
}

.gallery-nav i {
  font-size: 1.2rem;
  color: #fff;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(108, 117, 125, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #6c757d;
  transform: scale(1.2);
}

.add-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border: 2px dashed #6c757d;
  border-radius: 10px;
  height: 250px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-item:hover {
  background: #e9ecef;
  border-color: #495057;
}

.add-item i {
  font-size: 3rem;
  color: #6c757d;
}

@media (max-width: 768px) {
  .gallery-slide {
    grid-template-columns: 1fr;
    padding: 20px;
  }

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

  .gallery-nav {
    width: 40px;
    height: 40px;
  }
}

/* Contact Section */
.contact-section {
  background: var(--light-gray);
  padding: 5rem 0;
}

.contact-section .section-title {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--dark-gray);
  margin-bottom: 3rem;
}

.contact-info-card {
  background: var(--primary-blue);
  border-radius: 15px;
  padding: 2rem;
  color: var(--white);
  height: 100%;
}

.contact-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-link:hover {
  background: var(--white);
  color: var(--primary-blue);
}

.contact-details p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-form-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

.contact-form .btn-primary {
  background: var(--primary-blue);
  border: none;
  padding: 1rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.contact-form .btn-primary:hover {
  background: var(--secondary-blue);
}

.form-check-label {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

/* Footer */
.main-footer {
  background: var(--primary-blue);
  color: var(--white);
}

.footer-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

  .experience-section .col-lg-5 {
    margin-bottom: 3rem;
  }

  .contact-info-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
    margin-top: 100px;
  }
 
  .hero-subtitle {
    font-size: 1rem;
  }

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

  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }

  .language-switcher {
    justify-content: center;
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .product-card,
  .service-card {
    margin-bottom: 1rem;
  }

  .gallery-item {
    height: 200px;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}
 
/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  background-color: #f4f4f4; 
  padding: 25px;
}


/* Services Page CSS */
.page-header{
  margin-bottom: 80px;
}
.page-header-background{
  background: linear-gradient(to right,  rgba(44, 90, 160, 0.8)), url("../images/page-banner.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
  padding: 100px 0px;
}

.service-block {
  background-color: var(--primary-blue);
  padding: 100px;
  position: relative;
  border-bottom: 5px solid var(--soft-beige);
}
.service-block-item {
  display: flex;
  justify-content: center;
  align-items: center;
}
.service-block .service-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: absolute;
  text-align: center;
  width: 30%;
  background-color: #fff;
  padding: 10px;
  margin: auto;
  top: 0%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.cta{
  margin-bottom: 100px;
}
.cta-background{
  background-image: linear-gradient(to right,  rgba(0, 0, 0, 0.5)), url('../images/cta.jpeg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  width: 100%;
  height: 100%;
  padding: 100px 0px;
}

.cta-title {
  background-color: var(--primary-blue);
  color: #fff;
  display: inline-block;
  padding: 12px 20px;
}
 
@media screen and (max-width: 768px) {
  .service-block-item{
    text-align: center;
    border-radius: 10px;
    padding: 10px;
    border: 2px solid #fff;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    margin: 20px 0px;
    display: block;
  }
  .service-block .service-title{
    width: auto !important;
    padding: 15px;
  }
  .page-header-background{
    padding: 50px 0px;
  }
}

@media screen and (max-width: 500px) {
  .service-block{
    padding: 40px;
  }
}


/* Product Page CSS */
.single-product-content{
  margin-bottom: 100px;
}
.accordion-button::after {
  display: none;
}
.accordion-button:not(.collapsed){
  background-color: var(--primary-blue);
  color: #fff;
}
.accordion-button:focus{
  box-shadow: none;
}
.single-product-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.5;
  background-image: linear-gradient(to right, var(--soft-beige), #fff);
  padding: 15px 40px;
  border-bottom: 5px solid;
}