:root {
--eucon-font-primary: "Poppins", "Helvetica Neue", Helvetica, Arial,
sans-serif;
} .eucon-project-gallery {
padding: 80px 0;
background-color: #ffffff;
font-family: var(--eucon-font-primary);
}
.eucon-project-gallery-container {
max-width: 1400px;
margin: 0 auto;
padding: 0 20px;
} .eucon-project-gallery-header {
text-align: center;
margin-bottom: 60px;
}
.eucon-project-gallery-title {
font-family: var(--eucon-font-primary);
font-size: 2.5rem;
font-weight: 700;
color: #1e3a5f;
margin: 0 0 16px 0;
line-height: 1.2;
}
.eucon-project-gallery-description {
font-family: var(--eucon-font-primary);
font-size: 1.125rem;
color: #5a6a7a;
max-width: 700px;
margin: 0 auto;
line-height: 1.6;
} .eucon-project-gallery-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
} @media (max-width: 1024px) {
.eucon-project-gallery-grid {
grid-template-columns: repeat(2, 1fr);
gap: 24px;
}
} @media (max-width: 640px) {
.eucon-project-gallery {
padding: 60px 0;
}
.eucon-project-gallery-grid {
grid-template-columns: 1fr;
gap: 20px;
}
.eucon-project-gallery-header {
margin-bottom: 40px;
}
.eucon-project-gallery-title {
font-size: 2rem;
}
.eucon-project-gallery-description {
font-size: 1rem;
}
} .eucon-project-gallery-card {
background: #ffffff;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
transition:
transform 0.3s ease,
box-shadow 0.3s ease;
display: flex;
flex-direction: column;
border: 1px solid #e2e8f0;
}
.eucon-project-gallery-card:hover {
transform: translateY(-8px);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
} .eucon-project-gallery-card-image {
position: relative;
width: 100%;
padding-top: 66.67%; overflow: hidden;
}
.eucon-project-gallery-card-image img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.eucon-project-gallery-card:hover .eucon-project-gallery-card-image img {
transform: scale(1.08);
}
.eucon-project-gallery-card-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
to bottom,
transparent 50%,
rgba(0, 0, 0, 0.4) 100%
);
opacity: 0;
transition: opacity 0.3s ease;
}
.eucon-project-gallery-card:hover .eucon-project-gallery-card-overlay {
opacity: 1;
} .eucon-project-gallery-card-badges {
position: absolute;
top: 12px;
right: 12px;
display: flex;
gap: 8px;
z-index: 2;
}
.eucon-project-gallery-card-badges .badge {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 6px 10px;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 600;
backdrop-filter: blur(8px);
}
.eucon-project-gallery-card-badges .badge-photos {
background: rgba(255, 255, 255, 0.9);
color: #1e3a5f;
}
.eucon-project-gallery-card-badges .badge-diagrams {
background: rgba(30, 58, 95, 0.9);
color: #ffffff;
} .eucon-project-gallery-card-content {
padding: 24px;
display: flex;
flex-direction: column;
flex-grow: 1;
}
.eucon-project-gallery-card-title {
font-family: var(--eucon-font-primary);
font-size: 1.375rem;
font-weight: 600;
color: #1e3a5f;
margin: 0 0 8px 0;
line-height: 1.3;
}
.eucon-project-gallery-card-location {
font-family: var(--eucon-font-primary);
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 0.875rem;
color: #64748b;
margin: 0 0 12px 0;
}
.eucon-project-gallery-card-location svg {
flex-shrink: 0;
color: #94a3b8;
}
.eucon-project-gallery-card-description {
font-family: var(--eucon-font-primary);
font-size: 0.9375rem;
color: #5a6a7a;
line-height: 1.6;
margin: 0 0 20px 0;
flex-grow: 1;
} .eucon-project-gallery-card-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px 24px;
background: #1e3a5f;
color: #ffffff;
border: none;
border-radius: 8px;
font-family: var(--eucon-font-primary);
font-size: 0.9375rem;
font-weight: 600;
cursor: pointer;
transition:
background-color 0.3s ease,
transform 0.2s ease;
align-self: flex-start;
}
.eucon-project-gallery-card-button:hover {
background: #2c5282;
transform: translateX(4px);
}
.eucon-project-gallery-card-button:focus {
outline: 2px solid #1e3a5f;
outline-offset: 2px;
}
.eucon-project-gallery-card-button svg {
transition: transform 0.3s ease;
}
.eucon-project-gallery-card-button:hover svg {
transform: translateX(4px);
}
.eucon-project-gallery-card-no-images {
font-size: 0.875rem;
color: #94a3b8;
font-style: italic;
} .eucon-project-lightbox {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 99999;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
transition:
opacity 0.3s ease,
visibility 0.3s ease;
}
.eucon-project-lightbox[aria-hidden="false"] {
opacity: 1;
visibility: visible;
}
.eucon-project-lightbox-backdrop {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.92);
backdrop-filter: blur(8px);
}
.eucon-project-lightbox-container {
position: relative;
width: 100%;
height: 100%;
max-width: 1400px;
display: flex;
flex-direction: column;
padding: 20px;
z-index: 1;
} .eucon-project-lightbox-header {
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 16px;
flex-shrink: 0;
gap: 16px;
flex-wrap: wrap;
}
.eucon-project-lightbox-title {
font-family: var(--eucon-font-primary);
font-size: 1.25rem;
font-weight: 600;
color: #ffffff;
margin: 0;
} .eucon-project-lightbox-filter {
display: flex;
gap: 8px;
flex: 1;
justify-content: center;
}
.eucon-project-lightbox-filter .filter-btn {
padding: 8px 16px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 20px;
color: rgba(255, 255, 255, 0.7);
font-family: var(--eucon-font-primary);
font-size: 0.875rem;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
}
.eucon-project-lightbox-filter .filter-btn:hover {
background: rgba(255, 255, 255, 0.15);
color: #ffffff;
}
.eucon-project-lightbox-filter .filter-btn.active {
background: #ffffff;
color: #1e3a5f;
border-color: #ffffff;
}
.eucon-project-lightbox-close {
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
background: rgba(255, 255, 255, 0.1);
border: none;
border-radius: 50%;
color: #ffffff;
cursor: pointer;
transition:
background-color 0.3s ease,
transform 0.2s ease;
}
.eucon-project-lightbox-close:hover {
background: rgba(255, 255, 255, 0.2);
transform: scale(1.1);
}
.eucon-project-lightbox-close:focus {
outline: 2px solid #ffffff;
outline-offset: 2px;
} .eucon-project-lightbox-content {
flex-grow: 1;
display: flex;
align-items: center;
justify-content: center;
position: relative;
min-height: 0;
overflow: hidden;
}
.eucon-project-lightbox-image-wrapper {
position: relative;
max-width: 100%;
max-height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.eucon-project-lightbox-image {
max-width: 100%;
max-height: calc(100vh - 220px);
object-fit: contain;
border-radius: 8px;
opacity: 0;
transition: opacity 0.3s ease;
}
.eucon-project-lightbox-image.loaded {
opacity: 1;
} .eucon-project-lightbox-image-type {
position: absolute;
bottom: 16px;
left: 16px;
padding: 8px 16px;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
display: none;
}
.eucon-project-lightbox-image-type.photo {
display: block;
background: rgba(255, 255, 255, 0.9);
color: #1e3a5f;
}
.eucon-project-lightbox-image-type.diagram {
display: block;
background: rgba(30, 58, 95, 0.9);
color: #ffffff;
} .eucon-project-lightbox-loader {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: none;
}
.eucon-project-lightbox-loader.active {
display: block;
}
.eucon-project-lightbox-loader .spinner {
width: 48px;
height: 48px;
border: 3px solid rgba(255, 255, 255, 0.2);
border-top-color: #ffffff;
border-radius: 50%;
animation: project-lightbox-spin 0.8s linear infinite;
}
@keyframes project-lightbox-spin {
to {
transform: rotate(360deg);
}
} .eucon-project-lightbox-nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 56px;
height: 56px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.1);
border: none;
border-radius: 50%;
color: #ffffff;
cursor: pointer;
transition:
background-color 0.3s ease,
transform 0.2s ease;
z-index: 2;
}
.eucon-project-lightbox-prev {
left: 20px;
}
.eucon-project-lightbox-next {
right: 20px;
}
.eucon-project-lightbox-nav:hover {
background: rgba(255, 255, 255, 0.2);
}
.eucon-project-lightbox-nav:focus {
outline: 2px solid #ffffff;
outline-offset: 2px;
}
.eucon-project-lightbox-nav:disabled {
opacity: 0.3;
cursor: not-allowed;
}
.eucon-project-lightbox-nav:disabled:hover {
background: rgba(255, 255, 255, 0.1);
} .eucon-project-lightbox-footer {
padding-top: 16px;
flex-shrink: 0;
}
.eucon-project-lightbox-counter {
text-align: center;
color: rgba(255, 255, 255, 0.8);
font-size: 0.9375rem;
margin-bottom: 16px;
}
.eucon-project-lightbox-counter .current {
font-weight: 600;
color: #ffffff;
} .eucon-project-lightbox-thumbnails {
display: flex;
justify-content: center;
gap: 8px;
overflow-x: auto;
padding: 4px 0;
max-width: 100%;
}
.eucon-project-lightbox-thumbnails::-webkit-scrollbar {
height: 6px;
}
.eucon-project-lightbox-thumbnails::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.1);
border-radius: 3px;
}
.eucon-project-lightbox-thumbnails::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.3);
border-radius: 3px;
}
.eucon-project-lightbox-thumbnail {
width: 60px;
height: 60px;
border-radius: 6px;
overflow: hidden;
cursor: pointer;
opacity: 0.5;
transition:
opacity 0.3s ease,
transform 0.2s ease;
flex-shrink: 0;
border: 2px solid transparent;
position: relative;
}
.eucon-project-lightbox-thumbnail:hover {
opacity: 0.8;
transform: scale(1.05);
}
.eucon-project-lightbox-thumbnail.active {
opacity: 1;
border-color: #ffffff;
}
.eucon-project-lightbox-thumbnail.filtered-out {
opacity: 0.2;
pointer-events: none;
}
.eucon-project-lightbox-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
}
.eucon-project-lightbox-thumbnail .type-indicator {
position: absolute;
bottom: 2px;
right: 2px;
width: 16px;
height: 16px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 8px;
}
.eucon-project-lightbox-thumbnail .type-indicator.photo {
background: rgba(255, 255, 255, 0.9);
color: #1e3a5f;
}
.eucon-project-lightbox-thumbnail .type-indicator.diagram {
background: rgba(30, 58, 95, 0.9);
color: #ffffff;
} @media (max-width: 768px) {
.eucon-project-lightbox-container {
padding: 12px;
}
.eucon-project-lightbox-header {
padding-bottom: 12px;
flex-direction: column;
align-items: stretch;
}
.eucon-project-lightbox-title {
font-size: 1rem;
text-align: center;
}
.eucon-project-lightbox-filter {
order: 2;
justify-content: center;
}
.eucon-project-lightbox-filter .filter-btn {
padding: 6px 12px;
font-size: 0.75rem;
}
.eucon-project-lightbox-close {
position: absolute;
top: 12px;
right: 12px;
width: 40px;
height: 40px;
}
.eucon-project-lightbox-nav {
width: 44px;
height: 44px;
}
.eucon-project-lightbox-prev {
left: 8px;
}
.eucon-project-lightbox-next {
right: 8px;
}
.eucon-project-lightbox-nav svg {
width: 24px;
height: 24px;
}
.eucon-project-lightbox-image {
max-height: calc(100vh - 240px);
}
.eucon-project-lightbox-thumbnail {
width: 48px;
height: 48px;
}
}
@media (max-width: 480px) {
.eucon-project-lightbox-nav {
width: 36px;
height: 36px;
}
.eucon-project-lightbox-nav svg {
width: 20px;
height: 20px;
}
.eucon-project-lightbox-thumbnail {
width: 40px;
height: 40px;
}
.eucon-project-lightbox-footer {
padding-top: 12px;
}
.eucon-project-lightbox-counter {
margin-bottom: 12px;
font-size: 0.875rem;
}
.eucon-project-lightbox-image-type {
bottom: 8px;
left: 8px;
padding: 6px 12px;
font-size: 0.625rem;
}
} body.project-lightbox-open {
overflow: hidden;
}