* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
.profile-grid {
  display: grid;
  grid-template-columns: 380px 1fr; /* Ustalona, mniejsza szerokość kolumny ze zdjęciem */
  gap: 40px;
  align-items: start;
  max-width: 1200px;
  margin: auto;
}

.profile-photo {
  position: sticky;
  top: 100px; /* Zdjęcie "przykleja się" przy przewijaniu obok umiejętności */
  max-height: 500px; /* Zmniejszona wysokość, aby zmieściło się całe zdjęcie */
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #080f12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain; /* Pokazuje CAŁE zdjęcie bez obcinania krawędzi */
  display: block;
}

/* Responsywność dla ekranów mobilnych (na telefonie zdjęcie wraca na górę) */
@media (max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
  
  .profile-photo {
    position: relative;
    top: 0;
    max-height: 400px;
  }
}
.sea-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 280px;
  background: #000; /* czarne tło w razie wolnego ładowania */
}

.sea-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Zmiana punktu skupienia zdjęcia (0% = góra, 50% = środek, 100% = dół) */
  object-position: center 35%;
  z-index: 1;
  transition: transform 0.4s ease;
  
}

/* Efekt lekkiego powiększenia po najechaniu, który dodaje dynamiki */
.sea-card:hover .sea-card-img {
  transform: scale(1.05);
}

.sea-card-overlay {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  pointer-events: none;
  
}

:root {
  --bg: #0d0d0d;
  --card: #171717;
  --text: #ffffff;
  --muted: #b9b9b9;
  --accent: #ff6b2c;
  --light: #efefea;
  --darkText: #151515;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  width: 100%;
}

a {
  color: inherit;
}

/* NAWIGACJA */
nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1.5px;
  z-index: 1001;
}

.nav-menu {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ddd;
  transition: 0.2s;
}

.nav-menu a:hover {
  color: var(--accent);
}

/* Przycisk Hamburgera (Mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* HERO */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 140px 8% 80px;
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=85');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,8,12,0.95) 0%, rgba(4,8,12,0.75) 50%, rgba(4,8,12,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.tag,
.section-heading span,
.profile-copy > span {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.2px;
}

.hero h1 {
  font-size: clamp(48px, 10vw, 140px);
  line-height: 0.88;
  letter-spacing: -3px;
  font-weight: 900;
  margin-top: 20px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  max-width: 680px;
  margin-top: 28px;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.7;
  color: #e3e3e3;
}

.btn {
  display: inline-block;
  margin-top: 32px;
  padding: 16px 28px;
  background: var(--accent);
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.8px;
  transition: 0.25s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255,107,44,0.35);
}

/* SEKCJE */
.section {
  padding: 100px 8%;
}

.section-dark {
  background: #101010;
}

