* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(270deg, #667eea, #764ba2);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto 5rem;
}
.hor-ad {
  /* padding: 2rem 0; */
  text-align: center;
}

.title {
    text-align: center;
    padding: 12vh 1vh 8vh;
    color: white;
}
.title h1 {
    font-size: 2.6rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.title p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.search-filter {
    margin: 0 auto;
    padding: 20px;
    max-width: 400px;
}
.search-input {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
.search-input:focus {
    outline: none;
    transform: translateY(-2px);
}

a {
    text-decoration: none;
}
a:hover {
    font-weight: bold;
}
.emoji {
    font-size: 1.2rem;
}
/* court styles */
.courts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 20px;
    padding: 20px;
}
.court-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.court-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}
.court-header {
    color: var(--bkup-color);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items:flex-start;
}
.court-name {
    color: var(--color2);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
}
.stars {
    color: #f39c12;
    font-size: 1.1rem;
}
.address {
    color: #7f8c8d;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    gap: 5px;
}
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1rem;
}
.feature-tag {
    background: var(--bkup-color);
    color: var(--off-white);
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 0.85rem;
}
.description {
    margin-bottom: 15px;
}
.court-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
}
.cost {
    font-weight: normal;
}
.location-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
}
.no-results {
    text-align: center;
    color: var(--off-white);
    margin-bottom: 10vh;
}
/* park styles */
.parks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 20px;
    padding: 20px;
}
.park-card {
    background: white;
    border: 1px solid white;
    border-radius: var(--bor-rad, 10px);
    overflow: hidden;
    position: relative;
}
.park-card:hover {
    transform: translateY(-10px);
}
.park-header {
    background: linear-gradient(45deg, var(--color1, #4CAF50), #45a049);
    color: white;
    padding: 25px;
    position: relative;
}
.park-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.park-neighborhood {
    color: var(--off-white);
}
.adjacent-neighborhoods {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
}
.park-content {
    padding: 25px;
}
.park-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.park-address {
    background: var(--off-white, #f8f9fa);
    padding: 15px;
    border-radius: var(--bor-rad, 10px);
    margin-bottom: 20px;
    border-left: 4px solid var(--color1, #4CAF50);
}
.address-link {
    color: #333;
    display: block;
    transition: color 0.3s ease;
    cursor: pointer;
}
.address-link:hover {
    color: var(--color1, #4CAF50);
}
.hours-info {
    background: var(--off-white, #f8f9fa);
    padding: 15px;
    border-radius: var(--bor-rad, 10px);
    margin-bottom: 15px;
    border-left: 4px solid #2196F3;
}
.amenities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}
.amenity {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-radius:var(--bor-rad, 10px);
    font-size: 0.9rem;
    position: relative;
    cursor: help;
}
.amenity.available {
    background: #e8f5e8;
    border: 1px solid var(--color1, #4CAF50);
}
.amenity.limited {
    background: #fff3cd;
    border: 1px solid #ffc107;
}
.amenity.unavailable {
    background: #f8d7da;
    border: 1px solid #dc3545;
    opacity: 0.6;
}
.special-features {
    background: #fff3e0;
    padding: 15px;
    border-radius: var(--bor-rad, 10px);
    border-left: 4px solid #ff9800;
}
.special-features h4 {
    color: #e65100;
    margin-bottom: 8px;
}
.website-link {
    display: inline-block;
    background: var(--color1, #4CAF50);
    color: white;
    padding: 12px 20px;
    border-radius: var(--bor-rad, 10px);
    font-weight: 500;
    margin-top: 15px;
    transition: background 0.3s ease;
}
.website-link:hover {
    background: #45a049;
}
.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 8px 12px;
    border-radius:var(--bor-rad, 10px);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
}
.amenity:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .title h1 { font-size: 2rem; }
    .courts-grid { grid-template-columns: 1fr; }
    .court-header { gap: 10px; }
}
