body{
    background-color:#f8fafc;
    font-family: 'Open Sans';
    overflow-x: hidden;
    margin: 0;

}
a.armenopedia{
  text-decoration: none;
  margin-left: 80px;

}

a.armenopedia:visited{
 color: black;
 text-decoration: none;
}

h2.arm-header{
  margin-left: 65px;
  margin-top: -70px;
}

div.header{
    display: flex;
}

button.header-part{
    margin-left: 10px;
    margin-top: 20px;
    background-color: #fefefe;
    height: 30px;
    padding-left: 2px;
    border-radius: 4px;
    border:1px solid rgb(177, 175, 175);
    position:absolute;
    
}


.search-bar{
    border: 1px solid #ccc;
    border-radius: 15px 0px 0 15px;
    height: 45px;
    margin-left:50px;
    width: 650px;
    margin-top: 10px;
    position: relative; 
}

.search-butt{
    background-color: rgb(168, 81, 15);
    color: white;
    height: 48.035px;
    border-radius: 0 12px 12px 0;
    width: 90px;
    border:0px;
    position: relative;  
    margin-left: 700px;
    top: -49px;
    left: -3px;

   
}


div.sign-in{
    margin-top: -37px;
    position: absolute; 
    margin-left: 1330px;
}

button.signin{
    margin-left: -200px;
    margin-top: 60px;
    color:white;
   background-color:rgb(168, 81, 15);
   height: 29px;
   border-radius:8px;
   border:none;
   width:70px;
   position: relative;
    
}




.hero-section {
  position: relative;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 200px;
  object-fit: cover;

}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(75, 0, 130, 0.7), rgba(63, 81, 181, 0.5), rgba(255, 193, 7, 0.4));
 height: 200px;
}

.content-container {
  position: relative;
  max-width: 7xl;
  margin: 0 auto;
  padding: 10px 16px;
}

.title {
  font-size: 1.875rem; 
  font-weight: 800;
  color: white;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  margin-left: 20px;
}

.description {
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px; 
  padding-top: 0px;
  font-size: 13px;
  margin-left: 20px;
}

@media (min-width: 768px) {
  .title {
    font-size: 2.25rem; 
  }

  .content-container {
    padding: 12px;
  }
}





.filter-div{
    margin-top: 55px;
    margin-left: 5px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 14px;
    /* height: 920px; */
    height: auto; 
    min-height: 940px;
    width:280px;
    position: absolute;
}


.fil{
    padding-top:10px;
    padding-left: 20px;
    font-size: 15px;

}


select.region{
    
     /* border:; */
     border-radius: 5px;
     border:none;
     background-color: rgba(239,239,239,1);
     width:230px;
     height:40px;
}

div.region{
    
     padding-left: 20px;
          font-size: 14px;

}


select.country{
    
     /* border:; */
     border-radius: 5px;
     border:none;
     background-color: rgba(239,239,239,1);
     width:230px;
     height:40px;
}

div.country{
    
     padding-left: 20px;
     padding-top: 5px;
     font-size: 14px;

}



select.city{
    
     /* border:; */
     border-radius: 5px;
     border:none;
     background-color: rgba(239,239,239,1);
     width:118px;
     height:40px;
}

div.city{
    
     padding-left: 20px;
     padding-top: 5px;
    font-size: 14px;

}

select.city{
 width:100px;
     height:40px;
}

.city-district{
    display: flex;

}

p.district{
    padding-top: 6px;
    margin-left: 30px;
    font-size: 14px;

  
}
select.district{
    border-radius: 5px;
     border:none;
     background-color: rgba(239,239,239,1);
     width:100px;
     height:40px;
     margin-top: 57px;
     margin-left: 150px;
     position: absolute;

}


p.cuisine{
 font-size: 14px;


}

select#cuisine{
    
     border-radius: 5px;
     border:none;
     background-color: rgba(239,239,239,1);
     width:230px;
     height:40px;
}

div.cuisine{
    
     padding-left: 20px;
}


div.min-rating-open-now{
    display: flex;
}

