/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Background */
body {
    background-color: #796cc4; 
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color:#333;
    font-size:1.1em;
}

/* Navbar */
.topnav {
  overflow: hidden;
  background-color: #333;
  position: fixed;
  top: 0;
  width: 100%;
  transition: top 0.3s;
  z-index: 1000;
  display: flex;
  align-items: center; 
  justify-content: space-between;
  padding: 0 16px;
  height: 80px;
}

.navlink {
    color: #ffffff;
    padding: 14px 16px;
    text-decoration: none;
}

.navlinks {
  /*color: #ffffff;*/
  /*padding: 0px 16px; */
  /*text-decoration: none;*/
  /*font-size: 17px;*/
  font-weight: 700;
  /*height:100%;*/
  font-size:1.3rem;
  display: flex;
  align-items: center;
  margin-right: 15%;
}

.logo {
  display:flex;
  align-items: center;
  /*padding-top: 5px;*/
  margin-left:15%;
}

#mobile-logo-img {
display:none;
}

#logo-img {
  max-height: 80px; /* Set maximum height to 50px */
  height: auto; /* Maintain aspect ratio */
}


/*#logo p {
  float: left;
  display: block;
  color: #ffffff;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}
*/

/*
#logo-img, #logo-svg {
  float: left;
  display: block;
  width: 50px;  
  height: auto;
  vertical-align: middle; 
  margin-right: 10px;  
}
*/

.topnav a:hover {
  text-decoration-line: underline;
}

/*
.topnav a.active {
  background-color: #988ae6;

  color: white;
}
*/

.topnav .icon {
  display: none;
}

/* Header Image Section */
header {
    height: 100vh;
    background: url('../img/header2.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px; /* Add padding for responsiveness */
}

.overlay {
    background: rgba(0, 0, 0, 0.5); /* A dark overlay to make text more readable */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.text-container {
    color: white;
    max-width: 600px; /* Ensure text wraps */
    margin: 0 auto;   /* Center the text-container */
    text-align: center; /* Ensure text is centered */
}


.contact-button {
    padding: 24px 24px;
    background-color: #6759b5;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 20px;
    display:flex;
    flex-basis: 100%;
    margin-right:30%;
    margin-left:30%; 
    justify-content:center;
}

.cta-button {
    display: block;
    padding: 24px 24px;
    background-color: #6759b5;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    opacity: 0; /* Start hidden */
    transform: translateY(20px); /* Add slight movement for smooth appearance */
}

.cta-button:hover {
    background-color: #988ae6;
}

.contact-button:hover {
    background-color: #988ae6;
}

/* Add animation for the button */
.cta-button.visible {
    opacity: 1;
    transform: translateY(0); /* Move it into place */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.typed-cursor {
    font-size: 3em; /* Match the font size of the text */
    color: white;   /* Ensure the cursor color matches the text */
    position: relative; /* Position relative to parent element */
    top: 0;         /* Ensure it is aligned correctly */
    left: 0;        /* Ensure it is aligned correctly */
}

/* Ensure h1 has proper margin for centering */
header h1 {
    font-size: 3em; /* Ensure this matches the text size */
    margin-bottom: 20px; /* Space between heading and button */
    display: inline; /* Ensure it's treated as inline for cursor */
}

header p {
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2em;
}

/* Privacidad */

#privacidad h1 {
    font-size: 2.5em; /* Ensure this matches the text size */
    margin-bottom: 20px; /* Space between heading and button */
}

#privacidad h2 {
    font-size: 1.7em; /* Ensure this matches the text size */
    font-family: roboto;
    color:black;
    text-align:left;
    margin-left:20px;
}

#privacidad h3 {
    font-size: 1.2em; /* Ensure this matches the text size */
    color:black;
    text-align:left;
    margin-left:20px;
}


#privacidad .textprivacidad {
    text-align: left;
    margin-left:20px;
}

#privacidad ul {
    text-align: left;
    margin-left:20px;
}

/* Content */
.content {
    text-align: center;
}

section {
  padding: 60px 0;
}

h2 {
    font-family: 'Playfair Display', serif;
    padding-bottom: 20px;
    color: #6759b5;
    padding-top:10px;
    font-size:2em;
}

/* Services Container */

.img-servicios {
  width:500px;
  display:flex;
  justify-content:space-between;
}

#services{
  background-color: #F0F0F0;
  width:100%;
}

#privacidad {
  background-color: #F0F0F0;
 padding-top:100px;
 margin:auto;
}

.services-container {
    display: flex;
    justify-content: center; /*change back to "space-between"*/
    align-items: center;
    margin: 40px auto;
    gap: 20px;
    width:80%;
    flex-wrap: wrap;
}

.service {
  margin-top:20px;
  flex: 1;
  min-width: 300px;                /* Ensure a minimum width */
  max-width: 400px;                /* Limit maximum width */
  border: 2px solid #ddd;          /* Light grey border */
  border-radius: 12px;             /* Rounded corners */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
  background-color: #fff;          /* Solid background for readability */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
}

.service:hover {
  transform: translateY(-5px);     /* Lift effect on hover */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow */
}

.service-top  {
  padding: 20px;
  text-align: center;              /* Centered text */
}

.service-bottom { /*temporary for promoción after, include .service-bottom to .service-top and erase text align left*/
  padding: 20px;
  text-align:center;
}

.service-top h3 {
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif; /* Use a serif font for emphasis */
  font-size: 1.8em;
  color: #6759b5;                  /* Accent color for titles */
}

.service-top .price {
  font-size: 1.5em;
  font-weight: bold;
  color: #333;                     /* Dark text for contrast */
}

.service-bottom {
  background-color: #f9f9f9;       /* Slightly different background */
  border-top: 1px solid #eee;      /* Separate the bottom section */
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  color: #333;
}

