/* Enhanced Photo Gallery Landing Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=Poppins:wght@300;400;500;600;700&display=swap');

.photo-landing-hero {
    text-align: center;
    margin: 3rem 0 4rem 0;
    padding: 2rem 0;
}

.photo-landing-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2D3748 0%, #4A5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.photo-landing-hero .subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #718096;
    font-weight: 400;
    letter-spacing: 0.3px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.enhanced-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.enhanced-article {
    background: #FEFEFE;
    border: 1px solid #F7FAFC;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
    position: relative;
    cursor: pointer;
}

.enhanced-article:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.06);
    border-color: #E2E8F0;
}

.enhanced-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.enhanced-article:hover::before {
    opacity: 1;
}

.enhanced-image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(45deg, #1a1b1f, #252630);
}

.enhanced-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.8) contrast(1.1);
}

.enhanced-article:hover .enhanced-image-container img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.2);
}

/* Remove hover overlay completely */
.enhanced-overlay {
    display: none;
}

.enhanced-content {
    padding: 2rem;
    background: transparent;
}

.enhanced-header {
    margin-bottom: 1.5rem;
}

.enhanced-date {
    display: block;
    color: #718096;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: 0.2px;
}

.enhanced-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #1A202C;
    letter-spacing: -0.01em;
}

.enhanced-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.enhanced-title a:hover {
    color: #3182CE;
}

.enhanced-description {
    font-family: 'Inter', sans-serif;
    color: #4A5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 400;
}

.enhanced-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #718096;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
}

.stat-icon {
    font-size: 0.9rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    margin-top: -1px; /* Fine-tune vertical alignment */
}

.enhanced-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: #1A202C;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 35px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 2px solid transparent;
}

.enhanced-cta:hover {
    transform: translateY(-2px);
    background: #2D3748;
    box-shadow: 0 8px 25px rgba(26, 32, 44, 0.25);
}

.enhanced-cta::after {
    content: '→';
    transition: transform 0.3s ease;
}

.enhanced-cta:hover::after {
    transform: translateX(4px);
}

/* Location-specific styling inspired by ColorHunt light palettes */

/* Lofoten: Arctic Blue Palette (#E8F4FD, #B8E0D2, #95D5B2, #74C69D) */
.location-lofoten .enhanced-cta {
    background: linear-gradient(135deg, #95D5B2, #74C69D);
    color: #1A365D;
}

.location-lofoten .enhanced-cta:hover {
    background: linear-gradient(135deg, #74C69D, #95D5B2);
    box-shadow: 0 8px 25px rgba(116, 198, 157, 0.3);
}

/* Nice: Coral Rose Palette (#FFE5D9, #FFCAD4, #F4ACB7, #9D8189) */
.location-nice .enhanced-cta {
    background: linear-gradient(135deg, #FFCAD4, #F4ACB7);
    color: #702459;
}

.location-nice .enhanced-cta:hover {
    background: linear-gradient(135deg, #F4ACB7, #FFCAD4);
    box-shadow: 0 8px 25px rgba(244, 172, 183, 0.3);
}

/* Netherlands: Warm Peach Palette (#FFF8E1, #FFE4B5, #FFCF9E, #F4A261) */
.location-netherlands .enhanced-cta {
    background: linear-gradient(135deg, #FFCF9E, #F4A261);
    color: #8B4513;
}

.location-netherlands .enhanced-cta:hover {
    background: linear-gradient(135deg, #F4A261, #FFCF9E);
    box-shadow: 0 8px 25px rgba(244, 162, 97, 0.3);
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .enhanced-posts {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .photo-landing-hero h1 {
        font-size: 2.5rem;
    }
    
    .photo-landing-hero .subtitle {
        font-size: 1rem;
    }
    
    .enhanced-posts {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .enhanced-article {
        border-radius: 15px;
    }
    
    .enhanced-image-container {
        height: 250px;
    }
    
    .enhanced-content {
        padding: 1.5rem;
    }
    
    .enhanced-title {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .photo-landing-hero {
        margin: 2rem 0 3rem 0;
    }
    
    .photo-landing-hero h1 {
        font-size: 2rem;
    }
    
    .enhanced-image-container {
        height: 200px;
    }
    
    .enhanced-content {
        padding: 1.2rem;
    }
    
    .enhanced-stats {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Animation for page load */
.enhanced-article {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.enhanced-article:nth-child(2) {
    animation-delay: 0.1s;
}

.enhanced-article:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading shimmer effect */
.enhanced-article.loading .enhanced-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}