/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Body styling */
body {
	background-color: #e7201a;
    margin: 0;
    padding: 0;
}

/* Header styling */
.header {
	background-image: url(../img/shuan.png);
  /*  background-size: 100% 100%; */
    background-position: center top;
    background-repeat: no-repeat;
    width: 100%;
    max-width: 1920px;
    height: 774px;
    margin: 0 auto;
    position: relative;
}

/* Navigation menu styling */
.nav-menu {
    background-color: #b10300;
    position: absolute;
    bottom: 223px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1920px;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.nav-menu li {
    flex: 0 0 auto;
    text-align: center;
}

.nav-menu a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 60px;
    font-size: 20px;
    font-weight: normal;
    transition: background-color 0.3s;
    white-space: nowrap;
        font-weight: 600;
    
}

.nav-menu a:hover {
    background-color: #8b0200;
}

.nav-menu a.active {
    background-color: #8b0200;
    font-weight: bold;
}

/* Main content container */
.container {
	max-width: 1920px;
	margin: 0 auto;
}

/* Image wrapper and centering */
.image-wrapper {
	display: block;
    width: 60%;
    /* max-width: 1920px; */
    height: auto;
    margin: 0 auto;
    /* margin-top: -51px; */
    position: relative;
    z-index: 10000;
    top: -208px;
}


.center-image {
	display: block;
	width: 100%;
	max-width: 1920px;
	height: auto;
	margin: 0 auto;
}

/* Modal styling */
.modal {
	display: none;
	position: fixed;
	z-index: 99999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.8);
}

.modal.show {
	display: flex;
	justify-content: center;
	align-items: center;
}

.modal-content {
	position: relative;
	max-width: 90%;
	max-height: 90vh;
	margin: auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

.modal-image {
	max-width: 100%;
	max-height: 90vh;
	width: auto;
	height: auto;
	display: block;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
	cursor: grab;
	transition: transform 0.1s ease-out;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

.modal-image:active {
	cursor: grabbing;
}

.modal-close {
	position: absolute;
	top: 20px;
	right: 40px;
	color: #ffffff;
	font-size: 48px;
	font-weight: bold;
	cursor: pointer;
	z-index: 100000;
	transition: color 0.3s;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.modal-close:hover,
.modal-close:focus {
	color: #e7201a;
}

.modal-hint {
	position: absolute;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: #ffffff;
	font-size: 16px;
	background-color: rgba(0, 0, 0, 0.6);
	padding: 10px 20px;
	border-radius: 20px;
	z-index: 100001;
	pointer-events: none;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}