

/* styles.css */
body {
    font-family: 'koodak', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #161618;
    color: #161618;
    line-height: 1.6;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="60" viewBox="0 0 40 60" opacity="0.1"><rect x="5" y="5" width="30" height="50" fill="none" stroke="%2301ADEF" stroke-width="2"/><rect x="10" y="10" width="20" height="40" fill="none" stroke="%2301ADEF" stroke-width="1"/></svg>');
    background-repeat: repeat;
    cursor: default;
}

h1, h2, h3, h4 {
    font-family: 'koodak', sans-serif;
    color: #01ADEF;
}

header {
    background-color: #08075C;
    color: #E6E6E6;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
}

nav {
    background-color: #01ADEF;
    padding: 10px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: #E6E6E6;
    margin: 0 15px;
    text-decoration: none;
    font-family: 'koodak', sans-serif;
    transition: color 0.3s;
}

nav a:hover {
    color: #161618;
}

section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #BEBEBE;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    border-bottom: 2px solid #01ADEF;
    padding-bottom: 10px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s;
}

img:hover {
    transform: scale(1.05);
}

footer {
    background-color: #08075C;
    color: #E6E6E6;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.contact-info {
    background-color: rgba(190, 190, 190, 0.7);
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    text-align: center;
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #01ADEF;
    color: #E6E6E6;
    padding: 10px;
    cursor: pointer;
    display: none;
    border-radius: 50%;
    font-family: 'koodak', sans-serif;
    transition: background-color 0.3s;
}

.scroll-top:hover {
    background-color: #08075C;
}

.info-box {
    background-color: #D3D3D3;
    color: #161618;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* تنظیمات جدید برای اسلایدشو */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    min-height: 700px; /* ارتفاع ثابت برای جلوگیری از پرش */
    overflow: hidden; /* جلوگیری از نمایش محتوای اضافی */
}

/* تنظیمات تصاویر در اسلاید */
.slide img {
    width: 100%;
    height: 700px; /* ارتفاع ثابت برای تصاویر */
    object-fit: cover; /* مقیاس‌بندی تصویر بدون تغییر نسبت */
    border-radius: 8px;
}

.slide {
    display: none;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 10px;
    border: 1px solid #01ADEF;
    text-align: right;
}

thead tr {
    background-color: #08075C;
    color: #E6E6E6;
}

tbody tr:nth-child(even) {
    background-color: #BEBEBE;
}

tbody tr:hover {
    background-color: #A9A9A9;
}