@charset "UTF-8";

html,
body {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

body {
    background-color: white;
    margin: 0;
    padding: 0;
}

.navBar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    padding: 0;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0;
    left: 0;
    height: 80px;
}

.navContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.navContainer form {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo img {
    height: 60px;
    width: auto;
    margin: 0;
}

.navLinks {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    height: 100%;
}

.navLinks li {
    display: inline-block;
    text-align: center;
    padding: 0 10px;
}

.navLinks a {
    color: #5da7a7;
    text-decoration: none;
    font-size: 1.1em;
    padding: 0;
    transition: color 0.3s ease;
    font-family: 'Cambria';
    text-align: center;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.navLinks a:hover {
    color: #76c7c7;
}

.navLinks i {
    font-size: 1em;
    text-align: center;
}

.citeButton {
    background-color: #5da7a7;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    font-family: 'Cambria';
}

.citeButton:hover {
    background-color: #76c7c7;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdownContent {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 145px;
    height: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 8px;
    text-align: left;
    padding: 2px;
    margin-top: 5px;
}

.show {
    display: block;
}

.dropdownContent a {
    color: black;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    align-items: center;
}

.dropdownContent a:hover {
    background-color: #f1f1f1;
    border-radius: 8px;
}

.dropdownContent li a i {
    margin-right: 8px;
}

.introContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    height: 600px;
    width: 100%;
    background-image: url("../img/fondoIndex.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    padding: 0;
    margin: 0;
}

.introText {
    padding-right: 100px;
    max-width: 40%;
    text-align: right;
    margin-bottom: 45px;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibilty: hidden;
    }
}

.introText h1 {
    font-size: 4em;
    color: #4a4a4a;
    font-family: 'Cambria';
    font-style: italic;
    padding-left: 20px;
    text-align: left;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    letter-spacing: 1.5px;
    opacity: 0;
    animation: fadeIn 2s ease-out forwards;
}

.successMessage {
    display: block;
    color: #5da7a7;
    font-family: 'Cambria';
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    border: 1px solid #5da7a7;
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0px 4px 10px -2px rgba(74, 74, 74, 0.5);
    width: 300px;
    animation: hide 7s forwards;
    margin-right: 10px;
    margin-top: 15px;
    margin-bottom: 0;
}

.successMessage i {
    padding-right: 5px;
    font-size: 1em;
}

.infoText h2 {
    font-size: 1.7em;
    color: #4a4a4a;
    font-family: 'Cambria';
    text-align: center;
    margin-top: 5px;
    margin-bottom: 20px;
}

.line {
    border: none;
    height: 1.1px;
    background-color: #b0b0b0;
    width: 40%;
    margin: 20px auto;
    opacity: 0.8;
    margin-bottom: 25px;
}

.photosContainer {
    display: flex;
    justify-content: center;
    width: 85%;
    height: 430px;
    margin: 0 auto;
    margin-top: 35px;
}

.photosContainer img {
    width: 0px;
    flex-grow: 1;
    object-fit: cover;
    opacity: 0.8;
    transition: 0.5s ease;
}

.photosContainer img:hover {
    cursor: pointer;
    width: 300px;
    opacity: 1;
    filter: contrast(120%);
}

.imageModal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    justify-content: center;
    align-items: center;
    padding-top: 35px;
}

.imageModalContent {
    display: block;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    animation-name: imageModalZoom;
    animation-duration: 0.3s;
}

@keyframes imageModalZoom {
    from {
        transform: scale(0.7);
    }

    to {
        transform: scale(1);
    }
}

.infoContainer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 40px auto;
    width: 85%;
    margin-top: 25px;
}

.mapContainer {
    flex: 1;
    margin-right: 20px;
}

.scheduleContainer {
    flex: 1;
    margin-left: 20px;
    padding-left: 70px;
}

.mapContainer h3,
.scheduleContainer h3 {
    font-size: 1.3em;
    color: #4a4a4a;
    font-family: 'Cambria';
    text-align: center;
}

.scheduleContainer ul {
    list-style: none;
    padding: 0;
    text-align: justify;
}

.scheduleContainer i {
    margin-right: 10px;
    color: #5da7a7;
}

.scheduleContainer ul li {
    font-size: 1.2em;
    color: #4a4a4a;
    font-family: 'Cambria';
    margin-bottom: 10px;
}

.scheduleContainer span {
    font-weight: bold;
    color: #4a4a4a;
}

.scheduleContainer ul li:nth-child(6) i,
.scheduleContainer ul li:nth-child(7) i {
    color: #ff5757;
}

.titleContainer h2 {
    font-size: 1.7em;
    color: #4a4a4a;
    font-family: 'Cambria';
    text-align: center;
    margin-top: 15px;
    margin-bottom: 20px;
}

.servicesContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    justify-items: center;
    align-items: center;
    margin: 0 auto;
    width: 90%;
    margin-top: 15px;
}

.servicesContainer h3 {
    font-family: 'Cambria';
}

.serviceButton {
    padding: 15px 30px;
    width: 300px;
    height: 80px;
    background-color: white;
    border: 1px solid #4a4a4a;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Cambria';
    font-size: 1.3em;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    box-shadow: 0px 4px 10px -2px rgba(74, 74, 74, 0.5);
}

.serviceButton:hover {
    color: #76c7c7;
    box-shadow: 0px 4px 10px -2px rgba(74, 74, 74, 0.8);
}

.serviceModal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: hidden;
    justify-content: center;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 160px;
}

.serviceModalContent {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 75%;
    max-width: 750px;
    max-height: calc(100% - 240px);
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    animation-name: serviceModalZoom;
    animation-duration: 0.3s;
    font-family: 'Cambria';
    font-size: 1.3em;
}

@keyframes serviceModalZoom {
    from {
        transform: scale(0.7);
    }

    to {
        transform: scale(1);
    }
}

.servicesContainer table {
    width: 100%;
    border-collapse: collapse;
}

.servicesContainer thead th {
    background-color: rgba(244, 248, 248);
    font-weight: bold;
    color: #4a4a4a;
    font-size: 1.15em;
    border-bottom: 2px solid #5da7a7;
    text-align: left;
}

.servicesContainer th,
.servicesContainer td {
    font-size: 1.1em;
    padding: 12px 8px;
    border-bottom: 1px solid #5da7a7;
}

.servicesContainer td {
    color: #4a4a4a;
    text-align: left;
}

.servicesContainer td:first-child {
    width: 60%;
}

.servicesContainer td:nth-child(2) {
    width: 20%;
    text-align: center;
    white-space: nowrap;
}

.servicesContainer td:nth-child(3) {
    text-align: center;
    width: 20%;
}

.servicesContainer th:nth-child(2) {
    text-align: center;

}

.servicesContainer th:nth-child(3) {
    text-align: center;
}

.listContainer {
    display: flex;
    justify-content: center;
    margin: 0;
    padding-left: 90px;
}

.infoContact h2 {
    font-size: 1.7em;
    color: #4a4a4a;
    font-family: 'Cambria';
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
}

.infoContact ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 0;
}

.infoContact i {
    margin-right: 10px;
    color: #5da7a7;
    margin-left: 10px;
}

.infoContact ul li {
    font-size: 1.15em;
    color: #4a4a4a;
    font-family: 'Cambria';
    margin-bottom: 10px;
}

.infoContact a {
    text-decoration: none;
    color: #4a4a4a;
    font-size: 1.15em;
    font-family: 'Cambria';
    transition: 0.3s ease;
}

.infoContact a:hover {
    cursor: pointer;
    opacity: 0.8;
}

/*Estilos diseño responsive*/
@media (max-width: 950px) {
    body {
        padding: 0 auto;
    }

    .navContainer {
        padding: 0;
    }

    .navLinks {
        gap: 2px;
        padding: 0;
        margin: 0;
    }

    .navLinks a,
    .navLinks i {
        font-size: 1em;
    }

    .citeButton {
        width: auto;
        padding: 10px 15px;
        font-size: 0.9em;
        text-align: center;
    }

    .introContainer {
        height: 300px;
        width: 100vw;
        padding: 0;
        margin: 0;
    }

    .introText {
        padding-right: 50px;
        margin-bottom: 30px;
        margin-top: 0;
    }

    .introText h1 {
        font-size: 1.2em;
    }

    .successMessage {
        width: 40%;
        right: 5%;
        transform: translateY(0);
        font-size: 0.8em;
        padding: 8px;
        margin-top: 40px;
        margin-bottom: 0;
    }

    .photosContainer {
        width: 100%;
    }

    .infoContainer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .mapContainer {
        width: 100%;
        text-align: center;
    }

    .mapContainer iframe {
        display: block;
        margin: 0 auto;
        width: 100%;
        max-width: 600px;
        height: 250px;
    }

    .scheduleContainer {
        width: 90%;
        padding-left: 0;
        margin-left: 0;
        text-align: center;
    }

    .scheduleContainer ul {
        text-align: center;
    }

    .scheduleContainer ul li {
        margin-bottom: 10px;
    }

    .servicesContainer {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .serviceButton {
        width: 90%;
        margin: 5px auto;
    }

    .line {
        width: 90%;
    }
}

/* Small-screen layout is shared in general/responsive.css. */
