/*
Theme Name: City of Evansville, Indiana
Description: A modern, responsive WordPress theme for the City of Evansville local directory website
Version: 1.0
Author: Claude Code
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}

.col-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

/* Header Styles */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 50px;
    width: auto;
    margin-right: 15px;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0 20px;
}

.main-navigation a {
    color: #4b5563;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.current {
    color: #2563eb;
    border-bottom-color: #2563eb;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
.content-section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

.section-title.h3 {
    font-size: 2rem;
}

/* Card Styles */
.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

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

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

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.card-title.h3 {
    font-size: 1.1rem;
}

.card-title.h4 {
    font-size: 1rem;
}

.card-meta {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.card-description {
    color: #4b5563;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Dropdown Styles */
.business-dropdown {
    width: 100%;
    padding: 12px 20px;
    font-size: 1.1rem;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.business-dropdown:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Rating Styles */
.rating-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
}

.star.filled {
    color: #fbbf24;
}

.star.empty {
    color: #d1d5db;
}

.rating-text {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Work Hours Styles */
.work-hours {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.work-hours h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.day-hours {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.day-hours:last-child {
    border-bottom: none;
}

.day {
    font-weight: 500;
    color: #374151;
}

.hours {
    color: #6b7280;
}

.current-status {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
}

.status-open {
    background: #dcfce7;
    color: #166534;
}

.status-closed {
    background: #fee2e2;
    color: #991b1b;
}

/* Contact Info Styles */
.contact-info {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.contact-info h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.contact-label {
    font-weight: 500;
    min-width: 80px;
}

/* Place Topics Styles */
.place-topics {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.place-topics h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.topic-item {
    background: #e5e7eb;
    padding: 0.25rem 0.5rem;
    border-radius: 16px;
    font-size: 0.875rem;
    color: #374151;
}

.topic-count {
    color: #6b7280;
    font-weight: 500;
}

/* Attributes Styles */
.attributes-section {
    margin: 2rem 0;
}

.attributes-section h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.attributes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.attribute-item {
    background: #dcfce7;
    color: #166534;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
}

.unavailable-attributes .attribute-item {
    background: #fee2e2;
    color: #991b1b;
}

/* Breadcrumbs */
.breadcrumbs {
    background: #f3f4f6;
    padding: 1rem 0;
    font-size: 0.875rem;
}

.breadcrumbs a {
    color: #4b5563;
}

.breadcrumbs .current {
    color: #1f2937;
    font-weight: 500;
}

/* FAQ Accordion */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: #f9fafb;
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    color: #1f2937;
    border: none;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #f3f4f6;
}

.faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Footer Styles */
.site-footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .col-6, .col-4, .col-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .main-navigation ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .main-navigation li {
        margin: 0;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .main-navigation a {
        padding: 1rem 20px;
    }
    
    .header-content {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 600px;
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .card-content {
        padding: 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background: #1d4ed8;
    text-decoration: none;
    color: white;
}

.btn-secondary {
    background: #6b7280;
}

.btn-secondary:hover {
    background: #4b5563;
}