        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background-color: #ffffff;
            color: #1a1a1a;
            line-height: 1.6;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        @media (min-width: 640px) {
            .container {
                padding: 0 1.5rem;
            }
        }

        @media (min-width: 1024px) {
            .container {
                padding: 0 2rem;
            }
        }

        /* Hero Section */
        .hero {
            position: relative;
            height: 16rem;
            overflow: hidden;
        }

        @media (min-width: 768px) {
            .hero {
                height: 20rem;
            }
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            filter: blur(8px);
            transform: scale(1.1);
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
        }

        .hero-content {
            position: relative;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 1rem;
        }

        .hero h1 {
            font-size: 2.5rem;
            font-weight: 700;
            color: white;
            margin-bottom: 1rem;
        }

        @media (min-width: 768px) {
            .hero h1 {
                font-size: 3.75rem;
            }
        }

        .hero-subtitle {
            font-size: 1.25rem;
            color: rgba(255, 255, 255, 0.9);
        }

        @media (min-width: 768px) {
            .hero-subtitle {
                font-size: 1.5rem;
            }
        }

        .hero-meta {
            color: rgba(255, 255, 255, 0.8);
            margin-top: 0.5rem;
        }

        /* Navigation */
        .nav {
            position: sticky;
            top: 0;
            z-index: 20;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(4px);
            border-bottom: 1px solid #e2e8f0;
        }

        .nav-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 0;
        }

        .back-link {
            display: inline-flex;
            align-items: center;
            color: #64748b;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s ease;
        }

        .back-link:hover {
            color: #FF6B00;
        }

        .back-link svg {
            width: 1.25rem;
            height: 1.25rem;
            margin-right: 0.5rem;
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            font-size: 0.875rem;
            color: #64748b;
        }

        .breadcrumb a {
            color: inherit;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .breadcrumb a:hover {
            color: #FF6B00;
        }

        .breadcrumb-current {
            color: #1a1a1a;
            font-weight: 500;
        }

        /* Photo Gallery */
        .gallery {
            padding: 3rem 0;
        }

        .photo-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        @media (min-width: 768px) {
            .photo-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1280px) {
            .photo-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        /* Photo Card */
        .photo-card {
            position: relative;
            overflow: hidden;
            border-radius: 0.75rem;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
            width: 100%;
        }

        .photo-card:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        }

        .photo-card:focus {
            outline: 4px solid rgba(255, 107, 0, 0.5);
            outline-offset: 2px;
        }

        .photo-container {
            position: relative;
            aspect-ratio: 16 / 9;
            background: #f3f4f6;
        }

        .photo-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s ease;
        }

        .photo-card:hover .photo-image {
            transform: scale(1.05);
        }

        .photo-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0);
            transition: background 0.3s ease;
        }

        .photo-card:hover .photo-overlay {
            background: rgba(0, 0, 0, 0.2);
        }

        .photo-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            padding: 1rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .photo-card:hover .photo-caption {
            opacity: 1;
        }

        .photo-caption p {
            color: white;
            font-size: 0.875rem;
            font-weight: 500;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Lightbox */
        .lightbox {
            position: fixed;
            inset: 0;
            z-index: 50;
            background: rgba(0, 0, 0, 0.95);
            display: none;
            align-items: center;
            justify-content: center;
        }

        .lightbox.active {
            display: flex; z-index:999;
        }

        .lightbox-controls {
            position: absolute;
            top: 1rem;
            left: 1rem;
            right: 1rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            z-index: 20;
        }

        .control-group {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .control-panel {
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            border-radius: 0.5rem;
            padding: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .control-btn {
            background: none;
            border: none;
            color: white;
            padding: 0.5rem;
            border-radius: 0.375rem;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .control-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .control-btn.active {
            background: #FF6B00;
            color: white;
        }

        .control-label {
            color: white;
            font-size: 0.75rem;
            margin-right: 0.5rem;
        }

        .control-option {
            padding: 0.25rem 0.5rem;
            font-size: 0.75rem;
        }

        .zoom-display {
            color: white;
            font-size: 0.75rem;
            padding: 0 0.5rem;
            min-width: 3rem;
            text-align: center;
        }

        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            border: none;
            color: white;
            padding: 0.75rem;
            border-radius: 50%;
            cursor: pointer;
            transition: background 0.2s ease;
            z-index: 10;
        }

        .nav-btn:hover {
            background: rgba(0, 0, 0, 0.7);
        }

        .nav-btn.prev {
            left: 1rem;
        }

        .nav-btn.next {
            right: 1rem;
        }

        .lightbox-image-container {
            max-width: 100%;
            max-height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }

        .lightbox-image {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.2s ease;
        }

        .lightbox-info {
            position: absolute;
            bottom: 1rem;
            left: 1rem;
            right: 1rem;
            z-index: 20;
        }

        .info-panel {
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(12px);
            border-radius: 0.75rem;
            padding: 1.5rem;
            max-width: 64rem;
            margin: 0 auto;
        }

        .info-content {
            display: flex;
            align-items: start;
            justify-content: space-between;
            margin-bottom: 1rem;
        }

        .info-text {
            flex: 1;
        }

        .info-caption {
            font-weight: 600;
            margin-bottom: 0.5rem;
            line-height: 1.5;
        }

        .info-alt {
            opacity: 0.9;
            line-height: 1.5;
        }

        .info-meta {
            margin-left: 1.5rem;
            text-align: right;
        }

        .info-counter {
            opacity: 0.75;
        }

        .info-dimensions {
            font-size: 0.75rem;
            opacity: 0.6;
            margin-top: 0.25rem;
        }

        .progress-bar {
            width: 100%;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 9999px;
            height: 0.25rem;
        }

        .progress-fill {
            background: #FF6B00;
            height: 0.25rem;
            border-radius: 9999px;
            transition: width 0.3s ease;
        }

        .keyboard-help {
            position: absolute;
            bottom: 1rem;
            right: 1rem;
            z-index: 10;
        }

        .help-panel {
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            border-radius: 0.5rem;
            padding: 0.5rem;
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.8);
        }

        .help-panel div {
            margin-bottom: 0.25rem;
        }

        .help-panel div:last-child {
            margin-bottom: 0; 
        }

        /* Text size classes */
        .text-sm { font-size: 0.875rem; }
        .text-base { font-size: 1rem; }
        .text-lg { font-size: 1.125rem !important; line-height:20px !important; }
        .text-xl { font-size: 1.25rem !important; }

        /* Text contrast classes */
        .text-low { color: rgba(255, 255, 255, 0.7); }
        .text-medium { color: rgba(255, 255, 255, 0.9); }
        .text-high { color: white; }

        /* Background opacity classes */
        .bg-75 { background: rgba(0, 0, 0, 0.75); }
        .bg-85 { background: rgba(0, 0, 0, 0.85); }
        .bg-95 { background: rgba(0, 0, 0, 0.95); }

        /* Responsive adjustments */
        @media (max-width: 640px) {
            .lightbox-controls {
                flex-direction: column;
                gap: 0.5rem;
                align-items: stretch;
            }
            
            .control-group {
                justify-content: center;
            }
            
            .info-content {
                flex-direction: column;
                gap: 1rem;
            }
            
            .info-meta {
                margin-left: 0;
                text-align: left;
            }
        }
        .photo-caption p{
            margin: 0px !important;
        }