/**
 * Theme Name: GeneratePress Child
 * Template:   generatepress
 */

 :root {
    --green-dark-ascent: #006400;
    --green-lighter: #008000;
  }


/* text color */ 
.listing-card h2 a{
    color: var(--green-dark-ascent);
}


/* taxi arcive page */
 .listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.listings-grid article , #search_results_cards article {
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 4px;
}

.listing-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* end taxi arcive page */

/* all taxis  page */
.location-list {
    list-style: none;
    padding-left: 0;
}

.location-sublist {
    list-style: none;
    padding-left: 20px; /* Indentation for child items */
    margin-top: 10px;
}

.location-list li, .location-sublist li {
    margin-bottom: 10px;
}

.location-list a, .location-sublist a {
    text-decoration: none;
    color: #333;
}

.location-list a:hover, .location-sublist a:hover {
    color: #007bff;
}
/* end all taxis  page */

/* google map page */

#search_input{
    border-color: #ddd;
}

#search_button{
    padding: 12px 24px;
    background: var(--green-dark-ascent); /* Dark green */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
#search_button:hover {
    background: var(--green-lighter); /* Lighter green */
}



@media only screen and (min-width: 768px) {
    #search_input{
        width: 500px;
    }
}

.map-search-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    height: calc(100vh - 100px);
    gap: 20px;
    padding: 20px;
}

#map-search-sidebar {
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
}

#map-canvas {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
}

.search-controls input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.listing-card {
    padding: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.listing-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.view-listing {
    display: inline-block;
    padding: 8px 16px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
}


/* card preview venue */
.listing-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5; /* Light gray background */
    display: flex;
    align-items: center;
    justify-content: center;
}

.listing-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* Placeholder for listing images */
.listing-thumbnail {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10L55 35H45V50H15V35H5L30 10Z' fill='%23cccccc'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60px;
    min-height: 200px;
    width: 100%;
    background-color: #e0e0e0; /* Darker gray background */
}
/****** end card preview venue ******/

/* end google map page */





/******** ai code to style header and footer ***********/
/* Header styling */
header{
    margin-bottom: 50px;
}

.site-header, .main-navigation, .main-navigation ul  {
    background-color: var(--green-dark-ascent) !important; /* Dark green */
}

/* unvisited link */
.site-header .main-navigation .main-nav ul li a:link,
.site-header .main-navigation .main-nav ul li a:visited, 
.site-header .main-navigation .main-nav ul li a:active,
.site-header .main-navigation .main-nav ul li a:hover,
.main-title a {
    color: white;    
}
.site-header .main-navigation .main-nav ul li a:hover 
{
    text-decoration: underline;
}

.main-navigation .main-nav ul li a, .main-navigation .menu-toggle, .main-navigation .menu-bar-items {
    color: white;
}

.gp-icon svg { /* burger and x close */
    fill: white;
}


/* Footer styling */
#footer-widgets{
    background-color: var(--green-dark-ascent) !important; /* Dark green */
}

#footer-widgets a:link,
#footer-widgets a:visited, 
#footer-widgets a:active,
#footer-widgets a:hover {
    color: white;  
    text-decoration: none;  
}
#footer-widgets h2, #footer-widgets p, #footer-widgets div {
    color: white;
}
#footer-widgets a:hover 
{
    text-decoration: underline;
}

#footer-widgets{
    margin-top: 50px;
}

/******** ai code to style header and footer ***********/