/* Custom styles for Bootstrap website */
/* Override Bootstrap container max-width to 1200px */

.container,
.container-fluid {
    max-width: 1200px;
}

/* Header Styles */
header {
    background-color: #ffffff;
    padding: 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #f9ca24, #ff6b6b);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.navbar-nav .nav-link {
    color: #000000;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link i {
    margin-right: 0.5rem;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
}

.navbar-nav .nav-link:hover i {
    color: #007bff;
}

/* Hero Section Styles */
.hero-section {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ffffff;
    opacity: 0.9;
}

/* States Section Styles */
.states-section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #000000;
    text-align: left;
    margin-bottom: 30px;
}

.state-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background-color: #ffffff;
    transition: all 0.3s ease;
    height: 100%;
}

.state-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.state-card p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
}

/* Cities Section Styles */
.cities-section {
    padding: 60px 0;
}

/* Places Section Styles */
.places-section {
    padding: 60px 0;
}

/* Page Title Section (for state/city/place pages) */
.page-title-section {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #ffffff;
    opacity: 0.9;
}

/* Breadcrumb Section */
.breadcrumb-section {
    padding: 10px 0;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Footer Styles */
.footer-section {
    background-color: #212529;
    color: #ffffff;
    padding: 15px 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-left {
    font-size: 14px;
    color: #ffffff;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-left: auto;
}

.footer-separator {
    color: #ffffff;
    opacity: 0.5;
    font-size: 14px;
}

.footer-link {
    color: #ffffff;
    opacity: 0.8;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.footer-link:hover {
    opacity: 1;
    color: #ffffff;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
        margin-left: 0;
    }
}

/* States List Card Styles */
.states-list-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px;
    background-color: #ffffff;
    margin-bottom: 20px;
}

.states-list-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
}

.states-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.states-list li {
    margin-bottom: 8px;
}

.states-list li a {
    color: #000000;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: flex-start;
}

.states-list li a i {
    margin-right: 8px;
    flex-shrink: 0;
}

.states-list li a span {
    flex: 1;
    word-wrap: break-word;
    line-height: 1.4;
}

.states-list li a:hover {
    color: #007bff;
}

.states-list li a:hover i {
    color: #007bff;
}

/* Content Section Styles */
.content-title {
    font-size: 2rem;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    margin-top: 0;
}

.content-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000000;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-text {
    font-size: 1rem;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Cities Section Title */
.cities-section-title {
    margin-top: 40px;
}

/* Cities Row - 3 per row */

/* City Cards - Smaller font and reduced padding */
.cities-row .state-card {
    padding: 5px;
    background-color: #f8f9fa;
}

.cities-row .state-card p {
    font-size: 0.85rem;
}

/* Cities Page - Smaller font for city cards */
#cities-container .state-card p {
    font-size: 1rem;
}

#cities-container .state-card {
    padding: 5px;
}

/* Column Width Adjustments */
.sidebar-column {
    flex: 0 0 20%;
    max-width: 20%;
}

.content-column {
    flex: 0 0 55%;
    max-width: 55%;
}

.right-column {
    flex: 0 0 25%;
    max-width: 25%;
}

@media (max-width: 991.98px) {

    .sidebar-column,
    .content-column,
    .right-column {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* States Grid - 3 per row with reduced padding */
.states-grid .state-card {
    padding: 5px;
}

/* Link Styles */
.text-decoration-none {
    text-decoration: none;
}

.text-decoration-none:hover {
    text-decoration: none;
}

/* Searchable Dropdown Styles */
#city-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin-top: 2px;
}

#city-dropdown .city-option {
    padding: 0.5rem 1rem;
    color: #212529;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

#city-dropdown .city-option:hover {
    background-color: #f8f9fa;
    color: #212529;
}

#city-dropdown .city-option:active {
    background-color: #e9ecef;
}

/* Additional custom styles can be added here */

.my-1 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}