a {
     text-decoration: none;
}

.tinos {
     font-family: "Tinos", serif;
     font-weight: 400;
     font-style: normal;
}

.tinos-bold {
     font-family: "Tinos", serif;
     font-weight: 700;
     font-style: normal;
}

.tinos-italic {
     font-family: "Tinos", serif;
     font-weight: 400;
     font-style: italic;
}

.tinos-bold-italic {
     font-family: "Tinos", serif;
     font-weight: 700;
     font-style: italic;
}



.hero-section {
     background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://realestatemne.com/imgs/primare.jpg');
     background-size: cover;
     background-position: center;
     height: 60vh;
     display: flex;
     align-items: center;
     color: white;
}

/*
.hero-section {
     position: relative;
     height: 60vh;
     display: flex;
     align-items: center;
     overflow: hidden;
     color: white;
}
*/
.hero-video {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     z-index: 0;
}


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

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


.hero-section2 {
     background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://realestatemne.com/imgs/primare.jpg');
     background-size: cover;
     background-position: center;
     height: 20vh;
     display: flex;
     align-items: center;
     color: white;
}




@media (max-width: 768px) {
     .hero-section {
          height: 40vh;
     }

     .hero-section2 {
          height: 20vh;
     }
}

.property-card {
     border: none;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s ease;
     margin-bottom: 30px;
}

.property-card:hover {
     transform: translateY(-5px);
}

.property-image {
     height: 250px;
     object-fit: cover;
     position: relative;
}

.property-status {
     position: absolute;
     top: 15px;
     left: 15px;
     padding: 5px 15px;
     border-radius: 20px;
     font-weight: bold;
     font-size: 12px;
}

.status-rent {
     background-color: #28a745;
     color: white;
}

.status-sale {
     left: 10px;
     background-color: #e4fd3f;
     color: #0139d9;
}


.top-header {
     background-color: #ad833d;
     color: white;
     padding: 10px 0;
     font-size: 14px;
}

.main-header {
     background-color: white;
     padding: 1px 0;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
     font-size: 28px;
     font-weight: bold;
     color: #ad833d;
}


.logo::before {
     content: "";
     display: inline-block;
     width: 62px;
     /* adjust to your logo size */
     height: 63px;
     /* adjust to your logo size */
     margin-right: 8px;
     /* space between logo and text */
     background: url("../imgs/logo-mne.png") no-repeat center;
     background-size: contain;
     /* keeps aspect ratio */
}

.navbar-nav .nav-link {
     color: #2c3e50 !important;
     font-weight: 500;
     margin: 0 10px;
}

.search-form {
     background: white;
     padding: 30px;
     border-radius: 10px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     margin-top: -50px;
     position: relative;
     z-index: 10;
}

.property-price {
     font-size: 24px;
     font-weight: bold;
     color: #3498db;
}

.property-details {
     font-size: 14px;
     color: #d01d1d;
     margin: 5px 0;
}

.property-details i {
     margin-right: 8px;
     color: #d01d1d;
}

.property-info-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 8px;
     margin-top: 10px;
}

a.property-info-grid {
     text-decoration: none !important;
}

.property-info-item {
     font-size: 12px;
     color: #7f8c8d;
     display: flex;
     align-items: center;

}

.property-info-item i {
     margin-right: 6px;
     color: #3498db;
     width: 12px;
}

.property-code {
     font-size: 11px;
     color: #95a5a6;
     font-weight: 500;
     margin-top: 8px;
     text-align: center;
     padding: 4px 8px;
     background-color: #f8f9fa;
     border-radius: 4px;
}

footer {
     background-color: #ad833d;
     color: white;
     padding: 50px 0;
}

.social-links a {
     color: white;
     font-size: 18px;
     margin: 0 10px;
     text-decoration: none;
}

.social-links a:hover {
     color: #3498db;
}


.section-divider {
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 2rem 0;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-divider h2 {
     position: relative;
     font-size: 1.6rem;
     font-weight: 600;
     color: #336699;
     padding: 0 1rem;
     text-transform: uppercase;
     letter-spacing: 2px;
}

/* The lines on the sides */
.section-divider::before,
.section-divider::after {
     content: "";
     flex: 1;
     border-bottom: 1px solid #369;
     margin: 0 1rem;
}

/* Optional: Add hover effect for style */
.section-divider:hover::before,
.section-divider:hover::after {
     border-color: #555;
}


/* FLAGS */
.lang-flag {
     display: inline-block;
     width: 28px;
     /* flag width */
     height: 20px;
     /* flag height */
     line-height: 20px;
     margin-left: .6rem;
     margin-right: .6rem;
     cursor: pointer;
     vertical-align: middle;
     border-radius: 3px;
     box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06) inset;
}

/* Slightly larger on hover for a nice effect */
.lang-flag:hover {
     transform: translateY(-2px);
}

/* Container to keep flags aligned inside navbar */
.flags-container {
     display: flex;
     align-items: end;
}