div.min-rating{
    margin-left: 20px;
    margin-top: 20px;
    font-size: 14px;
}
select.min-grade{

    border-radius: 5px;
     border:none;
     background-color: rgba(239,239,239,1);
     width:100px;
     height:40px;
}

div.open-now{
    margin-top: 30px;
    margin-left: 30px;
    font-size: 14px;
}

input.open-now{
    margin-left: 0px;
   
}

div.applay-filters{
    margin-top: 23px;
    margin-left: 30px;
    
}

button.applay-filters{

    background-color: rgb(168, 81, 15);
    color: white;
    border:1px solid #ccc;
    border-radius:10px;
    height: 40px;
    width: 210px;
    margin-top: 10px;
}


button.applay-filters:hover{
    background-color: rgb(148, 68, 7)
}

button.save-search{
    background-color: white;
    color: black;
    border:1px solid #ccc;
    border-radius:10px;
    height: 40px;
    width: 210px;
    margin-top: 10px;
}

button.save-search:hover{
    border: 2px solid #ccc;
}

button.create-alert{
    background-color: white;
    color: black;
    border:1px solid #ccc;
    border-radius:10px;
    height: 40px;
    width: 210px;
    margin-top: 10px;
}

button.create-alert:hover{
     border: 2px solid #ccc;
}

div.fil-reset{
    display: flex;
}

input.rst{
    margin-top: 25px;
    margin-left: 140px;
    height: 20px;
    color:rgb(168, 81, 15);
    border: none;
    background-color: white;
}

button.reset:hover{
    color:rgb(85, 39, 4)
}

div.main{
   
    display: flex;
    margin-top: 200px;
}



div.map-view{
    height: 40px;
    position: absolute;
    
}


button.map-viewbut{
    margin-left:900px ;
    margin-top: 55px;
    background-color:#f8fafc;
    border: 1px solid #f1f1f1;
    border-radius: 3px;
    width: 90px;
    height: 30px;
    position: relative;  
    box-sizing: border-box;  
    z-index: 10;
}

div.saved-searhces{
  height: 40px;
  position: absolute;
}

button.saved-searches{
    margin-left:770px ;
    margin-top: 55px;
    background-color:#f8fafc;
    border: 1px solid #f1f1f1;
    border-radius: 3px;
      width: 115px;
    height: 30px;
    position: relative;  
    box-sizing: border-box;  
    z-index: 10;
    position: absolute;
}

div.saved-lists{
 height: 40px;
  position: absolute;
}

button.saved-lists{
   margin-left:650px ;
    margin-top: 55px;
    background-color:#f8fafc;
    border: 1px solid #f1f1f1;
    border-radius: 3px;
      width: 110px;
    height: 30px;
    position: relative;  
    box-sizing: border-box;  
    z-index: 10;
    position: absolute;
}

div.sort{
    height: 40px;
    position: absolute;
    margin-left: -90px;
}
div.sort-select{
    height: 40px;
    position: absolute;
}

p.sort{
    color: rgb(71,85,110);
    font-size: 14px;
    margin-left: 1020px;
    margin-top: 60px;
}

div.sort-select{
    margin-left: 1055px;
    margin-top: 52px;
   
}

select.sort{
    background-color:#ebf2fa;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 140px;
    height: 25px;
    text-align: center;
    height: 30px;
    margin-top: 3px;
    margin-left: -90px;
}

#all-cards{
  display: grid;
  grid-template-columns: repeat(3,330px);
  margin-top: 90px;
  height: 100%;
 
}


.card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 320px;
  height: 490px;
  transition: box-shadow 0.3s;
  margin-left: 300px;
  margin-top:20px;
 
}

.card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card-image {
  position: relative;
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.badge-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 9999px;
  background-color: rgba(255,255,255,0.9);
  border: 1px solid #ccc;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #f43f5e;
}

.dotp{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #eb8c1f;
}

.hover-gallery {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: none;
  gap: 5px;
  align-items: center;
}

.card:hover .hover-gallery {
  display: flex;
}

.hover-gallery  img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid white;
}

.open-gallery1{
  margin-left: auto;
  font-size: 13px;
  padding: 3px 6px;
  background-color: rgb(180,83,9);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 20px;
    font-size: 12px;

}

