diff --git a/.vscode/sftp.json b/.vscode/sftp.json deleted file mode 100644 index b6e466c..0000000 --- a/.vscode/sftp.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "My Server", - "host": "prototype.s6.magicosoft.pl", - "protocol": "ftp", - "port": 21, - "username": "bartek@prototype.s6.magicosoft.pl", - "remotePath": "/public_html/", - "password": "dZURD2M9RyMTh63cEGQ5", - "uploadOnSave": true, - "useTempFile": false, - "openSsh": false, - "watcher": { - "files": "prototype/**/*", - "autoUpload": true, - "autoDelete": false - } -} \ No newline at end of file diff --git a/assets/img/pilots/anna-avatar.jpg b/assets/img/pilots/anna-avatar.jpg new file mode 100644 index 0000000..9c52097 Binary files /dev/null and b/assets/img/pilots/anna-avatar.jpg differ diff --git a/assets/img/pilots/chianti.jpg b/assets/img/pilots/chianti.jpg new file mode 100644 index 0000000..0691246 Binary files /dev/null and b/assets/img/pilots/chianti.jpg differ diff --git a/assets/img/pilots/granada.jpg b/assets/img/pilots/granada.jpg new file mode 100644 index 0000000..3bdeef7 Binary files /dev/null and b/assets/img/pilots/granada.jpg differ diff --git a/assets/img/pilots/greece.jpg b/assets/img/pilots/greece.jpg new file mode 100644 index 0000000..3feefaf Binary files /dev/null and b/assets/img/pilots/greece.jpg differ diff --git a/assets/img/pilots/iceland.jpg b/assets/img/pilots/iceland.jpg new file mode 100644 index 0000000..91d2dff Binary files /dev/null and b/assets/img/pilots/iceland.jpg differ diff --git a/assets/img/pilots/norway.jpg b/assets/img/pilots/norway.jpg new file mode 100644 index 0000000..d7ef0c4 Binary files /dev/null and b/assets/img/pilots/norway.jpg differ diff --git a/assets/img/pilots/oskar-avatar.jpg b/assets/img/pilots/oskar-avatar.jpg new file mode 100644 index 0000000..9af66e9 Binary files /dev/null and b/assets/img/pilots/oskar-avatar.jpg differ diff --git a/assets/img/pilots/oskar-video-cover.jpg b/assets/img/pilots/oskar-video-cover.jpg new file mode 100644 index 0000000..e5122ae Binary files /dev/null and b/assets/img/pilots/oskar-video-cover.jpg differ diff --git a/assets/img/pilots/rome.jpg b/assets/img/pilots/rome.jpg new file mode 100644 index 0000000..e9ef692 Binary files /dev/null and b/assets/img/pilots/rome.jpg differ diff --git a/assets/img/pilots/spain.jpg b/assets/img/pilots/spain.jpg new file mode 100644 index 0000000..97f98d5 Binary files /dev/null and b/assets/img/pilots/spain.jpg differ diff --git a/assets/img/pilots/trekking.jpg b/assets/img/pilots/trekking.jpg new file mode 100644 index 0000000..1d923e0 Binary files /dev/null and b/assets/img/pilots/trekking.jpg differ diff --git a/assets/img/pilots/tuscany.jpg b/assets/img/pilots/tuscany.jpg new file mode 100644 index 0000000..4069547 Binary files /dev/null and b/assets/img/pilots/tuscany.jpg differ diff --git a/prototype/superpilot-web/assets/css/superpilot.css b/prototype/baza-pilotow/assets/css/superpilot.css similarity index 80% rename from prototype/superpilot-web/assets/css/superpilot.css rename to prototype/baza-pilotow/assets/css/superpilot.css index 72d0eb0..86bb1d9 100644 --- a/prototype/superpilot-web/assets/css/superpilot.css +++ b/prototype/baza-pilotow/assets/css/superpilot.css @@ -461,6 +461,14 @@ body { position: relative; } +.pilot-offer-avatar .pilot-avatar-img { + width: 100%; + height: 100%; + border-radius: 14px; + object-fit: cover; + display: block; +} + .pilot-offer-avatar .verified-badge-mini { position: absolute; bottom: -3px; @@ -475,6 +483,36 @@ body { justify-content: center; font-size: 0.7rem; border: 2px solid #ffffff; + z-index: 2; +} + +.pilot-card-gallery-preview { + display: flex; + align-items: center; + gap: 6px; + margin-top: 8px; +} + +.pilot-card-gallery-preview img { + width: 60px; + height: 40px; + border-radius: 6px; + object-fit: cover; + border: 1px solid var(--border-color); + transition: transform 0.15s ease, box-shadow 0.15s ease; + cursor: pointer; +} + +.pilot-card-gallery-preview img:hover { + transform: scale(1.08); + box-shadow: var(--shadow-subtle); +} + +.pilot-card-gallery-preview .gallery-more-badge { + font-size: 0.7rem; + color: var(--text-muted); + font-weight: 600; + margin-left: 2px; } .pilot-offer-content { @@ -771,6 +809,14 @@ body { box-shadow: 0 4px 12px rgba(92, 96, 245, 0.2); } +.profile-avatar-large .profile-avatar-img { + width: 100%; + height: 100%; + border-radius: 18px; + object-fit: cover; + display: block; +} + .profile-avatar-large .large-verified-badge { position: absolute; bottom: -3px; @@ -852,11 +898,11 @@ body { } .profile-stats-strip { - display: grid; - grid-template-columns: repeat(3, 1fr); - gap: 0.85rem; - padding-top: 1.25rem; - margin-top: 1.25rem; + display: flex; + flex-wrap: wrap; + gap: 0.75rem; + padding-top: 1rem; + margin-top: 1rem; border-top: 1px solid var(--border-subtle); } @@ -864,22 +910,23 @@ body { background: #f8f9fd; border: 1px solid var(--border-color); border-radius: var(--radius-sm); - padding: 0.75rem 1rem; + padding: 0.5rem 0.9rem; display: flex; - flex-direction: column; + align-items: baseline; + gap: 0.55rem; } .profile-stat-box .stat-val { - font-size: 1.15rem; + font-size: 0.92rem; font-weight: 700; color: var(--dark-navy); line-height: 1.2; + white-space: nowrap; } .profile-stat-box .stat-lbl { - font-size: 0.74rem; + font-size: 0.75rem; color: var(--text-muted); - margin-top: 2px; } /* Karty sekcji profilu */ @@ -934,10 +981,10 @@ body { /* Wideo i Zdjęcia */ .profile-video-box { position: relative; - border-radius: var(--radius-md); + border-radius: var(--radius-sm); overflow: hidden; - height: 200px; - background: linear-gradient(135deg, #1e2244 0%, #0f172a 100%); + height: 160px; + background: linear-gradient(135deg, #1e2244 0%, #111827 100%); cursor: pointer; display: flex; align-items: center; @@ -952,15 +999,15 @@ body { } .profile-video-play-btn { - width: 52px; - height: 52px; + width: 44px; + height: 44px; border-radius: 50%; background: var(--primary); color: #ffffff; display: flex; align-items: center; justify-content: center; - font-size: 1.6rem; + font-size: 1.4rem; box-shadow: 0 4px 14px rgba(92, 96, 245, 0.4); transition: transform 0.15s ease; } @@ -969,15 +1016,56 @@ body { transform: scale(1.08); } -.profile-photos-grid { - display: grid; - grid-template-columns: repeat(4, 1fr); - gap: 10px; - margin-top: 1rem; +.pilot-gallery-filters { + display: flex; + align-items: center; + gap: 5px; + flex-wrap: wrap; +} + +.gallery-filter-btn { + background: #f1f3f9; + color: var(--text-body); + border: 1px solid var(--border-color); + font-size: 0.74rem; + font-weight: 600; + padding: 3px 10px; + border-radius: var(--radius-full); + transition: all 0.15s ease; + cursor: pointer; + display: inline-flex; + align-items: center; + gap: 4px; + line-height: 1.4; +} + +.gallery-filter-btn:hover { + background: #e6e9f5; + color: var(--dark-navy); +} + +.gallery-filter-btn.active { + background: var(--primary); + color: #ffffff; + border-color: var(--primary); + box-shadow: 0 2px 6px rgba(92, 96, 245, 0.25); +} + +.gallery-filter-btn .badge-count { + font-size: 0.68rem; + opacity: 0.85; +} + +.gallery-photo-item { + transition: transform 0.2s ease, opacity 0.2s ease; +} + +.gallery-photo-item.is-hidden { + display: none !important; } .profile-photo-thumb { - height: 85px; + height: 94px; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; @@ -985,24 +1073,201 @@ body { border: 1px solid var(--border-color); transition: all 0.2s ease; display: flex; - align-items: center; - justify-content: center; - color: #ffffff; - font-weight: 600; - font-size: 0.78rem; + flex-direction: column; + justify-content: flex-end; + padding: 8px 10px; + box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04); } .profile-photo-thumb:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); + border-color: var(--primary-border); +} + +.profile-photo-thumb .photo-tag-title { + font-size: 0.76rem; + font-weight: 700; + color: #ffffff; + line-height: 1.2; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); +} + +.profile-photo-thumb .photo-tag-sub { + font-size: 0.66rem; + color: rgba(255, 255, 255, 0.85); + line-height: 1.2; + text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); +} + +.profile-photo-thumb .photo-zoom-hint { + position: absolute; + top: 8px; + right: 8px; + width: 26px; + height: 26px; + border-radius: 50%; + background: rgba(15, 23, 42, 0.6); + backdrop-filter: blur(4px); + color: #ffffff; + display: flex; + align-items: center; + justify-content: center; + font-size: 0.82rem; + opacity: 0; + transition: opacity 0.2s ease, transform 0.2s ease; +} + +.profile-photo-thumb:hover .photo-zoom-hint { + opacity: 1; + transform: scale(1.05); +} + +/* Modal Zaawansowanej Galerii (Lightbox Pro) */ +.gallery-modal-content { + background: #0f172a; + border: 1px solid rgba(255, 255, 255, 0.12); + border-radius: 16px; + box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6); + overflow: hidden; +} + +.modal-gallery-filters { + display: flex; + align-items: center; + gap: 6px; + flex-wrap: wrap; +} + +.modal-filter-btn { + background: rgba(255, 255, 255, 0.08); + color: #94a3b8; + border: 1px solid rgba(255, 255, 255, 0.12); + font-size: 0.76rem; + font-weight: 600; + padding: 4px 12px; + border-radius: 50px; + transition: all 0.2s ease; + cursor: pointer; + display: inline-flex; + align-items: center; + gap: 4px; +} + +.modal-filter-btn:hover { + background: rgba(255, 255, 255, 0.16); + color: #ffffff; +} + +.modal-filter-btn.active { + background: var(--primary); + color: #ffffff; + border-color: var(--primary); + box-shadow: 0 2px 8px rgba(92, 96, 245, 0.4); +} + +.modal-filter-btn .count { + font-size: 0.7rem; + opacity: 0.8; +} + +.gallery-stage { + position: relative; + display: flex; + align-items: center; + justify-content: center; + min-height: 460px; + max-height: 68vh; + background: #070b14; + border-radius: 12px; + overflow: hidden; +} + +.gallery-stage img { + max-height: 68vh; + max-width: 100%; + object-fit: contain; + transition: opacity 0.2s ease-in-out; +} + +.gallery-nav-btn { + position: absolute; + top: 50%; + transform: translateY(-50%); + width: 40px; + height: 40px; + border-radius: 50%; + background: rgba(15, 23, 42, 0.7); + backdrop-filter: blur(8px); + -webkit-backdrop-filter: blur(8px); + border: 1px solid rgba(255, 255, 255, 0.2); + color: #ffffff; + font-size: 1.35rem; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + transition: all 0.2s ease; + z-index: 10; +} + +.gallery-nav-btn:hover { + background: var(--primary); + color: #ffffff; + border-color: var(--primary); + transform: translateY(-50%) scale(1.08); +} + +.gallery-nav-btn.prev { + left: 12px; +} + +.gallery-nav-btn.next { + right: 12px; +} + +.modal-gallery-thumbs { + display: flex; + gap: 8px; + overflow-x: auto; + padding: 6px 2px 2px; + scrollbar-width: thin; + scrollbar-color: rgba(255, 255, 255, 0.2) transparent; +} + +.modal-gallery-thumb-item { + width: 68px; + height: 46px; + border-radius: 6px; + flex-shrink: 0; + cursor: pointer; + overflow: hidden; + position: relative; + border: 2px solid transparent; + opacity: 0.45; + transition: all 0.2s ease; + background-size: cover; + background-position: center; +} + +.modal-gallery-thumb-item:hover { + opacity: 0.85; + transform: translateY(-2px); +} + +.modal-gallery-thumb-item.active { + opacity: 1; + border-color: var(--primary); + box-shadow: 0 0 10px rgba(92, 96, 245, 0.55); + transform: scale(1.04); } /* Recenzje i opinie */ .rating-breakdown-card { background: #f8f9fd; border: 1px solid var(--border-color); - border-radius: var(--radius-sm); - padding: 1.25rem; + border-radius: var(--radius-md); + padding: 1.25rem 1.5rem; } .review-card-item { diff --git a/prototype/superpilot-web/assets/js/superpilot.js b/prototype/baza-pilotow/assets/js/superpilot.js similarity index 100% rename from prototype/superpilot-web/assets/js/superpilot.js rename to prototype/baza-pilotow/assets/js/superpilot.js diff --git a/prototype/baza-pilotow/booking-modal.php b/prototype/baza-pilotow/booking-modal.php new file mode 100644 index 0000000..4b4ba25 --- /dev/null +++ b/prototype/baza-pilotow/booking-modal.php @@ -0,0 +1,163 @@ + + + + diff --git a/prototype/superpilot-web/courses.php b/prototype/baza-pilotow/courses.php similarity index 100% rename from prototype/superpilot-web/courses.php rename to prototype/baza-pilotow/courses.php diff --git a/prototype/superpilot-web/footer.php b/prototype/baza-pilotow/footer.php similarity index 70% rename from prototype/superpilot-web/footer.php rename to prototype/baza-pilotow/footer.php index 5cf99ae..ba3a237 100644 --- a/prototype/superpilot-web/footer.php +++ b/prototype/baza-pilotow/footer.php @@ -83,21 +83,49 @@ - +