/* Compact Container for Sidebar Use */
.view-all-btn:hover {
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
color: #ffffff;
}
.compact-gallery {
width: 100%;
max-width: 320px;
height: 600px;
background: white;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
overflow: hidden;
display: flex;
flex-direction: column;
}
/* Header */
.gallery-header {
padding: 16px;
background: linear-gradient(135deg, #9f7d23, #9f7d23);
color: white;
text-align: center;
}
.gallery-title {
font-size: 16px;
font-weight: 700;
margin-bottom: 4px;
color: #fff;
}
.gallery-subtitle {
margin-bottom: 0px;
color: #fff;
font-size: 12px;
opacity: 0.9;
}
/* Scrollable Content */
.gallery-scroll {
flex: 1;
overflow-y: auto;
padding: 12px;
scrollbar-width: thin;
scrollbar-color: #9f7d23 #f1f1f1;
}
.gallery-scroll::-webkit-scrollbar {
width: 6px;
}
.gallery-scroll::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 3px;
}
.gallery-scroll::-webkit-scrollbar-thumb {
background: #ff6b00;
border-radius: 3px;
}
.gallery-scroll::-webkit-scrollbar-thumb:hover {
background: #ea580c;
}
/* Album Cards */
.album-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.container div:empty {
display: block;
}
.album-card {
display: block;
position: relative;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition: all 0.2s ease;
text-decoration: none;
color: inherit;
background: white;
}
.album-card:hover {
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
transform: translateY(-2px);
}
.album-card:focus {
outline: 2px solid #ff6b00;
outline-offset: 2px;
}
.album-image-container {
position: relative;
aspect-ratio: 16 / 9;
width: 100%;
overflow: hidden;
}
.album-image {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
background: rgba(0, 0, 0, 0.6);
}
.album-card:hover .album-image {
transform: scale(1.05);
}
.album-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4), transparent);
}
.album-year {
position: absolute;
top: 6px;
left: 6px;
background: rgba(255, 255, 255, 0.9);
color: #1a1a1a;
padding: 2px 6px;
border-radius: 4px;
font-weight: 600;
font-size: 10px;
}
.album-info {
position: absolute;
bottom: 6px;
left: 6px;
right: 6px;
color: white;
}
.album-title {
width: 100%;
height: 100%;
object-fit: cover;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
font-size: 16px;
}
.album-location {
font-size: 10px;
color: #e9ecef;
margin-bottom: 4px;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.album-stats {
font-size: 12px;
color: #ced4da;
background: rgba(0, 0, 0, 0.3);
backdrop-filter: blur(4px);
padding: 2px 6px;
border-radius: 4px;
display: inline-block;
}
/* Content Section */
.album-content {
padding: 8px;
}
.album-description {
font-size: 11px;
color: #000;
line-height: 1.3;
margin-bottom: 1px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.album-meta {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 14px;
}
.album-date {
color: #6c757d;
}
.album-photos-count {
background: #9f7d23;
color: white;
padding: 2px 6px;
border-radius: 4px;
font-weight: 600;
}
/* Footer Stats */
.gallery-footer {
padding: 12px;
background: #f8f9fa;
border-top: 1px solid #e9ecef;
}
.stats-mini {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px;
text-align: center;
}
.stat-mini {
padding: 6px;
background: white;
border-radius: 6px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.stat-number {
font-size: 16px;
font-weight: 700;
color: #9f7d23;
display: block;
}
.stat-label {
font-size: 12px;
color: #6c757d;
margin-top: 2px;
}
/* Animation */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.fade-in {
animation: fadeIn 0.3s ease-out;
}
/* Responsive for very small screens */
@media (max-width: 320px) {
.compact-gallery {
max-width: 100%;
height: 500px;
}
.album-title {
font-size: 11px;
}
.album-location {
font-size: 9px;
}
}
/* Loading state */
.loading-placeholder {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: loading 1.5s infinite;
border-radius: 8px;
}
@keyframes loading {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
/* View All Button */
.view-all-btn {
margin: 8px 12px 0;
padding: 8px;
background: linear-gradient(135deg, #9f7d23, #9f7d23);
color: white;
border: none;
border-radius: 6px;
font-size: 11px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
text-decoration: none;
display: block;
text-align: center;
}
.grid-layout.grid-4-columns.grid-loaded {
height: auto !important;
}
h3.album-title {
color: #ffffff;
}
section.stats {
padding-bottom: 25px !important;
}
h3:not(:last-child),
.h3:not(:last-child) {
margin-bottom: 0em !important;
}
.vertical-video-container {
position: relative;
max-width: 400px;
height: 600px;
margin: 2rem auto;
background: white;
border-radius: 0.75rem;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.video-header {
padding: 1.5rem 1.5rem 1rem;
background: linear-gradient(135deg, #9f7d23, #9f7d23);
color: white;
text-align: center;
}
.video-header h2 {
color: #fff;
font-size: 1.25rem;
font-weight: 700;
margin: 0;
}
.video-header p {
color: #fff;
font-size: 0.875rem;
margin: 0.5rem 0 0;
opacity: 0.9;
}
.scroll-nav {
position: absolute;
left: 50%;
transform: translateX(-50%);
z-index: 10;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(8px);
border: 1px solid #e5e7eb;
border-radius: 50%;
padding: 1px 8px;
cursor: pointer;
transition: all 0.2s;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.scroll-nav:hover {
background: #f9fafb;
box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.15);
}
.scroll-nav svg {
margin-top: 5px;
}
.scroll-nav.up {
top: 80px;
}
.scroll-nav.down {
bottom: 20px;
}
.vertical-scroll {
height: calc(100% - 120px);
overflow-y: auto;
scroll-behavior: smooth;
padding: 1rem;
scrollbar-width: thin;
scrollbar-color: #9f7d23 transparent;
}
.vertical-scroll::-webkit-scrollbar {
width: 6px;
}
.vertical-scroll::-webkit-scrollbar-track {
background: transparent;
}
.vertical-scroll::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 3px;
}
.vertical-scroll::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
.video-card {
background: white;
border-radius: 0.5rem;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
overflow: hidden;
margin-bottom: 1rem;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid #f1f5f9;
}
.video-card:last-child {
margin-bottom: 0;
}
.video-card:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
border-color: #e2e8f0;
}
.video-container {
position: relative;
aspect-ratio: 16/9;
background: #f8fafc;
}
.video-btn {
width: 100%;
height: 100%;
position: relative;
border: none;
cursor: pointer;
overflow: hidden;
background: none;
padding: 0;
}
.video-btn:focus-visible {
outline: 2px solid #2563eb;
outline-offset: 2px;
}
.video-thumb {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s;
}
.video-btn:hover .video-thumb {
transform: scale(1.03);
}
.play-overlay {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.25);
transition: all 0.3s;
}
.video-btn:hover .play-overlay {
background: rgba(0, 0, 0, 0.35);
}
.play-buttonnew {
background: #dc2626;
border-radius: 50%;
padding: 5px 10px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
transition: all 0.3s;
}
.video-btn:hover .play-buttonnew {
background: #b91c1c;
transform: scale(1.1);
}
.play-icon {
margin-top: 5px;
width: 1.5rem;
height: 1.5rem;
color: white;
margin-left: 0.125rem;
}
.duration-badge {
position: absolute;
bottom: 0.375rem;
right: 0.375rem;
background: rgba(0, 0, 0, 0.8);
color: white;
font-size: 0.625rem;
padding: 0.125rem 0.375rem;
border-radius: 0.25rem;
font-weight: 500;
}
.video-info {
padding: 0.75rem;
}
.video-title {
font-size: 0.875rem;
font-weight: 600;
color: #1f2937;
margin: 0 0 0.25rem 0;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
line-height: 1.3;
}
.video-date {
font-size: 14px;
color: #6b7280;
font-weight: 500;
}
.scroll-indicator {
position: absolute;
right: 0.5rem;
top: 50%;
transform: translateY(-50%);
width: 4px;
height: 60%;
background: #f1f5f9;
border-radius: 2px;
overflow: hidden;
}
.scroll-progress {
width: 100%;
background: linear-gradient(135deg, #2563eb, #7c3aed);
border-radius: 2px;
transition: height 0.2s ease;
height: 0%;
}
/* Mobile optimizations */
@media (max-width: 640px) {
.vertical-video-container {
max-width: 100%;
height: 500px;
margin: 1rem;
border-radius: 0.5rem;
}
.video-header {
padding: 1rem;
}
.video-header h2 {
font-size: 1.125rem;
}
.scroll-nav.up {
top: 100px;
}
.vertical-scroll {
height: calc(100% - 100px);
padding: 0.75rem;
}
}
/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
.video-card,
.video-btn,
.video-thumb,
.vertical-scroll {
transition: none;
scroll-behavior: auto;
}
.video-card:hover {
transform: none;
}
.video-btn:hover .video-thumb {
transform: none;
}
}
@media (prefers-contrast: high) {
.video-card {
border: 2px solid #000;
}
.video-btn:focus-visible {
outline: 3px solid #000;
outline-offset: 2px;
}
}
@media (hover: none) and (pointer: coarse) {
.video-card:hover {
transform: none;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.video-btn:hover .video-thumb {
transform: none;
}
}