.mxn{
  font-size:0.6em;
  display:inline;
}
.price {
  display:inline;
}

/*Contact Form */

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  font-size: 17px;
  resize: vertical;
  -webkit-transition: 0.5s; /*border color transition */
  transition: 0.5s;
  outline: none;
}

input[type=text]:focus {
  border: 2px solid #6759b5; /*border color on focus */
}

input[type=email]:focus {
  border: 2px solid #6759b5; /*border color on focus */
}

input[type=tel]:focus {
  border: 2px solid #6759b5; /*border color on focus */
}

input[type=tel]:focus {
  border: 2px solid #6759b5; /*border color on focus */
}

input[type=email], select, textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  font-size: 17px;
  resize: vertical;
  -webkit-transition: 0.5s; /*border color transition */
  transition: 0.5s;
  outline: none;
}

input[type=tel], select, textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  font-size: 17px;
  resize: vertical;
  -webkit-transition: 0.5s; /*border color transition */
  transition: 0.5s;
  outline: none;
}

textarea {
      resize: none;
      font-size: 17px;
}

textarea:focus, select:focus {
      resize: none;
      border: 2px solid #6759b5; /*border color on focus */
}


input[type=submit] {
  background-color: #6759b5;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: auto !important;
  font-size: 17px;
}

input[type=submit]:hover {
  background-color: #988ae6;
}

.contactcontainer {
  margin: auto;  
  width: 80%;  
  border-radius: 5px;
  padding: 20px;
  color: #6759b5;
  background-color: rgba(255, 255, 255, 0.5);
  font-weight: bold;
}

#hp {
  display:none;
}

ul {
list-style-position: inside;
}

#about {
  background-color:#C2C4D6;
  width:100%;
}

#contact {
  background-color: #ffffff;
}


.aboutcontainer {
  margin: auto;
  font-size:1.5;  
  width: 80%;  
  border-radius: 5px;
  padding: 20px;
  color: #333;
}




.text {
    text-align:center;
    width:60%;
    display:flex;
    flex-basis: 100%;
    margin-right:20%;
    margin-left:20%; 
    justify-content:center;
}

.img-about {
  max-width:60%;
}


.fields {
text-align: left;
}

/*END Contact Form */


footer {
  display:flex;
  justify-content: space-between; 
  align-items:center;
  width:100%;
  background-color: #6d6e70;
  height:80px;
  padding: 0 20%;
  position:relative;
}

footer p {
  color:#FFFFF0;
}

footer a {
    color:#FFFFF0;
    text-decoration:none;
}

footer .copyright {
 
}

footer .footerlinks {

}


.dropdown .dropbtn {
  font-size:1.1em;
  border: none;
  outline: none;
  margin:auto;
  color: white;
  background-color: inherit;
  font-family: inherit;
  display: flex;
  align-items: center;
  padding:0;
  line-height:1.6;

}

.dropdown .dropbtn i {
  margin-left: 5px; 
}

.dropdown-content {
  display: none;
  position: absolute;
  top:-30px;
  background-color: #6d6e70;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border: solid;
  border-width:medium;
  border-color: #ffffff;
}

.dropdown-content a {
  color: #f2f2f2;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;

}

.dropdown:hover .dropdown-content { 
  display: block;
}

.dropdown:focus a .dropdown-content {
  display:block;
}



#langlink::before{
  content:"ES | ";
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none !important;
  font-weight:bold;
}
#langlink_en, #langlink {
  text-decoration: none;

}


#langlink_en::before{
  content:"EN | ";
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none !important;
  font-weight:bold;
}


/* Responsive Styles */
@media (max-width: 375px) {
  .services-container {
    flex-direction: column;        /* Stack cards vertically */
    gap: 30px;                     /* Increase gap for readability */
  }
  .service {
    margin: auto;                  /* Center cards */
  }
}

 @media screen and (max-width: 600px) {
  .topnav .navlinks {
    display: none; /* Hide links by default */
  }

  .topnav a.icon {
    position: absolute;
    top:40px;
    right:0;
    transform: translateY(-50%);
    padding: 25px 16px;
    display: block;
    cursor: pointer;
    color: #ffffff;
  }

  /* When the navbar is expanded */
  .topnav.responsive {
    flex-direction: column; /* Stack elements */
    align-items: flex-start;
    height: auto; 
    padding: 16px;
  }

  .topnav.responsive .navlinks {
    display: flex; /* Show links */
    flex-direction: column;
    width: 100%; 
  }

  .topnav.responsive .navlinks a {
    display: block; /* Make each link take full width */
    width: 100%; 
    text-align: center; 
    padding: 12px 16px;
    background-color: #333; 
    border-bottom: 1px solid #444; 
  }

  #logo-img {
    display:none;
  }

  .logo {
  position:absolute;
  left:0;
  margin:0;
  top:8px;
}

#mobile-logo-img 
{
    display:block;
     max-height: 60px; /* Set maximum height to 50px */
  height: auto; 
}
}


@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 10px 20px;
  }

  .img-servicios, .img-about {
  display:none;
}

.text {
    width:100%;
    margin:auto;
    display:flex;
    flex-basis: auto;
    justify-content:center;
}

footer {
  padding: 0 10%;
}

footer p {
  font-size:0.8em;
}

footer a {
    font-size:0.8em;
}

.dropdown {
  font-size:0.8em;
}

}

@media only screen and (min-width: 600px) and (max-width: 1080px) {
.navlinks {
  margin-right:0;
}

.logo {
  margin-left:0;
}

.img-servicios {
display:none;
}
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  /* Styles for tablets in landscape mode */
}

@media only screen and (max-width: 932px) and (orientation: landscape) {
  /* Styles for phones in landscape mode */
  header h1 {
    font-size: 2rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

