.portfolio-modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.portfolio-modal{background:#fff;border-radius:12px;width:100%;max-width:900px;max-height:85vh;animation:.3s ease-out modalSlideIn;position:relative;overflow:hidden;box-shadow:0 20px 40px #00000040}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.9)translateY(-20px)}to{opacity:1;transform:scale(1)translateY(0)}}.portfolio-modal-close{color:#fff;cursor:pointer;z-index:1001;background:#00000080;border:none;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;font-size:24px;font-weight:700;transition:all .2s;display:flex;position:absolute;top:16px;right:16px}.portfolio-modal-close:hover{background:#000000b3;transform:scale(1.1)}.portfolio-modal-content{flex-direction:column;height:100%;min-height:0;max-height:85vh;display:flex}.portfolio-modal-header{display:none}.portfolio-modal-media{flex:1;grid-template-columns:1fr 300px;align-items:start;gap:20px;min-width:0;min-height:0;padding:16px 20px;display:grid;overflow-y:auto}.portfolio-modal-photos{margin-bottom:0}.photo-viewer{cursor:pointer;background:#f7fafc;border-radius:8px;width:100%;height:280px;margin-bottom:12px;transition:transform .2s;position:relative;overflow:hidden}.photo-viewer:hover{transform:scale(1.01)}.photo-main{object-fit:cover;width:100%;height:100%;display:block}.photo-error{color:#c53030;text-align:center;background:#fed7d7;border:2px dashed #e53e3e;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.photo-error .error-icon{margin-bottom:12px;font-size:48px}.photo-nav{color:#2d3748;cursor:pointer;z-index:10;background:#ffffffe6;border:none;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;font-size:16px;transition:all .2s;display:flex;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 2px 8px #00000026}.photo-nav:hover:not(:disabled){background:#fff;transform:translateY(-50%)scale(1.05);box-shadow:0 4px 12px #0003}.photo-nav:disabled{opacity:.4;cursor:not-allowed;background:#fff9}.photo-nav-prev{left:16px}.photo-nav-next{right:16px}.photo-counter{color:#fff;background:#000000b3;border-radius:20px;padding:8px 16px;font-size:14px;font-weight:600;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}.photo-thumbnails{flex-wrap:wrap;gap:6px;padding:6px 0;display:flex}.photo-thumbnail{cursor:pointer;background:#f7fafc;border:2px solid #0000;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:60px;height:60px;transition:all .2s;display:flex;overflow:hidden}.photo-thumbnail:hover{border-color:#4299e1;transform:scale(1.05)}.photo-thumbnail.active{border-color:#4299e1;box-shadow:0 0 0 2px #4299e133}.photo-thumbnail img{object-fit:cover;width:100%;height:100%}.thumbnail-error{color:#c53030;font-size:20px}.video-container{background:#f7fafc;border-radius:8px;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.video-fallback{color:#718096;text-align:center;background:#f7fafc;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;min-height:200px;padding:20px;display:flex}.fallback-icon{margin-bottom:12px;font-size:48px}.no-media{color:#718096;text-align:center;background:#f7fafc;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.no-media-icon{opacity:.6;margin-bottom:12px;font-size:48px}.video-thumbnail{background:#e2e8f0;border:2px solid #0000;position:relative}.video-thumbnail-content{color:#4a5568;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;font-size:12px;font-weight:600;display:flex}.video-play-icon{margin-bottom:4px;font-size:20px}.video-thumbnail:hover{background:#cbd5e0;border-color:#4299e1}.video-thumbnail.active{color:#fff;background:#4299e1;border-color:#3182ce}.video-thumbnail.active .video-thumbnail-content{color:#fff}.portfolio-modal-sidebar{background:#f8fafc;border-radius:8px;height:fit-content;padding:20px}.portfolio-modal-info{flex-direction:column;gap:12px;display:flex}.portfolio-modal-title{color:#2d3748;margin:0;font-size:1.4rem;font-weight:600}.portfolio-modal-description{color:#718096;margin:0;font-size:.9rem;line-height:1.5}.portfolio-modal-video-iframe{border-radius:8px;width:100%;max-width:100%;height:100%;overflow:hidden}.portfolio-modal-footer{border-top:1px solid #e2e8f0;flex-shrink:0;padding:12px 20px;display:none}@media (max-width:768px){.portfolio-modal{max-width:95vw;max-height:95vh;margin:10px}.portfolio-modal-content{max-height:95vh}.portfolio-modal-title{font-size:1.3rem}.portfolio-modal-media{grid-template-columns:1fr;gap:16px;min-height:0;padding:16px;overflow:hidden auto}.photo-viewer{height:250px;min-height:250px;max-height:250px}.photo-nav{width:36px;height:36px;font-size:14px}.photo-thumbnail{width:50px;height:50px}.portfolio-modal-sidebar{order:-1;width:100%;max-width:100%}.portfolio-modal-photos{width:100%;min-width:0;max-width:100%}.video-container{width:100%;max-width:100%;height:auto;min-height:200px;max-height:250px}.portfolio-modal-video-iframe{width:100%;height:100%;min-height:200px;max-height:250px}}@media (max-width:480px){.portfolio-modal-overlay{padding:10px}.portfolio-modal{border-radius:0;max-width:100vw;max-height:100vh;margin:0}.portfolio-modal-content{max-height:100vh}.portfolio-modal-media{gap:12px;padding:12px}.photo-viewer{height:200px;min-height:200px;max-height:200px}.photo-thumbnail{width:50px;height:50px}.portfolio-modal-sidebar{padding:16px}.video-container,.portfolio-modal-video-iframe{min-height:160px;max-height:200px}}.fullscreen-overlay{z-index:10000;background:#000000f2;justify-content:center;align-items:center;padding:20px;animation:.2s ease-out fadeIn;display:flex;position:fixed;inset:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fullscreen-close{color:#fff;cursor:pointer;z-index:10001;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0009;border:2px solid #ffffff4d;border-radius:50%;justify-content:center;align-items:center;width:50px;height:50px;font-size:24px;font-weight:400;transition:all .2s;display:flex;position:absolute;top:20px;right:20px;box-shadow:0 4px 12px #0000004d}.fullscreen-close:hover{background:#dc2626cc;border-color:#ffffff80;transform:scale(1.1)rotate(90deg);box-shadow:0 6px 16px #0006}.fullscreen-close:active{transform:scale(.95)rotate(90deg)}.fullscreen-close i{font-size:20px}.fullscreen-content{justify-content:center;align-items:center;width:100%;max-width:95vw;height:100%;max-height:95vh;display:flex;position:relative}.fullscreen-image{object-fit:contain;border-radius:8px;width:auto;max-width:100%;height:auto;max-height:100%;box-shadow:0 10px 40px #00000080}.fullscreen-video-container{border-radius:8px;justify-content:center;align-items:center;width:100%;max-width:95vw;height:100%;max-height:95vh;display:flex;overflow:hidden;box-shadow:0 10px 40px #00000080}.fullscreen-video-iframe{border-radius:8px;width:100%;max-width:100%;height:100%;max-height:100%}.fullscreen-error,.fullscreen-no-media{color:#fff;text-align:center;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;padding:40px;display:flex}.fullscreen-error{background:#c5303033;border:2px dashed #e53e3e80;border-radius:8px}.fullscreen-error .error-icon{margin-bottom:16px;font-size:64px}.fullscreen-no-media{background:#71809633;border-radius:8px}.fullscreen-no-media .no-media-icon{opacity:.6;margin-bottom:16px;font-size:64px}.fullscreen-nav{color:#fff;cursor:pointer;z-index:10001;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#fff3;border:none;border-radius:50%;justify-content:center;align-items:center;width:60px;height:60px;font-size:24px;transition:all .2s;display:flex;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 4px 12px #0000004d}.fullscreen-nav:hover:not(:disabled){background:#ffffff4d;transform:translateY(-50%)scale(1.1);box-shadow:0 6px 16px #0006}.fullscreen-nav:disabled{opacity:.3;cursor:not-allowed}.fullscreen-nav-prev{left:20px}.fullscreen-nav-next{right:20px}.fullscreen-counter{color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000b3;border-radius:24px;padding:12px 24px;font-size:16px;font-weight:600;position:absolute;bottom:20px;left:50%;transform:translate(-50%)}@media (max-width:768px){.fullscreen-close{border-width:2px;width:44px;height:44px;font-size:20px;top:20px;right:10px}.fullscreen-close i{font-size:18px}}@media (max-width:480px){.fullscreen-close{width:40px;height:40px;font-size:18px;top:15px;right:10px}.fullscreen-close i{font-size:16px}.fullscreen-nav{width:50px;height:50px;font-size:20px}.fullscreen-nav-prev{left:10px}.fullscreen-nav-next{right:10px}.fullscreen-counter{padding:10px 20px;font-size:14px;bottom:10px}}
.portfolio-page{min-height:calc(100vh - 200px)}.portfolio-section{background:0 0;padding:10rem 0;position:relative;overflow:hidden}.portfolio-section:before{content:"";filter:blur(50px);background:radial-gradient(circle,#00a33e0f,#0000 70%);border-radius:50%;width:400px;height:400px;animation:20s ease-in-out infinite float;position:absolute;top:20%;left:-10%}.portfolio-section:after{content:"";filter:blur(50px);background:radial-gradient(circle,#4cd9640d,#0000 70%);border-radius:50%;width:300px;height:300px;animation:25s ease-in-out infinite reverse float;position:absolute;bottom:10%;right:-5%}@keyframes float{0%,to{transform:translate(0)rotate(0)}33%{transform:translate(30px,-30px)rotate(120deg)}66%{transform:translate(-20px,20px)rotate(240deg)}}.section-header{text-align:center;z-index:1;margin-bottom:1rem;position:relative}.section-title{font-size:3rem;font-weight:var(--font-weight-extrabold);color:var(--text-primary);letter-spacing:-.02em;margin:0 0 1.5rem;position:relative}.section-description{color:var(--text-secondary);max-width:700px;margin:2rem auto 0;font-size:1.2rem;line-height:1.7}.portfolio-grid{z-index:1;grid-template-columns:repeat(3,1fr);gap:2.5rem;margin-bottom:3rem;display:grid;position:relative}.portfolio-card{border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);transition:var(--transition-bounce);cursor:pointer;background:#fff;border:2px solid #0000;position:relative;overflow:hidden}.portfolio-card:before{content:"";background:var(--primary-gradient);height:4px;transition:transform .4s;position:absolute;top:0;left:0;right:0;transform:scaleX(0)}.portfolio-card:hover{box-shadow:var(--shadow-2xl);border-color:#00a33e26;transform:translateY(-12px)scale(1.02)}.portfolio-card:hover:before{transform:scaleX(1)}.portfolio-media{background:#f7fafc;width:100%;min-height:200px;position:relative;overflow:hidden}.portfolio-photos{width:100%;height:200px;position:relative}.portfolio-main-photo{object-fit:cover;width:100%;height:100%;display:block}.portfolio-error-placeholder{color:#c53030;text-align:center;background:#fed7d7;border:2px dashed #e53e3e;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;min-height:200px;font-size:14px;display:flex}.portfolio-error-placeholder .error-icon{margin-bottom:8px;font-size:32px}.photo-count{color:#fff;background:#000000b3;border-radius:12px;padding:4px 8px;font-size:12px;font-weight:600;position:absolute;top:12px;right:12px}.video-play-overlay{opacity:1;background:#0003;border-radius:12px;justify-content:center;align-items:center;transition:background .3s;display:flex;position:absolute;inset:0}.portfolio-card:hover .video-play-overlay{background:#0006}.video-play-button{cursor:pointer;background:#ffffffe6;border-radius:50%;justify-content:center;align-items:center;width:60px;height:60px;transition:all .3s;display:flex;box-shadow:0 4px 12px #0000004d}.video-play-button:hover{background:#fff;transform:scale(1.1);box-shadow:0 6px 16px #0006}.play-icon{margin-left:3px;font-size:24px}.portfolio-content{padding:24px}.portfolio-title{font-size:1.4rem;font-weight:var(--font-weight-bold);color:var(--text-primary);letter-spacing:-.01em;margin:0 0 1rem}.portfolio-description{color:#718096;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 16px;font-size:.875rem;line-height:1.5;display:-webkit-box;overflow:hidden}.portfolio-stats{flex-wrap:wrap;gap:8px;display:flex}.media-count{color:#4a5568;background:#e2e8f0;border-radius:12px;align-items:center;gap:4px;padding:4px 8px;font-size:12px;font-weight:600;display:flex}.portfolio-cta{text-align:center}.portfolio-pagination{text-align:center;margin-top:10px}.portfolio-pagination .pagination-controls{-webkit-overflow-scrolling:touch;flex-wrap:wrap;justify-content:center;align-items:center;max-width:100%;margin-top:5px;padding:0 4px;display:flex;overflow-x:auto;gap:3px!important}.pagination-btn{color:#9ca3af;cursor:pointer;box-shadow:none;white-space:nowrap;background:0 0;border:1px solid #e5e7eb;border-radius:8px;flex-shrink:0;align-items:center;gap:4px;padding:8px 12px;font-size:13px;font-weight:400;transition:all .2s;display:flex}.pagination-btn:hover:not(:disabled){color:#6b7280;background:#f9fafb;border-color:#d1d5db;transform:none;box-shadow:0 1px 3px #0000000d}.pagination-btn:disabled{color:#d1d5db;cursor:not-allowed;background:0 0;border-color:#f3f4f6;transform:none}.pagination-pages{flex-wrap:wrap;justify-content:center;gap:4px;max-width:100%;margin:0 16px;display:flex}.pagination-page{color:#9ca3af;cursor:pointer;min-width:36px;height:36px;box-shadow:none;background:0 0;border:1px solid #e5e7eb;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;padding:6px 10px;font-size:13px;font-weight:400;transition:all .2s;display:flex}.pagination-page:hover{color:#6b7280;background:#f9fafb;border-color:#d1d5db;transform:none;box-shadow:0 1px 3px #0000000d}.pagination-page.active{color:#374151;background:#f3f4f6;border-color:#d1d5db;font-weight:500}.pagination-page.active:hover{color:#374151;background:#f3f4f6;border-color:#d1d5db}.pagination-dots{color:#9ca3af;-webkit-user-select:none;user-select:none;text-align:center;align-items:center;min-width:20px;padding:0 4px;font-weight:500;display:flex}.portfolio-loading,.portfolio-error,.portfolio-empty{text-align:center;color:#718096;flex-direction:column;justify-content:center;align-items:center;min-height:300px;display:flex}.loading-spinner{border:4px solid #e2e8f0;border-top-color:#4299e1;border-radius:50%;width:40px;height:40px;margin-bottom:16px;animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error-icon,.empty-icon{opacity:.6;margin-bottom:16px;font-size:48px}.retry-button{color:#fff;cursor:pointer;background:#4299e1;border:none;border-radius:6px;margin-top:16px;padding:12px 24px;font-weight:600;transition:background .3s}.retry-button:hover{background:#3182ce}@media (max-width:1024px){.portfolio-grid{grid-template-columns:repeat(2,1fr);gap:2rem}}@media (max-width:768px){.portfolio-section{padding:60px 0}.section-title{font-size:2rem}.portfolio-grid{grid-template-columns:1fr;gap:20px}.portfolio-photos{height:180px}.portfolio-content{padding:20px}.portfolio-pagination .pagination-controls{gap:2px!important}.pagination-btn{padding:6px 10px;font-size:12px}.pagination-pages{gap:2px;margin:0 8px}.pagination-page{min-width:32px;height:32px;padding:4px 6px;font-size:12px}}@media (max-width:480px){.portfolio-photos{height:200px}.portfolio-content{padding:16px}.portfolio-pagination .pagination-controls{flex-wrap:wrap;gap:2px!important}.pagination-pages{flex-wrap:wrap;justify-content:center;gap:2px;margin:0 4px}.pagination-btn{white-space:nowrap;padding:6px 10px;font-size:12px}.pagination-page{min-width:28px;height:28px;padding:2px 4px;font-size:11px}.pagination-dots{min-width:16px;padding:0 2px;font-size:11px}}