.open-gallery1:hover{
  margin-left: auto;
  font-size: 13px;
  padding: 3px 6px;
  background-color: rgb(133, 59, 4);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 20px;
    font-size: 12px;

}

.open-gallery {
  margin-left: auto;
  font-size: 12px;
  padding: 3px 6px;
  background-color: white;
  color: rgb(180,83,9);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 12px;
}

.card-content {
  padding: 15px;
  height: 290px;

}

.card-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.card-info{
    width: 150px;
}

.card-info h4 {
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
  margin-bottom: 10px;
}

.card-info .location,
.card-info .category {

  color: #64748b;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 250px;
  font-size: 12px;
}

div.source{
  display: flex;
 
  color: #64748b;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 200px;
  font-size: 11px;
  position: absolute;
}

p.source {
  margin-top: 50px;
  margin-left:90px ;
}

a.source{
 
    color: #64748b;

}

a.source:visited {

  color: #64748b;
}


.card-stats {
  text-align: right;
  min-width: 120px;
  font-size: 12px;
}

.rating-info {
  display: flex;
  justify-content: flex-end;
  gap: 3px;
  align-items: center;
  font-size: 11px;
}

.star {
  color: #fbbf24;
  font-size: 11px;
}

.price {
  background-color: #f1f5f9;
  padding: 1px 4px;
  border-radius: 9999px;
  font-size: 10px;
}

.percentile {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin-top: 2px;
}

.percentile-detail {
  font-size: 10px;
  color: #64748b;
}

.tags {
  margin-top: 40px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  
}

.tags span {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  background-color: #f1f5f9;
  border: 1px solid #ccc;
}

.card-actions {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.card-actions button,
.card-actions a {
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: white;
  cursor: pointer;
  text-decoration: none;
  color: #1e293b;
}



.card-actions button:hover,
.card-actions a:hover {
  background-color: #f1f5f9;
}


.card-actions .remove-saved {
  background-color: #565f6dff;
  color: white;
  border: none; /* optional */
}


.card-actions .remove-saved:hover {
  background-color: rgb(103, 112, 128);
  color: white;
  border: none; /* optional */
}

/* Overlay */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

/* Pop-up box */
.pop-up {
  background-color: white;
  height: 425px;
  width: 1150px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pop-up-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #ccc;
  padding: 0 20px;
  height: 70px;
}

.pop-up-title h4 {
  margin: 0;
}

button.close {
  width: 70px;
  height: 40px;
  border-radius: 5px;
  background-color: white;
  border: 1px solid #ccc;
}

button.close:hover {
  border: 1px solid rgb(122, 121, 121);
  background-color: #fcfcfc;
}


.modal-tabs {
 
  padding: 10px 20px;
  position: relative;
}

.modal-tabs-butt button {
  height: 35px;
  border-radius: 20px;
  border: 1px solid #ccc;
  background-color: white;
  margin-right: 10px;
  width: auto;
  padding: 0 15px;
}

.modal-tabs-butt button:hover {
  border: 1px solid rgb(122, 121, 121);
}

.modal-tabs-img {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 10px;
  overflow: auto;        
  padding-bottom: 10px;     
   scroll-behavior: smooth;
   height:222px ;
  
}

.modal-tabs-img::-webkit-scrollbar {
  height: 8px;
}

.modal-tabs-img::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

.modal-tabs-img::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}


.modal-tabs-img img {
  height: 200px;
  border-radius: 7px;
}

.save-report {
  display: flex;
  padding: 10px 30px;
  gap: 10px;
}

.save-report button {
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: white;
  padding: 0 15px;
}

.save-report button:hover {
  border: 1px solid rgb(122, 121, 121);
  background-color: #fcfcfc;
}


#galleryModal.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1200;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  width: 1150px;
  max-width: 95%;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  overflow: hidden;
}

.pop-up-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}
.pop-up-title h4 {
  margin: 0;
  font-size: 20px;
}
.modal-close {
  width: 80px;
  height: 40px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
}
.modal-close:hover {
  background: #f9f9f9;
  border-color: #999;
}