.section-light {
  background: var(--light);
  color: var(--darkText);
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading.left {
  text-align: left;
  margin-left: 0;
}

.section-heading h2,
.profile-copy h2 {
  font-size: clamp(34px, 5.5vw, 76px);
  line-height: 0.95;
  letter-spacing: -2px;
  font-weight: 900;
  margin-top: 14px;
}

.section-copy {
  margin-top: 18px;
  color: #aaa;
  line-height: 1.6;
}

/* 01 / ŻYCZENIA */
.wish-card {
  max-width: 950px;
  margin: auto;
  padding: 50px;
  border: 1px solid #2b2b2b;
  border-radius: 24px;
  background: linear-gradient(135deg, #181818, #121212);
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.wish-card p {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.8;
  color: #cfcfcf;
}

.wish-card .wish-big {
  font-size: clamp(20px, 2.5vw, 36px);
  line-height: 1.4;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
}

.signature {
  margin-top: 36px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 900;
}

/* 02 / PROFIL */
.section-profile {
  background: #0c1519;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1200px;
  margin: auto;
}

.profile-photo {
  min-height: 600px;
  height: 100%;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.profile-swim {
  background-image: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.05)), url('https://images.unsplash.com/photo-1530137073520-4ea6e2f10a48?auto=format&fit=crop&w=1200&q=85');
}

.photo-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.profile-copy p {
  margin-top: 20px;
  color: #c7d2d7;
  line-height: 1.7;
  font-size: 16px;
}

.character-section {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.character-section h3 {
  font-size: 16px;
  letter-spacing: 1px;
}

.mini-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mini-traits span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  font-size: 12px;
  font-weight: 700;
}

/* 03 / ULUBIONE */
.favorites-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.favorite-card {
  min-height: 240px;
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #d8d8d3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: 0.25s;
}

.favorite-card:hover {
  transform: translateY(-4px);
}

.favorite-card .number {
  margin-bottom: auto;
  font-size: 13px;
  font-weight: 900;
  color: #999;
}

.favorite-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.favorite-card p {
  color: #656565;
  line-height: 1.6;
  font-size: 15px;
}

.accent-card {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.accent-card .number,
.accent-card p {
  color: #fff;
}

/* 04 / MORZE */
.sea-section {
  background: #091217;
}

.sea-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 280px 280px;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.sea-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 260px;
}

.sea-card-main {
  grid-row: 1 / 3;
  background-image: url('https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=1400&q=85');
}

.sea-card-swim {
  background-image: url('https://images.unsplash.com/photo-1530549387789-4c1017266635?auto=format&fit=crop&w=1100&q=85');
}

.sea-card-sunset {
  background-image: url('https://images.unsplash.com/photo-1494783367193-149034c05e8f?auto=format&fit=crop&w=1100&q=85');
}

.sea-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.05) 60%);
}

.sea-card-overlay {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.sea-card-overlay span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #ffb18f;
}

.sea-card-overlay h3 {
  margin-top: 6px;
  font-size: 20px;
  max-width: 500px;
}

/* 05 / KRAKÓW */
.krakow-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  max-width: 1200px;
  margin: auto;
}

.map-wrap {
  min-height: 480px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #2c2c2c;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  filter: grayscale(1) contrast(1.05) brightness(0.83);
}

.recommendations {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.place-card {
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  padding: 20px;
  border: 1px solid #2b2b2b;
  background: #171717;
  border-radius: 16px;
  transition: 0.22s;
}

.place-card:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.place-card > span {
  color: var(--accent);
  font-weight: 900;
  font-size: 12px;
}

.place-card h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.place-card p {
  font-size: 13px;
  color: #aaa;
  line-height: 1.4;
}

.place-card b {
  font-size: 18px;
  color: #777;
}

/* 06 / MUZYKA */
.music-section {
  background: #15100e;
}

.video-card {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  max-width: 1200px;
  margin: auto;
  background: #0d0d0d;
  border: 1px solid #2b211d;
  border-radius: 24px;
  overflow: hidden;
}

.video-frame {
  aspect-ratio: 16/9;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-info > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

.video-info h3 {
  font-size: 24px;
  line-height: 1.3;
  margin: 12px 0;
}

.video-info p {
  color: #aaa;
  line-height: 1.5;
  font-size: 14px;
}

/* FOOTER */
footer {
  padding: 36px 8%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-top: 1px solid #222;
  background: #0a0a0a;
  color: #777;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

footer a {
  text-decoration: none;
  color: #fff;
}

/* MEDIA QUERIES (RESPONSYWNOŚĆ) */

@media (max-width: 992px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: right 0.3s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    font-size: 14px;
  }

  .profile-grid,
  .krakow-layout,
  .video-card {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    min-height: 400px;
  }

  .sea-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .sea-card-main {
    grid-row: auto;
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 5%;
  }

  .hero {
    padding: 130px 6% 60px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .wish-card {
    padding: 28px 20px;
  }

  .favorites-grid {
    grid-template-columns: 1fr;
  }

  .map-wrap, 
  .map-wrap iframe {
    min-height: 350px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .place-card {
    grid-template-columns: 28px 1fr 16px;
    padding: 16px;
  }

  footer {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  
}