/* Optional: label shown next to flags on small screens */
@media (max-width: 575px) {
     .flags-container {
          gap: .4rem;
     }
}


.property-status2 {
     position: absolute;
     top: 10px;
     right: 15px;
     padding: 0px;
     border-radius: 20px;
     font-weight: bold;
     font-size: 12px;
}




.property-status3 {
     position: absolute;
     top: 15px;
     left: 15px;
     padding: 5px 15px;
     border-radius: 20px;
     font-weight: bold;
     font-size: 12px;
}

.status-sold {
     background-color: #dc3545;
     color: #FFFFFF;
}



.status-sponsored {
     right: 5px;

     /* Bootstrap warning yellow */

     /* Black text for better contrast on yellow */
}







.gallery-container {
     max-width: 900px;
     margin: 0 auto;
     padding: 20px;
}

.main-image-wrapper {
     position: relative;
     width: 100%;
     height: 500px;
     overflow: hidden;
     border-radius: 12px;
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
     cursor: grab;
     user-select: none;
}

.main-image-wrapper:active {
     cursor: grabbing;
}

.main-image {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.3s ease;
}

.image-counter {
     position: absolute;
     top: 15px;
     right: 15px;
     background: rgba(0, 0, 0, 0.7);
     color: white;
     padding: 8px 12px;
     border-radius: 20px;
     font-size: 14px;
     backdrop-filter: blur(10px);
}

.nav-arrows {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background: rgba(255, 255, 255, 0.9);
     border: none;
     width: 45px;
     height: 45px;
     border-radius: 50%;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 18px;
     transition: all 0.3s ease;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-arrows:hover {
     background: white;
     transform: translateY(-50%) scale(1.1);
}

.nav-prev {
     left: 15px;
}

.nav-next {
     right: 15px;
}

.thumbnails-container {
     margin-top: 20px;
     position: relative;
}

.thumbnails-wrapper {
     overflow-x: auto;
     overflow-y: hidden;
     white-space: nowrap;
     padding: 10px 0;
     scrollbar-width: thin;
     scrollbar-color: #ccc transparent;
}

.thumbnails-wrapper::-webkit-scrollbar {
     height: 6px;
}

.thumbnails-wrapper::-webkit-scrollbar-track {
     background: #f1f1f1;
     border-radius: 3px;
}

.thumbnails-wrapper::-webkit-scrollbar-thumb {
     background: #ccc;
     border-radius: 3px;
}

.thumbnails-wrapper::-webkit-scrollbar-thumb:hover {
     background: #999;
}

.thumbnail {
     display: inline-block;
     width: 80px;
     height: 60px;
     margin-right: 10px;
     border-radius: 8px;
     overflow: hidden;
     cursor: pointer;
     transition: all 0.3s ease;
     border: 3px solid transparent;
     position: relative;
}

.thumbnail:last-child {
     margin-right: 0;
}

.thumbnail img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.3s ease;
}

.thumbnail:hover img {
     transform: scale(1.1);
}

.thumbnail.active {
     border-color: #007bff;
     box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.3);
}

.loading {
     opacity: 0.7;
     pointer-events: none;
}

@media (max-width: 768px) {
     .main-image-wrapper {
          height: 400px;
     }

     .nav-arrows {
          width: 40px;
          height: 40px;
          font-size: 16px;
     }

     .thumbnail {
          width: 70px;
          height: 50px;
     }
}

@media (max-width: 480px) {
     .main-image-wrapper {
          height: 300px;
     }

     .thumbnail {
          width: 60px;
          height: 45px;
     }
}





.details-title {
     font-size: 1.5rem;
     font-weight: 700;
     color: #333;
     border-bottom: 3px solid #b10505;
     display: inline-block;
     padding-bottom: 5px;
     margin-bottom: 15px;
}

.title_shtesa {
     font-size: 1rem;
     font-weight: 400;
}


.property-details li {
     font-size: 1.2rem;
     display: flex;
     justify-content: space-between;
     background: #f8f9fa;
     padding: 8px 12px;
     margin-bottom: 6px;
     border-radius: 8px;
     box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
     transition: background 0.3s ease;
}

.property-details li:hover {
     background: #e9f3ff;
     border-bottom: 1px dotted #b10505
}

.property-details .label {
     font-weight: 600;
     color: #555;
}

.property-details .value {
     font-weight: 700;
     color: #007bff;
     /* Highlight color */
}

.code {
     font-weight: 700;
     color: #b10505;
}

.sold-badge {
     position: absolute;
     top: 10px;
     right: 10px;
     background-color: #f30b0bff;
     color: white;
     padding: 5px 10px;
     border-radius: 4px;
     font-size: 12px;
     font-weight: bold;
}


.nav-link2 {
     display: block;
     padding: 0.5rem 1rem;
     color: #336699;
     text-decoration: none;
     background: 0 0;
     border: 1px solid #336699 !important;
     margin-left: 20px;
}