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

body, html {
  height: 100%;
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: 
    "wdth" 100;
  font-size: 1.15rem;
  line-height: 1.5em;
  margin: 50px 0 50px 0;
}

body{
  background: #9BC31A;
  color: #fff;
  color: #030303;
}

a{
  text-decoration: underline;
  color: #030303;
}
a:hover{
  color: #333333;
}

.container {
  min-height: 100vh;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
  position: relative;
}

.column {
  flex: 1;
  padding: 20px;
}

.row {
  display: flex;
  width: 100%;
  gap: 20px;
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #030303;
}



.form-group {
  margin-bottom: 1rem;
  flex:1;

}

label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-size: 0.8em;
}
.label{
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-size: 0.8em; 
}

input[type=text], input[type=email]  , textarea {
  font-family: "Open Sans", sans-serif;
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-weight: 400;
}

button, a.button {
  background-color: #ed1d24;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
a.button{
  font-size: 1.5em;
}

button:hover, a.button:hover {
  background-color: #333;
  -webkit-transition: all 0.35s ease-in-out;
  -moz-transition: all 0.35s ease-in-out;
  -o-transition: all 0.35s ease-in-out;
  -ms-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}

h1{
  text-align: center;
  justify-content: center;
  margin-bottom: 1rem;

}
h1 img{
  max-width: 80%;
}

.align-right{
  text-align: right;
}
.align-center{
  text-align: center;
  justify-content: center;
}


.logotype{
  max-width: 100px;
}

#cta{
  margin-top: 48px;
  margin-bottom: 48px;
}


/*****/

 .image-container {
    position: relative;
    display: inline-block;
    margin: 0 auto 0 auto;
    display: block;
    text-align: center;
}

.postavili-si-haciendy {
  max-width: 80%;
  height: auto;
}
.mapa{
  max-width: 100%;
  height: auto;
}
.map{
 max-width: 100%
}        
#map{
  margin: 24px auto 24px auto;
  max-width: 100%;
  position: relative; 
  text-align: center;
}
h3 img{
  width: auto;
  max-width: 60%;
}
h3.vyzva img{
  max-width: 50%;
}
h3 span{
  display: none;
}
#footer{
    margin: 128px auto 0 auto;
    font-size: 0.9em;
    padding-bottom: 64px;
}
#footer p{
    margin-bottom: 24px;
}

.note{
  margin: 150px auto 150px auto;
}

#haciendy{
  margin: 48px auto 48px auto;
  border-collapse: collapse;
  max-width: 90%;
  width: 80%;
  font-size: 0.8em;
  text-align: left;
}
#haciendy th, #haciendy td{
  border: 1px solid rgba(255,255,255,0.6);
  padding: 12px;
}
#haciendy th, #haciendy td.right{
  text-align: right
}

form{
  margin-top: 48px;
}
.point {
            position: absolute;
            width: 15px;
            height: 15px;
            background-color: #fff;
            border: 3px solid #fff;
            border-radius: 50%;
            cursor: pointer;
            transform: translate(-50%, -50%);
            transition: all 0.3s ease;
            z-index: 10;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            -webkit-tap-highlight-color: transparent;
}

.point:hover,
.point.active {
    background-color: #fff;
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 4px 8px rgba(210,31,38,0.4);
}
.point::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

        @keyframes pulse {
            0% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 1;
            }
            100% {
                transform: translate(-50%, -50%) scale(2);
                opacity: 0;
            }
        }


         .tooltip {
            position: absolute;
            width: 400px;
            height: 320px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            border: 3x solid #000;
            overflow: hidden;
            vertical-align: middle;
        }

        .tooltip.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }


.haciendy-list{
   display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  align-content: space-between;
  row-gap: 16px;
  column-gap: 24px;
  margin-top: 48px;
  margin-bottom: 48px;
}
.haciendy-list-item{
  max-width: 300px;

}
.haciendy-list-item:hover{

}
.haciendy-list-item h4{
  font-size: 0.9rem;
  line-height: 1.0rem;
  font-weight: bold;
  margin: 0;
  text-align: center;
}
.haciendy-list-item h4 span{
  display: block;
}
.haciendy-list-item p{
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
}
.haciendy-list-item img{
  max-width: 100%;
  width: 100%;
  border: 3px solid #000;
}


@media (max-width: 768px) {
            .row {
              display: block;
            }

            .haciendy-list{
                flex-direction: column;
                align-content: center;
                margin-top: 24px;
                margin-bottom: 24px;
            }

            .tooltip {
                width: calc(100vw - 40px);
                max-width: 320px;
                height: auto;
                min-height: 220px;
                position: fixed;
                left: 20px !important;
                bottom: 20px !important;
                top: auto !important;
                transform: translateY(100px);
            }
            
            .tooltip.show {
                transform: translateY(0);
            }
            
            .tooltip::before {
                display: none;
            }
        }

        .tooltip::before {
            content: '';
            position: absolute;
            top: -8px;
            left: 20px;
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 8px solid white;
        }

        .tooltip h3 {
            margin: 0;
            color: #333;
            font-size: 1.2rem;
        }

        .tooltip-content {
            display: block;
            flex-direction: row;
            row-gap: 16px;
            text-align: center;
        }

        .tooltip-text {
            font-size: 0.8rem;
            color: #000;
            line-height: 1.2;
            margin: 4px 0 4px 0;
        }
         .tooltip-price {
            
            font-size: 0.8rem;
            color: #000;
            line-height: 1.4;
            
        }

        .tooltip-image {
            width: 100%;
            height: auto;
            max-height: 200px;
            object-fit: cover;
        }

        /* Mobile tooltip content */
        @media (max-width: 768px) {
          .mapa {
            max-width: 100%;
            height: auto;
          }
            .tooltip-content {
                flex-direction: row;
                height: auto;
                gap: 16px;
            }
            
            .tooltip-text {
                font-size: 15px;
                line-height: 1.5;
            }
            
            .tooltip-image {
                width: 100%;
                height: auto;
                align-self: center;
            }
        }

        /* Close button for mobile */
        .close-btn {
            display: none;
            position: absolute;
            top: 10px;
            right: 15px;
            background: none;
            border: none;
            font-size: 24px;
            color: #999;
            cursor: pointer;
            padding: 0;
            line-height: 1;
        }

        @media (max-width: 768px) {
            .close-btn {
                display: block;
            }
        }
        