.modal-tabs-butt {
  display: flex;
  gap: 1px;
  padding: 15px 25px;
}
.modal-tabs-butt .tab-btn {
  border: 1px solid #ccc;
  background: white;
  border-radius: 20px;
  font-size: 15px;
  height: 35px;
  width: 80px;
  cursor: pointer;
}
.modal-tabs-butt .tab-btn:hover {
  border-color: #999;
}

.modal-tabs {
  padding: 15px;
  border-bottom: 2px solid #ccc;
  height: 250px;
}
.modal-tabs-img {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: -10px;
  padding: 10px;
}
.modal-tabs-img img {
  height: 200px;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.modal-tabs-img img:hover {
  transform: scale(1.05);
}
.modal-tabs-img img.active-thumb {
  border: 3px solid #838282;
}

.save-report {
  display: flex;
  gap: 10px;
  padding: 20px 25px;
}
.save-list, .report {
  height: 40px;
  width: 120px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: white;
  cursor: pointer;
}
.save-list:hover, .report:hover {
  background: #f9f9f9;
  border-color: #999;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
}
.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 8px;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  color: white;
  background: rgba(0,0,0,0.4);
  border: none;
  font-size: 28px;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  cursor: pointer;
}
.lb-close { top: 15px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); font-size: 36px; }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); font-size: 36px; }

@media (max-width: 700px) {
  .modal-content { width: 95%; }
  .modal-tabs-img img { height: 140px; }
}



.tab-btn:hover {
  border: 1px solid rgb(122, 121, 121);
  background-color: #fcfcfc;
}

.tab-btn.active {
   background-color: rgb(15,23,42);
  color: white;
}



.location a {
  text-decoration: none;  
  color: #64748b;
  font-size: 12px;
}

.location a:visited {
  text-decoration: none;  
  color: #64748b;         
}

.location a:hover {
  text-decoration: underline;   
  color: #64748b;        
  cursor: pointer;        
}



div.pagination{
    margin-left: 700px;
    display: flex;
    margin-top: 50px;
    
}

button.previous{
    background-color:#f8fafc;
    border: none;
    font-size:15px;
    border:1px solid #ccc;
    border-radius: 5px;

}


button.next{
    margin-left: 10px;
     background-color:#f8fafc;
    border: none;
    font-size:15px;
    border:1px solid #ccc;
    border-radius: 5px;
    
}



.pagination button.active {
  background-color: rgb(15,23,42);
  color: white;
}


.page-btn {
  margin-left: 10px;
  padding: 6px 12px;
  background-color: white;
  border: 1px solid #ccc;
  cursor: pointer;
   height: 40px;
    width: 30px;
    border-radius: 3px;
}

.page-btn.active {
   background-color: rgb(15,23,42);
    height: 40px;
    width: 30px;
    border: none;
    color: white;
    border-radius: 3px;
    margin-left: 10px;
}


/* 
div.footer{
    background-color: rgb(241, 241, 241);
    height:100px ;
    width: 100%;
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #475569;
    position: absolute;
    margin-bottom: 0px;
   
 
} */



/* Modal background */
#savedSearchesModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

/* Modal content */
.saved-searches-content {
  background-color: #fff;
  margin: 10% auto; /* center vertically & horizontally */
  padding: 20px;
  border-radius: 10px;
  width: 400px; /* adjust as needed */
  max-height: 80%;
  overflow-y: auto; /* scroll if content too tall */
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}



div.section{
  margin-top: 55px;
margin-left: 10px;
  position: absolute;

  border-radius: 20px;
  height: 150px;
  width: 1250px;
}

p.section{
  margin-left: 10px;
}

div.section-buttons{
  gap: 5px;
  margin-top: 50px;
  margin-left: 5px;
  position: absolute;
  display: grid;
  grid-template-columns: repeat(8,150px);
  

}

button.section{
    width:150px;  
    height:40px;
    border-radius: 25px;
    background-color:white;
    border:0.1px solid #ececee;
    margin-top:5px;
    text-align:left;
    position: relative;
   
       
}


button.section:hover{
     width:150px;  
    height:40px;
    border-radius: 25px;
    border:0.1px solid #ccc;
    margin-top:5px;
    text-align:left
}
