/* Barnesboro Page Specific Styles */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000 0%, #2a2a2a 100%);
    color: #FFD700;
    padding: 70px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 20px;
    color: #FFF;
}

/* Content Container */
.content-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Historic Photo Section */
.historic-photo-section {
    background-color: #2a2a2a;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border-left: 5px solid #FFD700;
    text-align: center;
}

.historic-photo-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 3px solid #FFD700;
    margin-bottom: 20px;
}

.photo-caption {
    color: #FFD700;
    font-size: 18px;
    font-style: italic;
    margin-top: 15px;
}

/* History Section */
.history-section {
    background-color: #2a2a2a;
    padding: 50px 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border-left: 5px solid #FFD700;
}

.history-section h2 {
    color: #FFD700;
    font-size: 36px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #FFD700;
}

.history-section h3 {
    color: #FFD700;
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.history-section p {
    color: #e0e0e0;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.history-section ul {
    color: #e0e0e0;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    margin-left: 30px;
}

.history-section li {
    margin-bottom: 10px;
}

.history-section blockquote {
    background-color: #333;
    border-left: 4px solid #FFD700;
    padding: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #c0c0c0;
    font-size: 18px;
}

/* Business Directory Section */
.business-directory {
    background-color: #2a2a2a;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border-left: 5px solid #FFD700;
}

.business-directory h2 {
    color: #FFD700;
    font-size: 36px;
    margin-bottom: 25px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.business-directory p {
    color: #c0c0c0;
    text-align: center;
    margin-bottom: 25px;
    font-size: 16px;
}

.business-list {
    columns: 3;
    column-gap: 30px;
    max-height: 400px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.business-list.expanded {
    max-height: none;
}

.business-item {
    break-inside: avoid;
    padding: 12px 15px;
    color: #e0e0e0;
    font-size: 15px;
    background-color: #333;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.business-item:hover {
    background-color: #FFD700;
    color: #000;
    border-color: #FFD700;
    transform: translateX(5px);
}

.expand-btn {
    display: block;
    margin: 30px auto 0;
    padding: 12px 30px;
    background-color: #FFD700;
    color: #000;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.expand-btn:hover {
    background-color: #FFF;
    transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .business-list {
        columns: 2;
        column-gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 38px;
    }

    .business-list {
        columns: 1;
    }

    .history-section,
    .historic-photo-section,
    .business-directory {
        padding: 30px 20px;
    }
}
