html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #8B0000; 
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: #fff; 
}

.floating-header {
    background: #ffffff;
    width: 60%;               
    margin: 40px auto 0 auto;  
    padding: 20px;
    border-radius: 15px;       
    box-shadow: 0 0 20px rgba(0,0,0,0.5); 
    text-align: center;
}

.floating-header h1 {
    margin: 0;
    color: #0a0a0a;
    font-size: 24px;
}


.menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.menu .btn {
    display: inline-block;
    background: rgba(121, 1, 1, 0.623);
    padding: 10px 18px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.473);
}

.menu .btn:hover {
    background: #b30000;
}
.my-table {
  width: 80%;
  margin: 20px auto;
  border-collapse: collapse;
  direction: rtl;
  text-align: center;
  font-family: Arial, sans-serif;
}

.my-table th, .my-table td {
  padding: 8px 12px;
  border: 1px solid #ccc;
}

.my-table thead {
  background-color: #444;
  color: white;
}

.my-table tbody tr:nth-child(even) {
  background-color: #f9f9f9; 
}

.my-table tbody tr:hover {
  background-color: #eaeaea; 
}

.corner-logo {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.corner-logo {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 1000;
}

.club-logo-corner {
    width: 140px;  
    height: 140px;
    object-fit: contain;
    border-radius: 50%;
    border: 5px solid #FFD700;
    padding: 6px; 
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); 
    transition: all 0.3s ease;
    animation: floatLogo 3s ease-in-out infinite alternate;
}

.club-logo-corner:hover {
    transform: rotate(5deg) scale(1.15);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

@keyframes floatLogo {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-15px); 
    }
}


.championships-container {
    max-width: 1200px;
    margin: 40px auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.473);
    padding: 30px;
    overflow: hidden;
}

.section-title {
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #af0000;
    font-size: 28px;
}

.championships-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 30px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.championships-table th {
    background-color: #690000;
    color: #ecf0f1;
    padding: 18px 15px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    border: none;
    position: relative;
}


.wins-column, .years-column {
    border-left: 1px solid #ddd;
}


.championships-table th.wins-column,
.championships-table th.years-column {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.championships-table td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #ddd;
    border-top: none;
    position: relative;
}


.championships-table tr {
    border-bottom: 1px solid #ddd;
}

.championships-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.championships-table tr:nth-child(odd) {
    background-color: #ffffff;
}

.championships-table tr:hover {
    background-color: #e8f4fc;
    transition: background-color 0.3s ease;
}


.wins-column {
    width: 15%;
    text-align: center;
    font-weight: bold;
    color: #2c3e50;
}

.years-column {
    width: 35%;
    text-align: right;
    direction: rtl;
    padding-right: 20px;
}

.championship-column {
    width: 50%;
    text-align: right;
    direction: rtl;
    padding-right: 20px;
    color: #2c3e50;
    font-weight: 500;
}

.years-cell {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
    text-align: right;
    color: #34495e;
    line-height: 1.6;
}


.championships-table td:not(:last-child),
.championships-table th:not(:last-child) {
    border-right: 1px solid #ddd;
}


.championships-table td:last-child,
.championships-table th:last-child {
    border-right: none;
}



.club-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #FFD700;
}

.club-subtitle {
    color: #FFD700;
    font-size: 22px;
    margin-top: 10px;
    font-style: italic;
}

.club-info-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
    border: 2px solid #FFD700;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.info-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stadium-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.stadium-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.stadium-img:hover {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(139, 0, 0, 0.9), transparent);
    color: white;
    padding: 20px;
    text-align: center;
}

.image-overlay h3 {
    margin: 0;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.basic-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e9ecef;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #dee2e6;
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-item i {
    font-size: 24px;
    color: #8B0000;
    width: 40px;
    text-align: center;
}

.info-item h4 {
    color: #8B0000;
    margin: 0 0 5px 0;
    font-size: 18px;
}

.info-item p {
    margin: 0;
    color: #495057;
    font-size: 16px;
}

.details-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-right: 5px solid #8B0000;
    transition: transform 0.3s ease;
}

.info-section:hover {
    transform: translateY(-5px);
}

.info-section h2 {
    color: #8B0000;
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 22px;
}

.info-section h2 i {
    color: #FFD700;
}

.info-section p {
    color: #495057;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 0;
}

.contact-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid #FFD700;
}

.contact-section h2 {
    color: #8B0000;
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.contact-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-item:hover {
    background: #8B0000;
    border-color: #FFD700;
    transform: translateY(-5px);
}

.contact-item:hover i,
.contact-item:hover h4,
.contact-item:hover p {
    color: white;
}

.contact-item i {
    font-size: 32px;
    color: #8B0000;
    margin-bottom: 15px;
    display: block;
}

.contact-item h4 {
    color: #8B0000;
    margin: 0 0 10px 0;
    font-size: 18px;
}

.contact-item p {
    color: #495057;
    margin: 0;
    font-size: 16px;
}





.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: #8B0000;
    color: white;
    border: 2px solid #FFD700;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background-color: #FFD700;
    color: #8B0000;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.back-to-top-btn:active {
    transform: translateY(0);
}

.back-to-top-btn.with-text {
    width: auto;
    height: auto;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

.presidents-section {
    background: white;
    padding: 30px;
    margin: 30px auto;
    max-width: 900px;
    border-radius: 10px;
    border: 2px solid #8B0000;
}

.presidents-section h1 {
    color: #8B0000;
    text-align: center;
    margin-bottom: 10px;
    font-size: 32px;
}

.presidents-section h2 {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 20px;
    font-weight: normal;
}


.honorary-president {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-right: 5px solid #FFD700;
}

.honorary-president h3 {
    color: #8B0000;
    margin-bottom: 15px;
    font-size: 24px;
    text-align: center;
}

.presidents-list {
    margin-top: 20px;
}

.president-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.president-item.current {
    background: #fff9e6;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #FFD700;
}

.president-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.years {
    width: 120px;
    color: #8B0000;
    font-weight: bold;
    font-size: 18px;
    padding: 5px;
    text-align: center;
}

.president-info {
    flex: 1;
    padding-right: 20px;
}

.president-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.5;
}

.president-role {
    color: #666;
    font-size: 16px;
    margin: 0;
    font-style: italic;
}

