.back-btn {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 999px;
    margin-bottom: 32px;
    display: inline-block;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--light-brown);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.museum-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
    width: 100%;
}
.museum-card.location-card {
    grid-column: auto;
}

.museum-card.location-card iframe {
    height: 300px;
}

.museum-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.museum-card:hover {
    transform: translateY(-2px);
    border-color: rgba(141, 110, 99, 0.8);
    background: rgba(255, 255, 255, 0.06);
}

.museum-card h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin: 0 0 16px 0;
    font-family: 'StretchPro', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
}

.museum-card p {
    color: #f4eae1;
    line-height: 1.75;
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.museum-card ul {
    color: #f4eae1;
    line-height: 1.75;
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: 500;
    padding-left: 24px;
}

.museum-card ul li {
    margin-bottom: 8px;
}

.museum-card a {
    color: var(--light-brown);
    text-decoration: none;
    font-weight: bold;
}

.museum-card a:hover {
    text-decoration: underline;
}

.image-button {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    margin-top: 20px;
    color: #fff;
    text-decoration: none;
    width: 100%;
}

.image-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.75) 100%);
    mix-blend-mode: multiply;
}

.image-button span {
    position: relative;
    z-index: 1;
    display: block;
    padding: 24px;
}

.image-button span:first-child {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.image-button__sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
}

.image-button:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.24);
} 

.museum-card iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 10px;
    margin-top: 18px;
}

table {
    width: 100%;
    margin: 18px 0 0 0;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(2, 2, 2, 0.35);
    border: 1px solid rgba(141, 110, 99, 0.35);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.museum-card table {
    display: table; 
}

table th,
table td {
    padding: 14px 18px;
    text-align: center;
    border-bottom: 1px solid rgba(141, 110, 99, 0.25);
    color: #f4eae1;
    font-size: 1.15rem;
    font-weight: bold;
    word-wrap: break-word;
}

table th {
    font-weight: 800;
    letter-spacing: 0.8px;
    background: rgba(88, 64, 64, 0.9);
}

table thead {
    background: linear-gradient(135deg, rgba(141, 110, 99, 0.95), rgba(93, 64, 55, 0.7));
    border-bottom: 2px solid rgba(141, 110, 99, 0.9);
}

table thead th {
    color: #ffffff;
    font-family: 'StretchPro', serif;
    font-size: 1.15rem;
}

table tbody tr {
    transition: all 0.25s ease;
}

table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

table tbody tr:hover {
    background: rgba(141, 110, 99, 0.2);
    border-bottom-color: rgba(141, 110, 99, 0.5);
}

table tbody tr:last-child td {
    border-bottom: none;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}


.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    display: block; /* ده اللي هيخلي الجدول يتفك من الـ flex */
}

.table-responsive table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(141, 110, 99, 0.4);
    border-radius: 12px;
}
/* الكلاس الذي يحتوى الجدول لضمان التجاوب */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    display: block;
}

/* التنسيق الجمالي للجدول (نفس ألوانك وتصميمك) */
table {
    width: 100%;
    min-width: 500px; /* يضمن عدم انضغاط الجدول */
    border-collapse: collapse;
    background: rgba(2, 2, 2, 0.35);
    border: 1px solid rgba(141, 110, 99, 0.35);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

th, td {
    padding: 14px 18px;
    text-align: center;
    border-bottom: 1px solid rgba(141, 110, 99, 0.25);
    color: #f4eae1;
    font-size: 1.15rem;
    font-weight: bold;
}

thead {
    background: linear-gradient(135deg, rgba(141, 110, 99, 0.95), rgba(93, 64, 55, 0.7));
}

th {
    color: #ffffff;
    font-family: 'StretchPro', serif;
    text-transform: uppercase;
}

tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

/* تنسيق الجدول ليتطابق مع ألوان الكاردات */
.table-responsive table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    /* نفس خلفية الكارد */
    background: rgba(255, 255, 255, 0.03); 
    /* نفس إطار الكارد */
    border: 1px solid rgba(255, 255, 255, 0.06); 
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.table-responsive th, .table-responsive td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid rgba(141, 110, 99, 0.3);
    color: #f4eae1; /* لون النص المعتمد في الـ p */
    font-size: 1.1rem;
}

.table-responsive thead {
    /* لون الهيدر ليتماشى مع التباين */
    background: rgba(141, 110, 99, 0.2);
}

.table-responsive th {
    font-family: 'StretchPro', serif;
    color: #ffffff;
    text-transform: uppercase;
}

.table-responsive tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}
