/* css/style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --white: #ffffff;
    --sky-blue: #4DA8DA;
    --sky-blue-light: #E7F4FD;
    --sky-blue-dark: #2C8BC6;
    --orange: #FF7A45;
    --orange-light: #FFF0E8;
    --dark-gray: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #777777;
    --health-green: #2ECC71;
    --health-green-light: #E8F8EF;
    --tavern-purple: #9B59B6;
    --tavern-purple-light: #F4ECF7;
}

body {
    background-color: var(--white);
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--sky-blue), var(--sky-blue-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.logo-icon i {
    color: var(--white);
    font-size: 20px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--sky-blue-dark);
}

.logo-text span {
    color: var(--orange);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--sky-blue);
}

nav ul li a.active {
    color: var(--sky-blue-dark);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--orange);
    border-radius: 2px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--sky-blue);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1578662996442-48f60103fc96?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.hero h1 span {
    color: var(--sky-blue);
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--medium-gray);
}

/* Enhanced Search Section */
.search-section {
    background-color: var(--sky-blue-light);
    padding: 30px 0;
}

.search-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 18px 25px;
    border: 2px solid var(--sky-blue);
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.search-box input:focus {
    box-shadow: 0 0 0 3px rgba(77, 168, 218, 0.2);
}

.filter-select {
    min-width: 200px;
    padding: 15px 20px;
    border: 2px solid var(--sky-blue);
    border-radius: 50px;
    font-size: 16px;
    background-color: white;
    color: var(--dark-gray);
    outline: none;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-select:focus {
    box-shadow: 0 0 0 3px rgba(77, 168, 218, 0.2);
}

.search-btn {
    background-color: var(--orange);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.search-btn:hover {
    background-color: #e86a35;
}

/* Quick Filters */
.quick-filters {
    padding: 20px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--light-gray);
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-tag {
    padding: 8px 20px;
    background-color: var(--white);
    border: 2px solid var(--sky-blue);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sky-blue-dark);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tag:hover, .filter-tag.active {
    background-color: var(--sky-blue);
    color: white;
}

.filter-tag.orange {
    border-color: var(--orange);
    color: var(--orange);
}

.filter-tag.orange:hover, .filter-tag.orange.active {
    background-color: var(--orange);
    color: white;
}

.filter-tag.green {
    border-color: var(--health-green);
    color: var(--health-green);
}

.filter-tag.green:hover, .filter-tag.green.active {
    background-color: var(--health-green);
    color: white;
}

.filter-tag.purple {
    border-color: var(--tavern-purple);
    color: var(--tavern-purple);
}

.filter-tag.purple:hover, .filter-tag.purple.active {
    background-color: var(--tavern-purple);
    color: white;
}

/* Categories Section */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--sky-blue-dark);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

.categories {
    padding: 80px 0;
    background-color: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.category-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    padding: 30px 20px;
    border: 1px solid var(--light-gray);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--sky-blue);
}

.category-card.health:hover {
    border-color: var(--health-green);
}

.category-card.tavern:hover {
    border-color: var(--tavern-purple);
}

.category-icon {
    width: 70px;
    height: 70px;
    background-color: var(--orange-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.category-card.health .category-icon {
    background-color: var(--health-green-light);
}

.category-card.tavern .category-icon {
    background-color: var(--tavern-purple-light);
}

.category-icon i {
    font-size: 30px;
    color: var(--orange);
}

.category-card.health .category-icon i {
    color: var(--health-green);
}

.category-card.tavern .category-icon i {
    color: var(--tavern-purple);
}

.category-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.category-card p {
    color: var(--medium-gray);
    font-size: 14px;
}

/* Featured Listings */
.listings {
    padding: 80px 0;
    background-color: var(--sky-blue-light);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.listing-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border: 1px solid var(--light-gray);
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--sky-blue);
}

.listing-card.health:hover {
    border-color: var(--health-green);
}

.listing-card.tavern:hover {
    border-color: var(--tavern-purple);
}

.listing-image {
    height: 200px;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.listing-card:hover .listing-image img {
    transform: scale(1.05);
}

.listing-content {
    padding: 20px;
}

.listing-category {
    display: inline-block;
    background-color: var(--sky-blue-light);
    color: var(--sky-blue-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.listing-category.job {
    background-color: var(--orange-light);
    color: var(--orange);
}

.listing-category.health {
    background-color: var(--health-green-light);
    color: var(--health-green);
}

.listing-category.tavern {
    background-color: var(--tavern-purple-light);
    color: var(--tavern-purple);
}

.listing-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.listing-content p {
    color: var(--medium-gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.listing-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--light-gray);
    padding-top: 15px;
    margin-top: 15px;
}

.listing-rating {
    color: var(--orange);
    font-weight: 600;
}

.listing-location {
    color: var(--medium-gray);
    font-size: 14px;
}

.listing-location i {
    margin-right: 5px;
}

.listing-facility-type {
    display: inline-block;
    background-color: var(--health-green-light);
    color: var(--health-green);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
    margin-right: 5px;
}

.listing-facility-type.public {
    background-color: #E8F4FD;
    color: #2980B9;
}

.listing-facility-type.private {
    background-color: #FEF9E7;
    color: #D4AC0D;
}

.listing-job-type {
    background-color: var(--orange-light);
    color: var(--orange);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
}

/* Job Listings Section */
.job-listings {
    padding: 80px 0;
    background-color: var(--white);
}

.job-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.job-filter {
    padding: 10px 25px;
    background-color: var(--white);
    border: 2px solid var(--sky-blue);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sky-blue-dark);
    cursor: pointer;
    transition: all 0.3s;
}

.job-filter:hover, .job-filter.active {
    background-color: var(--sky-blue);
    color: white;
}

.job-filter.orange {
    border-color: var(--orange);
    color: var(--orange);
}

.job-filter.orange:hover, .job-filter.orange.active {
    background-color: var(--orange);
    color: white;
}

.job-filter.green {
    border-color: var(--health-green);
    color: var(--health-green);
}

.job-filter.green:hover, .job-filter.green.active {
    background-color: var(--health-green);
    color: white;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--sky-blue-light);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 28px;
    color: var(--sky-blue-dark);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--medium-gray);
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--orange-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-icon i {
    color: var(--orange);
    font-size: 20px;
}

.contact-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-gray);
}

.contact-text p {
    margin: 0;
    color: var(--medium-gray);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--sky-blue);
    outline: none;
}

.submit-btn {
    background-color: var(--orange);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background-color: #e86a35;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--orange);
}

.footer-col p {
    margin-bottom: 20px;
    color: #bbb;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--orange);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--orange);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .search-box, .filter-select, .search-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 28px;
    }
    
    .filter-tags, .job-filters {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .search-btn {
        margin-top: 10px;
    }
}