.project-description{
padding: 40px 40px 10px 40px;
background-color: #fff;
}
.project-description p{
font-size: 1.80rem;
font-family: 'Times New Roman', Times, serif;
font-weight: 600;
color: #333;
margin-bottom: 10px;
}
.projectDiv {
padding: 60px 0;
background: #f8f9fa;
}
.project-map-wrapper {
background: #fff;
border-radius: 12px; padding: 20px 20px;
overflow: hidden;
} .map-container {
position: relative;
width: 100%;
max-width: 1400px;
margin: 0 auto;
}
.map-image {
width: 100%;
height: auto;
display: block;
} .project-node {
position: absolute;
width: 36px;
height: 36px;
cursor: pointer;
z-index: 9;
transform: translate(-50%, -50%);
transition: transform 0.3s ease;
}
.project-node:hover {
transform: translate(-50%, -50%) scale(1.2);
z-index: 20;
} .flag-icon {
width: 36px;
height: 36px;
border-radius: 50%;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
position: relative;
z-index: 2;
transition: all 0.3s ease;
border: 3px solid #fff;
object-fit: cover;
}
.project-node:hover .flag-icon {
box-shadow: 0 4px 16px rgba(0, 123, 255, 0.4);
border-color: #007bff;
} .node-pulse {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 36px;
height: 36px;
border-radius: 50%;
background: rgba(0, 123, 255, 0.3);
animation: pulse 2s infinite;
z-index: 1;
}
@keyframes pulse {
0% {
transform: translate(-50%, -50%) scale(1);
opacity: 1;
}
100% {
transform: translate(-50%, -50%) scale(2);
opacity: 0;
}
} .project-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999;
animation: fadeIn 0.3s ease;
}
.project-modal.active {
display: block;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
} .modal-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(4px);
} .modal-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #fff;
border-radius: 16px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
max-width: 900px;
width: 90%;
max-height: 85vh;
overflow: hidden;
animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid rgba(255, 255, 255, 0.2);
}
@keyframes slideUp {
from {
transform: translate(-50%, -40%);
opacity: 0;
}
to {
transform: translate(-50%, -50%);
opacity: 1;
}
} .modal-close {
position: absolute;
top: 15px;
right: 15px;
width: 36px;
height: 36px;
border: none;
background: rgba(0, 0, 0, 0.1);
border-radius: 50%;
cursor: pointer;
font-size: 24px;
line-height: 1;
color: #333;
transition: all 0.3s ease;
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
}
.modal-close:hover {
background: rgba(220, 53, 69, 0.9);
color: #fff;
transform: rotate(90deg);
} .modal-body {
padding: 40px;
overflow-y: auto;
max-height: 85vh;
} .project-info {
padding-bottom: 25px;
border-bottom: 2px solid #e9ecef;
margin-bottom: 25px;
}
.project-title {
font-size: 24px;
font-weight: 700;
color: #212529;
margin: 0 0 20px 0;
line-height: 1.4;
}
.project-meta {
display: flex;
flex-direction: column;
gap: 12px;
}
.meta-item {
display: flex;
align-items: baseline;
font-size: 15px;
color: #495057;
gap: 8px;
}
.meta-label {
font-weight: 600;
color: #212529;
min-width: 80px;
}
.project-year,
.project-location,
.project-product {
color: #6c757d;
flex: 1;
} .project-images {
width: 100%;
}
.project-image-item {
position: relative;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
width: 100%;
}
.project-image-item img {
width: 100%;
height: auto;
max-height: 400px;
object-fit: cover;
display: block;
} @media (max-width: 1024px) {
.projectDiv {
padding: 40px 0;
}
.project-map-wrapper {
padding: 30px 15px;
}
.project-node {
width: 30px;
height: 30px;
}
.flag-icon {
width: 30px;
height: 30px;
}
.node-pulse {
width: 30px;
height: 30px;
}
.modal-content {
width: 85%;
max-width: 700px;
}
.modal-body {
padding: 30px;
}
.project-title {
font-size: 24px;
}
.project-image-item img {
max-height: 350px;
}
} @media (max-width: 768px) {
.project-description{
padding: 15px;
}
.project-description p{
font-size: 1.250rem;
}
.projectDiv {
padding: 30px 0;
}
.project-map-wrapper {
padding: 20px 10px;
border-radius: 8px;
}
.project-node {
width: 28px;
height: 28px;
}
.flag-icon {
width: 28px;
height: 28px;
}
.node-pulse {
width: 28px;
height: 28px;
}
.modal-content {
width: 95%;
max-height: 90vh;
border-radius: 12px;
}
.modal-body {
padding: 20px;
max-height: 90vh;
}
.project-title {
font-size: 20px;
margin-bottom: 15px;
}
.project-meta {
gap: 10px;
}
.meta-item {
font-size: 14px;
}
.meta-label {
min-width: 75px;
font-size: 14px;
}
.project-image-item img {
max-height: 300px;
}
.modal-close {
width: 32px;
height: 32px;
font-size: 20px;
top: 10px;
right: 10px;
}
} @media (max-width: 480px) {
.project-node {
width: 35px;
height: 35px;
}
.flag-icon {
width: 30px;
height: 30px;
border-width: 2px;
}
.node-pulse {
width: 30px;
height: 30px;
}
.project-title {
font-size: 18px;
margin-bottom: 12px;
}
.modal-body {
padding: 15px;
}
.project-info {
padding-bottom: 15px;
margin-bottom: 15px;
}
.meta-item {
font-size: 13px;
}
.meta-label {
min-width: 70px;
font-size: 13px;
}
} @media (hover: none) and (pointer: coarse) {
.project-node:active {
transform: translate(-50%, -50%) scale(1.15);
}
.project-node:hover {
transform: translate(-50%, -50%);
}
.project-node:active .flag-icon {
box-shadow: 0 4px 16px rgba(0, 123, 255, 0.4);
}
}